@import "https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap";@import "https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap";:root{--ink:#07142f;--muted:#667085;--line:#e5e7ef;--panel:#fff;--paper:#f7f5ff;--brand:#7048db;--brand-dark:#5c35c5;--brand-soft:#eee9ff;--field:#f8f9fc;--danger:#b42318;--success:#147a46;font-family:Inter,Segoe UI,Roboto,Arial,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,sans-serif}:root.dark-theme{--ink:#f3f4f6;--muted:#9ca3af;--line:#374151;--panel:#1e293b;--paper:#0f172a;--field:#334155;--brand:#906cf7;--brand-dark:#7c54eb;--brand-soft:#2d1a4e}*{box-sizing:border-box}html,body,#root{min-height:100%}body{min-height:100vh;color:var(--ink);background:linear-gradient(120deg, #f4b74021, transparent 36%), linear-gradient(240deg, #7048db26, transparent 42%), var(--paper);-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;margin:0;font-size:14px;font-weight:400;line-height:1.45}#root:has(.panel-shell){height:100vh;overflow:hidden}body:has(.panel-shell){overflow:hidden}button,input{font:inherit}a{color:inherit;text-decoration:none}.link-button{cursor:pointer;background:0 0;border:0;padding:0}.icon-dashboard,.icon-lead,.icon-quotation,.icon-projects,.icon-tasks,.icon-field,.icon-tickets,.icon-inventory,.icon-invoicing,.icon-reports,.icon-hrms,.icon-master,.icon-company,.icon-users,.icon-billing,.icon-help,.icon-logout,.icon-modules,.icon-bell,.icon-followup,.icon-settings,.icon-check,.icon-panel,.icon-search,.icon-edit,.icon-trash,.icon-save,.icon-close{flex:none;width:18px;height:18px;display:inline-block;position:relative}.icon-dashboard{border:1.8px solid;border-radius:4px}.icon-dashboard:before{content:"";background:currentColor;width:2px;height:9px;position:absolute;bottom:3px;right:4px;box-shadow:-4px 3px,-8px -1px}.icon-lead:before{content:"";border:1.8px solid;border-radius:3px;width:12px;height:14px;position:absolute;top:2px;left:3px}.icon-lead:after{content:"";background:currentColor;width:7px;height:1.6px;position:absolute;top:5px;left:7px;box-shadow:0 4px,0 8px}.icon-quotation:before{content:"";border:1.8px solid;border-radius:3px;width:12px;height:14px;position:absolute;top:2px;left:3px}.icon-quotation:after{content:"";background:currentColor;width:6px;height:1.6px;position:absolute;top:5px;left:6px;box-shadow:0 4px,0 8px,5px 8px}.icon-projects:before{content:"";border:1.8px solid;border-radius:3px;width:12px;height:9px;position:absolute;top:5px;left:3px}.icon-projects:after{content:"";border:1.8px solid;border-bottom:0;border-radius:3px 3px 0 0;width:6px;height:4px;position:absolute;top:3px;left:5px}.icon-tasks:before{content:"";border:1.8px solid;border-radius:3px;width:12px;height:12px;position:absolute;top:3px;left:3px}.icon-tasks:after{content:"";border-bottom:2px solid;border-left:2px solid;width:7px;height:4px;position:absolute;top:7px;left:6px;transform:rotate(-45deg)}.icon-field:before{content:"";border:1.8px solid;border-radius:2px;width:12px;height:7px;position:absolute;top:6px;left:2px}.icon-field:after{content:"";border:1.8px solid;border-radius:50%;width:3px;height:3px;position:absolute;bottom:2px;left:4px;box-shadow:8px 0 0 -.1px #fff,8px 0}.icon-tickets:before{content:"";border:1.8px solid;border-radius:3px;width:14px;height:8px;position:absolute;top:5px;left:2px}.icon-tickets:after{content:"";background:currentColor;width:1.8px;height:8px;position:absolute;top:5px;left:7px}.icon-inventory:before{content:"";border:1.8px solid;width:10px;height:10px;position:absolute;top:3px;left:4px;transform:rotate(45deg)}.icon-inventory:after{content:"";background:currentColor;width:2px;height:7px;position:absolute;top:8px;left:8px}.icon-invoicing:before{content:"";border:1.8px solid;border-radius:2px;width:10px;height:14px;position:absolute;top:2px;left:4px}.icon-invoicing:after{content:"$";font-size:10px;font-weight:850;line-height:1;position:absolute;top:5px;left:7px}.icon-reports:before{content:"";background:currentColor;width:2px;height:8px;position:absolute;bottom:3px;left:3px;box-shadow:5px -4px,10px -1px}.icon-reports:after{content:"";background:currentColor;width:14px;height:1.8px;position:absolute;bottom:2px;left:2px}.icon-hrms:before{content:"";border:1.8px solid;border-radius:50%;width:6px;height:6px;position:absolute;top:3px;left:2px;box-shadow:8px 0 0 -.2px #fff,8px 0}.icon-hrms:after{content:"";border:1.8px solid;border-radius:9px 9px 3px 3px;width:16px;height:7px;position:absolute;bottom:2px;left:1px}.icon-master:before{content:"";border:1.8px solid;border-radius:50%;width:10px;height:12px;position:absolute;top:3px;left:4px}.icon-master:after{content:"";background:currentColor;width:10px;height:1.8px;position:absolute;top:7px;left:4px;box-shadow:0 4px}.icon-company:before,.icon-company:after{content:"";position:absolute}.icon-company:before{border:1.8px solid;border-radius:3px;width:12px;height:14px;top:2px;left:3px}.icon-company:after{background:currentColor;width:2px;height:2px;top:6px;left:6px;box-shadow:4px 0,0 4px,4px 4px,2px 8px}.icon-users:before{content:"";border:1.8px solid;border-radius:50%;width:6px;height:6px;position:absolute;top:2px;left:6px}.icon-users:after{content:"";border:1.8px solid;border-radius:8px 8px 3px 3px;width:12px;height:7px;position:absolute;bottom:2px;left:3px}.icon-billing,.icon-check,.icon-dashboard{border:1.8px solid;border-radius:4px}.icon-billing:after{content:"";border:1.6px solid;border-radius:3px;width:5px;height:4px;position:absolute;top:6px;right:2px}.icon-help,.icon-settings{border:1.8px solid;border-radius:50%}.icon-help:after{content:"?";font-size:11px;font-weight:850;line-height:1;position:absolute;top:4px;left:7px}.icon-logout:before{content:"";border:1.8px solid;border-right:0;border-radius:3px 0 0 3px;width:9px;height:12px;position:absolute;top:3px;left:1px}.icon-logout:after{content:"";background:currentColor;width:10px;height:1.8px;position:absolute;top:7px;right:1px}.icon-modules{background:linear-gradient(currentColor 0 0) 2px 2px/5px 5px no-repeat,linear-gradient(currentColor 0 0) 11px 2px/5px 5px no-repeat,linear-gradient(currentColor 0 0) 2px 11px/5px 5px no-repeat,linear-gradient(currentColor 0 0) 11px 11px/5px 5px no-repeat}.icon-bell:before{content:"";border:1.8px solid;border-radius:8px 8px 4px 4px;width:10px;height:12px;position:absolute;top:2px;left:4px}.icon-bell:after{content:"";background:currentColor;border-radius:2px;width:4px;height:2px;position:absolute;bottom:1px;left:7px}.icon-followup:before{content:"";border:1.8px solid;border-radius:50%;width:12px;height:12px;position:absolute;top:2px;left:3px}.icon-followup:after{content:"";border-bottom:1.8px solid;border-left:1.8px solid;width:5px;height:5px;position:absolute;top:5px;left:8px}.icon-settings:after{content:"";border:1.8px solid;border-radius:50%;width:4px;height:4px;position:absolute;top:5px;left:5px}.icon-check:after{content:"";border-bottom:2px solid;border-left:2px solid;width:8px;height:4px;position:absolute;top:5px;left:4px;transform:rotate(-45deg)}.icon-panel{border-left:2px solid;border-right:2px solid}.icon-panel:after{content:"";background:currentColor;width:2px;height:18px;position:absolute;top:0;left:7px}.icon-search{border:1.8px solid;border-radius:50%;transform:scale(.72)}.icon-search:after{content:"";background:currentColor;width:8px;height:1.8px;position:absolute;bottom:-3px;right:-5px;transform:rotate(45deg)}.icon-edit:before{content:"";border:1.8px solid;border-top:0;width:12px;height:5px;position:absolute;top:10px;left:3px;transform:rotate(-35deg)}.icon-edit:after{content:"";background:currentColor;border-radius:2px;width:6px;height:3px;position:absolute;top:3px;right:2px;transform:rotate(-35deg)}.icon-trash:before{content:"";border:1.8px solid;border-top:0;border-radius:0 0 3px 3px;width:10px;height:10px;position:absolute;top:6px;left:4px}.icon-trash:after{content:"";background:currentColor;width:12px;height:1.8px;position:absolute;top:3px;left:3px;box-shadow:4px -2px 0 -.4px}.icon-save:before{content:"";border:1.8px solid;border-radius:3px;width:12px;height:12px;position:absolute;top:3px;left:3px}.icon-save:after{content:"";border-bottom:2px solid;border-left:2px solid;width:6px;height:3px;position:absolute;top:8px;left:6px;transform:rotate(-45deg)}.icon-close:before,.icon-close:after{content:"";background:currentColor;border-radius:2px;width:2px;height:13px;position:absolute;top:3px;left:8px}.icon-close:before{transform:rotate(45deg)}.icon-close:after{transform:rotate(-45deg)}.panel-shell{background:#fff;grid-template-columns:248px minmax(0,1fr);width:100%;height:100vh;min-height:0;transition:grid-template-columns .18s;display:grid;position:relative;overflow:hidden}.icon-rail{border-right:1px solid var(--line);z-index:20;background:#fff;flex-direction:column;align-items:center;gap:8px;width:76px;height:100vh;min-height:0;padding:18px 12px;display:none;overflow-y:auto}.sidebar-collapsed-shell .icon-rail{display:flex}.rail-logo,.rail-item{border:1px solid #0000;border-radius:8px;place-items:center;width:42px;height:42px;display:grid}.rail-logo{background:var(--brand);color:#fff;letter-spacing:0;font-size:.78rem;font-weight:800;box-shadow:0 14px 28px #7048db33}.rail-item{color:#556070;cursor:pointer;background:0 0}.rail-item.active,.rail-item:hover{color:var(--brand);background:#fbfaff;border-color:#d7ccff;box-shadow:0 8px 20px #523d9117}.rail-item:focus,.panel-link:focus,.rail-logo:focus,.brand-lockup:focus{outline:0}.rail-item:focus-visible,.panel-link:focus-visible,.rail-logo:focus-visible,.brand-lockup:focus-visible{border-color:#d7ccff;box-shadow:0 0 0 3px #7048db24}.rail-button{cursor:pointer}.rail-spacer,.sidebar-spacer{flex:1}.panel-sidebar{border-right:1px solid var(--line);opacity:1;z-index:15;background:#fbfcff;flex-direction:column;gap:8px;width:248px;height:100vh;min-height:0;padding:22px 16px 18px;transition:opacity .16s,transform .16s,box-shadow .16s;display:flex;position:relative;overflow-y:auto}.sidebar-collapsed-shell .panel-sidebar{opacity:0;pointer-events:none;position:absolute;top:0;bottom:0;left:76px;transform:translate(-14px)}.brand-mini{color:var(--ink);font-size:1.04rem;font-weight:800}.panel-sidebar .brand-lockup{align-items:center;min-height:40px;margin-bottom:18px;padding:0 2px;display:flex}.panel-link{color:#4b5565;cursor:pointer;text-align:left;background:0 0;border:1px solid #0000;border-radius:8px;align-items:center;gap:10px;width:100%;min-height:42px;padding:0 12px;font-size:.94rem;font-weight:680;display:flex}.panel-link.active,.panel-link:hover{color:var(--ink);background:#fbfaff;border-color:#d7ccff;box-shadow:0 8px 20px #523d910f}.panel-link.active span:first-child,.panel-link:hover span:first-child{color:var(--brand)}.profile-chip{border-top:1px solid var(--line);align-items:center;gap:10px;margin-top:18px;padding:14px 10px;display:flex}.profile-chip>span,.header-user>span{background:var(--brand-soft);color:var(--brand);border-radius:50%;flex:none;place-items:center;font-size:.82rem;font-weight:700;display:grid}.profile-chip>span{width:34px;height:34px}.profile-chip strong,.profile-chip small,.header-user strong,.header-user small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.profile-chip strong{font-size:.82rem;font-weight:650}.profile-chip small{color:var(--muted);font-size:.76rem}.panel-content{background:#f7f8fb;flex-direction:column;min-width:0;height:100vh;min-height:0;display:flex;overflow:hidden}.panel-scroll{border-left:1px solid var(--line);border-right:1px solid var(--line);background:#fff;width:100%;min-width:0;max-width:1440px;min-height:0;margin:0 auto;overflow:auto;box-shadow:0 0 24px #0f172a0a}.app-header{z-index:10;border-bottom:1px solid var(--line);background:#fffffff5;grid-template-columns:minmax(210px,270px) minmax(260px,560px) minmax(340px,1fr);align-items:center;gap:20px;min-height:84px;padding:14px 24px;display:grid;position:relative}.header-left,.header-actions,.header-user{align-items:center;display:flex}.header-left{gap:14px;min-width:0}.header-title{min-width:0}.header-title strong,.header-title span{display:block}.header-title strong{color:var(--ink);font-size:.98rem;font-weight:700;line-height:1.25}.header-title span{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;margin-top:3px;font-size:.78rem;overflow:hidden}.sidebar-toggle,.header-icon-button{border:1px solid var(--line);color:#374151;cursor:pointer;background:#fff;border-radius:8px;place-items:center;width:42px;height:42px;display:grid}.sidebar-toggle:hover,.sidebar-toggle[aria-pressed=true],.header-icon-button:hover{color:var(--brand);background:#fbfaff;border-color:#d7ccff}.search-box{border:1px solid var(--line);min-height:46px;color:var(--muted);background:#fff;border-radius:8px;align-items:center;gap:10px;padding:0 14px;display:flex;box-shadow:0 8px 24px #0f172a08}.search-box input{min-height:42px;color:var(--ink);box-shadow:none;border:0;padding:0;font-weight:500}.search-box input:focus{box-shadow:none}.header-actions{justify-content:flex-end;gap:10px;min-width:0}.header-icon-button{position:relative}.notification-dot{background:var(--danger);border:2px solid #fff;border-radius:50%;width:7px;height:7px;position:absolute;top:9px;right:9px}.compact-action{white-space:nowrap;min-height:44px;padding:0 18px}.header-user{border-left:1px solid var(--line);gap:10px;min-width:150px;max-width:220px;margin-left:4px;padding-left:14px}.header-user>span{width:36px;height:36px}.header-user div{min-width:0}.header-user strong{font-size:.84rem;font-weight:700}.header-user small{color:var(--muted);margin-top:2px;font-size:.74rem}.page-title{border-bottom:1px solid var(--line);background:linear-gradient(#fff,#fbfcff);justify-content:space-between;align-items:flex-start;gap:24px;padding:30px 28px 22px;display:flex}.breadcrumb{color:#697386;margin-bottom:22px;font-size:.86rem}.page-title h1{margin-bottom:8px;font-size:clamp(1.75rem,2.5vw,2.35rem);font-weight:760;line-height:1.1}.page-title p:not(.breadcrumb){max-width:760px;color:var(--muted);margin-bottom:0;line-height:1.6}.metric-grid,.panel-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid}.metric-grid{padding:20px 28px 0}.panel-grid{padding:18px 28px 28px}.metric-grid article,.panel-grid article{border:1px solid var(--line);background:#fff;border-radius:8px;box-shadow:0 14px 36px #0f172a0a}.metric-grid article{padding:18px}.metric-grid span,.metric-grid small,.panel-grid span{color:var(--muted);font-size:.9rem;display:block}.metric-grid strong{margin:8px 0 6px;font-size:2rem;font-weight:700;line-height:1;display:block}.panel-grid article{align-content:start;gap:12px;min-height:190px;padding:18px;display:grid}.panel-grid strong{font-size:1.05rem;font-weight:700}.panel-grid span{line-height:1.55}.panel-grid button{min-height:34px;color:var(--brand);cursor:pointer;background:#fff;border:1px solid #d7ccff;border-radius:7px;align-self:end;margin-top:10px;font-weight:650}.panel-grid button:hover{background:var(--brand-soft)}.panel-shell{background:#f7f8fb;grid-template-columns:320px minmax(0,1fr);gap:0}.icon-rail{display:none!important}.panel-sidebar{background:#fff;border:1px solid #e5e7eb;border-radius:12px;gap:10px;width:300px;height:calc(100vh - 20px);margin:10px;padding:16px 10px;transition:width .18s,padding .18s,margin .18s,height .18s,border-radius .18s,border-color .18s,box-shadow .18s;overflow:visible;box-shadow:0 12px 28px #0f172a14}.sidebar-collapsed-shell .panel-sidebar{opacity:1;pointer-events:auto;border-left:0;border-top-left-radius:0;border-bottom-left-radius:0;width:62px;height:100vh;margin-top:0;margin-bottom:0;margin-left:0;padding-left:8px;padding-right:8px;position:relative;top:auto;bottom:auto;left:auto;transform:none}.sidebar-collapsed-shell .icon-rail:hover+.panel-sidebar,.sidebar-collapsed-shell .panel-sidebar:hover{opacity:1;pointer-events:auto;transform:none;box-shadow:0 12px 28px #0f172a14}.sidebar-brand-row{justify-content:space-between;align-items:center;gap:8px;min-height:42px;padding:0 8px;display:flex}.panel-sidebar .brand-lockup{gap:8px;min-width:0;min-height:42px;margin-bottom:0;padding:0;text-decoration:none}.brand-logo-mark{background:var(--brand);color:#fff;border-radius:10px;place-items:center;width:34px;height:34px;font-size:.78rem;font-weight:850;display:grid;box-shadow:0 12px 24px #7048db2e}.brand-mini{color:var(--ink);white-space:nowrap;font-size:1.18rem;font-weight:780}.sidebar-mini-button{color:#111827;cursor:pointer;background:#fff;border:1px solid #0000;border-radius:8px;place-items:center;width:34px;height:34px;display:grid}.sidebar-mini-button:hover,.sidebar-mini-button[aria-pressed=true]{background:#f7f8fb;border-color:#e5e7eb}.sidebar-search{color:#6b7280;background:#fff;border:1px solid #e5e7eb;border-radius:10px;align-items:center;gap:8px;min-height:40px;padding:0 10px;display:flex}.sidebar-search input{min-height:36px;box-shadow:none;border:0;padding:0}.sidebar-search kbd{color:#4b5565;background:#f8fafc;border:1px solid #e5e7eb;border-radius:5px;padding:2px 7px;font-family:inherit;font-size:.72rem}.sidebar-group{gap:4px;padding-top:12px;display:grid}.sidebar-group-title{color:#6b7280;padding:0 10px 6px;font-size:.82rem;font-weight:760}.panel-link{color:#111827;min-height:40px;box-shadow:none;border-radius:10px;gap:11px;padding:0 11px;font-size:.95rem;font-weight:650;position:relative;overflow:visible}.panel-link.active,.panel-link:hover{color:#111827;box-shadow:none;background:#f1f2f4;border-color:#0000}.panel-link span:first-child,.panel-link.active span:first-child,.panel-link:hover span:first-child{color:#111827}.panel-link-label{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.app-icon{color:currentColor;flex:none;width:18px;height:18px}.sidebar-mini-button .app-icon,.sidebar-toggle .app-icon,.header-icon-button .app-icon{width:17px;height:17px}.sidebar-utility-link{margin-top:4px}.profile-chip{background:#fff;border-top:0;border-radius:10px;min-height:54px;margin-top:8px;padding:8px}.profile-chip>span{color:#111827;background:#f3f4f6;width:40px;height:40px}.profile-chip strong{color:#111827;font-size:.86rem;font-weight:760}.sidebar-collapsed-shell .sidebar-brand-row{justify-content:center;gap:0;padding:0}.sidebar-collapsed-shell .brand-lockup,.sidebar-collapsed-shell .brand-mini,.sidebar-collapsed-shell .brand-logo-mark,.sidebar-collapsed-shell .sidebar-search,.sidebar-collapsed-shell .sidebar-group-title,.sidebar-collapsed-shell .panel-link-label,.sidebar-collapsed-shell .profile-chip div{display:none}.sidebar-collapsed-shell .sidebar-mini-button{width:42px;height:42px;margin:0 auto}.sidebar-collapsed-shell .sidebar-group{gap:8px;padding-top:12px}.sidebar-collapsed-shell .panel-link{justify-content:center;gap:0;width:44px;min-height:44px;margin:0 auto;padding:0}.sidebar-collapsed-shell .panel-link:after{z-index:100;color:#fff;content:attr(data-label);opacity:0;pointer-events:none;white-space:nowrap;background:#020617;border-radius:8px;min-width:max-content;padding:8px 11px;font-size:.82rem;font-weight:760;transition:opacity .12s,transform .12s;position:absolute;top:50%;left:calc(100% + 12px);transform:translateY(-50%)translate(-4px)}.sidebar-collapsed-shell .panel-link:before{z-index:101;content:"";opacity:0;pointer-events:none;border-top:7px solid #0000;border-bottom:7px solid #0000;border-right:8px solid #020617;width:0;height:0;transition:opacity .12s,transform .12s;position:absolute;top:50%;left:calc(100% + 5px);transform:translateY(-50%)translate(-4px)}.sidebar-collapsed-shell .panel-link:hover:after,.sidebar-collapsed-shell .panel-link:hover:before,.sidebar-collapsed-shell .panel-link:focus-visible:after,.sidebar-collapsed-shell .panel-link:focus-visible:before{opacity:1;transform:translateY(-50%)translate(0)}.sidebar-collapsed-shell .profile-chip{background:0 0;justify-content:center;gap:0;padding:0}.sidebar-collapsed-shell .profile-chip>span{width:42px;height:42px}.app-shell{grid-template-columns:minmax(320px,.92fr) minmax(340px,1.08fr);align-items:center;gap:40px;width:min(1120px,100% - 32px);min-height:100vh;margin:0 auto;padding:48px 0;display:grid}.compact-shell{grid-template-columns:minmax(320px,.86fr) minmax(340px,.94fr)}.brand-panel{background:linear-gradient(160deg,#fffffff0,#fffbf0c7),url("data:image/svg+xml,%3Csvg width='720' height='720' viewBox='0 0 720 720' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg opacity='.18'%3E%3Cpath d='M94 162h532v396H94z' fill='%23F5B83F'/%3E%3Cpath d='M120 190h480v58H120zm0 86h480v58H120zm0 86h480v58H120zm0 86h480v58H120z' fill='%237048DB'/%3E%3Cpath d='M120 190l480 316M600 190 120 506' stroke='%2307142F' stroke-width='10'/%3E%3C/g%3E%3C/svg%3E") bottom/92% no-repeat;border:1px solid #7048db1a;border-radius:8px;flex-direction:column;justify-content:space-between;gap:32px;min-height:620px;padding:40px;display:flex;box-shadow:0 24px 60px #29224a1a}.brand-lockup{width:fit-content;color:var(--ink);align-items:center;gap:12px;font-weight:700;display:inline-flex}.brand-mark,.rail-logo{background:linear-gradient(135deg, var(--brand), #8d6df0);color:#fff;border-radius:8px;place-items:center;font-weight:800;display:grid}.brand-mark{width:56px;height:56px}.eyebrow{color:var(--brand);letter-spacing:0;text-transform:uppercase;margin:0 0 10px;font-size:.78rem;font-weight:700}h1,h2,p{margin-top:0}h1{letter-spacing:0;max-width:560px;margin-bottom:18px;font-size:clamp(2.4rem,5vw,4.6rem);font-weight:760;line-height:.98}.brand-copy{max-width:430px;color:var(--muted);font-size:1.05rem;line-height:1.7}.status-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.status-grid div,.otp-preview{border:1px solid var(--line);background:#ffffffd6;border-radius:8px;padding:16px}.status-grid strong,.status-grid span,.otp-preview span,.otp-preview strong{display:block}.status-grid span,.otp-preview span{color:var(--muted);margin-top:4px;font-size:.9rem}.otp-preview strong{color:var(--brand);letter-spacing:.18rem;margin-top:10px;font-size:2rem}.auth-panel{width:100%}.auth-card{border:1px solid var(--line);background:var(--panel);border-radius:8px;width:min(480px,100%);margin-left:auto;padding:28px;box-shadow:0 24px 70px #2621441f}.auth-nav{border:1px solid var(--line);background:var(--field);border-radius:8px;grid-template-columns:repeat(2,1fr);gap:8px;margin-bottom:28px;padding:6px;display:grid}.nav-link{min-height:42px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:6px;place-items:center;font-weight:650;display:grid}.nav-link.active{color:var(--ink);background:#fff;box-shadow:0 6px 18px #17211b17}.form.active{gap:18px;display:grid}.form-heading h2{margin-bottom:8px;font-size:1.75rem;line-height:1.15}.form-heading p{color:var(--muted);line-height:1.6}label{color:var(--ink);gap:8px;font-size:.94rem;font-weight:650;display:grid}input{border:1px solid var(--line);width:100%;min-height:48px;color:var(--ink);background:#fff;border-radius:8px;outline:none;padding:0 14px}input:focus{border-color:var(--brand);box-shadow:0 0 0 4px #7048db1f}.otp-input{letter-spacing:.32rem;text-align:center;font-size:1.3rem;font-weight:700}.primary-action,.secondary-action{cursor:pointer;border-radius:8px;min-height:48px;font-weight:700}.primary-action{background:var(--brand);color:#fff;border:0}.primary-action:hover{background:var(--brand-dark)}.secondary-action{border:1px solid var(--line);color:var(--ink);background:#fff;padding:0 16px}.message{min-height:24px;margin:0;font-size:.94rem;line-height:1.5}.message.error{color:var(--danger)}.message.success{color:var(--success)}.lead-page{padding:28px;position:relative}.lead-topbar{justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:22px;display:flex}.lead-topbar h1{letter-spacing:0;margin-bottom:0;font-size:clamp(1.85rem,2.7vw,2.5rem);font-weight:760;line-height:1.08}.lead-top-actions,.lead-toolbar,.lead-page-size,.pagination{align-items:center;display:flex}.lead-top-actions{gap:10px}.lead-more-button{border:1px solid var(--line);width:42px;height:42px;color:var(--muted);cursor:pointer;background:#fff;border-radius:8px;place-items:center;font-weight:700;display:grid}.lead-summary{border:1px solid var(--line);background:#fff;border-radius:8px;grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:18px;display:grid;overflow:hidden}.lead-summary article{border-right:1px solid var(--line);min-height:84px;padding:18px 20px}.lead-summary article:last-child{border-right:0}.lead-summary span,.lead-summary small{color:var(--muted);font-size:.82rem;line-height:1.35;display:block}.lead-summary strong{color:var(--ink);margin-top:7px;font-size:1.38rem;font-weight:700;line-height:1;display:inline-block}.trend{border-radius:5px;margin-left:8px;padding:3px 7px;font-weight:700;line-height:1.15;font-size:.78rem!important;display:inline-block!important}.trend.positive{color:#197a3b;background:#dff4e5}.trend.negative{color:#a23b31;background:#fde2de}.lead-toolbar{gap:12px;margin-bottom:16px}.lead-page-size{color:var(--ink);white-space:nowrap;flex:none;gap:10px;font-size:.9rem;font-weight:760}.lead-page-size select{border:1px solid var(--line);color:#101828;cursor:pointer;width:78px;min-height:42px;font:inherit;background:#fff;border-radius:10px;outline:none;padding:0 12px;font-weight:650;box-shadow:0 2px 8px #1018280d}.lead-page-size select:focus{border-color:#105d52;box-shadow:0 0 0 3px #105d521f}.lead-search{border:1px solid var(--line);min-height:42px;color:var(--muted);background:#fff;border-radius:8px;flex:1;align-items:center;gap:10px;padding:0 14px;display:flex}.lead-search input{min-height:38px;box-shadow:none;border:0;padding:0;font-weight:500}.lead-filter-button,.lead-view-menu-button{border:1px solid var(--line);color:#344054;cursor:pointer;background:#fff;border-radius:8px;justify-content:center;align-items:center;gap:8px;min-height:42px;padding:0 13px;font-weight:760;display:inline-flex}.lead-filter-button:hover,.lead-filter-button.active,.lead-view-menu-button:hover,.lead-view-menu-button.active{color:var(--brand);background:#fbfaff;border-color:#d7ccff}.lead-filter-button .app-icon,.lead-view-menu-button .app-icon{width:17px;height:17px}.lead-filter-button strong,.lead-view-menu-button strong{background:var(--brand);color:#fff;border-radius:999px;place-items:center;min-width:20px;height:20px;font-size:.72rem;line-height:1;display:grid}.lead-filter-panel,.lead-column-panel{background:#fff;border:1px solid #dfe6f0;border-radius:8px;gap:16px;margin:-4px 0 16px;padding:18px;display:grid;box-shadow:0 16px 36px #0f172a14}.lead-column-anchor{position:relative}.lead-column-panel{z-index:60;width:480px;max-height:520px;margin:4px 0 0;animation:.14s columnPanelIn;position:absolute;top:100%;right:0;overflow-y:auto}@keyframes columnPanelIn{0%{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}.lead-column-grid{grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px;display:grid}.lead-column-grid label{color:#344054;cursor:pointer;background:#fff;border:1px solid #d9dfe8;border-radius:8px;align-items:center;gap:10px;min-width:0;min-height:42px;padding:0 12px;font-size:.86rem;font-weight:750;display:flex}.lead-column-grid label.active{color:#105d52;background:#f4fffc;border-color:#b7eadf}.lead-column-grid input{accent-color:#105d52;flex:none;width:16px;min-height:auto}.lead-column-grid input:disabled{cursor:not-allowed}.lead-column-grid span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.lead-filter-panel-head{justify-content:space-between;align-items:flex-start;gap:14px;display:flex}.lead-filter-panel-head h2,.lead-filter-panel-head p{margin:0}.lead-filter-panel-head h2{color:var(--ink);font-size:1rem}.lead-filter-panel-head p{color:#667085;margin-top:5px;font-size:.86rem}.lead-filter-panel-head>button{color:#667085;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:8px;flex:none;place-items:center;width:32px;height:32px;font-size:1.15rem;display:grid}.lead-filter-panel-head>button:hover{border-color:var(--line);color:var(--ink);background:#f6f8fb}.lead-filter-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.lead-filter-grid label{gap:7px;min-width:0;display:grid}.lead-filter-grid span{color:#344054;font-size:.8rem;font-weight:800}.lead-filter-grid select{color:#344054;cursor:pointer;width:100%;min-height:40px;font:inherit;background:#fff;border:1px solid #d9dfe8;border-radius:8px;outline:none;padding:0 11px;box-shadow:0 1px 2px #0f172a0d}.lead-filter-grid select:focus{border-color:#105d52;box-shadow:0 0 0 3px #105d521f}.lead-filter-actions{border-top:1px solid #edf1f6;justify-content:space-between;align-items:center;gap:12px;padding-top:14px;display:flex}.lead-filter-actions span{color:#667085;font-size:.86rem;font-weight:750}.lead-filter-actions div{gap:10px;display:flex}.lead-filter-actions button:disabled{cursor:not-allowed;opacity:.55}.lead-table-card{border:1px solid var(--line);background:#fff;border-radius:8px;box-shadow:0 16px 44px #0f172a0d}.lead-table-scroll{overflow-x:auto}.lead-table{border-collapse:collapse;color:#344054;table-layout:fixed;width:100%;min-width:1680px;font-size:.78rem}.lead-select-col{width:42px}.lead-name-col{width:180px}.lead-email-col{width:190px}.lead-company-col{width:155px}.lead-mobile-col{width:128px}.lead-address-col{width:195px}.lead-city-col{width:110px}.lead-pincode-col{width:95px}.lead-source-col{width:120px}.lead-status-col{width:105px}.lead-stage-col{width:155px}.lead-lost-reason-col{width:130px}.lead-assigned-col{width:150px}.lead-labels-col{width:240px}.lead-followup-col{width:150px}.lead-followup-note-col{width:180px}.lead-activity-col{width:260px}.lead-size-col{width:110px}.lead-interest-col{width:105px}.lead-probability-col{width:100px}.lead-amount-col{width:140px}.lead-estimate-no-col,.lead-estimate-status-col{width:125px}.lead-created-col,.lead-updated-col{width:145px}.lead-table th{color:#344054;letter-spacing:.02em;text-align:left;text-transform:uppercase;white-space:nowrap;background:#f1f4f8;height:38px;font-size:.68rem;font-weight:700}.lead-table th,.lead-table td{border-bottom:1px solid var(--line);vertical-align:middle;padding:6px 8px}.lead-table td{font-weight:400;line-height:1.35}.lead-table th:first-child,.lead-table td:first-child{text-align:center;padding-left:12px;padding-right:6px}.lead-table th.numeric-cell,.lead-table td.numeric-cell{text-align:right}.lead-table th.centered-cell,.lead-table td.centered-cell{text-align:center!important}.centered-cell-content{justify-content:center;align-items:center;width:100%;display:flex}.lead-table tr.selected{background:#fbfaff}.lead-clickable-row{cursor:pointer}.lead-clickable-row:hover{background:#f8fbff}.lead-clickable-row.selected:hover{background:#f7f2ff}.lead-table input[type=checkbox]{width:16px;height:16px;min-height:auto;accent-color:var(--brand)}.lead-person strong,.lead-person span{display:block}.lead-person strong{color:#4f46e5;font-size:.78rem;font-weight:600;line-height:1.25}.lead-person strong:hover{text-decoration:underline}.lead-person span{color:var(--muted);margin-top:3px;font-size:.76rem;font-weight:400;line-height:1.25}.lead-muted-cell{color:#667085}.lead-long-cell,.mobile-cell,.last-activity-cell{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.activity-cell-button{color:#344054;cursor:pointer;text-align:left;text-overflow:ellipsis;white-space:nowrap;background:0 0;border:1px solid #0000;border-radius:6px;width:100%;padding:8px 9px;display:block;overflow:hidden}.activity-cell-button:hover,.activity-cell-button:focus{color:var(--brand);background:#fbfaff;border-color:#d7ccff}.follow-up-cell{border:1px solid var(--line);color:#344054;cursor:pointer;text-align:left;background:#fff;border-radius:7px;align-items:center;width:100%;min-height:36px;padding:7px 10px;display:flex}.follow-up-cell strong,.follow-up-cell span{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.follow-up-cell strong{font-size:.82rem;font-weight:760}.follow-up-cell span{font-size:.72rem;font-weight:700}.follow-up-cell:hover,.follow-up-cell:focus{border-color:#d7ccff;box-shadow:0 8px 20px #7048db14}.lead-source-pill{color:#344054;text-overflow:ellipsis;white-space:nowrap;background:#f8fafc;border:1px solid;border-radius:6px;align-items:center;max-width:100%;min-height:26px;padding:0 11px;font-size:.72rem;font-weight:800;display:inline-flex;overflow:hidden}.lead-source-button{cursor:pointer;background:0 0;border:0;max-width:100%;padding:0;display:inline-flex}.lead-source-button:hover .lead-source-pill,.lead-source-button:focus-visible .lead-source-pill{border-color:#b8c7dc;box-shadow:0 8px 20px #0f172a14}.lead-source-button:focus-visible{outline-offset:2px;border-radius:6px;outline:3px solid #2e90fa2e}.lead-source-pill.source-website{color:#175cd3;background:#eff8ff}.lead-source-pill.source-referral{color:#067647;background:#f0fff6}.lead-source-pill.source-social-media,.lead-source-pill.source-meta-ads{color:#5925dc;background:#f4f3ff}.lead-source-pill.source-cold-call{color:#b54708;background:#fffaeb}.lead-source-pill.source-email-campaign,.lead-source-pill.source-whatsapp-marketing{color:#0e7090;background:#ecfeff}.follow-up-empty{color:#667085}.follow-up-upcoming{color:#147a46;background:#f0fff6;border-color:#bbecd1}.follow-up-today{color:#9a6400;background:#fff8e7;border-color:#f8d58a}.follow-up-overdue{color:#c62828;background:#fff1f1;border-color:#ffc6c6}.stage-summary-button{cursor:pointer;text-align:center;border:0;border-radius:5px;outline:none;justify-content:center;align-items:center;width:100%;height:24px;min-height:24px;padding:0 8px;font-size:.72rem;font-weight:600;transition:all .15s;display:inline-flex}.stage-summary-button:hover,.stage-summary-button:focus{box-shadow:0 0 0 4px #6366f126}.stage-summary-button span:first-child{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.stage-new-lead,.stage-summary-button.stage-new-lead{color:#fff;background:#6366f1}.stage-contacted,.stage-summary-button.stage-contacted{color:#fff;background:#0ea5e9}.stage-qualified,.stage-summary-button.stage-qualified{color:#fff;background:#10b981}.stage-site-visit-schedule,.stage-summary-button.stage-site-visit-schedule{color:#fff;background:#f59e0b}.stage-site-visit-done,.stage-summary-button.stage-site-visit-done{color:#fff;background:#ff9c43}.stage-proposal-sent,.stage-summary-button.stage-proposal-sent{color:#fff;background:#4f46e5}.stage-negotiation,.stage-summary-button.stage-negotiation{color:#fff;background:#d97706}.stage-lost,.stage-summary-button.stage-lost,.stage-lead-lost,.stage-summary-button.stage-lead-lost{color:#fff;background:#ef4444}.stage-on-hold,.stage-summary-button.stage-on-hold{color:#fff;background:#9c27b0}.stage-won,.stage-summary-button.stage-won,.stage-lead-won,.stage-summary-button.stage-lead-won{color:#fff;background:#12b76a}.stage-inprocess,.stage-summary-button.stage-inprocess{color:#fff;background:#2563eb}.assigned-chip{color:#344054;cursor:pointer;text-overflow:ellipsis;white-space:nowrap;background:#fff;border:1px solid #e4e7ef;border-radius:6px;justify-content:flex-start;align-items:center;width:100%;max-width:138px;min-height:34px;padding:0 10px;font-size:.8rem;font-weight:650;display:inline-flex;overflow:hidden}.assigned-chip:hover,.assigned-chip:focus{color:var(--brand);background:#fbfaff;border-color:#d7ccff;box-shadow:0 8px 20px #7048db14}.assigned-avatar-btn{color:#fff;cursor:pointer;background:#6366f1;border:none;border-radius:6px;justify-content:center;align-items:center;width:26px;height:26px;transition:background .15s;display:inline-flex}.assigned-avatar-btn:hover{background:#4f46e5}.assigned-avatar-btn .app-icon{stroke:currentColor;fill:none;width:13px;height:13px}.activity-cell-wrapper{align-items:center;gap:8px;max-width:100%;display:inline-flex}.activity-icon{flex:none;width:14px;height:14px}.activity-text{text-overflow:ellipsis;white-space:nowrap;font-size:.78rem;overflow:hidden}.activity-icon-estimate{color:#f04438}.activity-icon-won{color:#12b76a}.activity-icon-call{color:#2e90fa}.activity-icon-lost{color:#f04438}.activity-icon-assigned{color:#6366f1}.activity-icon-followup{color:#eab308}.activity-icon-default{color:#667085}.label-summary-button{width:100%;min-height:34px;color:var(--ink);cursor:pointer;text-align:left;background:0 0;border:1px solid #0000;border-radius:7px;padding:3px 4px}.label-summary-button:hover{background:#fbfaff;border-color:#d7ccff}.lead-label-list{flex-wrap:wrap;align-items:center;gap:6px;max-height:58px;display:flex;overflow:hidden}.lead-label-pill{text-overflow:ellipsis;white-space:nowrap;border:1px solid;border-radius:4px;align-items:center;gap:6px;min-width:0;max-width:142px;padding:2px 6px;font-size:.72rem;font-weight:600;display:inline-flex;overflow:hidden}.label-dot{border-radius:50%;flex:none;width:8px;height:8px}.label-placeholder{color:var(--muted);font-size:.8rem;font-weight:600}.estimate-status{white-space:nowrap;border:1px solid;border-radius:5px;align-items:center;height:24px;min-height:24px;padding:0 8px;font-size:.72rem;font-weight:600;display:inline-flex}.estimate-in-progress,.estimate-in-review{color:#a76b00;background:#fff4cf}.estimate-approved{color:#176b36;background:#dff4e5}.estimate-rejected{color:#b42318;background:#fde2de}.estimate-draft{color:#475467;background:#eef1f6}.estimate-sent{color:#175cd3;background:#eff8ff}.lead-table-footer{border-top:1px solid var(--line);min-height:48px;color:var(--muted);justify-content:space-between;align-items:center;gap:16px;padding:0 14px;font-size:.82rem;display:flex}.pagination{gap:6px}.pagination button,.pagination strong{border-radius:50%;place-items:center;width:32px;height:32px;display:grid}.pagination button{color:var(--muted);cursor:pointer;background:0 0;border:0;font-size:1.4rem}.pagination button:disabled{cursor:not-allowed;opacity:.35}.pagination strong{background:var(--brand);color:#fff;font-weight:700}.lead-bulk-actions{color:#fff;z-index:50;background:#1f2329;border:1px solid #ffffff14;border-radius:8px;align-items:center;gap:0;width:fit-content;margin:16px auto 0;display:flex;position:sticky;bottom:18px;overflow:hidden;box-shadow:0 14px 36px #0f172a3d}.lead-bulk-actions span,.lead-bulk-actions button{color:#fff;background:0 0;border:0;border-right:1px solid #ffffff1a;justify-content:center;align-items:center;gap:8px;min-height:40px;padding:0 16px;font-size:.82rem;font-weight:500;transition:all .2s;display:inline-flex}.lead-bulk-actions button{cursor:pointer}.lead-bulk-actions button:last-child{border-right:0}.lead-bulk-actions span{letter-spacing:.1px;background:#ffffff0d;font-weight:600}.lead-bulk-actions .bulk-action-icon{opacity:.8;transition:transform .2s,opacity .2s}.lead-bulk-actions button:hover{background:#ffffff14}.lead-bulk-actions button:hover .bulk-action-icon{opacity:1;transform:translateY(-.5px)}.lead-bulk-actions button.bulk-delete-btn:hover{color:#f87171;background:#ef444429}.lead-bulk-actions button.bulk-delete-btn:hover .bulk-action-icon{color:#f87171;opacity:1}.lead-create-backdrop{z-index:95;background:#1118277a;justify-content:flex-end;display:flex;position:fixed;inset:0}.lead-create-drawer{background:#fff;flex-direction:column;width:min(560px,100%);height:100%;display:flex;box-shadow:-24px 0 60px #0f172a38}.lead-create-head{border-bottom:1px solid var(--line);justify-content:space-between;align-items:flex-start;gap:18px;padding:28px 28px 18px;display:flex}.lead-create-head h2,.lead-create-head p{margin:0}.lead-create-head h2{color:var(--ink);font-size:1.18rem;line-height:1.2}.lead-create-head p{color:#475467;margin-top:10px;font-size:.96rem}.lead-create-head>button{color:#475467;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:8px;flex:none;place-items:center;width:34px;height:34px;font-size:1.25rem;display:grid}.lead-create-head>button:hover{border-color:var(--line);color:var(--ink);background:#f6f8fb}.lead-create-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:24px 28px 28px;display:grid;overflow-y:auto}.lead-create-field{gap:8px;min-width:0;display:grid}.lead-create-field-full{grid-column:1/-1}.lead-create-field>span,.lead-create-field>label>span{color:#111827;font-size:.91rem;font-weight:700}.lead-create-field b{color:#dc2626}.lead-create-field input,.lead-create-field select{color:#344054;width:100%;min-height:42px;font:inherit;background:#fff;border:1px solid #d9dfe8;border-radius:8px;outline:none;padding:0 13px;box-shadow:0 1px 2px #0f172a0f}.lead-create-field select{cursor:pointer}.lead-create-field input:focus,.lead-create-field select:focus{border-color:#105d52;box-shadow:0 0 0 3px #105d521f}.lead-create-label-options{flex-wrap:wrap;gap:8px;display:flex}.lead-create-label-options button{color:#344054;cursor:pointer;background:#fff;border:1px solid #d7e0ea;border-radius:999px;align-items:center;gap:8px;min-height:34px;padding:0 12px;font-size:.84rem;font-weight:700;display:inline-flex}.lead-create-label-options button:hover{background:#f8fafc;border-color:#b9c6d6}.lead-create-label-options button.selected{background:#f8fbfd;box-shadow:inset 0 0 0 1px}.lead-create-error{color:#b42318;background:#fff1f2;border:1px solid #fecaca;border-radius:8px;grid-column:1/-1;margin:0;padding:10px 12px;font-size:.88rem;font-weight:700}.lead-create-submit{grid-column:1/-1;justify-content:center;min-height:44px;margin-top:4px}.lead-create-submit:disabled{cursor:wait;opacity:.72}.lead-import-panel{border:1px solid var(--line);background:#fff;border-radius:8px;width:min(620px,100%);overflow:hidden;box-shadow:0 28px 80px #0f172a47}.lead-import-head{border-bottom:1px solid var(--line);justify-content:space-between;align-items:flex-start;gap:16px;padding:22px 24px 18px;display:flex}.lead-import-head h2,.lead-import-head p{margin:0}.lead-import-head h2{color:var(--ink);font-size:1.15rem}.lead-import-head p{color:#667085;margin-top:8px;font-size:.9rem}.lead-import-head>button{color:#475467;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:8px;flex:none;place-items:center;width:34px;height:34px;font-size:1.25rem;display:grid}.lead-import-head>button:hover{border-color:var(--line);background:#f6f8fb}.lead-import-body{gap:16px;padding:22px 24px;display:grid}.lead-import-sample{background:#f8fbff;border:1px solid #dbe7f5;border-radius:8px;justify-content:space-between;align-items:center;gap:14px;padding:14px;display:flex}.lead-import-sample div{gap:4px;display:grid}.lead-import-sample strong,.lead-import-requirements strong{color:#101828;font-size:.94rem}.lead-import-sample span,.lead-import-dropzone small{color:#667085;font-size:.84rem}.lead-import-requirements{background:#fff;border:1px solid #e4e9f2;border-radius:8px;padding:14px}.lead-import-requirements ul{color:#475467;gap:7px;margin:10px 0 0;padding-left:18px;font-size:.88rem;display:grid}.lead-import-dropzone{color:#344054;cursor:pointer;text-align:center;background:#fbfcff;border:1px dashed #b8c7dc;border-radius:8px;place-items:center;gap:7px;min-height:118px;padding:18px;display:grid}.lead-import-dropzone:hover{border-color:var(--brand);background:#fbfaff}.lead-import-dropzone input{display:none}.lead-import-dropzone span{color:#101828;font-weight:800}.lead-import-success{color:#067647;background:#f0fff6;border:1px solid #abefc6;border-radius:8px;margin:0;padding:10px 12px;font-size:.88rem;font-weight:750}.lead-import-actions{border-top:1px solid var(--line);justify-content:flex-end;gap:10px;padding:16px 24px 20px;display:flex}.lead-import-actions button:disabled{cursor:wait;opacity:.72}.lead-label-backdrop{z-index:90;background:#11182775;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.lead-label-panel{border:1px solid var(--line);background:#fff;border-radius:8px;width:min(620px,100%);overflow:hidden;box-shadow:0 28px 80px #0f172a47}.lead-label-panel-header{border-bottom:1px solid var(--line);background:#f4f7fb;justify-content:space-between;align-items:center;gap:18px;min-height:76px;padding:18px 20px;display:flex}.lead-label-panel-header span,.lead-label-panel-header strong{display:block}.lead-label-panel-header span{color:var(--muted);font-size:.8rem}.lead-label-panel-header strong{color:var(--ink);margin-top:2px;font-size:1.1rem;font-weight:700}.lead-label-panel-header button{color:#667085;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:8px;place-items:center;width:36px;height:36px;font-size:1.25rem;display:grid}.lead-label-panel-header button:hover{border-color:var(--line);color:var(--ink);background:#fff}.lead-label-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 18px;padding:20px;display:grid}.lead-label-option{color:#344054;cursor:pointer;border:1px solid #0000;border-radius:7px;grid-template-columns:20px minmax(0,1fr) 18px;align-items:center;gap:10px;min-height:42px;padding:0 10px;font-size:.94rem;font-weight:500;display:grid}.lead-label-option:hover{border-color:var(--line);background:#fbfcff}.lead-label-option input{width:18px;height:18px;min-height:auto;accent-color:var(--brand)}.label-color-block{border-radius:5px;width:18px;height:18px}.lead-label-panel-actions{border-top:1px solid var(--line);justify-content:flex-end;gap:10px;padding:16px 20px;display:flex}.lead-label-panel-actions .primary-action,.lead-label-panel-actions .secondary-action{min-height:42px;padding:0 18px}.lead-stage-panel{width:min(560px,100%)}.lead-stage-body{gap:14px;padding:24px;display:grid}.lead-stage-field{color:#344054;gap:8px;font-size:.88rem;font-weight:650;display:grid}.lead-stage-field>span{color:#8a94a6;font-size:.8rem}.lead-stage-field b{color:#ff4d6d;font-weight:700}.lead-stage-field select{color:#344054;cursor:pointer;background:#f4f7fb;border:1px solid #d9dee8;border-radius:7px;outline:none;width:100%;min-height:50px;padding:0 14px;font-size:.96rem;font-weight:500}.lead-stage-field select:focus{border-color:var(--brand);background:#fff;box-shadow:0 0 0 4px #7048db1f}.lead-assign-panel{width:min(760px,100%)}.lead-assign-body{gap:18px;padding:24px;display:grid}.lead-assign-body p{color:#344054;margin:0;font-size:.96rem}.lead-assign-search{color:#8a94a6;background:#f1f4fa;border:1px solid #0000;border-radius:7px;align-items:center;gap:10px;min-height:48px;padding:0 14px;display:flex}.lead-assign-search input{min-height:44px;box-shadow:none;background:0 0;border:0;padding:0}.lead-member-list{gap:10px;display:grid}.lead-member-row{border:1px solid var(--line);color:#344054;cursor:pointer;text-align:left;background:#fff;border-radius:7px;grid-template-columns:42px minmax(120px,.9fr) minmax(160px,1.1fr) 34px;align-items:center;gap:12px;min-height:62px;padding:0 12px;display:grid}.lead-member-row:hover,.lead-member-row.selected{background:#eef6ff;border-color:#7775ff}.member-avatar{color:#667085;background:#eef1f6;border-radius:50%;place-items:center;width:36px;height:36px;font-size:.78rem;font-weight:700;display:grid}.lead-member-row strong{color:#344054;text-overflow:ellipsis;white-space:nowrap;font-size:.94rem;font-weight:650;overflow:hidden}.lead-member-row small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:.86rem;overflow:hidden}.member-check{background:var(--brand);color:#fff;border-radius:6px;justify-self:end;place-items:center;width:26px;height:26px;font-weight:700;display:grid}.lead-member-row:not(.selected) .member-check{background:0 0}.empty-member-state{border:1px dashed var(--line);color:var(--muted);text-align:center;border-radius:7px;padding:18px;display:block}.lead-activity-panel{grid-template-rows:auto minmax(0,1fr) auto;width:min(720px,100%);max-height:calc(100vh - 48px);display:grid}.activity-type-body,.activity-form-body{gap:18px;padding:24px;display:grid;overflow-y:auto}.activity-type-body p{color:#344054;margin:0;font-size:.98rem;font-weight:650}.activity-type-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;display:grid}.activity-type-card{color:#344054;cursor:pointer;text-align:center;background:#f6f8fb;border:1px solid #dbe1ec;border-radius:8px;place-items:center;gap:8px;min-height:128px;padding:14px 10px;display:grid;box-shadow:0 8px 18px #0f172a0d}.activity-type-card:hover,.activity-type-card:focus{background:#fff;border-color:#d7ccff;transform:translateY(-1px)}.activity-type-card>span,.activity-selected-chip>span{border-radius:50%;place-items:center;width:44px;height:44px;display:grid}.activity-type-card svg,.activity-selected-chip svg,.timeline-type svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.9px;width:20px;height:20px}.activity-type-card strong{color:#344054;font-size:1rem;font-weight:750}.activity-type-card small{color:var(--muted);font-size:.74rem;line-height:1.35;display:none}.activity-call>span{color:#0c9f72;background:#d7f8ec}.activity-message>span{color:#c98700;background:#fff3cf}.activity-site-visit>span{color:#667085;background:#eef1f6}.activity-estimate>span{color:#e04471;background:#ffe2eb}.activity-assigned>span{color:#6572e8;background:#e4e7ff}.activity-lead-lost>span{color:#e04471;background:#ffe0eb}.activity-selected-chip{border:1px solid var(--line);background:#fff;border-radius:8px;align-items:center;gap:10px;width:fit-content;padding:8px 12px;display:inline-flex}.activity-selected-chip strong{color:#344054;font-size:.96rem;font-weight:700}.activity-field{color:#344054;gap:8px;font-size:.88rem;font-weight:650;display:grid}.activity-field>span{color:#8a94a6;font-size:.8rem}.activity-field textarea,.activity-field input,.activity-field select{color:#344054;background:#f4f7fb;border:1px solid #d9dee8;border-radius:7px;outline:none;width:100%;font-size:.96rem}.activity-field textarea{resize:vertical;min-height:150px;padding:14px}.activity-field input,.activity-field select{min-height:48px;padding:0 14px}.activity-field textarea:focus,.activity-field input:focus,.activity-field select:focus{border-color:var(--brand);background:#fff;box-shadow:0 0 0 4px #7048db1f}.activity-timeline{border-top:1px solid var(--line);gap:12px;padding-top:18px;display:grid}.activity-timeline-head{justify-content:space-between;align-items:center;gap:14px;display:flex}.activity-timeline-head strong{color:var(--ink);font-size:.98rem;font-weight:700}.activity-timeline-head span{color:var(--muted);font-size:.8rem}.activity-timeline ol{gap:0;margin:0;padding:0 0 0 12px;list-style:none;display:grid;position:relative}.activity-timeline ol:before{content:"";background:#e5e9f2;width:2px;position:absolute;top:18px;bottom:18px;left:27px}.activity-timeline li{grid-template-columns:42px minmax(0,1fr);gap:14px;padding:8px 0 18px;display:grid;position:relative}.timeline-type{z-index:1;border-radius:50%;place-items:center;width:34px;height:34px;display:grid;position:relative}.timeline-call{color:#0c7f5e;background:#d7f8ec}.timeline-message{color:#a76b00;background:#fff3cf}.timeline-site-visit{color:#475467;background:#eef1f6}.timeline-estimate{color:#c83262;background:#ffe2eb}.timeline-assigned{color:#6572e8;background:#e4e7ff}.timeline-lead-lost{color:#e04471;background:#ffe0eb}.timeline-row-title{justify-content:space-between;align-items:center;gap:10px;display:flex;position:relative}.timeline-title{color:#344054;margin-top:4px;font-size:.94rem;font-weight:700;display:block}.timeline-row-title small{color:var(--ink);white-space:nowrap;font-size:.9rem;font-weight:700}.timeline-more-button{color:#344054;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:6px;place-items:center;width:30px;height:30px;font-size:1rem;font-weight:800;line-height:1;display:grid}.timeline-more-button:hover,.timeline-more-button:focus{border-color:var(--line);background:#f8fafc}.timeline-menu{z-index:5;border:1px solid var(--line);background:#fff;border-radius:7px;min-width:116px;display:grid;position:absolute;top:32px;right:0;overflow:hidden;box-shadow:0 14px 34px #0f172a29}.timeline-menu button{color:#344054;cursor:pointer;text-align:left;background:0 0;border:0;min-height:34px;padding:0 12px}.timeline-menu button:hover{color:var(--brand);background:#fbfaff}.activity-timeline p{color:#475467;margin:6px 0 0;font-size:.86rem;line-height:1.45}.timeline-author{color:#98a2b3;align-items:center;gap:6px;margin-top:8px;font-size:.8rem;display:inline-flex}.timeline-author>span{color:#667085;border:1px solid #cfd6e3;border-radius:50%;place-items:center;width:16px;height:16px;display:grid}.timeline-author svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8px;width:11px;height:11px}.timeline-meta{flex-wrap:wrap;gap:6px;margin-top:9px;display:flex}.timeline-meta span{color:#667085;background:#f4f5f8;border-radius:5px;padding:4px 7px;font-size:.74rem;font-weight:600}.activity-empty-state{border:1px dashed var(--line);color:var(--muted);text-align:center;border-radius:8px;padding:16px;font-size:.88rem}.lead-followup-panel{width:min(620px,100%)}.lead-followup-body{gap:16px;padding:24px;display:grid}.followup-quick-actions{flex-wrap:wrap;gap:8px;display:flex}.followup-quick-actions button{border:1px solid var(--line);color:#344054;cursor:pointer;background:#fff;border-radius:7px;min-height:34px;padding:0 12px;font-size:.82rem;font-weight:650}.quick-note-panel{gap:8px;display:grid}.quick-note-panel>span{color:#8a94a6;font-size:.8rem;font-weight:650}.quick-note-panel>div{flex-wrap:wrap;gap:8px;display:flex}.quick-note-panel button{color:#344054;cursor:pointer;background:#fff;border:1px solid #dbe1ec;border-radius:999px;min-height:32px;padding:0 11px;font-size:.78rem;font-weight:650}.quick-note-panel button:hover,.quick-note-panel button:focus{color:var(--brand);background:#fbfaff;border-color:#d7ccff}.followup-preview{border:1px solid var(--line);border-radius:8px;justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;display:flex}.followup-preview strong,.followup-preview span{font-size:.9rem;font-weight:700}.lead-detail-page{gap:18px;display:grid}.lead-detail-nav{justify-content:space-between;align-items:center;gap:16px;display:flex}.lead-back-button{border:1px solid var(--line);color:#344054;cursor:pointer;background:#fff;border-radius:8px;align-items:center;gap:8px;min-height:40px;padding:0 13px;font-size:.88rem;font-weight:700;display:inline-flex}.lead-back-button:hover,.lead-back-button:focus{color:var(--brand);border-color:#d7ccff;box-shadow:0 10px 24px #7048db14}.lead-detail-hero{border:1px solid var(--line);background:linear-gradient(135deg,#fff 0%,#f8fbff 100%);border-radius:8px;justify-content:space-between;align-items:center;gap:20px;padding:22px;display:flex;box-shadow:0 16px 42px #0f172a0d}.lead-detail-identity{grid-template-columns:58px minmax(0,1fr);align-items:center;gap:16px;min-width:0;display:grid}.lead-detail-avatar{background:var(--brand);color:#fff;border-radius:8px;place-items:center;width:58px;height:58px;font-size:1rem;font-weight:800;display:grid;box-shadow:0 14px 30px #7048db38}.lead-detail-title-row{flex-wrap:wrap;align-items:center;gap:12px;min-width:0;display:flex}.lead-detail-title-row h1{color:var(--ink);letter-spacing:0;margin:0;font-size:clamp(1.65rem,2.4vw,2.25rem);font-weight:780;line-height:1.05}.lead-detail-title-row .stage-summary-button{cursor:default;pointer-events:none;width:auto;min-width:130px}.lead-detail-identity p{color:var(--muted);margin:7px 0 0;font-size:.95rem;line-height:1.4}.lead-detail-actions{flex-wrap:wrap;justify-content:flex-end;gap:10px;display:flex}.lead-detail-actions .primary-action,.lead-detail-actions .secondary-action{min-height:42px;padding:0 14px}.lead-detail-metrics{border:1px solid var(--line);background:#fff;border-radius:8px;grid-template-columns:repeat(4,minmax(0,1fr));display:grid;overflow:hidden}.lead-detail-metrics article{border-right:1px solid var(--line);min-height:90px;padding:17px 20px}.lead-detail-metrics article:last-child{border-right:0}.lead-detail-metrics span{color:var(--muted);font-size:.8rem;font-weight:600;display:block}.lead-detail-metrics strong{color:var(--ink);margin-top:8px;font-size:1.18rem;font-weight:760;line-height:1.2;display:block}.lead-detail-metrics .estimate-status{width:fit-content}.lead-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.lead-detail-card{border:1px solid var(--line);background:#fff;border-radius:8px;align-content:start;gap:18px;padding:20px;display:grid;box-shadow:0 14px 34px #0f172a0a}.lead-detail-card-head{grid-template-columns:42px minmax(0,1fr);align-items:center;gap:12px;display:grid}.detail-card-icon{width:42px;height:42px;color:var(--brand);background:#f3edff;border-radius:8px;place-items:center;display:grid}.detail-card-icon svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.9px;width:20px;height:20px}.lead-detail-card h2{color:var(--ink);margin:0;font-size:1.02rem;font-weight:760;line-height:1.2}.lead-detail-card p{color:var(--muted);margin:4px 0 0;font-size:.84rem;line-height:1.4}.lead-detail-list{gap:10px;margin:0;display:grid}.lead-detail-list div{background:#f8fafc;border-radius:7px;grid-template-columns:145px minmax(0,1fr);align-items:center;gap:12px;min-height:42px;padding:10px 12px;display:grid}.lead-detail-list dt{color:var(--muted);text-transform:uppercase;font-size:.78rem;font-weight:700}.lead-detail-list dd{color:#344054;overflow-wrap:anywhere;min-width:0;margin:0;font-size:.92rem;font-weight:650}.lead-detail-followup{border:1px solid var(--line);cursor:pointer;text-align:left;background:#fff;border-radius:7px;align-content:center;gap:2px;min-width:170px;min-height:40px;padding:7px 10px;display:inline-grid}.lead-detail-followup strong,.lead-detail-followup span{color:inherit;font-size:.78rem;font-weight:750}.lead-detail-labels{cursor:pointer;text-align:left;background:#fbfcff;border:1px dashed #d7deea;border-radius:8px;flex-wrap:wrap;align-items:flex-start;gap:8px;min-height:74px;padding:14px;display:flex}.lead-detail-labels:hover,.lead-detail-labels:focus{background:#fbfaff;border-color:#d7ccff}.lead-detail-timeline-card{grid-column:1/-1}.lead-detail-timeline{border-top:0;padding-top:0}.lead-detail-timeline ol{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px}.lead-detail-timeline ol:before{display:none}.lead-detail-compact{gap:14px}.compact-detail-nav{justify-content:flex-start}.lead-record-card{border:1px solid var(--line);background:#fff;border-radius:8px;padding:20px;display:grid;box-shadow:0 12px 34px #0f172a0f}.lead-record-main{grid-template-columns:150px minmax(0,1fr);align-items:center;gap:22px;display:grid}.lead-record-avatar{color:#24364b;background:#eef2f7;border-radius:50%;place-items:center;width:132px;height:132px;font-size:1.55rem;font-weight:650;display:grid}.lead-record-content{min-width:0}.lead-record-heading{justify-content:space-between;align-items:flex-start;gap:18px;display:flex}.lead-record-heading h1{color:var(--ink);letter-spacing:0;margin:0;font-size:clamp(1.35rem,2vw,1.72rem);font-weight:760;line-height:1.1}.lead-record-heading p{color:#344054;margin:8px 0 0;font-size:.96rem}.lead-record-actions{align-items:center;gap:8px;display:flex}.record-icon-action,.record-square-action{border:1px solid var(--line);color:#344054;cursor:pointer;background:#fff;border-radius:7px;place-items:center;width:44px;height:42px;display:grid;box-shadow:0 6px 16px #0f172a14}.record-icon-action svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.9px;width:18px;height:18px}.record-call{color:#d18800;background:#fff8e7;border-color:#ffc85f}.record-message{color:#079970;background:#eafbf5;border-color:#6ee8c4}.record-estimate{color:#2082a7;background:#edfaff;border-color:#8ddaf2}.record-square-action{color:#fff;background:#7167f0;width:auto;min-width:54px;font-size:.76rem;font-weight:750}.record-square-action.dark{background:#202b35}.record-icon-action:hover,.record-square-action:hover{transform:translateY(-1px)}.lead-contact-line{color:#24364b;flex-wrap:wrap;gap:8px 12px;margin-top:12px;font-size:.94rem;display:flex}.lead-contact-line span:not(:last-child):after{color:#98a2b3;content:"|";margin-left:12px}.lead-record-facts{grid-template-columns:repeat(4,minmax(0,1fr));gap:0;max-width:850px;margin-top:15px;display:grid}.lead-record-facts article{border-right:1px solid var(--line);min-height:58px;margin-right:18px;padding-right:18px}.lead-record-facts article:last-child{border-right:0;margin-right:0}.lead-record-facts span,.lead-record-label-area>strong{color:var(--ink);font-size:.84rem;font-weight:760;display:block}.lead-record-facts strong{color:#344054;margin-top:7px;font-size:.92rem;font-weight:550;display:block}.lead-record-facts .stage-summary-button,.lead-record-facts .assigned-chip{width:fit-content;min-width:112px;margin-top:7px}.lead-record-label-area{gap:7px;margin-top:12px;display:grid}.lead-record-labels{cursor:pointer;text-align:left;background:0 0;border:0;flex-wrap:wrap;align-items:center;gap:7px;min-height:32px;padding:0;display:flex}.lead-record-label-area small{color:#475467;font-size:.84rem}.lead-detail-workbench{grid-template-columns:minmax(320px,.95fr) minmax(420px,1.95fr);align-items:start;gap:18px;display:grid}.lead-timeline-card,.lead-side-panel{border:1px solid var(--line);background:#fff;border-radius:8px;box-shadow:0 10px 28px #0f172a0d}.lead-timeline-card{padding:18px}.lead-section-title{justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.lead-section-title h2{color:var(--ink);margin:0;font-size:1.2rem;font-weight:760}.lead-section-title button{color:#28a5d2;cursor:pointer;background:0 0;border:0;align-items:center;gap:8px;min-height:34px;font-size:.9rem;font-weight:700;display:inline-flex}.lead-section-title button span{color:#1fa7d7;background:#cff3ff;border-radius:50%;place-items:center;width:30px;height:30px;font-size:1.3rem;font-weight:500;display:grid}.lead-detail-compact .lead-detail-timeline{border-top:0;padding-top:0}.lead-detail-compact .lead-detail-timeline ol{grid-template-columns:1fr;padding-left:2px}.lead-detail-compact .lead-detail-timeline ol:before{display:block;top:20px;bottom:14px;left:17px}.lead-detail-compact .activity-timeline li{grid-template-columns:36px minmax(0,1fr);gap:12px;padding-bottom:14px}.lead-side-panel{box-shadow:none;background:0 0;border:0;gap:10px;display:grid}.lead-activity-counts{border:1px solid var(--line);background:#fff;border-radius:8px;grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.lead-activity-counts article{border-right:1px solid var(--line);align-items:center;gap:12px;min-height:62px;padding:0 18px;display:flex}.lead-activity-counts article:last-child{border-right:0}.count-icon{border-radius:50%;place-items:center;width:38px;height:38px;display:grid}.count-icon svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.9px;width:18px;height:18px}.count-icon.activity-call{color:#0c9f72;background:#d7f8ec}.count-icon.activity-message{color:#c98700;background:#fff3cf}.count-icon.activity-site-visit{color:#667085;background:#eef1f6}.lead-activity-counts strong{color:var(--ink);font-size:1rem;font-weight:760}.lead-info-panel{border:1px solid var(--line);background:#fff;border-radius:8px;padding:16px 18px}.lead-info-panel h3{color:var(--ink);margin:0;font-size:.98rem;font-weight:760}.lead-info-panel h3:before{color:#344054;content:">";margin-right:10px}.lead-info-panel h3 span{color:var(--muted)}.lead-info-panel p{color:var(--muted);margin:10px 0 0 24px;font-size:.86rem}.lead-info-panel dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 18px;margin:14px 0 0 24px;display:grid}.lead-info-panel div{min-width:0}.lead-info-panel dt{color:var(--muted);text-transform:uppercase;font-size:.72rem;font-weight:700}.lead-info-panel dd{color:#344054;overflow-wrap:anywhere;margin:3px 0 0;font-size:.88rem;font-weight:650}.followup-detail-panel{border-color:#d7deea}.followup-detail-panel.follow-up-overdue{background:#fff8f8;border-color:#ffc6c6}.followup-detail-panel.follow-up-today{background:#fffaf0;border-color:#f8d58a}.followup-detail-panel.follow-up-upcoming{background:#f7fff9;border-color:#bbecd1}.followup-detail-box{grid-template-columns:repeat(3,minmax(0,1fr)) auto;align-items:end;gap:12px;margin:14px 0 0 24px;display:grid}.followup-detail-box div{min-width:0}.followup-detail-box span{color:var(--muted);text-transform:uppercase;font-size:.72rem;font-weight:700;display:block}.followup-detail-box strong{color:#344054;overflow-wrap:anywhere;margin-top:5px;font-size:.88rem;font-weight:700;display:block}.followup-detail-box .secondary-action{white-space:nowrap;min-height:38px;padding:0 14px}.lead-board-detail{gap:16px;display:grid}.lead-unified-detail{max-width:1480px;margin:0 auto}.lead-detail-commandbar{z-index:20;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#fffffff5;border:1px solid #dfe5ef;border-radius:8px;justify-content:space-between;align-items:center;gap:14px;padding:12px;display:flex;position:sticky;top:10px;box-shadow:0 14px 34px #0f172a12}.lead-detail-command-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;min-width:0;display:flex}.lead-detail-profile-band,.lead-detail-master-card,.lead-detail-info-section{border:1px solid var(--line);background:#fff;border-radius:8px;box-shadow:0 12px 30px #0f172a0d}.lead-detail-profile-band{justify-content:space-between;align-items:center;gap:18px;padding:20px;display:flex}.lead-detail-profile-main{grid-template-columns:72px minmax(0,1fr);align-items:center;gap:14px;min-width:0;display:grid}.lead-detail-profile-main h1{color:#101828;letter-spacing:0;margin:0;font-size:clamp(1.35rem,2.2vw,2rem);font-weight:820;line-height:1.08}.lead-detail-profile-main p{color:#667085;flex-wrap:wrap;align-items:center;gap:9px;min-width:0;margin:9px 0 0;font-size:.9rem;font-weight:650;display:flex}.lead-detail-profile-main p span{overflow-wrap:anywhere;min-width:0}.lead-detail-profile-main p span+span:before{content:"";vertical-align:middle;background:#98a2b3;border-radius:50%;width:5px;height:5px;margin-right:9px;display:inline-block}.lead-detail-profile-controls{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;display:flex}.lead-detail-profile-controls .stage-summary-button,.lead-detail-profile-controls .assigned-chip{width:fit-content;min-width:140px}.lead-detail-kpi-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.lead-detail-kpi-grid article.follow-up-overdue{background:#fff8f8;border-color:#ffc6c6}.lead-detail-kpi-grid article.follow-up-today{background:#fffaf0;border-color:#f8d58a}.lead-detail-kpi-grid article.follow-up-upcoming{background:#f7fff9;border-color:#bbecd1}.lead-detail-master-card{gap:16px;padding:18px;display:grid}.lead-detail-master-head{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.lead-detail-master-head h2{color:var(--ink);margin:0;font-size:1.18rem;font-weight:800;line-height:1.2}.lead-detail-master-head p{color:var(--muted);margin:5px 0 0;font-size:.9rem;line-height:1.4}.lead-detail-master-head .lead-board-labels{max-width:480px}.lead-detail-section-grid{grid-template-columns:repeat(4,minmax(0,1fr));align-items:stretch;gap:12px;display:grid}.lead-detail-info-section{min-width:0;box-shadow:none;align-content:start;gap:12px;padding:14px;display:grid}.lead-detail-definition-grid{gap:8px;margin:0;display:grid}.lead-detail-definition-grid div{background:#f8fafc;border-radius:7px;min-width:0;padding:10px}.lead-detail-definition-grid dt{color:var(--muted);text-transform:uppercase;font-size:.7rem;font-weight:800}.lead-detail-definition-grid dd{color:#344054;overflow-wrap:anywhere;margin:5px 0 0;font-size:.88rem;font-weight:720;line-height:1.35}.lead-followup-summary{border-color:#d7deea}.lead-followup-summary.follow-up-overdue{background:#fff8f8;border-color:#ffc6c6}.lead-followup-summary.follow-up-today{background:#fffaf0;border-color:#f8d58a}.lead-followup-summary.follow-up-upcoming{background:#f7fff9;border-color:#bbecd1}.lead-followup-summary h2{color:var(--ink);letter-spacing:0;margin:0;font-size:1.25rem;font-weight:800;line-height:1.15}.lead-followup-summary p{color:#475467;overflow-wrap:anywhere;margin:0;font-size:.9rem;line-height:1.45}.lead-followup-summary .primary-action{width:fit-content;min-height:38px;padding:0 13px}.lead-detail-activity-layout{grid-template-columns:minmax(360px,1fr) minmax(360px,1fr)}.lead-notes-primary-panel{min-height:320px}.lead-detail-v2{gap:16px;max-width:1480px;margin:0 auto;display:grid}.lead-v2-header{z-index:20;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#fffffff7;border:1px solid #dfe5ef;border-radius:8px;justify-content:space-between;align-items:center;gap:14px;padding:12px;display:flex;position:sticky;top:10px;box-shadow:0 14px 34px #0f172a12}.lead-v2-header-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;min-width:0;display:flex}.lead-v2-action{border:1px solid var(--line);color:#101828;cursor:pointer;white-space:nowrap;background:#fff;border-radius:8px;justify-content:center;align-items:center;gap:8px;min-height:40px;padding:0 13px;font-size:.9rem;font-weight:760;text-decoration:none;display:inline-flex}.lead-v2-action.primary{color:#fff;background:#101828;border-color:#101828}.lead-v2-shell{grid-template-columns:minmax(260px,320px) minmax(0,1fr);align-items:start;gap:16px;display:grid}.lead-v2-profile-panel,.lead-v2-info-card,.lead-v2-status-grid article,.lead-v2-followup-strip,.lead-v2-notes,.lead-v2-timeline{border:1px solid var(--line);background:#fff;border-radius:8px;box-shadow:0 12px 30px #0f172a0d}.lead-v2-profile-panel{justify-items:start;gap:14px;padding:20px;display:grid;position:sticky;top:78px}.lead-v2-avatar{color:#fff;background:#101828;border-radius:8px;place-items:center;width:78px;height:78px;font-size:1.25rem;font-weight:820;display:grid;box-shadow:0 14px 30px #1018282e}.lead-v2-profile-panel h1{color:#101828;letter-spacing:0;margin:0;font-size:clamp(1.35rem,2.2vw,1.95rem);font-weight:820;line-height:1.08}.lead-v2-profile-panel p{color:#475467;margin:-6px 0 0;font-size:.95rem;font-weight:700;line-height:1.35}.lead-v2-profile-meta{gap:8px;width:100%;display:grid}.lead-v2-profile-meta span{color:#344054;overflow-wrap:anywhere;background:#f8fafc;border-radius:7px;min-width:0;padding:9px 10px;font-size:.86rem;font-weight:680}.lead-v2-stage-stack{gap:8px;width:100%;display:grid}.lead-v2-stage-stack .stage-summary-button,.lead-v2-stage-stack .assigned-chip{width:100%}.lead-v2-label-box{cursor:pointer;text-align:left;background:#fbfcff;border:1px dashed #d7deea;border-radius:8px;flex-wrap:wrap;align-items:flex-start;gap:7px;width:100%;min-height:48px;padding:10px;display:flex}.lead-v2-main{gap:14px;min-width:0;display:grid}.lead-v2-status-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.lead-v2-status-grid article{min-height:96px;padding:14px}.lead-v2-status-grid article.follow-up-overdue{background:#fff8f8;border-color:#ffc6c6}.lead-v2-status-grid article.follow-up-today{background:#fffaf0;border-color:#f8d58a}.lead-v2-status-grid article.follow-up-upcoming{background:#f7fff9;border-color:#bbecd1}.lead-v2-status-grid span,.lead-v2-field-grid dt,.lead-v2-followup-strip span{color:var(--muted);text-transform:uppercase;font-size:.72rem;font-weight:800;display:block}.lead-v2-status-grid strong{color:var(--ink);overflow-wrap:anywhere;margin-top:8px;font-size:1.05rem;font-weight:800;line-height:1.2;display:block}.lead-v2-status-grid small{color:var(--muted);margin-top:6px;font-size:.78rem;font-weight:650;line-height:1.35;display:block}.lead-v2-followup-strip{justify-content:space-between;align-items:center;gap:14px;padding:16px;display:flex}.lead-v2-followup-strip div{min-width:0}.lead-v2-followup-strip strong{color:#101828;overflow-wrap:anywhere;margin-top:5px;font-size:.98rem;font-weight:760;line-height:1.35;display:block}.lead-v2-followup-strip .primary-action{white-space:nowrap;min-height:38px;padding:0 14px}.lead-v2-info-board{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.lead-v2-info-card{align-content:start;gap:12px;min-width:0;padding:14px;display:grid}.lead-v2-field-grid{gap:8px;margin:0;display:grid}.lead-v2-field-grid div{background:#f8fafc;border-radius:7px;min-width:0;padding:10px}.lead-v2-field-grid dd{color:#344054;overflow-wrap:anywhere;margin:5px 0 0;font-size:.88rem;font-weight:720;line-height:1.35}.lead-v2-workstream{grid-template-columns:minmax(360px,1fr) minmax(360px,1fr);align-items:start;gap:14px;display:grid}.lead-v2-notes,.lead-v2-timeline{min-height:320px}.lead-pipeline-detail{border:1px solid var(--line);background:#fff;border-radius:8px;max-width:1500px;margin:0 auto;display:grid;overflow:hidden}.lead-pipeline-topbar{border-bottom:1px solid var(--line);color:#475467;background:#fff;justify-content:space-between;align-items:center;gap:16px;min-height:48px;padding:0 18px;font-size:.82rem;font-weight:700;display:flex}.lead-pipeline-topbar button{color:#2d8a16;cursor:pointer;background:0 0;border:0;font-size:.82rem;font-weight:800}.lead-pipeline-layout{grid-template-columns:minmax(270px,320px) minmax(0,1fr);min-height:calc(100vh - 150px);display:grid}.lead-pipeline-rail{border-right:1px solid var(--line);background:#fbfcfe;align-content:start;gap:16px;padding:22px;display:grid}.lead-pipeline-labels{cursor:pointer;text-align:left;background:0 0;border:0;flex-wrap:wrap;align-items:center;gap:7px;min-height:34px;padding:0;display:flex}.lead-pipeline-record{color:#667085;text-transform:uppercase;font-size:.82rem;font-weight:750}.lead-pipeline-rail h1{color:#101828;margin:-8px 0 0;font-size:clamp(1.35rem,2vw,1.75rem);font-weight:820;line-height:1.12}.lead-pipeline-address{color:#475467;margin:-8px 0 0;font-size:.9rem;line-height:1.4}.lead-pipeline-side-actions{grid-template-columns:minmax(0,1fr) 42px 42px;gap:10px;display:grid}.lead-pipeline-proposal-action,.lead-pipeline-icon-action{color:#13380c;cursor:pointer;background:#8bea58;border:1px solid #8fe36a;border-radius:999px;justify-content:center;align-items:center;gap:8px;min-height:42px;padding:0 14px;font-size:.9rem;font-weight:800;text-decoration:none;display:inline-flex}.lead-pipeline-icon-action{border-color:var(--line);color:#101828;background:#fff;padding:0}.lead-pipeline-value-card{background:#f4f7f2;border-radius:8px;gap:8px;padding:16px;display:grid}.lead-pipeline-value-card span,.lead-pipeline-value-card small,.lead-pipeline-rail-section dt,.lead-pipeline-section-head button{color:#2d8a16;font-size:.78rem;font-weight:800}.lead-pipeline-value-card strong{color:#101828;font-size:1.5rem;font-weight:820}.lead-pipeline-rail-section{border-top:1px solid var(--line);gap:14px;padding-top:16px;display:grid}.lead-pipeline-rail-section h2{color:#101828;margin:0;font-size:.95rem;font-weight:820}.lead-pipeline-contact-row,.lead-pipeline-salesperson{grid-template-columns:38px minmax(0,1fr);align-items:center;gap:10px;display:grid}.lead-pipeline-avatar{color:#8e2859;background:#ffe1ef;border-radius:999px;place-items:center;width:38px;height:38px;font-size:.78rem;font-weight:850;display:grid}.lead-pipeline-avatar.small{color:#176a9e;background:#eaf6ff;width:34px;height:34px}.lead-pipeline-contact-row strong,.lead-pipeline-salesperson{color:#101828;font-size:.86rem;font-weight:780}.lead-pipeline-contact-row small{color:#667085;margin-top:3px;font-size:.78rem;display:block}.lead-pipeline-rail-section dl{gap:12px;margin:0;display:grid}.lead-pipeline-rail-section dd{color:#101828;overflow-wrap:anywhere;margin:4px 0 0;font-size:.88rem;font-weight:650}.lead-pipeline-salesperson{cursor:pointer;text-align:left;background:0 0;border:0;padding:0}.lead-pipeline-created{color:#98a2b3;align-self:end;margin-top:16px;font-size:.72rem;font-weight:650}.lead-pipeline-main{align-content:start;min-width:0;display:grid}.lead-pipeline-stage-panel{border-bottom:1px solid var(--line);gap:16px;padding:24px 28px 18px;display:grid}.lead-pipeline-stage-head{justify-content:space-between;align-items:center;gap:16px;display:flex}.lead-pipeline-stage-head div{color:#475467;flex-wrap:wrap;gap:16px;min-width:0;font-size:.95rem;display:flex}.lead-pipeline-stage-head strong{color:#101828}.lead-pipeline-stage-head small{color:#667085;font-size:.78rem;font-weight:650}.lead-stage-path{background:#e5e7eb;border-radius:999px;grid-template-columns:repeat(auto-fit,minmax(92px,1fr));display:grid;overflow:hidden}.lead-stage-path button{color:#475467;cursor:pointer;text-overflow:ellipsis;white-space:nowrap;background:#e5e7eb;border:0;border-right:1px solid #fffc;min-height:30px;padding:0 10px;font-size:.72rem;font-weight:800;overflow:hidden}.lead-stage-path button.complete{color:#0f5f5d;background:#a7e4df}.lead-stage-path button.current{color:#083f3d;background:#7fded9}.lead-sequence-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.lead-sequence-grid article{background:#fbfcff;border-radius:8px;grid-template-columns:40px minmax(0,1fr);align-items:start;gap:12px;padding:14px;display:grid}.lead-sequence-icon{color:#2d8a16;background:#eef8eb;border-radius:999px;place-items:center;width:34px;height:34px;display:grid}.lead-sequence-grid small,.lead-pipeline-info-grid span{color:#667085;font-size:.76rem;font-weight:750;display:block}.lead-sequence-grid strong{color:#101828;margin-top:3px;font-size:.9rem;font-weight:800;display:block}.lead-sequence-grid p{color:#475467;margin:4px 0 0;font-size:.82rem}.lead-sequence-grid button,.lead-pipeline-section-head button{cursor:pointer;background:0 0;border:0;padding:0}.lead-pipeline-tabs{border-bottom:1px solid var(--line);align-items:center;gap:2px;min-width:0;padding:0 28px;display:flex;overflow-x:auto}.lead-pipeline-tabs span{color:#667085;white-space:nowrap;border-bottom:2px solid #0000;align-items:center;gap:6px;min-height:46px;padding:0 13px;font-size:.86rem;font-weight:700;display:inline-flex}.lead-pipeline-tabs span.active{color:#101828;border-color:#52b720}.lead-pipeline-tabs strong{color:#475467;background:#f2f4f7;border-radius:999px;place-items:center;min-width:18px;height:18px;font-size:.7rem;display:grid}.lead-pipeline-section{border-bottom:1px solid var(--line);gap:14px;padding:24px 28px;display:grid}.lead-pipeline-section-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.lead-pipeline-section h2{color:#101828;margin:0;font-size:1.2rem;font-weight:820}.lead-pipeline-activity-list{gap:15px;margin:0;padding:0;list-style:none;display:grid}.lead-pipeline-activity-list li{grid-template-columns:38px minmax(0,1fr);gap:12px;display:grid}.lead-pipeline-activity-list strong{color:#101828;font-size:.9rem}.lead-pipeline-activity-list p{color:#475467;margin:4px 0;font-size:.86rem}.lead-pipeline-activity-list small{color:#667085;font-size:.78rem}.lead-pipeline-appointment,.lead-pipeline-proposal-card{border:1px solid var(--line);background:#fff;border-radius:8px;grid-template-columns:minmax(180px,.7fr) minmax(0,1.3fr);align-items:center;gap:16px;padding:16px;display:grid}.lead-pipeline-appointment span,.lead-pipeline-proposal-card span{color:#667085;font-size:.78rem;font-weight:750;display:block}.lead-pipeline-appointment strong,.lead-pipeline-proposal-card strong{color:#101828;margin-top:5px;font-size:1rem;font-weight:820;display:block}.lead-pipeline-appointment p,.lead-pipeline-proposal-card small{color:#475467;margin:0;font-size:.86rem;line-height:1.45}.lead-pipeline-proposal-card{grid-template-columns:minmax(0,1fr) minmax(150px,220px)}.lead-pipeline-info-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.lead-pipeline-info-grid div{background:#f8fafc;border-radius:8px;min-width:0;padding:12px}.lead-pipeline-info-grid strong{color:#101828;overflow-wrap:anywhere;margin-top:5px;font-size:.9rem;font-weight:750;display:block}.lead-pipeline-notes{border-bottom:0}.lead-sticky-header{background:linear-gradient(#fff 0%,#fbfdff 100%);border:1px solid #d9e3ef;border-radius:8px;gap:16px;padding:22px 24px;display:grid;position:static;box-shadow:0 14px 30px #0f172a0f}.lead-detail-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.lead-detail-back-button{color:#344054;cursor:pointer;background:#fff;border:1px solid #dfe5ef;border-radius:8px;align-items:center;gap:8px;width:fit-content;min-height:34px;padding:0 12px;font-size:.86rem;font-weight:760;display:inline-flex}.lead-detail-back-button span{font-size:1rem;font-weight:900;line-height:1}.lead-detail-toolbar-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;display:inline-flex}.lead-detail-edit-button,.lead-detail-delete-button{cursor:pointer;border-radius:8px;justify-content:center;align-items:center;gap:8px;min-height:36px;padding:0 13px;font-size:.86rem;font-weight:760;display:inline-flex}.lead-detail-edit-button{color:#344054;background:#fff;border:1px solid #dfe5ef}.lead-detail-delete-button{color:#d92d20;background:#fff5f5;border:1px solid #fecdca}.lead-detail-edit-button .app-icon,.lead-detail-delete-button .app-icon{width:16px;height:16px}.lead-sticky-main{justify-content:space-between;align-items:flex-start;gap:22px;display:flex}.lead-sticky-identity{min-width:0;display:block}.lead-sticky-identity h1{color:#101828;letter-spacing:0;margin:0;font-size:clamp(1.4rem,2.2vw,1.9rem);font-weight:820;line-height:1.05}.lead-detail-contact-meta{color:#667085;flex-wrap:wrap;align-items:flex-start;gap:9px 18px;min-width:0;margin:12px 0 0;font-size:.9rem;font-weight:700;display:flex}.lead-detail-contact-meta span{overflow-wrap:anywhere;align-items:center;gap:7px;min-width:0;display:inline-flex}.lead-detail-contact-meta .app-icon{color:#475467;flex:0 0 15px;width:15px;height:15px}.lead-detail-address-meta{color:#28364d;flex-basis:100%}.lead-sticky-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;display:flex}.lead-sticky-action{color:#111827;cursor:pointer;white-space:nowrap;background:#fff;border:1px solid #d8e1ee;border-radius:8px;justify-content:center;align-items:center;gap:9px;min-height:42px;padding:0 15px;font-size:.92rem;font-weight:760;text-decoration:none;transition:border-color .16s,box-shadow .16s,transform .16s;display:inline-flex;box-shadow:0 6px 16px #0f172a0a}.lead-sticky-action:hover,.lead-sticky-action:focus-visible{border-color:#b9c8dc;outline:0;transform:translateY(-1px);box-shadow:0 10px 22px #0f172a14}.lead-sticky-action.primary{color:#fff;background:#000;border-color:#000;box-shadow:0 10px 22px #00000024}.lead-sticky-action.primary:hover,.lead-sticky-action.primary:focus-visible{background:#1f2937;border-color:#1f2937}.lead-sticky-action .app-icon{width:17px;height:17px}.lead-sticky-controls{border-top:1px solid #e8eef6;flex-wrap:wrap;align-items:center;gap:20px;padding-top:18px;display:flex}.lead-sticky-controls label{color:#344054;align-items:center;gap:12px;min-width:0;font-size:.95rem;font-weight:760;display:inline-flex}.lead-sticky-controls label>span:first-child{white-space:nowrap}.lead-sticky-select{color:#101828;cursor:pointer;background:#fff;border:1px solid #d7e0ec;border-radius:8px;justify-content:space-between;align-items:center;gap:12px;min-width:204px;min-height:46px;padding:0 12px 0 15px;font-size:.92rem;font-weight:760;transition:border-color .16s,box-shadow .16s;display:inline-flex;box-shadow:inset 0 1px #ffffffd9}.lead-sticky-select:hover,.lead-sticky-select:focus-visible{border-color:#9fb0c6;outline:0;box-shadow:0 0 0 4px #2e90fa14}.lead-sticky-select.assignee{min-width:236px}.lead-sticky-select.assignee strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.lead-sticky-status{border-radius:999px;align-items:center;min-height:24px;padding:0 12px;font-size:.8rem;font-weight:800;display:inline-flex}.lead-sticky-status.stage-lead-lost,.lead-sticky-status.stage-lost{color:#ff3b3b;background:#fff7f7;border:1px solid #ff3b3b}.lead-sticky-status.stage-lead-won,.lead-sticky-status.stage-won,.lead-sticky-status.stage-qualified{color:#078048;background:#f4fff8;border:1px solid #20b26b}.lead-sticky-status.stage-new-lead,.lead-sticky-status.stage-new{color:#125fc0;background:#f5f9ff;border:1px solid #1f7ae0}.lead-sticky-status:not(.stage-lead-lost):not(.stage-lost):not(.stage-lead-won):not(.stage-won):not(.stage-qualified):not(.stage-new-lead):not(.stage-new){color:#475467;background:#f8fafc;border:1px solid #d0d5dd}.lead-sticky-chevron{color:#98a2b3;margin-left:6px;font-size:.8rem;font-weight:900}.lead-board-hero{grid-template-columns:minmax(360px,1.2fr) minmax(300px,.9fr);align-items:stretch;gap:14px;display:grid}.lead-board-card,.lead-board-panel,.lead-board-insights article{border:1px solid var(--line);background:#fff;border-radius:8px;box-shadow:0 12px 30px #0f172a0d}.lead-board-card{align-content:start;gap:14px;min-height:210px;padding:18px;display:grid}.lead-contact-card{gap:16px}.lead-contact-person{grid-template-columns:64px minmax(0,1fr);align-items:center;gap:12px;display:grid}.lead-board-avatar{width:64px;height:64px;color:var(--ink);background:#eef2f7;border-radius:8px;place-items:center;font-size:1.15rem;font-weight:800;display:grid}.lead-contact-person strong,.lead-next-card h2{color:var(--ink);letter-spacing:0;margin:0;font-weight:780;line-height:1.1}.lead-contact-person strong{font-size:clamp(1.1rem,1.8vw,1.45rem);display:block}.lead-contact-person small{color:var(--muted);margin-top:7px;font-size:.9rem;display:block}.lead-contact-method-grid{grid-template-columns:1fr;gap:8px;display:grid}.lead-contact-method-grid div{background:#f8fafc;border-radius:7px;min-width:0;padding:10px 12px}.lead-contact-method-grid span{color:var(--muted);text-transform:uppercase;font-size:.7rem;font-weight:800;display:block}.lead-contact-method-grid strong{color:#344054;overflow-wrap:anywhere;margin-top:5px;font-size:.9rem;font-weight:750;display:block}.lead-location-grid{grid-template-columns:minmax(0,1.4fr) minmax(0,.8fr) minmax(0,.8fr);gap:8px;display:grid}.lead-location-grid div{background:#f8fafc;border-radius:7px;min-width:0;padding:10px}.lead-location-grid span{color:var(--muted);text-transform:uppercase;font-size:.7rem;font-weight:800;display:block}.lead-location-grid strong{color:#344054;overflow-wrap:anywhere;margin-top:5px;font-size:.84rem;font-weight:750;line-height:1.35;display:block}.lead-mini-actions,.lead-next-actions{flex-wrap:wrap;gap:8px;display:flex}.lead-mini-actions .record-icon-action{box-shadow:none}.lead-card-title-row{justify-content:space-between;align-items:center;gap:12px;display:flex}.lead-card-title-row>span{color:var(--muted);letter-spacing:.04em;text-transform:uppercase;font-size:.78rem;font-weight:800}.lead-card-title-row button{border:1px solid var(--line);min-height:30px;color:var(--brand);cursor:pointer;background:#fff;border-radius:7px;padding:0 10px;font-size:.78rem;font-weight:750}.lead-card-title-row strong{color:#344054;background:#f4f5f8;border-radius:999px;padding:5px 9px;font-size:.75rem;font-weight:800}.lead-pipeline-card .stage-summary-button{width:fit-content;min-width:140px}.lead-board-facts{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.lead-board-facts div,.lead-snapshot-grid div{background:#f8fafc;border-radius:7px;min-width:0;padding:10px}.lead-board-facts span,.lead-snapshot-grid span,.lead-board-insights span{color:var(--muted);text-transform:uppercase;font-size:.72rem;font-weight:800;display:block}.lead-board-facts strong,.lead-board-facts button,.lead-snapshot-grid strong,.lead-snapshot-grid button{color:#344054;cursor:pointer;overflow-wrap:anywhere;text-align:left;background:0 0;border:0;width:fit-content;max-width:100%;margin-top:5px;padding:0;font-size:.86rem;font-weight:750;display:block}.lead-board-labels{cursor:pointer;text-align:left;background:#fbfcff;border:1px dashed #d7deea;border-radius:8px;flex-wrap:wrap;align-items:center;gap:7px;min-height:42px;padding:9px;display:flex}.lead-next-card{isolation:isolate;background:#fff;border-color:#d7deea;transition:border-color .18s,box-shadow .18s,transform .18s;animation:.32s ease-out followupCardIn;position:relative;overflow:hidden}.lead-next-card:hover{transform:translateY(-2px);box-shadow:0 18px 36px #0f172a17}.lead-next-card:before{content:"";z-index:0;pointer-events:none;background:#98a2b3;width:5px;position:absolute;inset:0 auto 0 0}.lead-next-card.follow-up-overdue{background:linear-gradient(135deg,#fff8f8 0%,#fff 70%);border-color:#fecdca}.lead-next-card.follow-up-overdue:before{background:#f04438}.lead-next-card.follow-up-today{background:linear-gradient(135deg,#fffaf0 0%,#fff 72%);border-color:#f8d58a}.lead-next-card.follow-up-today:before{background:#f79009}.lead-next-card.follow-up-upcoming{background:linear-gradient(135deg,#f7fff9 0%,#fff 72%);border-color:#abefc6}.lead-next-card.follow-up-upcoming:before{background:#12b76a}.lead-next-card.follow-up-empty{background:radial-gradient(circle at 18% 18%,#6941c61a,#0000 30%),linear-gradient(135deg,#fbfcff 0%,#fff 72%);border-color:#d9d6fe}.lead-next-card.follow-up-empty:before{background:linear-gradient(#7f56d9,#2e90fa,#12b76a) 0 0/100% 220%;animation:2.8s ease-in-out infinite followupEmptySweep}.lead-next-card:after{content:"";pointer-events:none;z-index:0;background:#6941c614;border-radius:50%;width:128px;height:128px;position:absolute;bottom:-42px;right:-34px}.lead-next-card.follow-up-overdue:after{background:#d92d201a}.lead-next-card.follow-up-today:after{background:#dc68031a}.lead-next-card.follow-up-upcoming:after{background:#0794551a}.lead-next-card.follow-up-empty:after{background:#2e90fa1f}.lead-followup-empty-effect{z-index:0;pointer-events:none;width:72px;height:72px;position:absolute;top:16px;right:18px}.lead-followup-empty-effect span{opacity:0;border:1px solid #6941c633;border-radius:50%;animation:2.7s ease-out infinite followupEmptyRing;position:absolute;inset:0}.lead-followup-empty-effect span:nth-child(2){animation-delay:.55s}.lead-followup-empty-effect span:nth-child(3){animation-delay:1.1s}.lead-followup-head{z-index:1;grid-template-columns:46px minmax(0,1fr) auto;align-items:start;gap:12px;display:grid;position:relative}.lead-followup-icon{color:#6941c6;background:#f4f3ff;border-radius:10px;place-items:center;width:46px;height:46px;display:grid}.lead-next-card.follow-up-overdue .lead-followup-icon{color:#d92d20;background:#fee4e2}.lead-next-card.follow-up-today .lead-followup-icon{color:#dc6803;background:#fef0c7}.lead-next-card.follow-up-upcoming .lead-followup-icon{color:#079455;background:#dcfae6}.lead-next-card.follow-up-empty .lead-followup-icon{color:#6941c6;background:#f4f3ff;animation:2.6s ease-in-out infinite followupIconFloat}.lead-followup-icon .app-icon{width:22px;height:22px}.lead-followup-kicker{color:var(--muted);letter-spacing:.04em;text-transform:uppercase;font-size:.78rem;font-weight:800;display:block}.lead-followup-head strong{color:#344054;white-space:nowrap;background:#f4f5f8;border-radius:999px;padding:6px 10px;font-size:.76rem;font-weight:800}.lead-next-card.follow-up-overdue .lead-followup-head strong{color:#b42318;background:#fee4e2}.lead-next-card.follow-up-today .lead-followup-head strong{color:#b54708;background:#fef0c7}.lead-next-card.follow-up-upcoming .lead-followup-head strong{color:#067647;background:#dcfae6}.lead-next-card h2{overflow-wrap:anywhere;margin:8px 0 0;font-size:1.45rem}.lead-followup-note{z-index:1;color:#475467;margin:0;font-size:.9rem;line-height:1.45;position:relative}.lead-followup-state-line{z-index:1;color:#475467;background:#ffffffb8;border-radius:8px;align-items:center;gap:8px;padding:9px 10px;display:flex;position:relative}.lead-followup-state-line span{background:#98a2b3;border-radius:50%;flex:0 0 8px;width:8px;height:8px}.lead-followup-state-line small{color:inherit;font-size:.78rem;font-weight:700;line-height:1.35}.lead-next-card.follow-up-overdue .lead-followup-state-line{color:#b42318}.lead-next-card.follow-up-overdue .lead-followup-state-line span{background:#f04438;animation:1.7s ease-in-out infinite followupPulse;box-shadow:0 0 0 6px #f044381f}.lead-next-card.follow-up-today .lead-followup-state-line{color:#b54708}.lead-next-card.follow-up-today .lead-followup-state-line span{background:#f79009;animation:2s ease-in-out infinite followupBeacon;box-shadow:0 0 0 6px #f790091f}.lead-next-card.follow-up-upcoming .lead-followup-state-line{color:#067647}.lead-next-card.follow-up-upcoming .lead-followup-state-line span{background:#12b76a;animation:2.4s ease-in-out infinite followupBeacon;box-shadow:0 0 0 6px #12b76a1f}.lead-next-card.follow-up-empty .lead-followup-state-line span{background:#6941c6;animation:1.9s ease-in-out infinite followupBeacon;box-shadow:0 0 0 6px #6941c61a}.lead-next-actions{z-index:1;position:relative}.lead-next-actions .primary-action,.lead-next-actions .secondary-action{min-height:40px;padding:0 14px}@keyframes followupCardIn{0%{opacity:.7;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}@keyframes followupPulse{0%{box-shadow:0 0 #f0443847}70%{box-shadow:0 0 0 9px #f0443800}to{box-shadow:0 0 #f0443800}}@keyframes followupBeacon{0%,to{opacity:1;transform:scale(1)}50%{opacity:.75;transform:scale(1.28)}}@keyframes followupEmptySweep{0%,to{background-position:50% 0}50%{background-position:50% 100%}}@keyframes followupEmptyRing{0%{opacity:.5;transform:scale(.36)}80%,to{opacity:0;transform:scale(1.2)}}@keyframes followupIconFloat{0%,to{transform:translateY(0)}50%{transform:translateY(-3px)}}@media (prefers-reduced-motion:reduce){.lead-next-card,.lead-next-card.follow-up-empty:before,.lead-next-card.follow-up-overdue .lead-followup-state-line span,.lead-next-card.follow-up-today .lead-followup-state-line span,.lead-next-card.follow-up-upcoming .lead-followup-state-line span,.lead-next-card.follow-up-empty .lead-followup-state-line span,.lead-next-card.follow-up-empty .lead-followup-icon,.lead-followup-empty-effect span{animation:none}.lead-next-card:hover{transform:none}}.lead-board-insights{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;display:grid}.lead-board-insights article{min-height:86px;padding:14px}.lead-board-insights article.lead-kpi-stat,.lead-board-insights article.lead-activity-stat{align-items:center;gap:12px;min-height:76px;display:flex}.lead-board-insights .lead-stat-icon{color:#101828;text-transform:none;border-radius:8px;flex:0 0 42px;place-items:center;width:42px;height:42px;display:grid}.lead-board-insights .lead-estimate-stat .lead-stat-icon{color:#d97706;background:#fff7ed}.lead-board-insights .lead-status-stat .lead-stat-icon{color:#6941c6;background:#f4f3ff}.lead-board-insights .activity-call .lead-stat-icon{color:#175cd3;background:#eff8ff}.lead-board-insights .activity-message .lead-stat-icon{color:#079455;background:#ecfdf3}.lead-board-insights .activity-site-visit .lead-stat-icon{color:#026aa2;background:#eef8ff}.lead-board-insights .lead-stat-icon .app-icon{width:20px;height:20px}.lead-kpi-stat>div,.lead-activity-stat>div{min-width:0}.lead-board-insights .lead-kpi-stat strong,.lead-board-insights .lead-activity-stat strong{margin-top:3px;font-size:1.25rem}.lead-board-insights .lead-status-stat strong{width:fit-content;max-width:100%}.lead-board-insights .lead-status-stat .estimate-status{text-overflow:ellipsis;max-width:100%;min-height:24px;padding:0 11px;overflow:hidden}.lead-board-insights strong{color:var(--ink);margin-top:8px;font-size:1.05rem;font-weight:780;line-height:1.2;display:block}.lead-board-insights small{color:var(--muted);margin-top:5px;font-size:.76rem;font-weight:650;display:block}.lead-proposals-panel{border:1px solid var(--line);background:#fff;border-radius:14px;gap:18px;padding:26px 30px 30px;display:grid;box-shadow:0 10px 24px #0f172a0f}.lead-proposals-head{justify-content:space-between;align-items:center;gap:14px;display:flex}.lead-proposals-head h2{color:#0f172a;margin:0;font-size:1.25rem;font-weight:700}.lead-proposal-create-button{color:#fff;cursor:pointer;background:#050505;border:0;border-radius:10px;justify-content:center;align-items:center;gap:9px;min-height:42px;padding:0 18px;font-size:.9rem;font-weight:650;display:inline-flex;box-shadow:0 8px 18px #0f172a29}.lead-proposal-create-button .app-icon{width:17px;height:17px}.lead-proposals-list{gap:12px;display:grid}.lead-proposal-card{background:#fff;border:1px solid #e1e6ef;border-radius:14px;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:18px;padding:18px 20px;display:grid}.lead-proposal-main{gap:10px;min-width:0;display:grid}.lead-proposal-title-row{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.lead-proposal-title-row strong{color:#0f172a;font-size:1rem;font-weight:650}.lead-proposal-title-row span{color:#475569;background:#f8fafc;border:1px solid #e2e8f0;border-radius:999px;place-items:center;min-width:26px;height:18px;font-size:.7rem;font-weight:500;display:inline-grid}.lead-proposal-main p{color:#475569;margin:-5px 0 2px;font-size:.86rem}.proposal-status-dropdown-container{display:inline-block;position:relative}.proposal-status-dropdown-trigger{cursor:pointer;background-color:#fff;border:1px solid #e2e8f0;border-radius:6px;outline:none;align-items:center;gap:6px;min-height:30px;padding:2px 6px;transition:all .2s;display:inline-flex}.proposal-status-dropdown-trigger:hover{background-color:#f8fafc;border-color:#cbd5e1}.status-badge{text-transform:capitalize;border-radius:4px;align-items:center;padding:2px 6px;font-size:.75rem;font-weight:500;line-height:1.2;display:inline-flex}.status-badge.status-draft{color:#374151;background-color:#f3f4f6}.status-badge.status-sent{color:#1d4ed8;background-color:#dbeafe}.status-badge.status-accepted{color:#15803d;background-color:#dcfce7}.status-badge.status-rejected{color:#b91c1c;background-color:#fee2e2}.dropdown-chevron{color:#64748b;align-items:center;margin-left:2px;display:inline-flex}.dropdown-chevron svg{stroke-width:2px}.proposal-status-dropdown-menu{z-index:100;background-color:#fff;border:1px solid #e2e8f0;border-radius:8px;flex-direction:column;gap:2px;min-width:130px;margin-top:4px;padding:4px;display:flex;position:absolute;top:100%;left:0;box-shadow:0 4px 12px #00000014}.proposal-status-dropdown-item{cursor:pointer;text-align:left;background-color:#0000;border:0;border-radius:6px;outline:none;justify-content:space-between;align-items:center;width:100%;padding:4px 6px;transition:background-color .15s;display:flex}.proposal-status-dropdown-item:hover{background-color:#f1f5f9}.proposal-status-dropdown-item.is-selected{background-color:#f8fafc}.checkmark-icon{color:#475569;align-items:center;margin-left:8px;display:inline-flex}.lead-proposal-actions{align-items:center;gap:16px;display:inline-flex}.lead-proposal-actions button{color:#111827;cursor:pointer;background:0 0;border:0;border-radius:8px;place-items:center;width:30px;height:30px;padding:0;display:inline-grid}.lead-proposal-actions button:hover{color:#7048db;background:#f3f4f6}.lead-proposal-actions .app-icon{width:18px;height:18px}.lead-proposals-empty{color:#64748b;background:#fafcff;border:1px dashed #dbe3ee;border-radius:12px;gap:6px;padding:18px;display:grid}.lead-proposals-empty strong{color:#0f172a;font-size:.95rem;font-weight:650}.lead-proposals-empty span{font-size:.86rem}.lead-board-content{grid-template-columns:minmax(300px,.85fr) minmax(420px,1.45fr);align-items:start;gap:14px;display:grid}.lead-board-notes-proposals-column{flex-direction:column;gap:14px;display:flex}.lead-board-panel{padding:16px}.lead-board-timeline{border-top:0;padding-top:0}.lead-board-timeline ol{padding-left:3px}.lead-board-timeline ol:before{left:18px}.lead-board-timeline li{grid-template-columns:38px minmax(0,1fr);gap:12px;padding-bottom:13px}.lead-board-notes-panel{border-radius:8px;min-height:230px;padding:26px}.lead-board-notes-panel.is-editing{min-height:410px}.lead-notes-title{align-items:flex-start}.lead-note-add-button{min-height:36px;color:#fff!important;background:#000!important;border-color:#000!important;border-radius:8px!important;padding:0 16px!important}.lead-note-add-button:disabled{cursor:default;color:#fff!important;background:#8a8a8a!important;border-color:#8a8a8a!important}.lead-section-title .lead-note-add-button span{width:auto;height:auto;color:inherit;background:0 0;border-radius:0;font-size:1.15rem;font-weight:700;line-height:1;display:inline}.lead-notes-empty{color:#344054;text-align:center;place-items:center;min-height:132px;font-size:.92rem;display:grid}.lead-note-inline-form{border:1px solid var(--line);background:#fafafa;border-radius:8px;gap:14px;margin-top:42px;padding:18px;display:grid}.lead-note-inline-form .lead-note-error{margin:0}.lead-note-form-actions{align-items:center;gap:10px;display:flex}.lead-note-save-button,.lead-note-cancel-button{cursor:pointer;border-radius:8px;min-height:36px;padding:0 14px;font-size:.9rem;font-weight:750}.lead-note-save-button{color:#fff;background:#8a8a8a;border:1px solid #8a8a8a}.lead-note-cancel-button{border:1px solid var(--line);color:#000;background:#fff;box-shadow:0 1px 3px #10182814}.lead-notes-list{gap:12px;padding-top:36px;display:grid}.lead-note-item{border:1px solid var(--line);background:#fff;border-radius:8px;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:14px;padding:14px;display:grid}.lead-note-copy p{color:var(--ink);overflow-wrap:anywhere;margin:0;font-size:.94rem;font-weight:650;line-height:1.45}.lead-note-meta{color:#475467;align-items:center;gap:8px;margin-top:7px;font-size:.78rem;line-height:1.3;display:flex}.lead-note-meta span:first-child{color:var(--ink);font-weight:700}.lead-note-actions{gap:6px;display:flex}.lead-note-actions button{color:#101828;cursor:pointer;background:0 0;border:0;border-radius:7px;place-items:center;width:30px;height:30px;display:grid}.lead-note-actions button:hover{background:#f2f4f7}.lead-note-textarea{border:1px solid var(--line);width:100%;min-height:72px;color:var(--ink);font:inherit;resize:vertical;background:#fff;border-radius:8px;padding:12px 14px;font-size:.92rem;line-height:1.4;box-shadow:0 1px 3px #1018280f}.lead-note-error{color:#b42318;background:#fff5f5;border:1px solid #fecaca;border-radius:8px;padding:10px 12px;font-size:.84rem;font-weight:700}.lead-board-info-panel{min-height:100%}.lead-snapshot-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}@media (width<=1240px){.lead-v2-shell{grid-template-columns:minmax(220px,280px) minmax(0,1fr)}.lead-v2-status-grid,.lead-v2-info-board,.lead-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.lead-detail-kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.lead-detail-section-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.lead-board-hero{grid-template-columns:minmax(260px,1fr) minmax(300px,1fr)}.lead-board-insights{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=980px){.lead-page{padding:18px}.lead-toolbar{flex-wrap:wrap}.lead-search{flex:280px}.lead-v2-header,.lead-v2-followup-strip{flex-direction:column;align-items:stretch}.lead-v2-header-actions{justify-content:flex-start}.lead-v2-shell,.lead-v2-workstream{grid-template-columns:1fr}.lead-v2-profile-panel{grid-template-columns:78px minmax(0,1fr);align-items:center;position:static}.lead-v2-profile-panel h1,.lead-v2-profile-panel p,.lead-v2-profile-meta,.lead-v2-stage-stack,.lead-v2-label-box{grid-column:2}.lead-v2-avatar{grid-row:1/span 2}.lead-detail-commandbar,.lead-detail-profile-band,.lead-detail-master-head{flex-direction:column;align-items:stretch}.lead-detail-command-actions,.lead-detail-profile-controls{justify-content:flex-start}.lead-detail-profile-controls .stage-summary-button,.lead-detail-profile-controls .assigned-chip{width:100%}.lead-detail-section-grid,.lead-detail-activity-layout{grid-template-columns:1fr}.lead-sticky-main,.lead-sticky-controls{flex-direction:column;align-items:stretch}.lead-sticky-actions{justify-content:flex-start}.lead-sticky-controls label{grid-template-columns:96px minmax(0,1fr);width:100%;display:grid}.lead-sticky-select,.lead-sticky-select.assignee{width:100%;min-width:0}.lead-board-hero,.lead-board-content,.lead-proposal-card{grid-template-columns:1fr}.lead-proposal-actions{justify-content:flex-end}.lead-board-insights{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=640px){.lead-page{padding:12px}.lead-toolbar{align-items:stretch}.lead-page-size,.lead-search,.lead-filter-button,.lead-view-menu-button{width:100%}.lead-page-size{justify-content:space-between}.lead-page-size select{width:96px}.lead-v2-header,.lead-v2-profile-panel,.lead-v2-followup-strip,.lead-v2-info-card,.lead-v2-notes,.lead-v2-timeline{padding:12px}.lead-v2-header-actions{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.lead-v2-action.primary{grid-column:1/-1}.lead-v2-profile-panel{grid-template-columns:54px minmax(0,1fr);gap:12px}.lead-v2-avatar{width:54px;height:54px;font-size:1rem}.lead-v2-status-grid,.lead-v2-info-board,.lead-v2-workstream{grid-template-columns:1fr}.lead-v2-profile-meta,.lead-v2-stage-stack,.lead-v2-label-box{grid-column:1/-1}.lead-detail-commandbar,.lead-detail-profile-band,.lead-detail-master-card{padding:12px}.lead-detail-command-actions{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.lead-detail-command-actions .lead-sticky-action{padding:0 10px}.lead-detail-command-actions .lead-sticky-action.primary{grid-column:1/-1}.lead-detail-profile-main{grid-template-columns:54px minmax(0,1fr)}.lead-detail-profile-main .lead-board-avatar{width:54px;height:54px}.lead-detail-kpi-grid,.lead-detail-section-grid,.lead-detail-activity-layout{grid-template-columns:1fr}.lead-proposals-panel{padding:16px}.lead-proposals-head{flex-direction:column;align-items:stretch}.lead-proposal-create-button,.lead-proposal-status-control,.lead-proposal-status-control select{width:100%}.lead-proposal-actions{justify-content:space-between}.lead-sticky-header{gap:14px;padding:14px}.lead-detail-toolbar,.lead-detail-toolbar-actions{align-items:stretch;width:100%}.lead-detail-toolbar-actions{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.lead-detail-back-button,.lead-detail-edit-button,.lead-detail-delete-button{width:100%}.lead-sticky-identity{gap:9px}.lead-sticky-back{width:32px;height:32px}.lead-detail-contact-meta{gap:7px;font-size:.82rem}.lead-filter-grid,.lead-column-grid{grid-template-columns:1fr}.lead-filter-actions{flex-direction:column;align-items:stretch}.lead-filter-actions div,.lead-sticky-actions{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.lead-import-sample,.lead-import-actions{flex-direction:column;align-items:stretch}.lead-import-actions .primary-action,.lead-import-actions .secondary-action,.lead-import-sample .secondary-action{width:100%}.lead-sticky-action.primary{grid-column:1/-1}.lead-sticky-controls label{grid-template-columns:1fr;gap:7px}.lead-location-grid,.lead-board-facts,.lead-board-insights{grid-template-columns:1fr}.lead-board-card,.lead-board-panel{padding:14px}.lead-followup-head{grid-template-columns:42px minmax(0,1fr);gap:10px}.lead-followup-head>strong{grid-column:2;width:fit-content;margin-top:-4px}.lead-followup-icon{width:42px;height:42px}.lead-next-card h2{font-size:1.22rem;line-height:1.2}.lead-followup-empty-effect{width:52px;height:52px;top:auto;bottom:16px;right:14px}.lead-next-actions{grid-template-columns:1fr;display:grid}.lead-next-actions .primary-action,.lead-next-actions .secondary-action{width:100%}}@media (width<=1180px){.lead-pipeline-layout{grid-template-columns:minmax(240px,280px) minmax(0,1fr)}.lead-pipeline-info-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=920px){.lead-pipeline-detail{border-radius:0}.lead-pipeline-layout{grid-template-columns:1fr}.lead-pipeline-rail{border-right:0;border-bottom:1px solid var(--line)}.lead-pipeline-side-actions{grid-template-columns:minmax(0,1fr) 44px 44px}.lead-pipeline-stage-head,.lead-sequence-grid,.lead-pipeline-appointment,.lead-pipeline-proposal-card{grid-template-columns:1fr}.lead-pipeline-stage-head{align-items:flex-start}}@media (width<=620px){.lead-pipeline-topbar,.lead-pipeline-stage-panel,.lead-pipeline-section{padding-left:14px;padding-right:14px}.lead-pipeline-rail{padding:16px}.lead-pipeline-topbar,.lead-pipeline-section-head{flex-direction:column;align-items:flex-start}.lead-stage-path{border-radius:8px;grid-template-columns:1fr}.lead-stage-path button{text-align:left;border-bottom:1px solid #fffc;border-right:0}.lead-pipeline-tabs{padding:0 14px}.lead-pipeline-info-grid{grid-template-columns:1fr}}.lead-view-toggle{border:1px solid var(--line);background:#f1f5f9;border-radius:8px;gap:4px;margin-left:auto;padding:4px;display:flex}.lead-view-toggle .toggle-btn{color:#64748b;cursor:pointer;background:0 0;border:none;border-radius:6px;align-items:center;gap:6px;padding:6px 12px;font-size:.82rem;font-weight:600;transition:all .2s;display:flex}.lead-view-toggle .toggle-btn.active{color:#0f172a;background:#fff;box-shadow:0 1px 3px #0000001a}.lead-view-toggle .toggle-btn:hover:not(.active){color:#334155;background:#94a3b81a}.lead-view-toggle .app-icon{stroke-width:2.2px;width:16px;height:16px}.lead-kanban-board{scroll-behavior:smooth;scrollbar-width:thin;scrollbar-color:#cbd5e1 #f1f5f9;align-items:flex-start;gap:16px;min-height:calc(100vh - 280px);padding:8px 4px 20px;display:flex;overflow-x:auto}.lead-kanban-board::-webkit-scrollbar{height:6px}.lead-kanban-board::-webkit-scrollbar-track{background:#f1f5f9;border-radius:10px}.lead-kanban-board::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:10px}.lead-kanban-board::-webkit-scrollbar-thumb:hover{background:#94a3b8}.kanban-column{background:#f8fafc;border:1px solid #e2e8f0;border-top:none;border-radius:10px;flex-direction:column;flex:0 0 290px;width:290px;max-height:calc(100vh - 260px);transition:background-color .2s,border-color .2s;display:flex}.kanban-column.drag-over{background:#f1f5f9;border-style:dashed;border-color:#3b82f6}.kanban-column-header{color:#334155;background:#fff;border-bottom:1px solid #e2e8f0;border-top-left-radius:9px;border-top-right-radius:9px;justify-content:space-between;align-items:center;padding:14px 16px;font-size:.86rem;font-weight:700;display:flex}.kanban-column-header .column-title{align-items:center;gap:8px;display:flex}.kanban-column-header .column-count{color:#475569;background:#f1f5f9;border-radius:6px;padding:2px 8px;font-size:.72rem;font-weight:700}.kanban-cards-container{scrollbar-width:thin;scrollbar-color:#cbd5e1 transparent;flex-direction:column;flex:1;gap:12px;min-height:150px;padding:12px;display:flex;overflow-y:auto}.kanban-cards-container::-webkit-scrollbar{width:6px}.kanban-cards-container::-webkit-scrollbar-track{background:0 0}.kanban-cards-container::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:10px}.kanban-cards-container::-webkit-scrollbar-thumb:hover{background:#94a3b8}.kanban-card{cursor:grab;background:#fff;border:1px solid #e2e8f0;border-radius:8px;flex-direction:column;gap:12px;padding:14px;transition:transform .15s,box-shadow .15s,border-color .15s;display:flex;box-shadow:0 1px 3px #0000000d}.kanban-card:hover{border-color:#cbd5e1;box-shadow:0 4px 12px #0f172a14}.kanban-card:active{cursor:grabbing}.kanban-card-header{justify-content:space-between;align-items:flex-start;gap:8px;display:flex}.kanban-card-title{color:#0f172a;cursor:pointer;margin:0;font-size:.9rem;font-weight:700;line-height:1.3}.kanban-card-title:hover{color:#0284c7;text-decoration:underline}.kanban-card-time{color:#94a3b8;white-space:nowrap;margin-left:auto;font-size:.75rem;font-weight:400}.kanban-card-body{flex-direction:column;gap:8px;display:flex}.kanban-card-detail-item{color:#475569;word-break:break-all;align-items:center;gap:8px;font-size:.8rem;display:flex}.kanban-card-detail-item .kanban-detail-icon{color:#94a3b8;flex-shrink:0}.kanban-card-source-row{margin-top:4px;margin-bottom:4px;display:flex}.kanban-source-badge{color:#ea580c;text-transform:capitalize;background-color:#fff7ed;border:1px solid #ffedd5;border-radius:12px;padding:2px 8px;font-size:.72rem;font-weight:600;display:inline-block}.kanban-assignee-row{color:#475569;border-top:1px solid #f1f5f9;align-items:center;gap:8px;margin-top:4px;padding-top:10px;font-size:.8rem;display:flex}.kanban-assignee-row .kanban-detail-icon{color:#94a3b8;flex-shrink:0}.lead-type-segmented-filter-container{margin-bottom:20px;display:flex}.lead-type-segmented-filter{border:1px solid var(--line);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#e5e7ef80;border-radius:12px;gap:2px;padding:4px;display:flex}.lead-type-btn{color:#64748b;cursor:pointer;background:0 0;border:0;border-radius:8px;align-items:center;gap:8px;min-height:38px;padding:0 16px;font-size:.86rem;font-weight:700;transition:all .2s cubic-bezier(.4,0,.2,1);display:flex}.lead-type-btn:hover{color:var(--brand);background:#eee9ff4d}.lead-type-btn.active{color:var(--brand);background:#fff;box-shadow:0 4px 12px #7048db1f}.lead-type-count{color:#475569;background:#f1f5f9;border-radius:999px;justify-content:center;align-items:center;min-width:20px;height:20px;padding:0 6px;font-size:.72rem;font-weight:800;transition:all .2s;display:inline-flex}.lead-type-btn.active .lead-type-count{background:var(--brand-soft);color:var(--brand)}.lead-type-badge{white-space:nowrap!important;vertical-align:middle!important;text-transform:none!important;border-radius:6px!important;align-items:center!important;gap:4px!important;padding:3px 8px!important;font-size:.74rem!important;font-weight:750!important;display:inline-flex!important;box-shadow:0 1px 2px #0000000d!important}.lead-type-badge.customer{color:#166534!important;background-color:#f0fdf4!important;border:1px solid #bbf7d0!important}.lead-type-badge.company{color:#0369a1!important;background-color:#f0f9ff!important;border:1px solid #bae6fd!important}.lead-name-cell-wrapper{flex-direction:row!important;align-items:center!important;gap:8px!important;display:flex!important}.lead-name-cell-wrapper strong{display:inline-block!important}.lead-name-cell-wrapper .lead-type-badge{margin-top:0!important;display:inline-flex!important}.lead-type-selector-segmented{border:1px solid var(--line);background:#f1f5f9;border-radius:8px;margin-top:6px;padding:4px;display:flex}.lead-type-selector-btn{color:#64748b;cursor:pointer;background:0 0;border:0;border-radius:6px;flex:1;justify-content:center;align-items:center;gap:6px;min-height:40px;font-size:.86rem;font-weight:700;transition:all .15s;display:flex}.lead-type-selector-btn:hover{color:var(--brand)}.lead-type-selector-btn.active{color:var(--brand);background:#fff;box-shadow:0 4px 10px #0f172a0d}.lead-assignee-table-cell{align-items:center;gap:8px;display:inline-flex}.assigned-user-name-text{color:#344054;cursor:pointer;white-space:nowrap;text-overflow:ellipsis;max-width:110px;font-size:.78rem;font-weight:500;overflow:hidden}.assigned-user-name-text:hover{color:#4f46e5;text-decoration:underline}.lead-create-assignee-options{flex-wrap:wrap;gap:8px;margin-top:6px;display:flex}.lead-create-assignee-options button{color:#344054;cursor:pointer;background:#fff;border:1px solid #d9dfe8;border-radius:6px;align-items:center;gap:8px;min-height:34px;padding:0 12px;font-size:.8rem;font-weight:600;transition:all .15s;display:inline-flex}.lead-create-assignee-options button:hover{color:#105d52;border-color:#105d52}.lead-create-assignee-options button.selected{color:#105d52;background:#eafcf9;border-color:#105d52}.member-avatar-badge{color:#fff;background:#6366f1;border-radius:50%;justify-content:center;align-items:center;width:20px;height:20px;font-size:.64rem;font-weight:700;display:inline-flex}.followup-page{padding:28px}.followup-topbar{justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:18px;display:flex}.followup-topbar h1{color:var(--ink);letter-spacing:0;margin:0;font-size:clamp(1.85rem,2.7vw,2.45rem);font-weight:780;line-height:1.08}.followup-search{border:1px solid var(--line);width:min(100%,360px);min-height:42px;color:var(--muted);background:#fff;border-radius:8px;align-items:center;gap:10px;padding:0 14px;display:flex}.followup-search input{min-height:38px;box-shadow:none;border:0;padding:0;font-weight:500}.followup-buckets{background:#edf1f6;border:1px solid #e5ebf2;border-radius:8px;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin-bottom:18px;display:grid;overflow:hidden}.followup-bucket{color:#111827;cursor:pointer;text-align:center;min-height:82px;box-shadow:none;background:#edf1f6;border:0;border-right:1px solid #dde5ee;border-radius:0;justify-content:center;align-items:center;gap:12px;padding:14px 18px;transition:background .18s,color .18s,transform .18s;display:flex;position:relative}.followup-bucket:last-child{border-right:0}.followup-bucket:hover,.followup-bucket.active{background:#f8faff}.followup-bucket.active{color:#fff;background:#7048db}.followup-bucket-icon{color:currentColor;place-items:center;width:28px;height:28px;display:grid}.followup-bucket-label{color:currentColor;font-size:1rem;font-weight:780;line-height:1.2}.followup-bucket-label strong{color:currentColor;font-size:.98rem;font-weight:780}.followup-bucket .app-icon{width:20px;height:20px}.followup-data-card{border:1px solid var(--line);background:#fff;border-radius:8px;overflow:hidden;box-shadow:0 16px 44px #0f172a0d}.followup-data-head{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:14px;min-height:74px;padding:16px 18px;display:flex}.followup-data-head h2,.followup-data-head p{margin:0}.followup-data-head h2{color:var(--ink);font-size:1.08rem;font-weight:780}.followup-data-head p{color:#667085;margin-top:4px;font-size:.86rem;font-weight:650}.followup-table-toolbar{margin-bottom:16px}.followup-table-summary{color:#667085;white-space:nowrap;margin-left:auto;font-size:.88rem;font-weight:700}.followup-lead-table-card{overflow:hidden}.followup-lead-table .lead-source-col{width:170px}.followup-lead-table .lead-stage-col{width:205px}.followup-lead-table .lead-assigned-col{width:180px}.followup-lead-table .lead-followup-note-col{width:260px}.followup-table-scroll{overflow-x:auto}.followup-table{border-collapse:collapse;color:#344054;width:100%;min-width:1320px;font-size:.88rem}.followup-table th{color:#344054;letter-spacing:.02em;text-align:left;text-transform:uppercase;white-space:nowrap;background:#f1f4f8;height:48px;font-size:.72rem;font-weight:740}.followup-table th,.followup-table td{border-bottom:1px solid var(--line);vertical-align:middle;padding:13px 14px}.followup-lead-cell strong,.followup-lead-cell span{text-overflow:ellipsis;white-space:nowrap;min-width:0;display:block;overflow:hidden}.followup-lead-cell strong{color:var(--ink);font-size:.94rem;font-weight:700}.followup-lead-cell span{color:#667085;margin-top:3px;font-size:.8rem}.followup-date-pill{white-space:nowrap;background:#f8fafc;border:1px solid #d9dfe8;border-radius:999px;align-items:center;min-height:30px;padding:0 11px;font-size:.8rem;font-weight:760;display:inline-flex}.followup-edit-button{cursor:pointer;text-align:left;background:0 0;border:0;padding:0}.followup-edit-button:hover .followup-date-pill,.followup-edit-button:focus .followup-date-pill{box-shadow:0 0 0 4px #7070f61f}.followup-date-pill.status-today{color:#147a46;background:#f0fff6;border-color:#bbecd1}.followup-date-pill.status-upcoming{color:#3538cd;background:#eef4ff;border-color:#c7d7fe}.followup-date-pill.status-overdue{color:#c62828;background:#fff1f1;border-color:#ffc6c6}.followup-date-pill.status-never{color:#9a6400;background:#fff8e7;border-color:#f8d58a}.followup-note-cell{text-overflow:ellipsis;white-space:nowrap;max-width:240px;overflow:hidden}.followup-table-select{color:#344054;cursor:pointer;width:100%;min-height:34px;font:inherit;background:#fff;border:1px solid #d9dfe8;border-radius:8px;outline:none;padding:0 10px;font-size:.82rem;font-weight:700;box-shadow:0 1px 2px #0f172a0d}.followup-table-select:focus{border-color:#6f70f6;box-shadow:0 0 0 3px #7070f624}.followup-source-select,.followup-stage-select,.followup-assignee-select{border-radius:7px;min-height:34px;font-size:.78rem;font-weight:760}.followup-stage-select{text-align:center;border-color:#0000}.followup-stage-select.stage-new-lead{color:#5e38c8;background:#ece4ff}.followup-stage-select.stage-inprocess{color:#2457c5;background:#eaf2ff}.followup-stage-select.stage-site-visit-schedule{color:#945a00;background:#fff1d8}.followup-stage-select.stage-site-visit-done{color:#126c51;background:#e1f5ef}.followup-stage-select.stage-estimate-sent,.followup-stage-select.stage-negotiation{color:#91520f;background:#ffe4cb}.followup-stage-select.stage-qualified,.followup-stage-select.stage-lead-won{color:#176b36;background:#dff4e5}.followup-stage-select.stage-lead-lost{color:#b42318;background:#fde2de}.followup-stage-select.stage-on-hold{color:#475467;background:#eef1f6}.followup-source-select{border-radius:999px}.followup-source-select.source-website{color:#175cd3;background:#eff8ff;border-color:#b2ddff}.followup-source-select.source-referral{color:#067647;background:#f0fff6;border-color:#abefc6}.followup-source-select.source-social-media,.followup-source-select.source-meta-ads{color:#5925dc;background:#f4f3ff;border-color:#d9d6fe}.followup-source-select.source-cold-call{color:#b54708;background:#fffaeb;border-color:#fedf89}.followup-source-select.source-email-campaign,.followup-source-select.source-whatsapp-marketing{color:#0e7090;background:#ecfeff;border-color:#a5f0fc}.followup-assignee-select{background:#fff;border-radius:6px}.followup-modal-backdrop{z-index:80;background:#0f172a57;place-items:center;padding:18px;display:grid;position:fixed;inset:0}.followup-edit-panel{background:#fff;border:1px solid #dfe6f0;border-radius:8px;gap:16px;width:min(100%,460px);padding:18px;display:grid;box-shadow:0 24px 60px #0f172a38}.followup-edit-head{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.followup-edit-head span,.followup-edit-head strong{display:block}.followup-edit-head span{color:#667085;font-size:.82rem;font-weight:760}.followup-edit-head strong{color:var(--ink);margin-top:3px;font-size:1.08rem}.followup-edit-head>button{color:#667085;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:8px;place-items:center;width:32px;height:32px;font-size:1.15rem;display:grid}.followup-edit-head>button:hover{border-color:var(--line);color:var(--ink);background:#f6f8fb}.followup-quick-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.followup-quick-actions button{color:#344054;cursor:pointer;background:#f8fafc;border:1px solid #d9dfe8;border-radius:8px;min-height:36px;padding:0 10px;font-size:.8rem;font-weight:760}.followup-quick-actions button:hover{color:#3538cd;background:#eef4ff;border-color:#c7d7fe}.followup-edit-field{gap:7px;display:grid}.followup-edit-field span{color:#344054;font-size:.82rem;font-weight:800}.followup-edit-field input,.followup-edit-field textarea{color:#344054;width:100%;font:inherit;background:#fff;border:1px solid #d9dfe8;border-radius:8px;outline:none;padding:10px 12px;box-shadow:0 1px 2px #0f172a0d}.followup-edit-field input{min-height:40px}.followup-edit-field textarea{resize:vertical;min-height:92px}.followup-edit-field input:focus,.followup-edit-field textarea:focus{border-color:#6f70f6;box-shadow:0 0 0 3px #7070f624}.followup-edit-actions{justify-content:flex-end;gap:10px;display:flex}.followup-edit-actions button:disabled{cursor:not-allowed;opacity:.55}.followup-empty{color:#667085;text-align:center;place-items:center;gap:6px;min-height:150px;display:grid}.followup-empty strong{color:var(--ink);font-size:1rem}@media (width<=980px){.followup-page{padding:18px}.followup-topbar,.followup-data-head{flex-direction:column;align-items:stretch}.followup-search{width:100%}.followup-buckets{grid-template-columns:repeat(2,minmax(0,1fr))}.followup-bucket:nth-child(2){border-right:0}.followup-bucket:nth-child(-n+2){border-bottom:1px solid #dde5ee}}@media (width<=640px){.followup-page{padding:12px}.followup-buckets{grid-template-columns:1fr}.followup-bucket{border-bottom:1px solid #dde5ee;border-right:0;justify-content:flex-start;min-height:72px}.followup-bucket:last-child{border-bottom:0}.followup-data-head .secondary-action{width:100%}}.proposal-page{color:#000;background:#fff;min-height:100%}.proposal-list-page{padding:24px 28px 42px}.proposal-list-head{justify-content:space-between;align-items:flex-start;gap:20px;display:flex}.proposal-list-head h1{color:#000;letter-spacing:0;max-width:none;margin:0 0 2px;font-size:1.45rem;font-weight:850;line-height:1.2}.proposal-list-head p{color:#4b5563;margin:0;font-size:.93rem}.proposal-add-button{color:#fff;cursor:pointer;background:#000;border:0;border-radius:8px;place-items:center;width:36px;height:36px;display:grid}.proposal-add-button:hover{background:#18181b}.proposal-search{color:#374151;background:#fff;border:1px solid #dedee3;border-radius:8px;align-items:center;gap:9px;width:min(384px,100%);min-height:38px;margin:18px 0 16px;padding:0 12px;display:flex;box-shadow:0 1px 3px #11182714}.proposal-search input{color:#111827;min-height:34px;box-shadow:none;border:0;border-radius:0;padding:0;font-size:.92rem}.proposal-search input:focus{box-shadow:none}.proposal-table-card{border-top:1px solid #dedee3;overflow-x:auto}.proposal-table{border-collapse:collapse;color:#000;width:100%;min-width:1120px;font-size:.92rem}.proposal-table th{color:#000;text-align:left;white-space:nowrap;height:40px;font-weight:750}.proposal-table th,.proposal-table td{vertical-align:middle;border-bottom:1px solid #e4e4e7;padding:14px 8px}.proposal-table th:first-child,.proposal-table td:first-child{width:48px}.proposal-table td{color:#111827}.proposal-table td strong{color:#000;font-weight:780}.proposal-actions-heading{text-align:right!important}.proposal-row-actions{justify-content:flex-end;gap:18px;display:flex}.proposal-row-actions button{color:#000;cursor:pointer;background:0 0;border:0;place-items:center;width:22px;height:22px;padding:0;display:grid}.proposal-row-actions button:hover{color:#4f46e5}.proposal-row-actions button.danger{color:#e11d48}.proposal-row-actions button:disabled{cursor:default;opacity:.55}.proposal-status{color:#111827;background:#f1f1f4;border-radius:999px;align-items:center;min-height:24px;padding:0 10px;font-size:.78rem;font-weight:750;display:inline-flex}.proposal-status-sent{color:#1d4ed8;background:#dbeafe}.proposal-status-approved,.proposal-status-accepted{color:#15803d;background:#dcfce7}.proposal-status-rejected{color:#b91c1c;background:#fee2e2}.proposal-status-in-review{color:#92400e;background:#fef3c7}.proposal-list-message,.proposal-list-empty{color:#374151;background:#fafafa;border:1px solid #dedee3;border-radius:8px;padding:10px 12px;font-size:.88rem;font-weight:700}.proposal-list-message{width:fit-content;margin:0 0 12px}.proposal-list-empty{text-align:center;margin:18px 0}.proposal-commandbar{z-index:5;background:#fffffff5;border-bottom:1px solid #e4e4e7;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:10px;padding:18px 52px 14px;display:grid;position:static}.proposal-commandbar h1{color:#000;letter-spacing:0;max-width:none;margin:0;font-size:1.35rem;font-weight:800;line-height:1.2}.proposal-back-button{color:#111;cursor:pointer;background:0 0;border:0;border-radius:8px;place-items:center;width:36px;height:36px;display:grid}.proposal-back-button:hover{background:#f4f4f5}.proposal-create-button{color:#fff;cursor:pointer;background:#000;border:0;border-radius:8px;min-height:40px;padding:0 20px;font-weight:800}.proposal-create-button:hover{background:#18181b}.proposal-form{gap:22px;width:min(1640px,100% - 32px);margin:24px auto 42px;display:grid}.proposal-card,.proposal-empty-state,.proposal-message{background:#fff;border:1px solid #dedee3;border-radius:8px;box-shadow:0 2px 5px #1118271a}.proposal-card{padding:28px}.proposal-card h2{color:#000;align-items:center;gap:8px;margin:0 0 28px;font-size:1.18rem;font-weight:800;line-height:1.25;display:flex}.proposal-card h2 .app-icon{width:16px;height:16px}.proposal-customize-sections{gap:14px;display:grid}.proposal-custom-section{padding:0;overflow:hidden}.proposal-section-heading{background:#f1f4f8;border-bottom:1px solid #d8dbe2;padding:0}.proposal-section-heading button{color:#111827;cursor:pointer;background:0 0;border:0;justify-content:space-between;align-items:center;width:100%;min-height:44px;padding:0 20px;font-size:.95rem;font-weight:850;display:flex}.proposal-section-heading button.static-section{cursor:default}.proposal-section-heading button>span{align-items:center;gap:9px;display:inline-flex}.proposal-section-heading input{accent-color:#111827;pointer-events:none;width:14px;height:14px}.proposal-section-toggle-icon{color:#475569;background:#fff;border:1px solid #d7dde8;border-radius:999px;flex:none;place-items:center;width:30px;height:30px;transition:color .18s,border-color .18s,transform .18s;display:inline-grid;box-shadow:0 1px 2px #0f172a0f}.proposal-section-heading button:hover .proposal-section-toggle-icon{color:#0f172a;border-color:#c2cad8}.proposal-section-toggle-icon .app-icon{width:15px;height:15px}.proposal-custom-section .proposal-field-grid{padding:18px}.proposal-image-field{gap:10px;display:grid}.proposal-image-preview{color:#64748b;background:#f8fafc;border:1px dashed #cbd5e1;border-radius:8px;place-items:center;min-height:132px;font-size:.84rem;font-weight:750;display:grid;overflow:hidden}.proposal-image-preview.has-image{background:#fff}.proposal-image-preview img{object-fit:cover;width:100%;height:160px;display:block}.proposal-image-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.proposal-image-actions input{flex:220px;min-width:0}.proposal-image-actions button{color:#e11d48;cursor:pointer;background:#fff;border:1px solid #fecdd3;border-radius:7px;min-height:36px;padding:0 12px;font-weight:850}.proposal-images-builder{padding:18px}.proposal-images-four-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 24px;display:grid}.proposal-image-slot-card{gap:10px;min-width:0;display:grid}.proposal-image-slot-card>input[type=file]{background:#fff;border:1px solid #d9dde7;border-radius:8px;width:100%;min-height:38px;padding:7px 10px}.proposal-image-slot-card .proposal-image-preview{min-height:210px}.proposal-image-slot-card .proposal-image-preview img{height:210px}.proposal-estimate-builder,.proposal-bom-builder{overscroll-behavior-inline:contain;padding:0;overflow-x:auto}.proposal-estimate-two{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;padding:32px 24px 0;display:grid}.proposal-estimate-two.compact{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 20px;padding:0}.proposal-estimate-builder h3,.proposal-estimate-item h3,.proposal-estimate-bank-details h3{color:#5f6f7c;text-transform:uppercase;background:#eef3f8;align-items:center;gap:10px;min-height:36px;margin:0 0 12px;padding:0 14px;font-size:.96rem;font-weight:760;display:flex}.proposal-estimate-builder h3 .app-icon,.proposal-estimate-item h3 .app-icon,.proposal-estimate-bank-details h3 .app-icon{width:13px;height:13px}.proposal-lite-field{color:#44566a;gap:7px;min-width:0;font-size:.92rem;font-weight:500;display:grid}.proposal-lite-field span b{color:#f04438}.proposal-lite-field input,.proposal-lite-field select,.proposal-lite-field textarea,.proposal-estimate-table input,.proposal-estimate-table textarea,.proposal-estimate-table select,.proposal-bom-table input,.proposal-bom-table textarea,.proposal-total-box input,.proposal-total-box select{color:#334155;width:100%;min-height:32px;font:inherit;background:#fff;border:1px solid #d8dde6;border-radius:3px;outline:none;padding:7px 10px;font-size:.88rem;font-weight:500}.proposal-lite-field select,.proposal-estimate-table select,.proposal-total-box select{appearance:none;cursor:pointer;background-image:url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E");background-position:right 10px center;background-repeat:no-repeat;background-size:15px 15px;padding-right:34px}.proposal-lite-field input:focus,.proposal-lite-field select:focus,.proposal-lite-field textarea:focus,.proposal-estimate-table input:focus,.proposal-estimate-table textarea:focus,.proposal-estimate-table select:focus,.proposal-bom-table input:focus,.proposal-bom-table textarea:focus,.proposal-total-box input:focus,.proposal-total-box select:focus{border-color:#7c8cff;box-shadow:0 0 0 2px #7c8cff1f}.proposal-lite-field textarea{resize:vertical;min-height:62px}.proposal-estimate-item{margin-top:16px}.proposal-estimate-table,.proposal-bom-table{min-width:1040px;padding:0 24px;display:grid}.proposal-estimate-row{color:#243447;border-bottom:1px solid #e8ebf0;grid-template-columns:36px minmax(250px,2fr) .55fr .75fr 1fr 1.15fr 1fr 34px;align-items:start;font-size:.9rem;display:grid}.proposal-estimate-row.head,.proposal-bom-row.head{color:#0f172a;background:#eef3f8;align-items:center;min-height:40px;font-weight:760}.proposal-estimate-row>span,.proposal-estimate-row>label,.proposal-estimate-row>input,.proposal-estimate-row>button{margin:9px 6px}.proposal-estimate-row.head>span,.proposal-bom-row.head>span{margin:0;padding:0 8px}.proposal-estimate-row textarea{resize:vertical;min-height:54px;margin-top:6px}.proposal-tax-cell{display:block}.proposal-discount-cell{grid-template-columns:minmax(0,1fr) 50px;gap:6px;display:grid}.proposal-estimate-row>.proposal-discount-cell,.proposal-estimate-row>.proposal-tax-cell{margin:9px 6px}.proposal-discount-cell input,.proposal-discount-cell select,.proposal-tax-cell select{min-height:32px;margin:0}.proposal-tax-cell select{width:100%}.proposal-icon-danger{color:#ff4d6d;cursor:pointer;background:0 0;border:0;place-items:center;width:30px;height:30px;display:inline-grid}.proposal-icon-danger .app-icon{width:15px;height:15px}.proposal-add-line{color:#1f2937;cursor:pointer;background:#f1f5f9;border:0;border-radius:3px;align-items:center;gap:5px;min-height:34px;margin:12px 24px;padding:0 12px;font-weight:760;display:inline-flex}.proposal-add-line .app-icon{color:#6f7cff;width:14px;height:14px}.proposal-estimate-bottom{grid-template-columns:minmax(0,1fr) minmax(320px,.95fr);gap:20px;padding:0 24px 22px;display:grid}.proposal-total-box{color:#0f172a;background:#eef3f8;align-self:start;padding:4px 0}.proposal-total-box p{grid-template-columns:minmax(0,1fr) 90px;align-items:center;gap:12px;min-height:36px;margin:0;padding:0 10px;font-size:.88rem;display:grid}.proposal-total-box .proposal-adjustment-row{grid-template-columns:.48fr minmax(0,1fr) 90px}.proposal-total-box span{text-align:right}.proposal-estimate-bank-details{border-top:1px solid #e8ebf0;margin:0 24px 24px;padding-top:18px}.proposal-estimate-bank-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 18px;display:grid}.proposal-bom-table{min-width:980px;padding-top:18px}.proposal-bom-row{color:#1f2937;border-bottom:1px solid #d7dce3;grid-template-columns:80px minmax(280px,1fr) 90px 100px 180px 34px;align-items:stretch;display:grid}.proposal-bom-row>input,.proposal-bom-row>textarea,.proposal-bom-row>button{margin:5px}.proposal-bom-row textarea{resize:vertical;min-height:40px}.proposal-bom-row.section-row{background:#e5e7eb;font-weight:800}.proposal-bom-row.section-row textarea{font-weight:800}.proposal-selector-grid,.proposal-field-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 18px;display:grid}.proposal-field-grid.proposal-field-grid-single{grid-template-columns:1fr}.proposal-selector-grid .proposal-field:last-child{max-width:calc(50% - 9px)}.proposal-card-single .proposal-field-grid{grid-template-columns:1fr}.proposal-field{color:#000;gap:8px;min-width:0;font-size:1rem;font-weight:800;display:grid}.proposal-field span{align-items:center;gap:7px;min-width:0;display:inline-flex}.proposal-field small{color:#111827;background:#fff;border:1px solid #dedee3;border-radius:999px;place-items:center;min-height:18px;padding:0 7px;font-size:.62rem;font-weight:800;line-height:1;display:inline-grid}.proposal-field input,.proposal-field select,.proposal-field textarea,.proposal-brand-card select{color:#111827;width:100%;min-height:44px;font:inherit;background:#fff;border:1px solid #dedee3;border-radius:8px;outline:none;padding:0 14px;font-size:.98rem;font-weight:500;box-shadow:0 1px 3px #1118270f}.proposal-field select,.proposal-brand-card select{appearance:none;cursor:pointer;background-image:url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E");background-position:right 13px center;background-repeat:no-repeat;background-size:16px 16px;padding-right:40px}.proposal-field textarea{resize:vertical;min-height:54px;padding:12px 14px;line-height:1.35}.proposal-field input:focus,.proposal-field select:focus,.proposal-field textarea:focus,.proposal-brand-card select:focus{border-color:#111827;box-shadow:0 0 0 3px #11182714}.proposal-template-note{color:#4b5563;margin:16px 0 0;font-size:.9rem;font-weight:650}.proposal-empty-state{color:#374151;text-align:center;border-style:dashed;padding:28px;font-size:1rem}.proposal-empty-state strong{color:#000}.proposal-selected-count{color:#4b5563;margin:-6px 0 10px;font-size:.72rem;font-weight:650;display:block}.proposal-brand-list{flex-wrap:wrap;gap:8px;margin-top:12px;display:flex}.proposal-brand-list button{color:#111827;cursor:pointer;background:#fafafa;border:1px solid #d4d4d8;border-radius:999px;align-items:center;gap:8px;min-height:30px;padding:0 10px 0 12px;font-size:.82rem;font-weight:750;display:inline-flex}.proposal-brand-list span{color:#6b7280;font-size:.78rem;font-weight:900}.proposal-message{z-index:4;width:fit-content;max-width:100%;margin:0 auto;padding:12px 16px;font-weight:800;position:sticky;bottom:18px}.proposal-message.success{color:#067647;background:#f0fff6;border-color:#abefc6}.proposal-message.error{color:#b42318;background:#fff1f2;border-color:#fecaca}.proposal-form-footer{justify-content:flex-end;padding:0 0 10px;display:flex}.proposal-preview-page{background:#e9e9ea;min-height:100%}.proposal-view-toolbar{background:#fff;border-bottom:1px solid #e4e4e7;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px 64px;display:grid}.proposal-view-title{min-width:0}.proposal-view-title>div{flex-wrap:wrap;align-items:center;gap:8px;min-width:0;display:flex}.proposal-view-title h1{color:#000;letter-spacing:0;max-width:none;margin:0;font-size:1.08rem;font-weight:850;line-height:1.2}.proposal-view-title p{color:#4b5563;margin:2px 0 0;font-size:.8rem;line-height:1.25}.proposal-version-pill{color:#111827;background:#fff;border:1px solid #e4e4e7;border-radius:999px;align-items:center;min-height:24px;padding:0 9px;font-size:.76rem;font-weight:800;display:inline-flex}.proposal-template-pill{color:#1d4ed8;background:#eff6ff;border:1px solid #bfdbfe;border-radius:999px;align-items:center;min-height:24px;padding:0 9px;font-size:.76rem;font-weight:800;display:inline-flex}.proposal-view-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.proposal-view-actions button{color:#111827;cursor:pointer;background:#fff;border:1px solid #e4e4e7;border-radius:8px;justify-content:center;align-items:center;gap:8px;min-height:34px;padding:0 12px;font-size:.9rem;font-weight:800;display:inline-flex;box-shadow:0 1px 3px #11182714}.proposal-view-actions button:hover{background:#fafafa;border-color:#c7c7cc}.proposal-view-actions .proposal-delete-button{color:#fff;background:#dc143c;border-color:#dc143c}.proposal-view-actions .proposal-delete-button:hover{background:#be123c;border-color:#be123c}.proposal-view-message{color:#374151;background:#fff;border:1px solid #dedee3;border-radius:8px;width:fit-content;max-width:calc(100% - 32px);margin:12px auto 0;padding:10px 12px;font-size:.88rem;font-weight:750}.proposal-pdf-stage{background:#e9e9ea;justify-items:center;gap:22px;min-height:calc(100vh - 61px);padding:24px 24px 72px;display:grid;overflow-x:auto}.proposal-pdf-sheet{background:#fff;border:1px solid #cbd5e1;border-radius:8px;width:595px;min-width:595px;max-width:595px;height:842px;min-height:842px;max-height:842px;position:relative;overflow:hidden;box-shadow:0 1px 3px #1118271f}.proposal-mahindra-cover-sheet{background-color:var(--section-page-bg,#fff);color:#fff;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;min-height:842px;font-family:Arial,Helvetica,sans-serif}.proposal-mahindra-logo{z-index:4;color:#24272c;gap:2px;line-height:1;display:grid;position:absolute;top:68px;left:70px}.proposal-mahindra-logo.has-image{place-items:center start;width:250px;height:108px;display:grid}.proposal-mahindra-logo img{--company-logo-size:160px;max-width:min(var(--company-logo-size), 250px);object-fit:contain;max-height:108px;display:block}.proposal-mahindra-logo .proposal-logo-placeholder{color:#64748b;text-align:center;text-transform:none;border:2px dashed #cbd5e1;border-radius:8px;place-items:center;width:250px;min-height:86px;font-size:1.05rem;font-weight:850;line-height:1.2;display:grid}.proposal-mahindra-logo strong{color:#e3062c;letter-spacing:0;text-transform:lowercase;font-size:1.95rem;font-weight:900;line-height:.9}.proposal-mahindra-logo span{color:#34363b;letter-spacing:0;text-transform:uppercase;font-size:1.62rem;font-weight:900;line-height:.95}.proposal-mahindra-red-band{z-index:3;background:0 0;width:205px;position:absolute;inset:0 40px 0 auto}.proposal-mahindra-meta{color:#fff;gap:6px;font-size:.62rem;font-weight:850;line-height:1.24;display:grid;position:absolute;top:56px;left:16px;right:16px}.proposal-mahindra-meta strong,.proposal-mahindra-meta span{overflow-wrap:anywhere}.proposal-mahindra-meta strong{margin-bottom:6px;font-size:.9rem;font-weight:950;line-height:1.14}.proposal-mahindra-meta span{font-size:.6rem}.proposal-mahindra-solution{color:#fff;position:absolute;bottom:28px;left:12px;right:16px}.proposal-mahindra-solution h2{color:#fff;letter-spacing:0;max-width:174px;margin:0 0 20px;font-size:1rem;font-weight:900;line-height:1.16}.proposal-mahindra-for{grid-template-columns:auto 1fr;align-items:end;gap:5px 10px;margin-bottom:14px;display:grid}.proposal-mahindra-for span{font-size:.78rem;font-weight:950;line-height:1}.proposal-mahindra-for i{background:#fff;height:1px}.proposal-mahindra-for strong{overflow-wrap:anywhere;grid-column:1/-1;font-size:.72rem;line-height:1.2}.proposal-mahindra-contact{gap:5px;display:grid}.proposal-mahindra-contact p{color:#fff;grid-template-columns:74px minmax(0,1fr);gap:6px;margin:0;font-size:.56rem;line-height:1.18;display:grid}.proposal-mahindra-contact span{color:#fff;text-transform:uppercase;font-size:.46rem;font-weight:900}.proposal-mahindra-contact p{overflow-wrap:anywhere}.proposal-mahindra-offer{z-index:2;color:#fff;letter-spacing:0;max-width:285px;margin:0;font-size:1.52rem;font-weight:900;line-height:1.06;position:absolute;bottom:52px;left:58px}.proposal-sunkode-sheet{color:#000;min-height:844px;padding:92px 32px 48px;font-family:Times New Roman,Times,serif}.proposal-sunkode-sheet h2{color:#3183e6;letter-spacing:0;text-align:center;max-width:none;margin:0 0 28px;font-size:2rem;font-weight:800;line-height:1}.proposal-sunkode-sheet h3{color:#000;margin:0 0 14px;font-size:1.16rem;font-weight:800}.proposal-sunkode-logo{color:#111827;text-align:center;background:#fff;border:1px solid #e2e8f0;place-items:center;width:156px;height:90px;font-family:Arial,Helvetica,sans-serif;font-size:.86rem;font-weight:800;line-height:1.05;display:grid;position:absolute;top:33px;left:32px}.proposal-sunkode-logo.compact{width:146px;height:86px;font-size:.78rem;top:0;left:0}.proposal-sunkode-logo.large{width:160px;height:94px;top:44px;left:152px}.proposal-sunkode-cover{padding:0}.proposal-sunkode-orange,.proposal-sunkode-blue{pointer-events:none;position:absolute;inset:0}.proposal-sunkode-orange{background:linear-gradient(90deg,#0000 0 74%,#ff9902 74% 100%),linear-gradient(135deg,#0000 0 56%,#ff9902 56% 70%,#0000 70% 100%)}.proposal-sunkode-blue{background:linear-gradient(135deg,#0000 0 82%,#3183e6 82% 88%,#0000 88% 100%),linear-gradient(45deg,#0000 0 78%,#0d78ac 78% 86%,#0000 86% 100%)}.proposal-sunkode-cover-copy{z-index:1;width:322px;margin:176px 0 0 62px;position:relative}.proposal-sunkode-cover-copy h2{color:#0d78ac;text-align:left;margin:0 0 34px;font-size:1.8rem}.proposal-sunkode-cover-copy section{margin-top:34px}.proposal-sunkode-cover-copy span{margin-bottom:12px;font-size:1rem;display:block}.proposal-sunkode-cover-copy p,.proposal-sunkode-welcome p,.proposal-sunkode-copy-block,.proposal-sunkode-offer-copy{color:#000;white-space:pre-line;margin:0;font-size:.98rem;line-height:1.22}.proposal-sunkode-footer{color:#374151;font-family:Arial,Helvetica,sans-serif;font-size:.72rem;position:absolute;bottom:12px;right:12px}.proposal-sunkode-welcome{padding-top:104px}.proposal-sunkode-hero{background:repeating-linear-gradient(90deg,#ffffff5c 0 2px,#0000 2px 34px),repeating-linear-gradient(0deg,#ffffff52 0 2px,#0000 2px 26px),linear-gradient(135deg,#8ed1ff 0 42%,#ff9902 42% 62%,#1f7ae0 62% 100%);height:222px;margin:8px -30px 36px}.proposal-sunkode-date{width:fit-content;margin:-20px 0 18px auto;font-size:.95rem;display:block}.proposal-sunkode-regards{width:290px;margin:34px 42px 0 auto;font-size:.98rem;line-height:1.25;display:block}.proposal-sunkode-bom{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 28px;margin-top:10px;display:grid}.proposal-sunkode-bom section{border-top:2px solid #3183e6;padding-top:14px}.proposal-sunkode-bom .wide{grid-column:1/-1}.proposal-sunkode-row{grid-template-columns:minmax(110px,.75fr) minmax(0,1fr);gap:12px;padding:7px 0;font-size:.96rem;display:grid}.proposal-sunkode-row span{color:#111827}.proposal-sunkode-row strong{color:#000;white-space:pre-line;overflow-wrap:anywhere;font-weight:500;line-height:1.22}.proposal-sunkode-offer-table{border:1px solid #000;grid-template-columns:minmax(0,1.6fr) minmax(160px,1fr);margin-top:8px;display:grid}.proposal-sunkode-offer-table .head{text-align:center;background:#ff9902;border-bottom:1px solid #000;padding:8px 14px;font-size:1rem;font-weight:800}.proposal-sunkode-offer-table .head+.head,.proposal-sunkode-table-row strong{border-left:1px solid #000}.proposal-sunkode-table-row{display:contents}.proposal-sunkode-table-row span,.proposal-sunkode-table-row strong{border-bottom:1px solid #000;min-height:30px;padding:7px 14px;font-size:.96rem;font-weight:500}.proposal-sunkode-offer-copy{margin-top:44px}.proposal-sunkode-sheet .proposal-sunkode-offer-copy+h3{margin-top:34px}.proposal-sunkode-copy-block+h3{margin-top:28px}.proposal-sunkode-thanks{align-content:start;padding-top:186px;display:grid}.proposal-sunkode-thanks:after{content:"";background:linear-gradient(135deg,#e0f2fe,#ffefba);height:248px;position:absolute;inset:auto 0 0}.proposal-sunkode-contact{z-index:1;gap:8px;width:min(380px,100%);margin:42px auto 0;font-family:Arial,Helvetica,sans-serif;display:grid;position:relative}.proposal-sunkode-contact .proposal-sunkode-row{grid-template-columns:86px minmax(0,1fr)}.proposal-quest-cover-sheet{color:#111827;align-content:start;min-height:844px;padding:0;font-family:Arial,Helvetica,sans-serif;display:grid;overflow:hidden}.proposal-quest-sky{background:radial-gradient(circle at 18% 20%,#ffffffe6 0 7%,#0000 8%),linear-gradient(135deg,#8ed1ff,#dff4ff 62%,#fff);width:54%;height:47%;position:absolute;top:0;left:0}.proposal-quest-yellow{background:linear-gradient(90deg,#0000 0 48%,#ffc400 48% 100%),linear-gradient(#0000 0 47%,#ffc400 47% 100%);position:absolute;inset:0}.proposal-quest-blue-mark{opacity:.98;background:linear-gradient(135deg,#0000 0 39%,#064fb5 39% 45%,#0000 45% 100%),linear-gradient(38deg,#0000 0 45%,#064fb5 45% 52%,#0000 52% 100%);width:100%;height:44%;position:absolute;bottom:0;left:0}.proposal-quest-title{z-index:2;text-align:right;width:min(430px,82%);margin:128px 48px 0 auto;position:relative}.proposal-quest-title span{color:#064fb5;letter-spacing:.08em;text-transform:uppercase;font-size:.82rem;font-weight:850;display:block}.proposal-quest-title h2{color:#000;letter-spacing:0;max-width:none;margin:14px 0 12px;font-size:2.5rem;font-weight:900;line-height:1.05}.proposal-quest-title strong{color:#fff;background:#064fb5;border-radius:999px;align-items:center;min-height:36px;padding:0 16px;font-size:1rem;display:inline-flex}.proposal-quest-cover-info{z-index:2;gap:16px;width:min(420px,100% - 72px);margin:260px 36px 0;display:grid;position:relative}.proposal-quest-cover-info div{background:#ffffffe6;border-left:4px solid #064fb5;padding:12px 14px}.proposal-quest-cover-info span,.proposal-quest-value span,.proposal-quest-sheet header span{color:#475569;text-transform:uppercase;font-size:.72rem;font-weight:850;display:block}.proposal-quest-cover-info strong{color:#000;margin-top:6px;font-size:1rem;display:block}.proposal-quest-cover-info p{color:#111827;margin:5px 0 0;line-height:1.35}.proposal-quest-sheet{min-height:844px;padding:42px;font-family:Arial,Helvetica,sans-serif}.proposal-quest-sheet:before{content:"";background:linear-gradient(90deg,#064fb5 0 42%,#ffc400 42% 100%);height:18px;position:absolute;inset:0 0 auto}.proposal-quest-sheet header{border-bottom:2px solid #e5e7eb;padding-bottom:18px}.proposal-quest-sheet h2{color:#000;letter-spacing:0;max-width:none;margin:8px 0 0;font-size:1.65rem;font-weight:900}.proposal-quest-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:26px;display:grid}.proposal-quest-stack{gap:14px;margin-top:14px;display:grid}.proposal-quest-value{background:#fff;border:1px solid #e4e4e7;border-radius:8px;min-width:0;padding:13px 14px}.proposal-quest-value strong{color:#111827;white-space:pre-line;overflow-wrap:anywhere;margin-top:7px;font-size:.92rem;font-weight:800;line-height:1.4;display:block}.proposal-cover-sheet{padding:44px 64px;font-family:Georgia,Times New Roman,serif}.proposal-cover-accent{transform-origin:100% 0;background:linear-gradient(135deg,#0000 0 18%,#facc15 18% 42%,#fff 42% 48%,#1f7ae0 48% 60%,#fff 60% 66%,#0b47ae 66% 100%);width:284px;height:520px;position:absolute;top:0;right:-44px;transform:skew(-18deg)}.proposal-cover-accent:after{content:"";background:#0b47ae;width:170px;height:470px;position:absolute;bottom:-220px;right:-54px}.proposal-cover-dots{z-index:1;background-image:radial-gradient(circle,#064fb5 3px,#0000 3px);background-size:12px 12px;width:44px;height:34px;position:absolute}.proposal-cover-dots-top{top:84px;right:58px}.proposal-cover-dots-bottom{bottom:18px;left:18px}.proposal-logo-box{z-index:2;background:#fff;border:1px solid #eef2f7;place-items:center;width:92px;height:92px;margin:0 0 44px 22px;display:grid;position:relative}.proposal-logo-box span{color:#111827;text-align:center;border:2px solid #111827;border-radius:50%;place-items:center;width:74px;height:74px;font-size:1rem;font-weight:800;line-height:1.02;display:grid}.proposal-cover-copy{z-index:2;color:#000;max-width:288px;position:relative}.proposal-cover-copy h2{color:#0476b8;letter-spacing:0;max-width:250px;margin:0 0 44px;font-size:1.85rem;font-weight:800;line-height:1.05}.proposal-cover-block{margin:0 0 42px;font-size:1rem;line-height:1.18}.proposal-cover-block strong{margin-bottom:14px;font-weight:700;display:block}.proposal-cover-block p{margin:0}.proposal-solar-visual{z-index:2;width:320px;height:300px;position:absolute;bottom:8px;right:26px}.proposal-solar-circle{background:linear-gradient(#ffffff59,#fff0),radial-gradient(circle at 70% 38%,#fde68a 0 13%,#f59e0b 14% 22%,#334155 23% 100%);border:8px solid #fff;border-radius:50%;width:184px;height:184px;position:absolute;top:0;right:28px;box-shadow:0 10px 24px #0f172a2e}.proposal-house-shape{clip-path:polygon(8% 50%,50% 2%,93% 50%,82% 50%,82% 100%,18% 100%,18% 50%);filter:drop-shadow(0 8px 8px #0f172a2e);background:linear-gradient(#fff,#f8fafc);width:250px;height:154px;position:absolute;bottom:18px;right:24px}.proposal-roof-panel{background:repeating-linear-gradient(90deg,#ffffff61 0 2px,#0000 2px 30px),repeating-linear-gradient(0deg,#ffffff61 0 2px,#0000 2px 23px),linear-gradient(135deg,#1d4ed8,#0f3e91);width:152px;height:68px;position:absolute;bottom:140px;right:98px;transform:skew(-18deg)rotate(-2deg);box-shadow:0 3px #0b2f6f}.proposal-created-label{z-index:3;color:#111827;font-size:.62rem;position:absolute;bottom:18px;right:88px}.proposal-summary-sheet{min-height:760px;padding:42px}.proposal-summary-sheet h2{color:#000;letter-spacing:0;max-width:none;margin:0 0 26px;font-size:1.45rem;font-weight:850}.proposal-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.proposal-summary-grid div,.proposal-summary-sheet section{background:#fff;border:1px solid #e4e4e7;border-radius:8px;padding:14px}.proposal-summary-grid span{color:#6b7280;text-transform:uppercase;font-size:.72rem;font-weight:850;display:block}.proposal-summary-grid strong{color:#111827;margin-top:8px;font-size:.98rem;line-height:1.35;display:block}.proposal-summary-sheet section{margin-top:16px}.proposal-summary-sheet h3{color:#000;margin:0 0 10px;font-size:1rem}.proposal-summary-sheet p{color:#111827;white-space:pre-line;margin:0;line-height:1.45}@media (width<=900px){.proposal-list-page{padding:18px 18px 32px}.proposal-list-head{flex-direction:column;align-items:stretch}.proposal-add-button{width:100%}.proposal-commandbar{grid-template-columns:36px minmax(0,1fr);padding:16px 18px}.proposal-create-button{grid-column:1/-1;width:100%}.proposal-form-footer .proposal-create-button{grid-column:auto}.proposal-form{gap:18px;width:calc(100% - 20px);margin-top:18px}.proposal-card{padding:20px}.proposal-selector-grid,.proposal-field-grid,.proposal-images-four-grid{grid-template-columns:1fr}.proposal-estimate-two,.proposal-estimate-bottom{grid-template-columns:1fr;padding-inline:14px}.proposal-estimate-bank-details{margin-inline:14px}.proposal-estimate-bank-grid,.proposal-estimate-two.compact{grid-template-columns:1fr}.proposal-estimate-table,.proposal-bom-table{padding-inline:14px}.proposal-add-line{margin-inline:14px}.proposal-selector-grid .proposal-field:last-child{max-width:none}.proposal-view-toolbar{grid-template-columns:36px minmax(0,1fr);align-items:start;padding:12px 18px}.proposal-view-actions{grid-column:1/-1;justify-content:flex-start}.proposal-view-actions button{flex:132px}.proposal-cover-sheet{padding:34px}.proposal-quest-grid{grid-template-columns:1fr}.proposal-quest-title{margin-right:30px}.proposal-cover-accent{right:-116px}.proposal-solar-visual{transform-origin:100% 100%;right:-20px;transform:scale(.86)}.proposal-summary-grid{grid-template-columns:1fr}}@media (width<=520px){.proposal-commandbar h1,.proposal-list-head h1{font-size:1.08rem}.proposal-card h2{margin-bottom:20px;font-size:1.02rem}.proposal-field{font-size:.92rem}.proposal-form-footer{justify-content:stretch}.proposal-pdf-stage{padding:16px 10px 52px}.proposal-pdf-sheet{width:calc(100vw - 20px)}.proposal-cover-copy h2{font-size:1.5rem}.proposal-quest-sheet{padding:34px 24px}.proposal-quest-title h2{font-size:1.9rem}.proposal-quest-cover-info{width:calc(100% - 40px);margin:240px 20px 0}.proposal-cover-block{max-width:210px;font-size:.9rem}.proposal-solar-visual{transform:scale(.7)}}.searchable-select-container{width:100%;position:relative}.searchable-select-trigger{color:#111827;width:100%;min-height:44px;font:inherit;cursor:pointer;text-align:left;background:#fff;border:1px solid #dedee3;border-radius:8px;outline:none;justify-content:space-between;align-items:center;padding:0 14px;font-size:.98rem;font-weight:500;display:flex;box-shadow:0 1px 3px #1118270f}.searchable-select-trigger:focus{border-color:#111827;box-shadow:0 0 0 3px #11182714}.searchable-select-trigger .trigger-arrow{color:#475569;flex-shrink:0;width:16px;height:16px;transition:transform .2s}.searchable-select-container .searchable-select-dropdown{z-index:50;background:#fff;border:1px solid #e4e4e7;border-radius:8px;flex-direction:column;max-height:320px;display:flex;position:absolute;top:calc(100% + 6px);left:0;right:0;overflow:hidden;box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a}.searchable-select-search-wrapper{background:#fafafa;border-bottom:1px solid #f4f4f5;align-items:center;gap:8px;padding:8px 12px;display:flex}.searchable-select-search-wrapper .search-icon{color:#71717a;flex-shrink:0;width:16px;height:16px}.searchable-select-search-input{flex:1;box-shadow:none!important;background:0 0!important;border:0!important;outline:none!important;min-height:auto!important;padding:4px 0!important;font-size:.9rem!important}.searchable-select-clear{color:#a1a1aa;cursor:pointer;background:0 0;border:0;padding:0 4px;font-size:1.2rem;line-height:1}.searchable-select-clear:hover{color:#71717a}.searchable-select-options-list{flex:1;max-height:240px;padding:6px;overflow-y:auto}.searchable-select-no-results{text-align:center;color:#71717a;padding:12px;font-size:.88rem;font-weight:550}.searchable-select-option{cursor:pointer;text-align:left;background:0 0;border:0;border-radius:6px;flex-direction:column;gap:2px;width:100%;padding:8px 10px;transition:background .15s;display:flex}.searchable-select-option:hover{background:#f4f4f5}.searchable-select-option.selected{background:#eff6ff}.searchable-select-option.selected .option-name{color:#2563eb;font-weight:700}.searchable-select-option .option-name{color:#18181b;font-size:.92rem;font-weight:600}.searchable-select-option .option-company{color:#71717a;font-size:.78rem;font-weight:500}.template-page{color:#000;background:#fff;min-height:100%;padding:24px 28px 42px}.template-header{justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:18px;display:flex}.template-header>div{min-width:0}.template-header p{color:#64748b;text-transform:uppercase;margin:0 0 6px;font-size:.78rem;font-weight:800}.template-header h1{color:#000;letter-spacing:0;max-width:none;margin:0;font-size:1.55rem;font-weight:880}.template-header span{color:#4b5563;margin-top:4px;font-size:.92rem;display:block}.template-header-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;display:flex}.template-primary-button,.template-header-actions button,.template-actions button,.template-variable-editor-head button,.template-editor-actions button{color:#111827;cursor:pointer;white-space:nowrap;background:#fff;border:1px solid #dedee3;border-radius:8px;justify-content:center;align-items:center;gap:8px;min-height:38px;padding:0 14px;font-weight:800;display:inline-flex}.template-header-actions button{box-shadow:0 1px 3px #11182714}.template-primary-button{color:#fff;background:#000;border-color:#000}.template-primary-button:hover{color:#fff;background:#18181b}.template-header-actions button:hover{color:#111827;background:#fafafa;border-color:#c7c7cc}.template-header-actions .template-primary-button:hover{color:#fff;background:#18181b;border-color:#18181b}.template-message{color:#374151;background:#fafafa;border:1px solid #dedee3;border-radius:8px;width:fit-content;max-width:100%;margin:0 0 14px;padding:10px 12px;font-size:.88rem;font-weight:750}.template-workspace{grid-template-columns:minmax(270px,320px) minmax(0,1fr);align-items:start;gap:22px;display:grid}.template-workspace-builder{grid-template-columns:minmax(0,1fr)}.template-library-shell{width:min(1180px,100%);margin:0 auto}.template-library-header{align-items:center}.template-library-summary{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:18px;display:grid}.template-library-summary section{background:#fff;border:1px solid #e4e4e7;border-radius:8px;padding:14px}.template-library-summary span{color:#64748b;text-transform:uppercase;font-size:.72rem;font-weight:850;display:block}.template-library-summary strong{color:#111827;margin-top:7px;font-size:1.35rem;font-weight:900;line-height:1;display:block}.template-library-summary small{color:#64748b;margin-top:7px;font-size:.78rem;font-weight:750;display:block}.template-library-home{width:100%}.template-library-toolbar{justify-content:space-between;align-items:center;gap:14px;margin-bottom:14px;display:flex}.template-library-toolbar .template-search{background:#fff;width:min(420px,100%)}.template-library-toolbar>span{color:#64748b;white-space:nowrap;font-size:.8rem;font-weight:800}.template-home-list{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px;display:grid}.template-home-card{background:#fff;border:1px solid #e4e4e7;border-radius:8px;grid-template-rows:minmax(0,1fr) auto;gap:14px;min-height:184px;padding:16px;display:grid;box-shadow:0 1px 3px #0f172a0f}.template-home-card:hover{background:#f8fafc;border-color:#cbd5e1;box-shadow:0 8px 18px #0f172a14}.template-home-card>button{color:#111827;cursor:pointer;text-align:left;background:0 0;border:0;align-content:start;gap:7px;padding:0;display:grid}.template-home-card>button span{color:#64748b;text-transform:uppercase;background:#f1f5f9;border-radius:999px;width:fit-content;padding:4px 8px;font-size:.7rem;font-weight:850}.template-home-card>button strong{color:#000;font-size:1.02rem;font-weight:850;line-height:1.25}.template-home-card>button small{color:#4b5563;font-size:.78rem;font-weight:750}.template-home-card>button p{color:#4b5563;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:2px 0 0;font-size:.82rem;line-height:1.42;display:-webkit-box;overflow:hidden}.template-home-card>div{border-top:1px solid #eef2f7;justify-content:flex-end;gap:8px;padding-top:12px;display:flex}.template-home-card>div button{color:#111827;cursor:pointer;background:#fff;border:1px solid #dedee3;border-radius:8px;justify-content:center;align-items:center;gap:7px;min-height:32px;padding:0 10px;font-size:.78rem;font-weight:850;display:inline-flex}.template-home-card>div button:hover{background:#f8fafc;border-color:#c7c7cc}.template-empty-state{color:#64748b;text-align:center;background:#f8fafc;border:1px dashed #cbd5e1;border-radius:8px;grid-column:1/-1;place-items:center;min-height:220px;padding:26px;display:grid}.template-empty-state .app-icon{width:30px;height:30px}.template-empty-state strong{color:#111827;margin-top:8px;font-size:1rem;display:block}.template-empty-state span{margin-top:4px;font-size:.85rem}.template-library-panel,.template-detail-panel{background:#fff;border:1px solid #dedee3;border-radius:8px;box-shadow:0 2px 5px #11182714}.template-library-panel{padding:14px;position:sticky;top:18px}.template-search{border:1px solid #dedee3;border-radius:8px;align-items:center;gap:8px;min-height:38px;padding:0 10px;display:flex}.template-search input{color:#111827;border:0;outline:none;width:100%;min-width:0}.template-list{gap:8px;margin-top:12px;display:grid}.template-list-item{color:#111827;cursor:pointer;text-align:left;background:#fff;border:1px solid #0000;border-radius:8px;gap:5px;padding:12px;display:grid}.template-list-item:hover,.template-list-item.active{background:#f8fafc;border-color:#d4d4d8}.template-list-item span{color:#64748b;text-transform:uppercase;font-size:.7rem;font-weight:850}.template-list-item strong{color:#000;font-size:.96rem;line-height:1.25}.template-list-item small{color:#4b5563;font-size:.78rem;font-weight:700}.template-detail-panel{min-width:0;padding:22px}.template-detail-top{justify-content:space-between;gap:18px;margin-bottom:20px;display:flex}.template-detail-top>div:first-child{flex:auto;min-width:0}.template-source-pill{color:#334155;background:#f1f5f9;border-radius:999px;align-items:center;min-height:22px;padding:0 9px;font-size:.72rem;font-weight:850;display:inline-flex}.template-detail-top h2{color:#000;letter-spacing:0;max-width:none;margin:8px 0 6px;font-size:1.3rem;font-weight:850}.template-detail-top p{color:#4b5563;max-width:720px;margin:0;line-height:1.45}.template-actions{flex-wrap:wrap;flex:none;justify-content:flex-end;align-items:flex-start;gap:8px;display:flex}.template-actions button:hover,.template-variable-editor-head button:hover,.template-editor-actions button:hover{background:#fafafa;border-color:#c7c7cc}.template-actions .template-danger-action{color:#e11d48;border-color:#fecdd3}.template-detail-panel-builder{padding:0;overflow:hidden}.template-detail-panel-builder .template-detail-top{border-bottom:1px solid #d4d4d8;align-items:flex-start;margin:0;padding:22px 24px}.template-top-edit-fields{grid-template-columns:minmax(280px,34%) minmax(420px,1fr);align-items:start;gap:20px;width:100%;max-width:1160px;margin-top:14px;display:grid}.template-top-edit-fields label{color:#000;align-content:start;gap:7px;font-size:.88rem;font-weight:850;display:grid}.template-top-edit-fields input,.template-top-edit-fields textarea{color:#111827;width:100%;font:inherit;background:#fff;border:1px solid #dedee3;border-radius:8px;outline:none;padding:10px 12px;font-size:.95rem;font-weight:500}.template-top-edit-fields input{height:48px}.template-top-edit-fields textarea{resize:vertical;min-height:118px;line-height:1.45}.template-top-edit-fields input:focus,.template-top-edit-fields textarea:focus{border-color:#111827;box-shadow:0 0 0 3px #11182714}.template-builder-shell{background:#f5f7f8;border-top:0;grid-template-columns:190px minmax(420px,1fr) 292px;min-height:760px;display:grid}.template-builder-sections,.template-builder-edit-panel{background:#fff}.template-builder-sections{border-right:1px solid #c7c7cc}.template-builder-sections h3,.template-builder-edit-panel h3{color:#111827;letter-spacing:0;margin:0;font-size:1rem;font-weight:850}.template-builder-sections>span,.template-builder-edit-panel>span{color:#64748b;margin-top:4px;font-size:.76rem;font-weight:650;display:block}.template-builder-sections{padding:16px 14px}.template-builder-sections>div{gap:5px;margin-top:18px;display:grid}.template-builder-sections button{color:#1f2937;cursor:pointer;text-align:left;background:0 0;border:0;border-radius:8px;align-items:center;gap:10px;min-height:40px;padding:0 10px;font-size:.86rem;font-weight:800;display:flex}.template-builder-sections button:hover{background:#f1f5f9}.template-builder-sections button.active{color:#fff;background:#07983c}.template-builder-sections button.disabled{color:#94a3b8}.template-builder-sections button.disabled:not(.active){background:#f8fafc}.template-builder-sections button.disabled span:after{color:inherit;content:"Off";text-transform:uppercase;margin-left:6px;font-size:.66rem;font-weight:900}.template-builder-preview-panel{background:#eef1f4;border-right:1px solid #c7c7cc;min-width:0}.template-builder-preview-panel>header{background:#fff;border-bottom:1px solid #c7c7cc;justify-content:flex-start;align-items:center;gap:12px;min-height:40px;padding:0 12px;display:flex}.template-builder-preview-panel>header strong{color:#374151;font-size:.86rem;font-weight:850}.template-builder-preview-panel>header button{color:#07983c;cursor:pointer;background:0 0;border:0;align-items:center;gap:6px;font-size:.76rem;font-weight:850;display:inline-flex}.template-builder-preview-canvas{justify-items:center;gap:22px;max-height:720px;padding:28px 20px 56px;display:grid;overflow:auto}.template-builder-page-stack{justify-items:center;gap:22px;width:100%;display:grid}.template-builder-full-cover{box-sizing:border-box;border-radius:8px;width:min(596px,100%);max-width:596px;min-height:844px}.template-builder-edit-panel{max-height:760px;padding:18px 14px 28px;overflow-y:auto}.template-builder-variable-box{background:#eff6ff;border:1px solid #dbeafe;border-radius:8px;margin-top:18px;padding:12px}.template-builder-variable-box strong{color:#1d4ed8;font-size:.82rem;font-weight:850;display:block}.template-builder-variable-box p{color:#3b82f6;margin:6px 0 10px;font-size:.72rem;font-weight:700;line-height:1.35}.template-builder-variable-box div{flex-wrap:wrap;gap:7px;display:flex}.template-builder-variable-box button{color:#1d4ed8;cursor:pointer;background:#fff;border:1px solid #bfdbfe;border-radius:6px;min-height:24px;padding:0 8px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.68rem;font-weight:850}.template-builder-form{gap:16px;margin-top:18px;display:grid}.template-builder-use-toggle{background:#eff6ff;border:1px solid #dbeafe;border-radius:8px;justify-content:space-between;align-items:center;padding:10px 12px;gap:12px!important;display:flex!important}.template-builder-use-toggle>span{gap:3px;display:grid}.template-builder-use-toggle strong{color:#111827;font-size:.82rem}.template-builder-use-toggle small{color:#2563eb;font-size:.7rem;font-weight:800}.template-builder-use-toggle input{accent-color:#07983c;width:18px;min-height:18px}.template-builder-form label{color:#374151;gap:7px;font-size:.78rem;font-weight:850;display:grid}.template-builder-form input,.template-builder-form select,.template-builder-form textarea{color:#111827;width:100%;min-height:38px;font:inherit;background:#fff;border:1px solid #dedee3;border-radius:8px;outline:none;padding:0 10px;font-size:.83rem;font-weight:600}.template-builder-form .template-builder-use-toggle input{width:18px;min-height:18px;padding:0}.template-builder-logo-editor{background:#fafafa;border:1px solid #e4e4e7;border-radius:8px;gap:10px;padding:12px;display:grid}.template-builder-logo-editor>span{color:#374151;font-size:.78rem;font-weight:850}.template-builder-logo-preview{background:#fff;border:1px dashed #cbd5e1;border-radius:8px;place-items:center;min-height:108px;padding:12px;display:grid;overflow:hidden}.template-builder-logo-preview img{object-fit:contain;max-width:100%;max-height:88px;display:block}.template-builder-logo-preview div{justify-items:center;line-height:1;display:grid}.template-builder-logo-preview strong{color:#e3062c;text-transform:lowercase;font-size:1.28rem;font-weight:900}.template-builder-logo-preview div span{color:#64748b;text-align:center;border:1px dashed #cbd5e1;border-radius:8px;place-items:center;min-height:68px;padding:0 14px;font-size:.88rem;font-weight:850;display:grid}.template-builder-logo-preview small{color:#34363b;font-size:1rem;font-weight:900}.template-builder-logo-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.template-builder-upload-button,.template-builder-logo-actions button{color:#111827;cursor:pointer;background:#fff;border:1px solid #dedee3;border-radius:8px;justify-content:center;align-items:center;min-height:36px;gap:8px!important;font-size:.78rem!important;font-weight:850!important;display:inline-flex!important}.template-builder-upload-button input{display:none}.template-builder-logo-actions button{color:#e11d48;border-color:#fecdd3}.template-builder-logo-editor>small{color:#64748b;overflow-wrap:anywhere;font-size:.72rem;font-weight:750}.template-builder-field-group{background:#fff;border:1px solid #e4e4e7;border-radius:8px;gap:10px;padding:12px;display:grid}.template-builder-field-group>strong{color:#111827;font-size:.82rem;font-weight:900}.template-builder-auto-values{background:#eff6ff;border:1px solid #dbeafe;border-radius:8px;gap:8px;padding:12px;display:grid}.template-builder-auto-values>strong{color:#111827;font-size:.82rem;font-weight:900}.template-builder-auto-values p{justify-content:space-between;align-items:center;gap:10px;margin:0;display:flex}.template-builder-auto-values span{color:#475569;font-size:.74rem;font-weight:850}.template-builder-auto-values em{color:#1d4ed8;background:#fff;border:1px solid #bfdbfe;border-radius:999px;padding:4px 8px;font-size:.72rem;font-style:normal;font-weight:900}.template-builder-auto-values small{color:#2563eb;font-size:.7rem;font-weight:750;line-height:1.35}.template-builder-form select{appearance:none;background-color:#fff;background-image:url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E");background-position:right 12px center;background-repeat:no-repeat;background-size:16px 16px;padding-right:38px}.template-builder-form textarea{resize:vertical;min-height:62px;padding:10px;line-height:1.35}.template-builder-image-slot{color:#94a3b8;text-align:center;background:#f8fafc;border:1px dashed #d4d4d8;border-radius:8px;place-items:center;min-height:132px;display:grid}.template-builder-image-slot .app-icon{width:34px;height:34px}.template-builder-image-slot span{color:#64748b;margin-top:8px;font-weight:850}.template-builder-image-slot small{color:#94a3b8;font-size:.72rem}.template-builder-section-sheet{box-sizing:border-box;background-color:var(--section-page-bg,#fff);color:#111827;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border:1px solid #d9e2e7;border-radius:8px;width:595px;min-height:842px;padding:48px 34px;box-shadow:0 1px 3px #0f172a1f}.template-builder-section-sheet h2{border-bottom:3px solid var(--section-accent-color,#0f9f9a);color:#1f2937;letter-spacing:0;max-width:none;margin:0 0 22px;padding-bottom:10px;font-size:1.35rem;font-weight:900;line-height:1.2}.template-builder-disabled-sheet{text-align:center;background:#f8fafc;border-style:dashed;align-content:center;justify-items:center;min-height:520px;display:grid}.template-builder-disabled-sheet .app-icon{color:#94a3b8;width:42px;height:42px}.template-builder-disabled-sheet h2{border-bottom:0;width:min(360px,100%);margin-top:16px;padding-bottom:0}.template-builder-disabled-sheet p{color:#64748b;width:min(390px,100%);margin:0;font-size:.86rem;line-height:1.48}.template-builder-about-sheet{box-sizing:border-box;background-color:var(--section-page-bg,#fff);color:#000;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border:1px solid #d9e2e7;border-radius:8px;width:595px;min-height:842px;font-family:Times New Roman,Times,serif;position:relative;overflow:hidden;box-shadow:0 1px 3px #0f172a1f}.template-builder-decorated-page{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Arial,sans-serif}.template-builder-decorated-body{z-index:5;padding:130px 34px 48px;position:relative}.template-builder-decorated-page .template-builder-decorated-body h2{color:#1f2937;letter-spacing:0;text-align:left;border:0;max-width:none;margin:0 0 22px;padding:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Arial,sans-serif;font-size:1.35rem;font-weight:900;line-height:1.2;position:static;top:auto;left:auto;right:auto}.template-builder-decorated-body>p{color:#334155;margin:0 0 18px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Arial,sans-serif;font-size:.88rem;font-style:normal;line-height:1.5}.template-builder-terms-body{padding:112px 34px 44px}.template-builder-terms-body h2{margin-bottom:10px!important}.template-builder-terms-copy{color:#111827;font-size:.63rem;line-height:1.16;display:block}.template-builder-terms-copy p{margin:0 0 3px}.template-builder-terms-copy .heading{color:#111827;margin:6px 0 2px;font-size:.72rem;font-weight:900}.template-builder-terms-copy .bullet{text-indent:-6px;padding-left:8px}.template-builder-rich-toolbar{flex-wrap:wrap;gap:6px;margin-bottom:2px;display:flex}.template-builder-rich-toolbar button{color:#111827;cursor:pointer;background:#fff;border:1px solid #d7dce4;border-radius:7px;place-items:center;width:32px;min-height:30px;padding:0;font-size:.8rem;font-weight:900;line-height:1;display:inline-grid}.template-builder-rich-toolbar .text-action{width:auto;min-width:54px;padding:0 10px;font-size:.72rem}.template-builder-rich-toolbar button:hover{border-color:var(--section-accent-color,#e3062c);background:#fff1f2}.template-builder-terms-editor textarea{color:#111827;white-space:pre-wrap;min-height:430px;font-family:Segoe UI,Arial,sans-serif;font-size:.78rem;font-weight:650}.template-builder-terms-editor small{color:#64748b;font-size:.72rem;font-weight:800}.template-builder-about-logo{--company-logo-size:160px;z-index:4;width:var(--company-logo-size);background:#fff;border:1px solid #f1f5f9;place-items:center;height:100px;display:grid;position:absolute;top:17px;left:56px}.template-builder-about-logo.has-image img{max-width:calc(var(--company-logo-size) - 14px);object-fit:contain;max-height:88px;display:block}.template-builder-about-logo span{color:#111;text-align:center;border:2px solid #111;border-radius:50%;place-items:center;width:76px;height:76px;font-size:1rem;font-weight:900;line-height:1.1;display:grid}.template-builder-about-sheet:not(.template-builder-decorated-page)>h2{z-index:3;color:#e3062c;letter-spacing:0;text-align:center;border:0;max-width:none;margin:0;padding:0;font-size:1.82rem;font-weight:850;line-height:1;position:absolute;top:117px;left:0;right:0}.template-builder-about-hero{z-index:2;background:#eff6ff;place-items:center;height:258px;display:grid;position:absolute;top:166px;left:0;right:0;overflow:hidden}.template-builder-about-hero img{object-fit:cover;object-position:center;width:100%;height:100%}.template-builder-about-hero-placeholder{color:#64748b;justify-items:center;gap:8px;font-family:Arial,Helvetica,sans-serif;font-size:.88rem;font-weight:850;display:grid}.template-builder-about-hero-placeholder .app-icon{width:34px;height:34px}.template-builder-about-copy{z-index:3;color:#000;padding:454px 35px 0;font-size:.93rem;line-height:1.12;position:relative}.template-builder-about-copy p{margin:0 0 14px}.template-builder-about-date{text-align:right;padding-right:56px}.template-builder-about-greeting{margin-top:18px!important}.template-builder-about-signature{width:fit-content;line-height:1.08;margin:42px auto 0!important}.template-builder-about-image-editor{background:#fafafa;border:1px solid #e4e4e7;border-radius:8px;gap:10px;padding:12px;display:grid}.template-builder-about-image-editor>span{color:#374151;font-size:.78rem;font-weight:850}.template-builder-about-image-preview{background:#fff;border:1px dashed #cbd5e1;border-radius:8px;place-items:center;height:132px;display:grid;overflow:hidden}.template-builder-about-image-preview img{object-fit:cover;width:100%;height:100%}.template-builder-about-image-preview div{color:#94a3b8;justify-items:center;gap:8px;font-size:.78rem;font-weight:850;display:grid}.template-builder-about-image-editor>small{color:#64748b;overflow-wrap:anywhere;font-size:.72rem;font-weight:750}.template-builder-service-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 14px;display:grid}.template-builder-service-card{--service-card-color:#0f9f9a;border:1px solid #dce5ea;border-left:4px solid var(--service-card-color);text-align:center;background:#fff;border-radius:8px;align-content:start;justify-items:center;min-height:154px;padding:18px 12px;display:grid;position:relative}.template-builder-service-card.style-2{border:1px solid #dce5ea;border-top:5px solid var(--service-card-color);background:#fff}.template-builder-service-card.style-3{border:1px solid #dce5ea;border-bottom:5px solid var(--service-card-color);background:linear-gradient(#f8fafc 0 42px,#fff 42px 100%);overflow:hidden;box-shadow:inset 0 0 0 1px #0f172a14}.template-builder-service-card.style-4{border:2px solid var(--service-card-color);background:linear-gradient(135deg,#f8fafc 0 22%,#0000 22%),#fff}.template-builder-service-card.style-5{background:linear-gradient(145deg, var(--service-card-color), #111827);border:0;box-shadow:0 8px 16px #0f172a29}.template-builder-service-card.style-5 strong,.template-builder-service-card.style-5 p{color:#fff}.template-builder-service-icon{border:2px solid var(--service-card-color);width:42px;height:42px;color:var(--service-card-color);border-radius:50%;place-items:center;font-size:1rem;font-weight:900;display:grid}.template-builder-service-card.style-2 .template-builder-service-icon,.template-builder-service-card.style-4 .template-builder-service-icon{background:var(--service-card-color);color:#fff}.template-builder-service-card.style-3 .template-builder-service-icon{background:#fff;box-shadow:0 4px 10px #0f172a1f}.template-builder-service-card.style-5 .template-builder-service-icon{color:#fff;background:#ffffff24;border-color:#ffffffad}.template-builder-service-icon .app-icon{width:21px;height:21px}.template-builder-service-image{object-fit:cover;border-radius:6px;width:100%;height:64px}.template-builder-service-grid strong{color:#1f2937;margin-top:12px;font-size:.78rem;font-weight:900}.template-builder-service-grid p,.template-builder-generic-sheet p{color:#667085;margin:10px 0 0;font-size:.74rem;line-height:1.42}.template-builder-stats-card{margin-top:24px}.template-builder-stats-card h3{color:#111827;text-align:center;margin:0 0 14px;font-size:1.1rem}.template-builder-stats-grid{text-align:center;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px 18px;display:grid}.template-builder-stat-item strong{color:#d32f2f;font-size:1.6rem;font-weight:900;display:block}.template-builder-stat-item span{color:#111827;margin-top:4px;font-size:.78rem;font-weight:800;display:block}.template-builder-generic-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 18px;display:grid}.template-builder-generic-sheet{align-content:start;display:grid}.template-builder-generic-grid{margin-top:28px}.template-builder-generic-grid section{background:#ffffffeb;border:1px solid #dce5ea;border-radius:8px;padding:14px}.template-builder-generic-grid span{color:#64748b;text-transform:uppercase;font-size:.7rem;font-weight:850;display:block}.template-builder-generic-grid strong{color:#111827;margin-top:8px;font-size:.92rem;line-height:1.35;display:block}.template-builder-quotation-sheet{box-sizing:border-box;color:#020617;background:#fff;border:1px solid #d9e2e7;border-radius:8px;width:595px;min-height:842px;padding:42px 42px 36px;font-family:Arial,Helvetica,sans-serif;box-shadow:0 1px 3px #0f172a1f}.template-builder-quotation-sheet h2{color:#08243f;letter-spacing:0;text-align:center;margin:0 0 8px;font-size:1.62rem;font-weight:900}.template-builder-quotation-parties{border-bottom:1px solid #dce2ea;grid-template-columns:1fr 1.2fr 1.08fr;gap:0;margin-top:4px;display:grid}.template-builder-quotation-parties section{border-right:1px solid #dce2ea;min-height:100px;padding:6px 10px 8px 6px}.template-builder-quotation-parties section:last-child{border-right:0;padding-left:14px}.template-builder-quotation-parties strong,.template-builder-quotation-footer h3{color:#08243f;font-size:.78rem;font-weight:900}.template-builder-quotation-parties h3{color:#000;margin:6px 0 3px;font-size:.78rem;font-weight:900;line-height:1.16}.template-builder-quotation-parties p{color:#000;white-space:pre-line;margin:3px 0;font-size:.68rem;font-weight:600;line-height:1.16}.template-builder-quotation-table{border:1px solid #dce2ea;border-bottom:0;grid-template-columns:28px 1.75fr 42px 60px 66px 58px 66px;margin-top:12px;font-size:.68rem;display:grid}.template-builder-quotation-table>div{border-bottom:1px solid #dce2ea;min-width:0;padding:5px}.template-builder-quotation-table .head{color:#fff;background:#12334a;font-size:.72rem;font-weight:900}.template-builder-quotation-table .item{padding-left:8px}.template-builder-quotation-table .item strong{color:#000;margin-bottom:2px;font-size:.74rem;font-weight:900;line-height:1.14;display:block}.template-builder-quotation-table .item p{color:#000;white-space:pre-line;margin:0;line-height:1.14}.template-builder-quotation-table .total{text-align:right}.template-builder-quotation-table span{margin-top:2px;font-size:.58rem;display:inline-block}.template-builder-quotation-table .words{grid-column:1/6;align-items:center;min-height:46px;padding-left:38px;font-size:.7rem;font-weight:700;display:grid}.template-builder-quotation-table .summary{grid-column:6/8;padding:0}.template-builder-quotation-table .summary p{border-bottom:1px solid #dce2ea;grid-template-columns:1fr auto;gap:8px;margin:0;padding:4px 5px;font-size:.68rem;display:grid}.template-builder-quotation-table .summary p:last-child{border-bottom:0;font-weight:900}.template-builder-quotation-footer{grid-template-columns:1.15fr 1.15fr .85fr;gap:0;margin-top:14px;display:grid}.template-builder-quotation-footer section{border-right:1px solid #dce2ea;min-height:112px;padding:8px 10px 0 2px}.template-builder-quotation-footer section:last-child{border-right:0}.template-builder-quotation-footer h3{margin:0 0 10px}.template-builder-quotation-footer p{color:#000;white-space:pre-line;margin:0;font-size:.68rem;font-weight:600;line-height:1.12}.template-builder-quotation-footer .signature{align-content:start;justify-items:center;padding-left:10px;display:grid}.template-builder-quotation-footer .signature div{color:#1d2faa;border:3px double #1d2faa;border-radius:50%;place-items:center;width:82px;height:82px;font-size:.66rem;font-weight:900;display:grid;transform:rotate(-13deg)}.template-builder-quotation-footer .signature .signature-image{width:var(--signature-image-size,112px);height:var(--signature-image-size,112px);border:0;border-radius:0;justify-content:center;align-items:center;display:flex;overflow:hidden;transform:none}.template-builder-quotation-footer .signature .signature-image img{object-fit:contain;width:auto;max-width:100%;height:auto;max-height:100%;display:block}.template-builder-quotation-footer .signature p{text-align:center;border-top:1px solid #dce2ea;width:100%;margin-top:7px;padding-top:6px}.template-builder-signature-preview{background:#fff;border:1px dashed #cbd5e1;border-radius:8px;place-items:center;min-height:128px;padding:14px;display:grid}.template-builder-signature-preview img{width:var(--signature-image-size,112px);height:var(--signature-image-size,112px);object-fit:contain}.template-builder-signature-preview div{color:#64748b;border:1px dashed #dbe3ef;border-radius:8px;place-items:center;width:100%;min-height:92px;font-weight:800;display:grid}.template-builder-bom-sheet{box-sizing:border-box;color:#020617;background:#fff;border:1px solid #d9e2e7;border-radius:8px;width:595px;min-height:842px;padding:44px 40px 36px;font-family:Arial,Helvetica,sans-serif;box-shadow:0 1px 3px #0f172a1f}.template-builder-bom-sheet h2{color:#000;letter-spacing:0;text-align:center;margin:0 0 8px;font-size:1.62rem;font-weight:500}.template-builder-bom-table{border:1px solid #bfc3c9;grid-template-columns:44px minmax(0,1fr) 48px 58px 92px;font-size:.64rem;display:grid}.template-builder-bom-table .head{color:#111827;text-align:center;background:#e5e5e5;border-bottom:1px solid #bfc3c9;border-right:1px solid #bfc3c9;padding:3px 2px;font-size:.66rem;font-weight:900}.template-builder-bom-table .head.item{text-align:center}.template-builder-bom-table .head:nth-child(5){border-right:0}.template-builder-bom-row{display:contents}.template-builder-bom-row>div{text-align:center;border-bottom:1px solid #bfc3c9;border-right:1px solid #bfc3c9;align-items:center;min-height:20px;padding:2px 3px;font-size:.64rem;font-weight:500;line-height:1.08;display:grid}.template-builder-bom-row>div:nth-child(5n){border-right:0}.template-builder-bom-row .item{text-align:left;justify-items:start}.template-builder-bom-row.section-row>div{background:#e5e5e5;min-height:21px;font-weight:900}.template-builder-bom-row.section-row>div:not(:first-child):not(.item){color:#0000}.template-builder-decorated-financial-sheet{background-color:var(--section-page-bg,#fff);background-position:50%;background-repeat:no-repeat;background-size:100% 100%;position:relative;overflow:hidden}.template-builder-decorated-financial-sheet.template-builder-quotation-sheet{padding:108px 40px 46px}.template-builder-decorated-financial-sheet.template-builder-bom-sheet{padding:112px 34px 46px}.template-builder-decorated-financial-sheet>:not(.template-builder-about-logo){z-index:5;position:relative}.template-builder-decorated-financial-sheet .template-builder-about-logo{top:18px}.template-builder-decorated-financial-sheet h2{margin-top:0}.template-builder-thanks-sheet{box-sizing:border-box;background-color:var(--section-page-bg,#fff);color:#061f44;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border:1px solid #d9e2e7;border-radius:8px;width:595px;min-height:842px;position:relative;overflow:hidden;box-shadow:0 1px 3px #0f172a1f}.template-builder-thanks-logo{z-index:6;color:#111827;text-align:center;background:#fff;border:1px solid #edf2f7;place-items:center;width:160px;height:82px;font-family:Georgia,Times New Roman,serif;font-size:1rem;font-weight:900;line-height:1.05;display:grid;position:absolute;top:48px;left:56px}.template-builder-thanks-logo.has-image img,.template-builder-thanks-logo img{object-fit:contain;max-width:86%;max-height:86%}.template-builder-thanks-content{z-index:6;width:486px;padding:640px 50px 0;position:relative}.template-builder-thanks-contact{gap:11px;display:grid}.template-builder-thanks-contact section{grid-template-columns:28px 86px minmax(0,1fr);align-items:start;gap:8px;display:grid}.template-builder-thanks-icon{color:#fff;background:#05070a;border-radius:50%;place-items:center;width:24px;height:24px;display:grid}.template-builder-thanks-icon .app-icon{width:15px;height:15px}.template-builder-thanks-contact strong{color:#05070a;font-size:1rem;font-weight:900;line-height:1.45}.template-builder-thanks-contact p{color:#000;margin:0;font-size:.92rem;font-weight:600;line-height:1.2}.template-builder-image-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.template-builder-image-grid section{background:#ffffffeb;border:1px solid #dce5ea;border-radius:8px;padding:12px}.template-builder-image-frame{background:#eff6ff;border-radius:8px;place-items:center;height:168px;display:grid;overflow:hidden}.template-builder-image-frame img{object-fit:cover;width:100%;height:100%}.template-builder-image-placeholder{color:#94a3b8;justify-items:center;gap:8px;font-size:.8rem;font-weight:850;display:grid}.template-builder-image-grid strong{color:#111827;margin-top:10px;font-size:.9rem;font-weight:900;display:block}.template-builder-image-grid p{display:none}.template-builder-testimonial-grid{grid-template-columns:1fr;gap:16px;display:grid}.template-builder-testimonial-grid section{background:#fffffff0;border:1px solid #e2e8f0;border-radius:8px;grid-template-columns:72px minmax(0,1fr);gap:16px;padding:16px 18px;display:grid}.template-builder-testimonial-profile{justify-content:center;align-items:flex-start;padding-top:2px;display:flex}.template-builder-testimonial-profile img{object-fit:cover;border-radius:50%;width:58px;height:58px}.template-builder-testimonial-avatar{color:#334155;background:#f1f5f9;border-radius:50%;align-content:center;justify-items:center;width:58px;height:58px;font-size:1.3rem;font-weight:900;display:grid}.template-builder-testimonial-content{align-content:space-between;gap:8px;display:grid}.template-builder-testimonial-grid p{color:#334155;margin:0;font-size:.82rem;font-style:italic;line-height:1.48}.template-builder-testimonial-grid footer{gap:2px;display:grid}.template-builder-testimonial-grid footer strong{color:#111827;font-size:.88rem;font-weight:900}.template-builder-testimonial-grid footer span{color:#64748b;font-size:.74rem;font-weight:750}.template-builder-testimonial-upload-area{background:#fafafa;border:1px solid #e4e4e7;border-radius:8px;align-items:center;gap:12px;padding:10px 12px;display:flex}.template-builder-testimonial-avatar-preview{background:#f1f5f9;border:2px solid #d4d4d8;border-radius:50%;flex-shrink:0;width:58px;height:58px;overflow:hidden}.template-builder-testimonial-avatar-preview img{object-fit:cover;width:100%;height:100%}.template-builder-testimonial-avatar-placeholder{color:#94a3b8;place-items:center;width:100%;height:100%;display:grid}.template-builder-testimonial-avatar-placeholder .app-icon{width:26px;height:26px}.template-builder-testimonial-upload-actions{flex-direction:column;gap:6px;display:flex}.template-builder-upload-btn{color:#059669;cursor:pointer;white-space:nowrap;background:#fff;border:1px solid #10b981;border-radius:7px;align-items:center;gap:6px;min-height:32px;padding:0 10px;font-size:.76rem;font-weight:850;display:inline-flex}.template-builder-upload-btn:hover{background:#f0fdf4}.template-builder-upload-btn .app-icon{width:14px;height:14px}.template-builder-remove-photo-btn{color:#e11d48;cursor:pointer;white-space:nowrap;background:#fff;border:1px solid #fecdd3;border-radius:7px;align-items:center;gap:6px;min-height:32px;padding:0 10px;font-size:.76rem;font-weight:850;display:inline-flex}.template-builder-remove-photo-btn:hover{background:#fff1f2}.template-builder-remove-photo-btn .app-icon{width:14px;height:14px}.template-builder-item-list{gap:12px;display:grid}.template-builder-item-list section{background:#fafafa;border:1px solid #eef2f7;border-radius:8px;padding:12px}.template-builder-item-head{justify-content:space-between;align-items:center;gap:10px;min-height:30px;margin-bottom:10px;display:flex}.template-builder-item-head strong{color:#111827;font-size:.84rem}.template-builder-item-list>button{color:#059669;cursor:pointer;background:#fff;border:1px dashed #10b981;border-radius:8px;justify-content:center;align-items:center;gap:8px;min-height:36px;font-weight:850;display:inline-flex}.template-builder-delete-button{color:#ef4444;cursor:pointer;background:#fff;border:1px solid #fecdd3;border-radius:8px;place-items:center;width:30px;height:30px;min-height:30px;padding:0;display:grid}.template-builder-delete-button:disabled{cursor:not-allowed;opacity:.4}.template-builder-secondary-button{color:#374151;cursor:pointer;background:#fff;border:1px solid #dedee3;border-radius:8px;justify-content:center;align-items:center;gap:7px;min-height:34px;font-size:.78rem;font-weight:850;display:inline-flex}.template-builder-field-group{color:#374151;gap:8px;font-size:.78rem;font-weight:850;display:grid}.template-builder-icon-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;display:grid}.template-builder-icon-grid button{color:#334155;cursor:pointer;background:#fff;border:1px solid #dedee3;border-radius:8px;place-items:center;height:34px;display:grid}.template-builder-icon-grid button:hover,.template-builder-icon-grid button.active{color:#0f766e;background:#ecfdf5;border-color:#0f9f9a}.template-builder-color-control{grid-template-columns:42px minmax(0,1fr);align-items:center;gap:8px;display:grid}.template-builder-color-control input[type=color]{cursor:pointer;min-height:38px;padding:3px}.template-builder-color-presets{flex-wrap:wrap;gap:8px;display:flex}.template-builder-color-presets button{cursor:pointer;border:2px solid #fff;border-radius:50%;width:24px;height:24px;box-shadow:0 0 0 1px #cbd5e1}.template-builder-color-presets button.active{box-shadow:0 0 0 2px #111827}.template-builder-repeat-list{gap:8px;display:grid}.template-builder-repeat-list div{grid-template-columns:minmax(0,1fr) 34px;gap:7px;display:grid}.template-builder-repeat-list button{color:#ef4444;cursor:pointer;background:#fff;border:1px solid #fecdd3;border-radius:8px;place-items:center;min-height:34px;display:grid}.template-builder-image-slot img{object-fit:cover;border-radius:8px;width:100%;height:100%}.template-builder-image-slot-small{height:126px;min-height:126px;padding:0;overflow:hidden}.template-builder-image-slot-small span{margin-top:0}.template-preview-grid{grid-template-columns:minmax(320px,.9fr) minmax(280px,.55fr);gap:18px;display:grid}.template-code-preview{background:#e5e7eb;border:1px solid #e4e4e7;border-radius:8px;min-height:520px;padding:18px;display:grid;overflow:hidden}.template-code-cover{background:linear-gradient(135deg,#93c5fd 0 42%,#0000 42%),linear-gradient(90deg,#0000 0 48%,#ffc400 48% 100%),linear-gradient(#0000 0 46%,#ffc400 46% 100%);border-radius:8px;align-content:center;gap:12px;min-height:484px;padding:44px;display:grid;position:relative;overflow:hidden}.template-code-cover:after{content:"";background:linear-gradient(135deg,#0000 0 38%,#064fb5 38% 46%,#0000 46%),linear-gradient(35deg,#0000 0 47%,#064fb5 47% 54%,#0000 54%);height:36%;position:absolute;inset:auto 0 0}.template-code-cover span{z-index:1;color:#064fb5;text-transform:uppercase;font-size:.72rem;font-weight:850;position:relative}.template-code-cover h3{z-index:1;color:#000;max-width:320px;margin:0;font-size:2rem;font-weight:900;line-height:1.05;position:relative}.template-code-cover strong{z-index:1;color:#000;font-size:1.15rem;position:relative}.template-code-cover p{z-index:1;color:#111827;max-width:310px;margin:0;line-height:1.45;position:relative}.template-mahindra-cover-mini{color:#fff;background:#fff;border-radius:8px;align-self:start;height:484px;min-height:484px;position:relative;overflow:hidden}.template-mahindra-cover-mini:before{z-index:2;content:"";background:#fff;width:58%;height:19%;position:absolute;inset:0 auto auto 0}.template-mahindra-mini-art{background:linear-gradient(#fff0 0 58%,#000000db 100%),linear-gradient(135deg,#fbb25e 0,#98552e 24%,#194150 52%,#041014 100%);position:absolute;inset:19% 0 0;overflow:hidden}.template-mahindra-mini-art:before{content:"";background:repeating-linear-gradient(90deg,#ffc67c7a 0 2px,#0000 2px 62px),repeating-linear-gradient(0deg,#ffc67c5c 0 2px,#0000 2px 58px),linear-gradient(110deg,#0000 0 32%,#ffffff5c 33%,#0000 36% 100%);position:absolute;inset:-54px -92px -54px -70px;transform:rotate(-8deg)}.template-mahindra-mini-logo{z-index:3;gap:2px;line-height:1;display:grid;position:absolute;top:48px;left:48px}.template-mahindra-mini-logo strong{color:#e3062c;letter-spacing:0;text-transform:lowercase;font-size:1.35rem;font-weight:900}.template-mahindra-mini-logo span{color:#34363b;letter-spacing:0;font-size:1.08rem;font-weight:900}.template-mahindra-cover-mini aside{z-index:3;background:#e40026eb;align-content:start;width:35%;padding:56px 12px 24px;display:grid;position:absolute;inset:0 40px 0 auto}.template-mahindra-cover-mini aside>strong,.template-mahindra-cover-mini aside>span{overflow-wrap:anywhere;font-size:.56rem;font-weight:850;line-height:1.14}.template-mahindra-cover-mini aside h3{color:#fff;align-self:end;margin:auto 0 14px;font-size:.92rem;font-weight:900;line-height:1.16}.template-mahindra-cover-mini aside small{color:#fff;font-size:.5rem;font-weight:800}.template-mahindra-cover-mini aside b{color:#fff;overflow-wrap:anywhere;margin-top:4px;font-size:.58rem;line-height:1.2}.template-mahindra-cover-mini>h3{z-index:2;color:#fff;max-width:180px;margin:0;font-size:1.24rem;font-weight:900;line-height:1.06;position:absolute;bottom:40px;left:48px}.template-variable-panel{border:1px solid #e4e4e7;border-radius:8px;padding:18px}.template-variable-panel h3,.template-variable-editor-head h3{color:#000;margin:0;font-size:1rem;font-weight:850}.template-variable-list{gap:10px;margin-top:14px;display:grid}.template-variable-list div{border:1px solid #eef2f7;border-radius:8px;padding:10px}.template-variable-list span{color:#64748b;text-transform:uppercase;font-size:.68rem;font-weight:850;display:block}.template-variable-list strong{color:#111827;margin:5px 0;font-size:.92rem;display:block}.template-variable-list small{color:#0f766e;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-weight:800}.template-editor{border-top:1px solid #e4e4e7;margin-top:22px;padding-top:22px}.template-editor-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid}.template-editor label{color:#000;gap:8px;font-size:.9rem;font-weight:800;display:grid}.template-editor input,.template-editor select,.template-editor textarea{color:#111827;width:100%;min-height:40px;font:inherit;border:1px solid #dedee3;border-radius:8px;outline:none;padding:0 12px;font-weight:500}.template-editor textarea{resize:vertical;min-height:84px;padding:10px 12px}.template-wide-field{grid-column:1/3}.template-variable-editor-head{justify-content:space-between;align-items:center;gap:14px;margin:22px 0 12px;display:flex}.template-variable-editor{gap:8px;display:grid}.template-variable-row{grid-template-columns:minmax(120px,.7fr) minmax(150px,.8fr) minmax(140px,.7fr) minmax(160px,1fr) 104px 38px;align-items:center;gap:8px;display:grid}.template-variable-row>button{color:#e11d48;cursor:pointer;background:#fff;border:1px solid #fecdd3;border-radius:8px;place-items:center;width:38px;height:38px;display:grid}.template-required-toggle{border:1px solid #e4e4e7;border-radius:8px;align-items:center;min-height:38px;padding:0 10px;gap:7px!important;font-size:.78rem!important;display:inline-flex!important}.template-required-toggle input{width:16px;min-height:16px}.template-editor-actions{justify-content:flex-end;gap:10px;margin-top:18px;display:flex}@media (width<=1100px){.template-workspace,.template-preview-grid{grid-template-columns:1fr}.template-builder-shell{grid-template-columns:170px minmax(0,1fr) 260px}.template-library-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.template-library-panel{position:static}.template-list{grid-template-columns:repeat(2,minmax(0,1fr))}.template-editor-grid,.template-variable-row,.template-top-edit-fields{grid-template-columns:1fr}.template-wide-field{grid-column:auto}}@media (width<=900px){.template-detail-panel-builder .template-detail-top{flex-direction:column}.template-actions{justify-content:flex-start;width:100%}.template-builder-shell{grid-template-columns:1fr}.template-builder-sections,.template-builder-preview-panel,.template-builder-edit-panel{border-right:0}.template-builder-sections{border-bottom:1px solid #c7c7cc}.template-builder-sections>div{grid-template-columns:repeat(2,minmax(0,1fr))}.template-builder-edit-panel{border-top:1px solid #c7c7cc}}@media (width<=640px){.template-page{padding:18px}.template-header,.template-detail-top,.template-variable-editor-head{flex-direction:column}.template-primary-button,.template-actions,.template-actions button,.template-editor-actions button{width:100%}.template-list{grid-template-columns:1fr}.template-library-toolbar{flex-direction:column;align-items:stretch}.template-library-toolbar .template-search{width:100%}.template-library-summary{grid-template-columns:1fr}.template-detail-panel{padding:16px}.template-builder-sections>div,.template-builder-image-grid{grid-template-columns:1fr}.template-detail-panel-builder .template-detail-top{padding:18px 16px}}.proposal-pdf-sheet,.template-builder-section-sheet,.template-builder-about-sheet,.template-builder-quotation-sheet,.template-builder-bom-sheet,.template-builder-thanks-sheet{width:595px;min-width:595px;max-width:595px;height:842px;min-height:842px;max-height:842px}.proposal-pdf-stage .proposal-pdf-sheet{width:595px}.proposal-pdf-export .template-builder-image-grid,.proposal-pdf-export-sheet .template-builder-image-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.proposal-pdf-export .template-builder-image-grid section,.proposal-pdf-export-sheet .template-builder-image-grid section{break-inside:avoid;page-break-inside:avoid}@media print{.template-builder-image-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}@media (width<=520px){.proposal-pdf-stage .proposal-pdf-sheet{width:595px}}.settings-page{background:radial-gradient(circle at 12px 12px,#64748b2e 1px,#0000 1px) 0 0/24px 24px,#fff;min-height:100%;padding:24px 28px 32px}.settings-topbar{border:1px solid var(--line);background:#f4f5f7;border-radius:10px;align-items:center;gap:8px;margin-bottom:24px;padding:8px;display:flex;overflow-x:auto}.settings-tab{color:#1f2937;cursor:pointer;white-space:nowrap;background:0 0;border:1px solid #0000;border-radius:8px;align-items:center;gap:10px;min-height:48px;padding:0 18px;font-weight:720;display:inline-flex}.settings-tab.active,.settings-tab:hover{border-color:var(--line);color:var(--ink);background:#fff;box-shadow:0 10px 28px #0f172a0f}.settings-tab.active span:first-child,.settings-tab:hover span:first-child{color:var(--brand)}.settings-content{border:1px solid var(--line);background:#fffffff5;border-radius:10px;box-shadow:0 18px 44px #0f172a0a}.settings-heading{border-bottom:1px solid var(--line);justify-content:space-between;align-items:flex-start;gap:20px;padding:28px 30px;display:flex}.settings-heading h1{margin:0 0 8px;font-size:clamp(1.7rem,2.3vw,2.25rem);line-height:1.1}.settings-heading p:last-child{max-width:760px;color:var(--muted);margin:0;font-size:1rem;line-height:1.6}.settings-save-note{color:#067647;background:#ecfdf3;border:1px solid #b7efc5;border-radius:8px;margin:18px 30px 0;padding:10px 14px;font-weight:700}.settings-draft-pop{z-index:8;background:#fffcf5;border:1px solid #fedf89;border-radius:10px;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:12px;margin:18px 30px 0;padding:12px;display:grid;position:sticky;top:0;box-shadow:0 18px 40px #b547081a}.settings-draft-pop strong,.settings-draft-pop span{display:block}.settings-draft-pop strong{color:#93370d;font-weight:850}.settings-draft-pop span{color:#7a4b18;margin-top:2px;font-size:.86rem}.settings-draft-pop .primary-action{background:#159947;box-shadow:0 12px 24px #1599472e}.settings-draft-pop .primary-action:hover{background:#0f7f3b}.lead-settings-summary{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:20px 30px 0;display:grid}.lead-settings-summary article{border:1px solid var(--line);background:linear-gradient(#fff,#fbfcff);border-radius:9px;padding:16px}.lead-settings-summary span,.lead-settings-summary small{color:var(--muted);display:block}.lead-settings-summary span{font-size:.82rem;font-weight:720}.lead-settings-summary strong{color:var(--ink);margin:8px 0 4px;font-size:1.8rem;line-height:1;display:block}.lead-settings-workspace{grid-template-columns:minmax(230px,280px) minmax(0,1fr);gap:18px;padding:20px 30px 30px;display:grid}.lead-settings-nav{align-content:start;gap:10px;display:grid}.lead-settings-nav-item{border:1px solid var(--line);color:#334155;cursor:pointer;text-align:left;background:#fff;border-radius:9px;grid-template-columns:22px minmax(0,1fr);align-items:start;gap:3px 12px;min-height:82px;padding:14px;display:grid;position:relative}.lead-settings-nav-item>span{color:#64748b;grid-row:1/4;margin-top:2px}.lead-settings-nav-item strong{color:var(--ink);font-size:.92rem}.lead-settings-nav-item small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.lead-settings-nav-item em{color:#475569;background:#f1f5f9;border-radius:999px;justify-self:start;padding:3px 8px;font-size:.74rem;font-style:normal;font-weight:800}.lead-settings-nav-item.active{background:#fbfaff;border-color:#d7ccff;box-shadow:0 14px 30px #7048db17}.lead-settings-nav-item.active>span,.lead-settings-nav-item.active strong{color:var(--brand)}.lead-settings-nav-item.active em{background:var(--brand);color:#fff}.lead-settings-panel{min-width:0}.feature-settings-card{min-height:520px;padding:22px}.stage-flow-list{gap:8px;display:grid}.stage-flow-item{border:1px solid var(--line);background:#fbfcff;border-radius:9px;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:12px;min-height:48px;padding:8px 10px;display:grid}.stage-flow-item>span{background:var(--brand-soft);width:32px;height:32px;color:var(--brand);border-radius:8px;place-items:center;font-size:.78rem;font-weight:900;display:grid}.stage-flow-item strong{color:#334155;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.column-card-list{grid-template-columns:repeat(3,minmax(0,1fr))}.settings-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:22px 30px 30px;display:grid}.settings-card{border:1px solid var(--line);background:#fff;border-radius:9px;padding:18px}.settings-card-wide{grid-column:1/-1}.settings-card-title{align-items:flex-start;gap:12px;margin-bottom:16px;display:flex}.settings-card-title>span{color:var(--brand);margin-top:2px}.settings-card-title strong{font-size:1rem;font-weight:800;display:block}.settings-card-title small{color:var(--muted);margin-top:3px;display:block}.settings-chip-list,.settings-label-list{flex-wrap:wrap;gap:10px;display:flex}.settings-chip,.settings-label-chip{color:#334155;background:#f8fafc;border-radius:8px;align-items:center;gap:8px;min-height:34px;padding:0 10px;font-weight:720;display:inline-flex}.settings-chip{border:1px solid #dbe2ea}.settings-chip button,.settings-label-chip button{color:currentColor;cursor:pointer;background:0 0;border:0;border-radius:6px;place-items:center;width:20px;height:20px;font-size:.78rem;font-weight:900;display:grid}.settings-chip button:hover,.settings-label-chip button:hover{background:#0f172a14}.settings-label-chip{background:#fff;border:1px solid}.settings-label-chip i{border-radius:50%;width:8px;height:8px}.settings-label-row{border:1px solid var(--line);background:#fbfcff;border-radius:9px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;width:min(100%,440px);padding:8px;display:grid}.settings-label-row .settings-label-chip{justify-self:start}.settings-icon-actions{align-items:center;gap:6px;display:inline-flex}.settings-icon-button{border:1px solid var(--line);color:#64748b;cursor:pointer;background:#fff;border-radius:8px;place-items:center;width:32px;height:32px;display:grid}.settings-action-icon{display:block}.settings-icon-button:hover{color:var(--brand);background:#fbfaff;border-color:#d7ccff}.settings-icon-button.save{color:#067647;border-color:#b7efc5}.settings-icon-button.save:hover{background:#ecfdf3}.settings-icon-button.danger{color:#b42318;border-color:#fed7d7}.settings-icon-button.danger:hover{background:#fff5f5}.settings-row-input{border:1px solid var(--line);min-width:0;min-height:34px;color:var(--ink);background:#fff;border-radius:8px;padding:0 10px;font-weight:700}.settings-color-input{border:1px solid var(--line);cursor:pointer;background:#fff;border-radius:8px;width:44px;min-width:44px;height:42px;padding:4px}.settings-inline-form{gap:10px;margin-top:16px;display:flex}.label-inline-form{align-items:center}.settings-inline-form input{border:1px solid var(--line);min-width:0;min-height:42px;color:var(--ink);background:#fff;border-radius:8px;flex:1;padding:0 12px}.settings-inline-form .settings-color-input{flex:0 0 44px;padding:4px}.settings-inline-form button{min-height:42px;color:var(--brand);cursor:pointer;white-space:nowrap;background:#fff;border:1px solid #d7ccff;border-radius:8px;padding:0 14px;font-weight:800}.settings-inline-form button:hover{background:var(--brand-soft)}.settings-check-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.settings-check-list label{border:1px solid var(--line);background:#fbfcff;border-radius:8px;align-items:center;gap:10px;min-height:42px;padding:0 12px;font-weight:700;display:flex}.settings-check-list input{width:16px;height:16px;accent-color:var(--brand)}.settings-toggle-list{gap:10px;display:grid}.settings-toggle-row{border:1px solid var(--line);min-height:46px;color:var(--ink);cursor:pointer;text-align:left;background:#fbfcff;border-radius:8px;justify-content:space-between;align-items:center;gap:14px;padding:0 12px;font-weight:700;display:flex}.settings-toggle-row i{color:#64748b;text-align:center;background:#eef2f7;border-radius:999px;min-width:44px;padding:4px 8px;font-size:.78rem;font-style:normal;font-weight:850}.settings-toggle-row.enabled{background:#f0fdf4;border-color:#b7efc5}.settings-toggle-row.enabled i{color:#067647;background:#dcfae6}.settings-chip-list.compact{gap:8px}.status-chip{color:var(--brand);background:#fbfaff;padding:6px}.status-chip strong{padding:0 4px}.settings-empty-panel{border:1px solid var(--line);min-height:360px;color:var(--muted);text-align:center;background:#fffffff5;border-radius:10px;align-content:center;place-items:center;gap:12px;display:grid}.settings-empty-panel>span{color:var(--brand)}.settings-empty-panel h2{color:var(--ink);margin:0}.settings-empty-panel p{max-width:420px;margin:0;line-height:1.6}.team-settings-grid{grid-template-columns:minmax(300px,400px) minmax(0,1fr);gap:18px;padding:22px 30px 30px;display:grid}.team-form-card,.team-list-card{min-height:520px}.team-form{gap:14px;display:grid}.team-form label{gap:7px;display:grid}.team-form span{color:#475569;font-size:.84rem;font-weight:780}.team-form input,.team-form select{border:1px solid var(--line);min-width:0;min-height:44px;color:var(--ink);background:#fff;border-radius:8px;padding:0 12px;font-weight:650}.team-form input:focus,.team-form select:focus{border-color:#d7ccff;outline:0;box-shadow:0 0 0 3px #7048db1a}.team-form-actions{justify-content:flex-end;gap:10px;margin-top:18px;display:flex}.team-member-list{gap:10px;display:grid}.team-member-card{border:1px solid var(--line);background:#fbfcff;border-radius:10px;grid-template-columns:42px minmax(0,1fr) auto auto auto;align-items:center;gap:12px;padding:12px;display:grid}.team-avatar{color:#026aa2;background:#e0f2fe;border-radius:10px;place-items:center;width:42px;height:42px;font-weight:900;display:grid}.team-member-main{min-width:0}.team-member-main strong,.team-member-main small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.team-member-main strong{color:var(--ink);font-weight:820}.team-member-main small{color:var(--muted);margin-top:3px;font-size:.82rem}.team-role,.team-status{white-space:nowrap;border-radius:999px;padding:5px 10px;font-size:.78rem;font-weight:850}.team-role{color:#3538cd;background:#eef4ff}.role-admin{color:#b42318;background:#fef3f2}.role-manager{color:#854a0e;background:#fef7c3}.role-agent{color:#067647;background:#ecfdf3}.role-surveyor{color:#026aa2;background:#f0f9ff}.role-support{color:#5925dc;background:#f4f3ff}.team-status{color:#475569;background:#f1f5f9}.role-co-admin{color:#d97706;background:#fffbeb}.role-team-lead{color:#0d9488;background:#f0fdfa}.org-navigation-bar{border-bottom:1px solid var(--line);background:#fbfbfc;justify-content:space-between;align-items:center;padding:16px 30px;display:flex}.org-sub-tabs{background:#f1f5f9;border-radius:8px;gap:4px;padding:4px;display:flex}.org-sub-tab{color:#64748b;cursor:pointer;background:0 0;border:0;border-radius:6px;align-items:center;gap:8px;min-height:36px;padding:0 16px;font-size:.86rem;font-weight:700;transition:all .15s;display:inline-flex}.org-sub-tab:hover{color:var(--brand)}.org-sub-tab.active{color:var(--brand);background:#fff;box-shadow:0 4px 10px #0f172a0d}.org-header-action-group{gap:10px;display:flex}.org-primary-btn{background:var(--brand);color:#fff;cursor:pointer;border:0;border-radius:8px;align-items:center;gap:8px;min-height:38px;padding:0 16px;font-size:.84rem;font-weight:750;transition:all .15s;display:inline-flex;box-shadow:0 6px 16px #7048db29}.org-primary-btn:hover{opacity:.95;transform:translateY(-1px)}.org-secondary-btn{color:#334155;border:1px solid var(--line);cursor:pointer;background:#fff;border-radius:8px;align-items:center;gap:8px;min-height:38px;padding:0 16px;font-size:.84rem;font-weight:750;transition:all .15s;display:inline-flex}.org-secondary-btn:hover{color:var(--brand);border-color:#d7ccff}.org-teams-layout{padding:24px 30px 30px}.org-teams-grid{grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:20px;display:grid}.org-team-card-v3{border:1px solid var(--line);background:#fff;border-radius:12px;flex-direction:column;transition:all .2s;display:flex;overflow:hidden;box-shadow:0 4px 16px #0f172a05}.org-team-card-v3:hover{transform:translateY(-2px);box-shadow:0 12px 28px #0f172a14}.org-team-card-header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;padding:16px 20px;display:flex}.org-team-card-header strong{color:var(--ink);font-size:1.05rem;font-weight:800}.org-team-card-body{flex-direction:column;flex:1;gap:16px;padding:18px 20px;display:flex}.org-team-lead-row{background:#f8fafc;border-radius:8px;align-items:center;gap:12px;padding:10px 12px;display:flex}.org-team-lead-row .team-avatar{border-radius:8px;width:36px;height:36px;font-size:.76rem}.org-team-lead-info{flex-direction:column;display:flex}.org-team-lead-info span{color:#1e293b;font-size:.86rem;font-weight:700}.org-team-lead-info small{color:var(--muted);font-size:.74rem}.org-team-members-list{flex-direction:column;gap:8px;display:flex}.org-team-members-list h5{color:var(--muted);text-transform:uppercase;letter-spacing:.03em;margin:0;font-size:.78rem;font-weight:800}.org-team-member-item{border-bottom:1px dashed #f1f5f9;justify-content:space-between;align-items:center;gap:10px;padding:6px 0;display:flex}.org-team-member-item:last-child{border-bottom:0}.org-team-member-item .member-profile{align-items:center;gap:8px;display:flex}.org-team-member-item .team-avatar{border-radius:50%;width:28px;height:28px;font-size:.64rem}.org-team-member-item span{color:#475569;font-size:.84rem;font-weight:650}.org-team-member-item .team-role-tag{color:#475569;background:#e2e8f0;border-radius:999px;padding:2px 8px;font-size:.74rem;font-weight:750}.org-team-member-item .team-role-tag.admin{color:#e11d48;background:#fff1f2}.org-users-layout{padding:24px 30px 30px}.org-user-table-card{border:1px solid var(--line);background:#fff;border-radius:12px;overflow:hidden}.org-table{border-collapse:collapse;text-align:left;width:100%}.org-table th{color:#475569;text-transform:uppercase;letter-spacing:.03em;border-bottom:1px solid var(--line);background:#f8fafc;padding:14px 20px;font-size:.8rem;font-weight:800}.org-table td{border-bottom:1px solid var(--line);vertical-align:middle;padding:14px 20px}.org-table tr:last-child td{border-bottom:0}.org-table-user{align-items:center;gap:12px;display:flex}.org-table-user .team-avatar{border-radius:8px;width:38px;height:38px;font-size:.78rem}.org-table-user-info{flex-direction:column;display:flex}.org-table-user-info strong{color:var(--ink);font-size:.88rem;font-weight:750}.org-table-user-info small{color:var(--muted);font-size:.76rem}.org-team-badge{color:#334155;background:#f1f5f9;border-radius:6px;align-items:center;gap:6px;padding:4px 10px;font-size:.78rem;font-weight:700;display:inline-flex}.org-team-badge.unassigned{color:#e11d48;background:#fff1f2}.org-inline-add-card{border:1px dashed var(--brand);background:var(--brand-soft);border-radius:12px;align-items:center;gap:12px;margin-bottom:20px;padding:16px 20px;display:flex}.org-inline-add-card input{border:1px solid var(--line);background:#fff;border-radius:8px;flex:1;min-height:40px;padding:0 12px;font-weight:600}.org-drawer-backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:1000;opacity:0;visibility:hidden;background:#0f172a66;justify-content:flex-end;width:100vw;height:100vh;transition:all .25s cubic-bezier(.16,1,.3,1);display:flex;position:fixed;top:0;left:0}.org-drawer-backdrop.open{opacity:1;visibility:visible}.org-drawer{background:#fff;flex-direction:column;width:540px;max-width:100%;height:100%;transition:transform .25s cubic-bezier(.16,1,.3,1);display:flex;transform:translate(100%);box-shadow:-10px 0 40px #0f172a1f}.org-drawer-backdrop.open .org-drawer{transform:translate(0)}.org-drawer-header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;padding:20px 24px;display:flex}.org-drawer-header h2{color:var(--ink);margin:0;font-size:1.15rem;font-weight:800}.org-drawer-close{color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;width:32px;height:32px;display:grid}.org-drawer-close:hover{color:var(--ink);background:#f1f5f9}.org-drawer-body{flex-direction:column;flex:1;gap:20px;padding:24px;display:flex;overflow-y:auto}.org-drawer-footer{border-top:1px solid var(--line);background:#f8fafc;justify-content:flex-end;gap:12px;padding:16px 24px;display:flex}.access-permissions-section{border-top:1px solid var(--line);flex-direction:column;gap:4px;padding-top:20px;display:flex}.access-permissions-title{color:var(--ink);margin:0;font-size:1rem;font-weight:800}.access-permissions-subtitle{color:var(--muted);margin:0 0 16px;font-size:.8rem;line-height:1.4}.permission-group{margin-bottom:16px}.permission-group h4{color:#1e293b;margin:0 0 10px;font-size:.9rem;font-weight:780}.permission-list-layout{border:1px solid var(--line);background:#f8fafc;border-radius:8px;grid-template-columns:repeat(2,1fr);gap:8px 16px;padding:12px 14px;display:grid}.team-form label.permission-list-item{border:1px solid var(--line)!important;cursor:pointer!important;background:#fff!important;border-radius:8px!important;flex-direction:row!important;align-items:center!important;gap:10px!important;margin:0!important;padding:8px 12px!important;transition:all .15s!important;display:flex!important}.team-form label.permission-list-item:hover{background:#f1f5f9!important;border-color:#cbd5e1!important}.team-form label.permission-list-item input[type=checkbox]{width:18px!important;height:18px!important;min-height:18px!important;max-height:18px!important;accent-color:var(--brand)!important;cursor:pointer!important;flex-shrink:0!important;margin:0!important}.team-form label.permission-list-item span{color:#334155!important;margin:0!important;padding:0!important;font-size:.88rem!important;font-weight:600!important}.team-form label.permission-list-item.checked{background:var(--brand-soft)!important;border-color:var(--brand)!important}.team-form label.permission-list-item.checked span{color:var(--brand)!important;font-weight:700!important}.org-chart-wrap{padding:30px;overflow-x:auto}.org-chart{flex-direction:column;align-items:center;gap:0;min-width:600px;display:flex}.org-chart-level{justify-content:center;gap:20px;display:flex;position:relative}.org-chart-connector{background:#d7ccff;width:2px;height:28px;margin:0 auto}.org-chart-h-line{background:#d7ccff;height:2px;margin-bottom:0}.org-chart-branch{flex-direction:column;align-items:center;display:flex}.org-chart-children{gap:16px;display:flex;position:relative}.org-chart-children:before{content:"";width:0;height:0;position:absolute;top:0;left:50%}.org-chart-node{border:1px solid var(--line);text-align:center;background:#fff;border-radius:12px;flex-direction:column;align-items:center;gap:6px;min-width:120px;padding:16px 14px 12px;transition:box-shadow .14s,transform .14s;display:flex;box-shadow:0 8px 20px #0f172a0a}.org-chart-node:hover{transform:translateY(-3px);box-shadow:0 14px 32px #0f172a1a}.org-chart-node.admin-node{background:linear-gradient(#fbfaff,#fff);border-color:#d7ccff}.org-chart-node .team-avatar{border-radius:50%;width:44px;height:44px;font-size:.82rem}.org-chart-node strong{color:var(--ink);text-overflow:ellipsis;white-space:nowrap;max-width:110px;font-size:.82rem;font-weight:740;display:block;overflow:hidden}.org-chart-node small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;max-width:110px;font-size:.72rem;display:block;overflow:hidden}.org-chart-group{flex-direction:column;align-items:center;gap:0;display:flex}.org-chart-group-label{color:var(--muted);text-transform:uppercase;letter-spacing:.04em;margin-bottom:8px;font-size:.72rem;font-weight:800}.org-unassigned-section{text-align:center;border-top:1px dashed #d7ccff;width:100%;margin-top:24px;padding-top:20px}.org-unassigned-section h4{color:var(--muted);text-transform:uppercase;letter-spacing:.03em;margin:0 0 12px;font-size:.82rem;font-weight:750}.org-unassigned-grid{flex-wrap:wrap;justify-content:center;gap:12px;display:flex}@media (width<=860px){.org-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=520px){.org-stats-grid,.org-teams-grid{grid-template-columns:1fr}.org-view-bar{padding:14px 16px 0}.org-teams-heading{padding:18px 16px 0}.org-teams-grid{padding:12px 16px 20px}.org-chart-wrap{padding:16px}}.org-role-selector-group{flex-direction:column;gap:8px;display:flex}.org-input-label{color:#475569;font-size:.84rem;font-weight:780}.org-role-cards-grid{grid-template-columns:repeat(2,1fr);gap:12px;display:grid}.org-role-card{text-align:left;border:1px solid var(--line);cursor:pointer;background:#fff;border-radius:10px;flex-direction:column;align-items:flex-start;width:100%;padding:14px;transition:all .18s;display:flex}.org-role-card:hover{background:#f8fafc;border-color:#cbd5e1}.org-role-card.selected{border-color:var(--brand);background:var(--brand-soft);box-shadow:0 0 0 3px #7048db1a}.role-card-header{justify-content:space-between;align-items:center;width:100%;margin-bottom:4px;display:flex}.role-card-header strong{color:var(--ink);font-size:.88rem;font-weight:800}.org-role-card.selected .role-card-header strong{color:var(--brand)}.role-selected-dot{background:var(--brand);border-radius:50%;width:10px;height:10px;box-shadow:0 0 8px #7048db66}.org-role-card small{color:var(--muted);font-size:.74rem;line-height:1.4}.org-team-role-group{flex-direction:column;gap:8px;display:flex}.org-team-role-segmented{border:1px solid var(--line);background:#f1f5f9;border-radius:8px;padding:4px;display:flex}.org-team-role-btn{color:#64748b;cursor:pointer;background:0 0;border:0;border-radius:6px;flex:1;min-height:38px;font-size:.84rem;font-weight:700;transition:all .15s}.org-team-role-btn:hover{color:var(--brand)}.org-team-role-btn.active{color:var(--brand);background:#fff;box-shadow:0 4px 10px #0f172a0d}.org-team-lead-select-wrapper{flex-direction:column;gap:6px;display:flex}.org-card-input-label{text-transform:uppercase;letter-spacing:.03em;font-size:.72rem;font-weight:800}.org-card-select-container{align-items:center;gap:8px;display:flex}.org-card-select{border:1px solid var(--line);min-height:36px;color:var(--ink);cursor:pointer;background:#fff;border-radius:8px;flex:1;padding:0 8px;font-size:.84rem;font-weight:650}.org-card-select:focus{border-color:#d7ccff;outline:0}.org-member-actions-row{align-items:center;gap:8px;display:flex}.org-member-action-btn{cursor:pointer;background:0 0;border:0;border-radius:4px;padding:2px 6px;font-size:.72rem;font-weight:750;transition:all .15s}.org-member-action-btn.promote{color:#0d9488;background:#f0fdfa;border:1px solid #ccfbf1}.org-member-action-btn.promote:hover{color:#0f766e;background:#ccfbf1}.org-member-action-btn.remove{color:#b42318;background:#fef3f2;border:1px solid #fee2e2;place-items:center;width:22px;height:22px;padding:0;display:grid}.org-member-action-btn.remove:hover{color:#912018;background:#fee2e2}.org-team-add-member-wrapper{border-top:1px dashed var(--line);margin-top:6px;padding-top:12px}.org-card-select-add-member{border:1px dashed var(--line);width:100%;min-height:34px;color:var(--brand);cursor:pointer;text-align:center;background:#f8fafc;border-radius:8px;padding:0 10px;font-size:.8rem;font-weight:750;transition:all .15s}.org-card-select-add-member:hover{border-color:var(--brand);background:#fff}@keyframes slideInRight{0%{transform:translate(100%)}to{transform:translate(0)}}@keyframes modalFadeIn{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}.convert-project-body .form-row.two-cols>.form-group,.convert-project-body .form-row.three-cols>.form-group{flex:1}.search-box-wrapper input::-webkit-search-decoration{appearance:none}.search-box-wrapper input::-webkit-search-cancel-button{appearance:none}.search-box-wrapper input::-webkit-search-results-button{appearance:none}.search-box-wrapper input::-webkit-search-results-decoration{appearance:none}@keyframes slideIn{0%{transform:translate(100%)}to{transform:translate(0)}}@media (width<=992px){.details-page-grid{grid-template-columns:1fr}}@media (width<=576px){.details-metadata-grid{grid-template-columns:1fr;gap:16px}}.empty-notes-state,.empty-linked-state{color:#9ca3af;text-align:center;background:0 0;border:none;padding:36px 16px;font-size:14px;line-height:1.5}@media (width<=768px){.details-metadata-grid{grid-template-columns:1fr;gap:16px}}@media (width<=600px){.ticket-topbar{flex-direction:column;align-items:flex-start;gap:12px}.ticket-topbar-actions{flex-wrap:wrap;justify-content:flex-start;width:100%}.header-meta-actions-row{flex-direction:column;align-items:stretch;gap:10px}.header-meta-action-item{justify-content:space-between}.header-inline-select{width:60%}}@media (width<=576px){.ticket-page{gap:12px;padding:12px}.details-page-active{padding:16px}.details-header-title{font-size:20px}.details-card,.sidebar-card{padding:16px}.ticket-details-drawer{width:100%!important}}@media (width<=480px){.ticket-filters-bar{flex-direction:column;align-items:stretch;gap:8px}.search-box-wrapper,.view-menu-wrapper{width:100%}.view-filter-btn{justify-content:center;width:100%}.attachment-file-row{gap:8px;padding:10px}.attachment-file-icon-wrapper{width:30px;height:30px;font-size:14px}.attachment-file-name{font-size:12px}.attachment-file-size{font-size:10px}.note-item-bubble{padding:10px}.note-author{font-size:11px}.note-time{font-size:10px}.note-content-text{font-size:12px}.ticket-timeline-item{flex-wrap:wrap;gap:8px}.ticket-timeline-date{width:100%;margin-top:-4px;padding-left:54px;font-size:11px}.ticket-timeline-icon{width:34px;min-width:34px;height:34px}.empty-attachments-dropzone,.empty-attachments-state{padding:24px 12px}.dropzone-text,.empty-attachments-text,.dropzone-cta,.empty-attachments-cta{font-size:13px}}.dashboard-container{background:0 0;flex-direction:column;gap:24px;padding:24px 28px;animation:.35s ease-out fadeIn;display:flex}@keyframes fadeIn{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.theme-indigo{--kpi-grad-1:linear-gradient(135deg, #7048db, #4c22cc);--kpi-grad-2:linear-gradient(135deg, #3b82f6, #1d4ed8);--kpi-grad-3:linear-gradient(135deg, #10b981, #047857);--kpi-grad-4:linear-gradient(135deg, #f59e0b, #d97706);--widget-border:#7048db1a;--widget-glow:#7048db08}.theme-gold{--kpi-grad-1:linear-gradient(135deg, #eab308, #ca8a04);--kpi-grad-2:linear-gradient(135deg, #f97316, #ea580c);--kpi-grad-3:linear-gradient(135deg, #ef4444, #dc2626);--kpi-grad-4:linear-gradient(135deg, #6366f1, #4f46e5);--widget-border:#eab30826;--widget-glow:#eab3080a}.theme-emerald{--kpi-grad-1:linear-gradient(135deg, #10b981, #059669);--kpi-grad-2:linear-gradient(135deg, #06b6d4, #0891b2);--kpi-grad-3:linear-gradient(135deg, #84cc16, #65a30d);--kpi-grad-4:linear-gradient(135deg, #8b5cf6, #7c3aed);--widget-border:#10b9811f;--widget-glow:#10b98108}.layout-balanced{grid-template-columns:repeat(12,1fr);gap:20px;display:grid}.layout-balanced .widget-full{grid-column:span 12}.layout-balanced .widget-two-thirds{grid-column:span 8}.layout-balanced .widget-half{grid-column:span 6}.layout-balanced .widget-third{grid-column:span 4}.layout-kpi-focus{grid-template-columns:repeat(12,1fr);gap:20px;display:grid}.layout-kpi-focus .widget-kpis{order:-2;grid-column:span 12}.layout-kpi-focus .widget-full,.layout-kpi-focus .widget-two-thirds,.layout-kpi-focus .widget-half,.layout-kpi-focus .widget-third{grid-column:span 6}.layout-feed-focus{grid-template-columns:repeat(12,1fr);gap:20px;display:grid}.layout-feed-focus .widget-recent-leads{order:-1;grid-column:span 8}.layout-feed-focus .widget-kpis{grid-column:span 4}.layout-feed-focus .widget-full,.layout-feed-focus .widget-two-thirds,.layout-feed-focus .widget-half,.layout-feed-focus .widget-third{grid-column:span 6}.dashboard-widget-card{-webkit-backdrop-filter:blur(16px);border:1px solid var(--widget-border);background:#ffffffd9;border-radius:16px;padding:24px;transition:all .3s cubic-bezier(.4,0,.2,1);position:relative;overflow:hidden;box-shadow:0 10px 30px #0f172a08,inset 0 1px #fff9}.dashboard-widget-card:before{content:"";background:0 0;height:4px;transition:background .3s;position:absolute;top:0;left:0;right:0}.dashboard-widget-card:hover{box-shadow:0 20px 40px #0f172a12, 0 0 16px var(--widget-glow);border-color:#7048db40;transform:translateY(-4px)}.dashboard-widget-card:hover:before{background:var(--kpi-grad-1)}.widget-header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;margin-bottom:20px;padding-bottom:12px;display:flex}.widget-header h3{color:var(--ink);align-items:center;gap:8px;margin:0;font-size:1.1rem;font-weight:750;display:flex}.widget-actions{align-items:center;gap:8px;display:flex}.widget-action-btn{color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:6px;justify-content:center;align-items:center;padding:4px;transition:all .18s;display:flex}.widget-action-btn:hover{background:var(--brand-soft);color:var(--brand)}.kpi-cards-grid{grid-template-columns:repeat(4,1fr);gap:16px;width:100%;display:grid}.kpi-single-card{color:#fff;border-radius:12px;padding:20px;transition:all .25s;position:relative;overflow:hidden;box-shadow:0 10px 24px #0f172a0f}.kpi-single-card:hover{transform:scale(1.02);box-shadow:0 14px 28px #0f172a1f}.kpi-single-card:after{content:"";pointer-events:none;background:#ffffff1a;border-radius:50%;width:90px;height:90px;position:absolute;bottom:-20px;right:-20px}.kpi-card-1{background:var(--kpi-grad-1)}.kpi-card-2{background:var(--kpi-grad-2)}.kpi-card-3{background:var(--kpi-grad-3)}.kpi-card-4{background:var(--kpi-grad-4)}.kpi-label{text-transform:uppercase;letter-spacing:.5px;opacity:.9;font-size:.85rem;font-weight:600;display:block}.kpi-value{margin:8px 0 4px;font-size:2.2rem;font-weight:800;line-height:1.1;display:block}.kpi-subtext{opacity:.8;white-space:nowrap;text-overflow:ellipsis;font-size:.78rem;display:block;overflow:hidden}.pipeline-funnel-container{flex-direction:column;gap:12px;display:flex}.funnel-stage-row{cursor:pointer;border-radius:8px;align-items:center;gap:12px;padding:6px 10px;transition:all .18s;display:flex}.funnel-stage-row:hover{background:var(--brand-soft)}.funnel-stage-row.stage-active{border-left:3px solid var(--brand);background:#edf}.funnel-stage-label{width:140px;color:var(--ink);text-overflow:ellipsis;white-space:nowrap;font-size:.85rem;font-weight:600;overflow:hidden}.funnel-stage-bar-wrapper{background:var(--field);border-radius:5px;flex:1;height:10px;overflow:hidden}.funnel-stage-bar{background:var(--brand);border-radius:5px;height:100%;transition:width .8s cubic-bezier(.4,0,.2,1)}.funnel-stage-count{text-align:right;width:40px;color:var(--muted);font-size:.85rem;font-weight:700}.funnel-stage-row:hover .funnel-stage-count{color:var(--brand)}.source-breakdown-list{flex-direction:column;gap:14px;display:flex}.source-item{flex-direction:column;gap:6px;display:flex}.source-meta{justify-content:space-between;font-size:.85rem;font-weight:600;display:flex}.source-bar-outer{background:var(--field);border-radius:4px;width:100%;height:8px;overflow:hidden}.source-bar-inner{border-radius:4px;height:100%;transition:width .6s ease-out}.widget-leads-table{border-collapse:collapse;text-align:left;width:100%}.widget-leads-table th{border-bottom:2px solid var(--line);color:var(--muted);text-transform:uppercase;padding:10px 12px;font-size:.8rem;font-weight:700}.widget-leads-table td{border-bottom:1px solid var(--line);vertical-align:middle;padding:12px;font-size:.88rem}.widget-leads-table tr:last-child td{border-bottom:0}.widget-leads-table tr{transition:background .18s}.widget-leads-table tbody tr:hover{background:var(--field)}.widget-lead-name{color:var(--ink);cursor:pointer;font-weight:650}.widget-lead-name:hover{color:var(--brand);text-decoration:underline}.team-grid{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:16px;display:grid}.team-member-card{border:1px solid var(--line);background:#fff;border-radius:12px;align-items:center;gap:14px;padding:14px 18px;transition:all .2s;display:flex}.team-member-card:hover{border-color:#d7ccff;transform:translateY(-2px);box-shadow:0 6px 15px #7048db0d}.team-avatar{background:var(--brand-soft);width:44px;height:44px;color:var(--brand);border-radius:50%;place-items:center;font-size:.95rem;font-weight:700;display:grid}.team-member-info{flex:1;min-width:0}.team-member-name{color:var(--ink);text-overflow:ellipsis;white-space:nowrap;font-size:.9rem;font-weight:700;display:block;overflow:hidden}.team-member-role-row{justify-content:space-between;align-items:center;margin-top:2px;display:flex}.team-member-role{color:var(--muted);font-size:.76rem}.team-member-status-dot{border-radius:50%;width:8px;height:8px}.status-active{background:var(--success)}.status-inactive{background:var(--muted)}.team-member-stats-row{border-top:1px dashed var(--line);gap:12px;margin-top:8px;padding-top:6px;display:flex}.team-stat-item{color:var(--muted);font-size:.74rem}.team-stat-item strong{color:var(--ink)}.customizer-drawer{z-index:1000;background:#fff;flex-direction:column;width:380px;transition:transform .3s cubic-bezier(.16,1,.3,1);display:flex;position:fixed;top:0;bottom:0;right:0;transform:translate(100%);box-shadow:-10px 0 40px #0f172a26}.customizer-drawer.open{transform:translate(0)}.customizer-backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:999;background:#07142f66;animation:.25s ease-out fadeInBackdrop;position:fixed;inset:0}@keyframes fadeInBackdrop{0%{opacity:0}to{opacity:1}}.customizer-header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;padding:20px 24px;display:flex}.customizer-header h2{color:var(--ink);margin:0;font-size:1.25rem;font-weight:780}.customizer-content{flex-direction:column;flex:1;gap:24px;padding:24px;display:flex;overflow-y:auto}.customizer-section-title{text-transform:uppercase;color:var(--muted);letter-spacing:.5px;margin-bottom:14px;font-size:.8rem;font-weight:750;display:block}.layout-options-grid{grid-template-columns:repeat(3,1fr);gap:10px;display:grid}.layout-preset-btn{border:1px solid var(--line);background:var(--field);cursor:pointer;border-radius:10px;flex-direction:column;align-items:center;gap:8px;padding:12px 8px;font-size:.8rem;font-weight:650;transition:all .18s;display:flex}.layout-preset-btn:hover{background:#fff;border-color:#d7ccff}.layout-preset-btn.active{background:var(--brand-soft);border-color:var(--brand);color:var(--brand)}.layout-preset-icon{opacity:.65;width:24px;height:24px}.layout-preset-btn.active .layout-preset-icon{opacity:1}.theme-options-grid{grid-template-columns:repeat(3,1fr);gap:10px;display:grid}.theme-preset-btn{border:1px solid var(--line);cursor:pointer;background:#fff;border-radius:10px;justify-content:center;align-items:center;gap:8px;padding:10px;font-size:.82rem;font-weight:600;transition:all .15s;display:flex}.theme-preset-btn.active{border-color:var(--brand);box-shadow:0 0 0 2px var(--brand-soft)}.theme-color-preview{border-radius:50%;width:14px;height:14px}.preview-indigo{background:#7048db}.preview-gold{background:#f59e0b}.preview-emerald{background:#10b981}.widget-toggles-list{flex-direction:column;gap:12px;display:flex}.widget-toggle-row{border:1px solid var(--line);background:var(--field);border-radius:10px;justify-content:space-between;align-items:center;padding:10px 14px;transition:background .15s;display:flex}.widget-toggle-row:hover{background:#fff}.widget-toggle-label{color:var(--ink);font-size:.88rem;font-weight:600}.switch-control{width:44px;height:24px;display:inline-block;position:relative}.switch-control input{opacity:0;width:0;height:0}.switch-slider{cursor:pointer;background-color:#ccc;border-radius:24px;transition:all .3s;position:absolute;inset:0}.switch-slider:before{content:"";background-color:#fff;border-radius:50%;width:18px;height:18px;transition:all .3s;position:absolute;bottom:3px;left:3px;box-shadow:0 2px 4px #00000026}input:checked+.switch-slider{background-color:var(--brand)}input:checked+.switch-slider:before{transform:translate(20px)}.customizer-footer{border-top:1px solid var(--line);padding:20px 24px}.btn-customizer-apply{background:var(--brand);color:#fff;cursor:pointer;border:0;border-radius:8px;width:100%;min-height:44px;font-weight:650;transition:background .2s}.btn-customizer-apply:hover{background:var(--brand-dark)}.btn-dashboard-customize{min-height:38px;color:var(--brand);cursor:pointer;background:#fff;border:1px solid #d7ccff;border-radius:8px;align-items:center;gap:8px;padding:0 14px;font-weight:650;transition:all .18s;display:flex;box-shadow:0 4px 10px #7048db14}.btn-dashboard-customize:hover{background:var(--brand-soft);transform:translateY(-1px)}.widget-empty-state{text-align:center;color:var(--muted);flex-direction:column;justify-content:center;align-items:center;padding:40px 20px;display:flex}.widget-empty-icon{color:#cbd5e1;width:48px;height:48px;margin-bottom:12px}.widget-empty-title{color:var(--ink);margin-bottom:4px;font-size:.95rem;font-weight:700}.widget-empty-desc{max-width:280px;font-size:.8rem}@media (width<=1024px){.layout-balanced .widget-two-thirds,.layout-balanced .widget-half,.layout-balanced .widget-third,.layout-kpi-focus .widget-full,.layout-kpi-focus .widget-two-thirds,.layout-kpi-focus .widget-half,.layout-kpi-focus .widget-third,.layout-feed-focus .widget-recent-leads,.layout-feed-focus .widget-kpis,.layout-feed-focus .widget-full,.layout-feed-focus .widget-two-thirds,.layout-feed-focus .widget-half,.layout-feed-focus .widget-third{grid-column:span 12}.kpi-cards-grid{grid-template-columns:repeat(2,1fr)}}@media (width<=640px){.dashboard-container{gap:16px;padding:16px}.kpi-cards-grid{grid-template-columns:1fr}.customizer-drawer{width:100%}}@media (width<=960px){.app-header{grid-template-columns:1fr;gap:12px}.header-left,.search-box,.header-actions{width:100%}.header-actions{flex-wrap:wrap;justify-content:flex-start}.compact-action{flex:160px}.metric-grid,.panel-grid{grid-template-columns:1fr}.lead-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.lead-detail-hero{flex-direction:column;align-items:flex-start}.lead-detail-actions{justify-content:flex-start;width:100%}.lead-detail-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.lead-detail-metrics article:nth-child(2){border-right:0}.lead-detail-metrics article:nth-child(-n+2){border-bottom:1px solid var(--line)}.lead-detail-grid,.lead-detail-timeline ol{grid-template-columns:1fr}.lead-record-main{grid-template-columns:108px minmax(0,1fr);align-items:start}.lead-record-avatar{width:96px;height:96px}.lead-record-heading{flex-direction:column}.lead-record-facts,.lead-detail-workbench,.lead-board-hero,.lead-board-content{grid-template-columns:1fr}.lead-board-insights{grid-template-columns:repeat(2,minmax(0,1fr))}.lead-board-facts{grid-template-columns:repeat(3,minmax(0,1fr))}.lead-record-facts article{border-right:0;border-bottom:1px solid var(--line);min-height:auto;margin-right:0;padding:10px 0}.lead-record-facts article:last-child{border-bottom:0}.settings-grid{grid-template-columns:1fr}.lead-settings-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.lead-settings-workspace{grid-template-columns:1fr}.lead-settings-nav{padding-bottom:4px;display:flex;overflow-x:auto}.lead-settings-nav-item{min-width:220px}.column-card-list{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-heading{flex-direction:column}.settings-draft-pop,.team-settings-grid{grid-template-columns:1fr}.team-form-card,.team-list-card{min-height:auto}.lead-toolbar{flex-wrap:wrap;align-items:stretch}.lead-search{flex:100%}.lead-table{min-width:1680px}.lead-stage-col{width:170px}.stage-summary-button{min-height:32px;padding:0 10px;font-size:.76rem}.assigned-chip{max-width:128px;min-height:32px;font-size:.76rem}}@media (width<=860px){.app-shell{grid-template-columns:1fr;gap:20px;padding:24px 0}.brand-panel{min-height:auto;padding:28px}.auth-card{margin:0}.panel-shell,.panel-shell.sidebar-collapsed-shell{grid-template-columns:68px minmax(0,1fr)}.icon-rail{width:68px;padding-left:10px;padding-right:10px;display:flex}.panel-sidebar{opacity:0;pointer-events:none;width:min(280px,100vw - 68px);position:absolute;top:0;bottom:0;left:68px;transform:translate(-14px)}.panel-shell:not(.sidebar-collapsed-shell) .panel-sidebar,.icon-rail:hover+.panel-sidebar,.panel-sidebar:hover{opacity:1;pointer-events:auto;transform:translate(0);box-shadow:24px 0 48px #0f172a1f}.panel-shell:not(.sidebar-collapsed-shell):after{z-index:12;content:"";pointer-events:none;background:#0f172a47;position:absolute;inset:0}.icon-rail,.panel-content{position:relative}.icon-rail,.panel-sidebar{z-index:20}.panel-content{z-index:1}}@media (width<=520px){.app-shell{width:min(100% - 20px,1120px)}.brand-panel,.auth-card{padding:20px}.app-header,.page-title,.metric-grid,.panel-grid{padding-left:16px;padding-right:16px}.panel-shell,.panel-shell.sidebar-collapsed-shell{grid-template-columns:60px minmax(0,1fr)}.icon-rail{width:60px;padding-left:8px;padding-right:8px}.rail-logo,.rail-item{width:40px;height:40px}.panel-sidebar{width:min(272px,100vw - 60px);left:60px}.status-grid{grid-template-columns:1fr}.header-user{border-left:0;flex:100%;max-width:none;margin-left:0;padding-left:0}.lead-page{padding:18px 16px}.settings-page{padding:18px 16px 24px}.settings-topbar{margin-bottom:16px}.settings-tab{min-height:44px;padding:0 12px}.settings-heading,.settings-grid,.lead-settings-summary,.lead-settings-workspace,.team-settings-grid{padding-left:16px;padding-right:16px}.lead-settings-summary{grid-template-columns:1fr}.lead-settings-nav-item{min-width:205px}.feature-settings-card{min-height:auto;padding:16px}.stage-flow-item{grid-template-columns:38px minmax(0,1fr)}.stage-flow-item .settings-icon-actions{grid-column:2/3;justify-self:start}.settings-check-list{grid-template-columns:1fr}.settings-inline-form{flex-direction:column}.label-inline-form{align-items:stretch}.team-form-actions{flex-direction:column}.team-member-card{grid-template-columns:42px minmax(0,1fr) auto}.team-role,.team-status{grid-column:2/3;justify-self:start}.team-member-card .settings-icon-actions{grid-area:1/3/4/4}.lead-topbar{flex-direction:column}.lead-detail-nav{flex-direction:column;align-items:flex-start}.lead-detail-hero,.lead-detail-card{padding:16px}.lead-detail-identity{grid-template-columns:48px minmax(0,1fr);gap:12px}.lead-detail-avatar{width:48px;height:48px}.lead-detail-actions .primary-action,.lead-detail-actions .secondary-action{flex:150px}.lead-detail-metrics{grid-template-columns:1fr}.lead-detail-metrics article{border-right:0;border-bottom:1px solid var(--line)}.lead-detail-metrics article:last-child{border-bottom:0}.lead-detail-list div{grid-template-columns:1fr;gap:5px}.lead-record-card{padding:16px}.lead-record-main{grid-template-columns:1fr;gap:14px}.lead-record-avatar{width:72px;height:72px;font-size:1rem}.lead-record-actions,.record-icon-action{flex:42px}.record-square-action{flex:70px}.lead-contact-line{gap:6px;display:grid}.lead-contact-line span:not(:last-child):after{content:"";margin-left:0}.lead-activity-counts,.lead-info-panel dl,.followup-detail-box,.lead-board-facts,.lead-board-insights,.lead-snapshot-grid{grid-template-columns:1fr}.lead-board-card,.lead-board-panel{padding:14px}.lead-profile-top{grid-template-columns:52px minmax(0,1fr)}.lead-board-avatar{width:52px;height:52px;font-size:.95rem}.lead-next-actions .primary-action,.lead-next-actions .secondary-action{flex:100%}.lead-activity-counts article{border-right:0;border-bottom:1px solid var(--line)}.lead-activity-counts article:last-child{border-bottom:0}.lead-top-actions{flex-wrap:wrap;width:100%}.lead-top-actions .primary-action,.lead-top-actions .secondary-action{flex:140px}.lead-summary{grid-template-columns:1fr}.lead-summary article{border-right:0;border-bottom:1px solid var(--line)}.lead-summary article:last-child{border-bottom:0}.lead-table-footer{flex-direction:column;align-items:flex-start;padding:14px 16px}.lead-bulk-actions{flex-wrap:wrap;width:100%}.lead-label-options{grid-template-columns:1fr}.lead-label-panel-actions{flex-direction:column}}.panel-shell{grid-template-columns:292px minmax(0,1fr)}.panel-shell.sidebar-collapsed-shell{grid-template-columns:66px minmax(0,1fr)}.panel-sidebar{gap:8px;width:272px;height:calc(100vh - 16px);margin:8px;padding:13px 10px}.sidebar-collapsed-shell .panel-sidebar{border-left:0;border-top-left-radius:0;border-bottom-left-radius:0;width:58px;height:100vh;margin-top:0;margin-bottom:0;margin-left:0;padding-left:7px;padding-right:7px}.brand-logo-mark{border-radius:8px;width:30px;height:30px;font-size:.7rem}.brand-mini{font-size:1.04rem}.sidebar-brand-row{min-height:38px;padding:0 6px}.sidebar-mini-button{width:30px;height:30px}.sidebar-search{border-radius:9px;min-height:38px;padding:0 9px}.sidebar-search input{min-height:34px;font-size:.88rem}.sidebar-search kbd{padding:1px 6px;font-size:.68rem}.sidebar-group{gap:3px;padding-top:10px}.sidebar-group-title{padding:0 10px 5px;font-size:.76rem}.sidebar-collapsed-shell .panel-link,.sidebar-collapsed-shell .sidebar-mini-button,.sidebar-collapsed-shell .profile-chip>span{width:40px;height:40px;min-height:40px}.profile-chip{min-height:48px;padding:6px}.profile-chip>span{width:36px;height:36px;font-size:.76rem}.profile-chip strong{font-size:.8rem}.profile-chip small{font-size:.72rem}.app-header{min-height:72px;padding:12px 22px}.header-title strong{font-size:.9rem}.header-title span{font-size:.72rem}.sidebar-toggle,.header-icon-button{width:38px;height:38px}.search-box{min-height:42px}.search-box input{min-height:38px;font-size:.88rem}.compact-action{min-height:40px;padding:0 15px}.page-title h1,.lead-topbar h1,.settings-heading h1{font-size:clamp(1.45rem,2vw,2rem)}.page-title p:not(.breadcrumb),.lead-topbar p,.settings-heading p{font-size:.9rem}.lead-page,.settings-page{padding:22px 24px}.lead-summary article,.metric-grid article{min-height:76px;padding:14px 16px}.lead-summary strong,.metric-grid strong{font-size:1.28rem}.lead-table{font-size:.83rem}.lead-table th{height:42px;font-size:.68rem}.lead-table th,.lead-table td{padding:10px 12px}.lead-person strong{font-size:.86rem}.lead-person span{font-size:.74rem}.stage-summary-button,.assigned-chip,.estimate-status{min-height:28px;font-size:.72rem}@media (width<=860px){.panel-shell.sidebar-collapsed-shell{grid-template-columns:78px minmax(0,1fr)}.panel-shell:not(.sidebar-collapsed-shell){grid-template-columns:min(284px,100vw - 20px) minmax(0,1fr)}}@media (width<=680px){.lead-member-row{grid-template-columns:38px minmax(0,1fr) 30px;padding:10px}.lead-member-row small{grid-column:2/3}.member-check{grid-area:1/3/3/4}.activity-type-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.activity-type-card{min-height:116px}}@media (width<=420px){.activity-type-grid{grid-template-columns:1fr}.activity-type-card{text-align:left;grid-template-columns:42px minmax(0,1fr);justify-items:start;min-height:92px}.followup-preview{flex-direction:column;align-items:flex-start}.activity-timeline li{grid-template-columns:36px minmax(0,1fr)}.timeline-row-title{align-items:center}}@media (width<=860px){.panel-shell{grid-template-columns:min(300px,100vw - 24px) minmax(0,1fr);gap:0;padding:0}.panel-shell.sidebar-collapsed-shell{grid-template-columns:66px minmax(0,1fr);gap:0;padding:0}.icon-rail{display:none!important}.panel-sidebar,.sidebar-collapsed-shell .panel-sidebar{opacity:1;pointer-events:auto;position:relative;top:auto;bottom:auto;left:auto;transform:none}.panel-shell:not(.sidebar-collapsed-shell):after{display:none}.panel-content{z-index:1}}@media (width<=520px){.panel-shell.sidebar-collapsed-shell{grid-template-columns:66px minmax(0,1fr)}.sidebar-collapsed-shell .panel-sidebar{border-left:0;border-top-left-radius:0;border-bottom-left-radius:0;width:58px;height:100vh;margin-top:0;margin-bottom:0;margin-left:0}.sidebar-collapsed-shell .panel-link,.sidebar-collapsed-shell .sidebar-mini-button,.sidebar-collapsed-shell .profile-chip>span{width:40px;height:40px;min-height:40px}}@media (width<=720px){.lead-create-drawer{width:100%}.lead-create-head{padding:22px 18px 16px}.lead-create-form{grid-template-columns:1fr;gap:14px;padding:20px 18px 24px}.lead-create-field,.lead-create-field-full{grid-column:1/-1}.lead-create-label-options button{min-height:36px}}:root{--ui-font:"Inter", "Aptos", "Segoe UI Variable", "Segoe UI", Roboto, Arial, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;--ui-ink:#101828;--ui-muted:#667085;--ui-soft:#f8fafc}body{font-family:var(--ui-font);letter-spacing:0;font-size:13px;line-height:1.42}.panel-shell{font-family:var(--ui-font);color:var(--ui-ink);grid-template-columns:236px minmax(0,1fr)}.panel-shell :where(h1,h2,h3,h4,p,span,small,button,input,textarea,select,label,th,td):not(.proposal-pdf-stage *):not(.proposal-pdf-sheet *){letter-spacing:0}.panel-shell :where(h1):not(.proposal-pdf-stage *):not(.proposal-pdf-sheet *){font-size:clamp(1.35rem,1.9vw,1.9rem);font-weight:720;line-height:1.14}.panel-shell :where(h2):not(.proposal-pdf-stage *):not(.proposal-pdf-sheet *){font-size:clamp(1rem,1.25vw,1.18rem);font-weight:680;line-height:1.2}.panel-shell :where(h3):not(.proposal-pdf-stage *):not(.proposal-pdf-sheet *){font-size:.98rem;font-weight:650;line-height:1.25}.panel-shell :where(strong,b,th,label):not(.proposal-pdf-stage *):not(.proposal-pdf-sheet *){font-weight:640}.panel-shell :where(small,.breadcrumb,.page-title p):not(.proposal-pdf-stage *):not(.proposal-pdf-sheet *){color:var(--ui-muted);font-size:.78rem;font-weight:450}.panel-shell :where(button,input,textarea,select):not(.proposal-pdf-stage *):not(.proposal-pdf-sheet *){font-size:.84rem;font-weight:520}.panel-sidebar{gap:6px;width:236px;padding:18px 12px 14px}.panel-sidebar .brand-lockup{min-height:36px;margin-bottom:12px}.brand-logo-mark{width:34px;height:34px;font-size:.72rem;font-weight:650}.brand-mini{font-size:.98rem;font-weight:650}.sidebar-group-title{margin:12px 0 4px;font-size:.74rem;font-weight:600}.panel-link{border-radius:8px;gap:9px;min-height:36px;padding:0 10px;font-size:.84rem;font-weight:520}.panel-link .app-icon,.sidebar-search .app-icon,.search-box .app-icon{width:17px;height:17px}.sidebar-search{border-radius:8px;min-height:38px}.sidebar-search input,.search-box input{font-size:.84rem;font-weight:420}.profile-chip{gap:8px;margin-top:12px;padding:12px 8px}.profile-chip>span,.header-user>span{font-size:.75rem;font-weight:560}.profile-chip strong,.header-user strong{font-size:.8rem;font-weight:620}.profile-chip small,.header-user small{font-size:.74rem;font-weight:400}.app-header{grid-template-columns:minmax(190px,250px) minmax(260px,520px) minmax(300px,1fr);gap:16px;min-height:72px;padding:10px 22px}.header-title strong{font-size:.88rem;font-weight:650}.header-title span{font-size:.74rem;font-weight:400}.header-icon-button,.sidebar-toggle{border-radius:8px;width:38px;height:38px}.primary-action,.secondary-action,.compact-action,.proposal-add-button,.proposal-create-button,.proposal-back-button,.lead-action-button,.lead-sticky-action,.lead-create-submit,.settings-action-button{border-radius:8px;min-height:38px;font-size:.84rem;font-weight:560}.page-title{padding:22px 28px 18px}.page-title h1{margin-top:4px;font-size:clamp(1.35rem,1.8vw,1.85rem);font-weight:700}.page-title p{font-size:.84rem;font-weight:400}.dashboard-analytics-page{padding:16px 18px 26px}.dashboard-analytics-hero h1{font-size:clamp(1.28rem,1.65vw,1.68rem);font-weight:700}.dashboard-analytics-hero p,.dashboard-analytics-hero span{font-size:.8rem;font-weight:430}.dashboard-kpi-card{min-height:122px;padding:14px}.dashboard-kpi-top,.dashboard-graph-head h2,.dashboard-status-card strong,.dashboard-performance-row strong,.dashboard-stage-cloud span,.dashboard-task-tiles span{font-weight:620}.dashboard-kpi-main strong{font-size:1.42rem;font-weight:680}.dashboard-gauge strong{font-size:2.55rem;font-weight:680}.dashboard-graph-panel{padding:14px}.dashboard-table th,.lead-table th,.proposal-table th{font-size:.74rem;font-weight:620}.dashboard-table td,.lead-table td,.proposal-table td{font-size:.84rem;font-weight:430}.lead-page h1,.followup-page h1,.follow-up-page h1,.proposal-list-head h1,.settings-page h1,.lead-board-detail h1,.lead-unified-detail h1{font-size:clamp(1.35rem,1.8vw,1.9rem);font-weight:700}.lead-board-summary strong,.lead-summary-card strong,.lead-kpi-stat strong,.followup-tab strong,.settings-summary-card strong{font-weight:650}.lead-table td strong,.proposal-table td strong,.dashboard-table td strong{font-weight:600}.stage-summary-button,.lead-source-pill,.estimate-status,.proposal-status,.assigned-chip,.lead-label-pill{font-size:.76rem;font-weight:560}.lead-table th,.lead-table td,.proposal-table th,.proposal-table td{padding-top:11px;padding-bottom:11px}.proposal-list-head h1,.proposal-view-title h1{font-size:clamp(1.25rem,1.6vw,1.65rem);font-weight:700}.proposal-search input,.lead-search input,.followup-search input{font-size:.84rem}.proposal-card h2,.proposal-custom-section h3,.template-builder-card h2,.settings-panel h2{font-size:1rem;font-weight:660}.proposal-field,.proposal-lite-field,.lead-create-field,.settings-field{font-size:.82rem;font-weight:520}.proposal-field input,.proposal-field select,.proposal-field textarea,.proposal-lite-field input,.proposal-lite-field select,.proposal-lite-field textarea,.lead-create-field input,.lead-create-field select,.lead-create-field textarea,.settings-field input,.settings-field select,.settings-field textarea{font-size:.84rem;font-weight:420}@media (width<=1180px){.panel-shell{grid-template-columns:220px minmax(0,1fr)}.panel-sidebar{width:220px}.app-header{min-height:66px;padding-inline:16px}}@media (width<=760px){body{font-size:12.5px}.page-title,.dashboard-analytics-page{padding-inline:12px}.panel-shell :where(h1):not(.proposal-pdf-stage *):not(.proposal-pdf-sheet *){font-size:clamp(1.24rem,5vw,1.58rem)}}.counter{color:var(--accent);background:var(--accent-bg);border:2px solid #0000;border-radius:5px;margin-bottom:24px;padding:5px 10px;font-size:16px;transition:border-color .3s}.counter:hover{border-color:var(--accent-border)}.counter:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.hero{position:relative}.hero .base,.hero .framework,.hero .vite{margin:0 auto;inset-inline:0}.hero .base{z-index:0;width:170px;position:relative}.hero .framework,.hero .vite{position:absolute}.hero .framework{z-index:1;height:28px;top:34px;transform:perspective(2000px)rotate(300deg)rotateX(44deg)rotateY(39deg)scale(1.4)}.hero .vite{z-index:0;width:auto;height:26px;top:107px;transform:perspective(2000px)rotate(300deg)rotateX(40deg)rotateY(39deg)scale(.8)}#center{flex-direction:column;flex-grow:1;place-content:center;place-items:center;gap:25px;display:flex}@media (width<=1024px){#center{gap:18px;padding:32px 20px 24px}}#next-steps{border-top:1px solid var(--border);text-align:left;display:flex}#next-steps>div{flex:1 1 0;padding:32px}@media (width<=1024px){#next-steps>div{padding:24px 20px}}#next-steps .icon{width:22px;height:22px;margin-bottom:16px}@media (width<=1024px){#next-steps{text-align:center;flex-direction:column}}#docs{border-right:1px solid var(--border)}@media (width<=1024px){#docs{border-right:none;border-bottom:1px solid var(--border)}}#next-steps ul{gap:8px;margin:32px 0 0;padding:0;list-style:none;display:flex}#next-steps ul .logo{height:18px}#next-steps ul a{color:var(--text-h);background:var(--social-bg);border-radius:6px;align-items:center;gap:8px;padding:6px 12px;font-size:16px;text-decoration:none;transition:box-shadow .3s;display:flex}#next-steps ul a:hover{box-shadow:var(--shadow)}#next-steps ul a .button-icon{width:18px;height:18px}@media (width<=1024px){#next-steps ul{flex-wrap:wrap;justify-content:center;margin-top:20px}#next-steps ul li{flex:calc(50% - 8px)}#next-steps ul a{box-sizing:border-box;justify-content:center;width:100%}}#spacer{border-top:1px solid var(--border);height:88px}@media (width<=1024px){#spacer{height:48px}}.ticks{width:100%;position:relative}.ticks:before,.ticks:after{content:"";border:5px solid #0000;position:absolute;top:-4.5px}.ticks:before{border-left-color:var(--border);left:0}.ticks:after{border-right-color:var(--border);right:0}.field-operations-page-fluid{width:100%;padding:24px 28px}.field-topbar{justify-content:space-between;align-items:center;margin-bottom:24px;display:flex}.field-topbar h1{color:#101828;margin:0 0 4px;font-size:28px;font-weight:700}.field-topbar p{color:#667085;margin:0;font-size:14px}.field-topbar-actions{gap:12px;display:flex}.icon-button{cursor:pointer;color:#344054;background:#fff;border:1px solid #d0d5dd;border-radius:8px;justify-content:center;align-items:center;padding:8px 12px;font-size:14px;font-weight:600;transition:all .2s;display:flex}.icon-button:hover{background:#f9fafb}.plus-button{color:#fff;cursor:pointer;background:#000;border:none;border-radius:8px;justify-content:center;align-items:center;width:36px;height:36px;font-size:16px;font-weight:700;transition:opacity .2s;display:flex}.plus-button:hover{opacity:.9}.field-stats-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;margin-bottom:32px;display:grid}.stat-card{background:#fff;border:1px solid #e2e8f0cc;border-radius:12px;justify-content:space-between;align-items:center;padding:12px 16px;transition:all .2s;display:flex;position:relative;box-shadow:0 1px 3px #0f172a04}.stat-card:hover{transform:translateY(-1.5px);box-shadow:0 4px 12px #0f172a08}.stat-card.todays-visits{border-left:3px solid #2f80ed}.stat-card.active-now{border-left:3px solid #9b51e0}.stat-card.upcoming{border-left:3px solid #eb5757}.stat-card.completed{border-left:3px solid #27ae60}.stat-card>div:first-child{flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.stat-card-title{color:#64748b;text-transform:uppercase;letter-spacing:.03em;margin:0;font-size:11px;font-weight:600;line-height:1.3}.stat-card-number{color:#0f172a;margin-top:2px;font-size:20px;font-weight:800;line-height:1.2}.stat-card-icon-wrapper{border-radius:6px;flex-shrink:0;justify-content:center;align-items:center;width:32px;height:32px;display:flex}.stat-card-icon-wrapper svg{width:15px!important;height:15px!important}.stat-card.todays-visits .stat-card-icon-wrapper{color:#2f80ed;background:#eff8ff}.stat-card.active-now .stat-card-icon-wrapper{color:#9b51e0;background:#f4f3ff}.stat-card.upcoming .stat-card-icon-wrapper{color:#eb5757;background:#fef3f2}.stat-card.completed .stat-card-icon-wrapper{color:#27ae60;background:#edfcf2}.section-container{margin-bottom:32px}.section-header{align-items:center;gap:12px;margin-bottom:16px;display:flex}.section-header h2{color:#101828;margin:0;font-size:18px;font-weight:700}.section-header p{color:#667085;margin:0;font-size:14px}.section-icon-badge{border-radius:8px;justify-content:center;align-items:center;width:40px;height:40px;display:flex}.active-section-badge{color:#e04f16;background:#fff1eb}.upcoming-section-badge{color:#7a5af8;background:#f4f3ff}.completed-section-badge{color:#12b76a;background:#edfcf2}.visits-grid{grid-template-columns:repeat(3,1fr);gap:20px;display:grid}.visit-card{background:#fff;border:1px solid #eaecf0;border-radius:12px;flex-direction:column;justify-content:space-between;padding:20px;transition:box-shadow .2s,border-color .2s;display:flex;position:relative;box-shadow:0 1px 3px #1018280d}.visit-card:hover{border-color:#cbd5e1;box-shadow:0 4px 10px #1018280f}.visit-card-header{justify-content:space-between;align-items:flex-start;margin-bottom:12px;display:flex}.visit-card-header-titles{flex:1}.visit-card-type{color:#101828;margin:0 0 4px;font-size:16px;font-weight:700}.visit-card-lead{color:#475467;margin:0;font-size:14px;font-weight:500}.visit-card-menu-button{color:#98a2b3;cursor:pointer;background:0 0;border:none;border-radius:3px;padding:0 2px;font-size:15px;line-height:1}.visit-card-menu-button:hover{color:#475467;background:#f2f4f7}.visit-card-details{flex-direction:column;gap:8px;margin:16px 0;display:flex}.visit-detail-item{color:#475467;align-items:flex-start;gap:8px;font-size:14px;line-height:1.4;display:flex}.visit-detail-item svg{color:#98a2b3;flex-shrink:0;margin-top:3px}.visit-log-container{color:#475467;background:#f8fafc;border:1px solid #f1f5f9;border-radius:6px;flex-direction:column;gap:4px;margin-bottom:12px;padding:8px 12px;font-size:12px;display:flex}.visit-log-container strong{color:#334155}.photo-count-row{color:#64748b;align-items:center;gap:6px;margin-bottom:16px;font-size:13px;font-weight:500;display:flex}.photo-count-row svg{color:#94a3b8}.visit-card-actions{gap:8px;margin-bottom:12px;display:flex}.visit-card-actions button{flex:1}.checkout-btn{color:#fff;cursor:pointer;background:#000;border:none;border-radius:6px;justify-content:center;align-items:center;gap:6px;padding:8px 14px;font-size:13px;font-weight:600;transition:opacity .2s;display:flex}.checkout-btn:hover{opacity:.9}.checkin-btn{color:#fff;cursor:pointer;background:#7a5af8;border:none;border-radius:6px;justify-content:center;align-items:center;gap:6px;padding:8px 14px;font-size:13px;font-weight:600;transition:background .2s;display:flex}.checkin-btn:hover{background:#693ec9}.notes-photos-btn{color:#344054;cursor:pointer;background:#fff;border:1px solid #d0d5dd;border-radius:6px;justify-content:center;align-items:center;gap:6px;padding:8px 14px;font-size:13px;font-weight:600;transition:background .2s;display:flex}.notes-photos-btn:hover{background:#f9fafb}.view-details-link{text-align:center;color:#475467;cursor:pointer;margin-top:10px;font-size:13px;font-weight:600;text-decoration:none;display:block}.view-details-link:hover{color:#101828;text-decoration:underline}.empty-state-panel{text-align:center;background:#fff;border:1px dashed #eaecf0;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;padding:40px;display:flex}.empty-state-panel p{color:#667085;margin:0;font-size:14px}.field-detail-container{background:#fff;border:1px solid #eaecf0;border-radius:12px;padding:24px;box-shadow:0 1px 3px #1018280d}.field-detail-header{border-bottom:1px solid #eaecf0;justify-content:space-between;align-items:center;margin-bottom:24px;padding-bottom:16px;display:flex}.field-detail-header-left{align-items:center;gap:8px;display:flex}.back-to-visits-btn{color:#344054;cursor:pointer;background:#fff;border:1px solid #d0d5dd;border-radius:8px;align-items:center;gap:6px;padding:8px 12px;font-size:14px;font-weight:600;transition:all .2s;display:flex}.back-to-visits-btn:hover{background:#f9fafb}.field-detail-title-block h2{color:#101828;margin:0 0 2px;font-size:20px;font-weight:700}.field-detail-title-block p{color:#475467;margin:0;font-size:14px;font-weight:500}.field-detail-header-right{gap:12px;display:flex}.field-detail-workbench{grid-template-columns:1.15fr .85fr;gap:24px;display:grid}.field-detail-left-pane,.field-detail-right-pane{flex-direction:column;gap:24px;display:flex}.detail-content-card{background:#fff;border:1px solid #eaecf0;border-radius:12px;padding:20px;box-shadow:0 1px 3px #1018280d}.detail-content-card-title{color:#1e293b;border-bottom:1px solid #f1f5f9;justify-content:space-between;align-items:center;margin:0 0 16px;padding-bottom:12px;font-size:15px;font-weight:700;display:flex}.detail-content-card-title svg{color:#94a3b8}.visit-info-card{background:#fff;border:1px solid #eaecf0;border-radius:12px;padding:24px;box-shadow:0 1px 3px #1018280d}.visit-info-title{color:#101828;margin:0 0 24px;font-size:18px;font-weight:700}.visit-info-grid{grid-template-columns:1fr 1fr;gap:20px 24px;display:grid}.visit-info-item{flex-direction:column;gap:4px;display:flex}.visit-info-item.full-width{grid-column:span 2}.visit-info-label{color:#667085;font-size:13px;font-weight:500}.visit-info-value{color:#101828;align-items:center;gap:8px;font-size:16px;font-weight:700;display:flex}.visit-info-value.address{color:#1d2939;font-size:15px;font-weight:500;line-height:1.5}.visit-info-value.address svg{color:#98a2b3;flex-shrink:0}.visit-info-divider{background-color:#eaecf0;height:1px;margin:24px 0}.visit-info-tracking-title{color:#475467;margin-bottom:12px;font-size:14px;font-weight:600}.visit-info-checkin-row{color:#475467;align-items:center;gap:8px;font-size:14px;font-weight:500;display:flex}.visit-info-checkin-time{color:#101828;font-weight:700}.checkin-icon-green{color:#12b76a}.checkout-icon-red{color:#d92d20}.location-arrow-icon{color:#667085}.visit-info-location-row{color:#667085;align-items:center;gap:6px;margin-top:4px;padding-left:22px;font-size:12px;display:flex}.lead-info-list{grid-template-columns:1fr 1fr;gap:12px 24px;display:grid}.lead-info-item{flex-direction:column;gap:1px;display:flex}.lead-info-item dt{color:#64748b;text-transform:uppercase;letter-spacing:.03em;font-size:11px;font-weight:600}.lead-info-item dd{color:#1e293b;margin:0;font-size:14px;font-weight:500}.notes-thread-section{flex-direction:column;gap:12px;max-height:400px;padding-right:8px;display:flex;overflow-y:auto}.note-bubble{background:#fff;border:1px solid #e2e8f0;border-radius:8px;flex-direction:column;gap:4px;padding:12px 16px;display:flex;box-shadow:0 1px 2px #00000005}.note-bubble-header{color:#94a3b8;justify-content:space-between;font-size:11px;font-weight:600;display:flex}.note-bubble-author{color:#475569;font-weight:600}.note-bubble-text{color:#334155;white-space:pre-wrap;margin:0;font-size:14px;line-height:1.5}.backdrop-overlay{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);z-index:1000;background:#1018284d;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.drawer-panel{z-index:1010;background:#fff;flex-direction:column;width:460px;animation:.25s cubic-bezier(.16,1,.3,1) slideInRight;display:flex;position:fixed;top:0;bottom:0;right:0;box-shadow:-4px 0 20px #1018281f}.drawer-header{border-bottom:1px solid #eaecf0;justify-content:space-between;align-items:center;padding:24px;display:flex}.drawer-header h2{color:#101828;margin:0;font-size:20px;font-weight:700}.drawer-body{flex-direction:column;flex:1;gap:20px;padding:24px;display:flex;overflow-y:auto}.drawer-footer{border-top:1px solid #eaecf0;justify-content:flex-end;gap:12px;padding:24px;display:flex}.dialog-panel{z-index:1020;background:#fff;border-radius:12px;flex-direction:column;width:580px;max-width:95%;max-height:90vh;animation:.18s ease-out scaleIn;display:flex;overflow:hidden;box-shadow:0 10px 24px #1018281f}@keyframes scaleIn{0%{opacity:0;transform:scale(.96)}to{opacity:1;transform:scale(1)}}.dialog-header{background:#f8fafc;border-bottom:1px solid #eaecf0;justify-content:space-between;align-items:center;padding:20px 24px;display:flex}.dialog-body{background:#fff;flex-direction:column;flex:1;gap:20px;padding:24px;display:flex;overflow-y:auto}.dialog-footer{background:#f8fafc;border-top:1px solid #eaecf0;justify-content:flex-end;gap:12px;padding:16px 24px;display:flex}@media (width<=640px){.form-grid-2col{grid-template-columns:1fr;gap:12px}}.form-field input,.form-field select,.form-field textarea{color:#101828;background:#fff;border:1px solid #d0d5dd;border-radius:8px;padding:10px 14px;font-family:inherit;font-size:14px;transition:border-color .2s,box-shadow .2s}.form-field input:focus,.form-field select:focus,.form-field textarea:focus{border-color:#7a5af8;outline:none;box-shadow:0 0 0 2px #7a5af81a}.form-field textarea{resize:vertical;min-height:80px}.directional-photos-section{border-top:1px solid #eaecf0;margin-top:4px;padding-top:20px}.directional-photos-section h4{color:#1e293b;margin:0 0 4px;font-size:15px;font-weight:700}.directional-photos-section p{color:#64748b;margin:0 0 16px;font-size:13px}.directional-photos-grid{grid-template-columns:repeat(4,1fr);gap:12px;display:grid}.directional-photo-card{aspect-ratio:1.25;cursor:pointer;background:#fafafa;border:1px dashed #cbd5e1;border-radius:8px;flex-direction:column;justify-content:center;align-items:center;padding:8px;transition:all .2s;display:flex;position:relative;overflow:hidden}.directional-photo-card:hover{background:#f1f5f9;border-color:#7a5af8}.directional-photo-card.has-photo{cursor:default;background:#fff;border:1px solid #e2e8f0;padding:0}.directional-photo-card img{object-fit:cover;width:100%;height:100%;display:block}.directional-title-overlay{color:#fff;z-index:2;background:#000000a6;border-radius:4px;padding:2px 6px;font-size:11px;font-weight:600;position:absolute;top:8px;left:8px}.directional-title-tag{color:#475467;text-align:center;margin-bottom:4px;font-size:12px;font-weight:600}.directional-photo-card svg{color:#94a3b8;margin-bottom:4px}.directional-photo-card span{color:#64748b;font-size:11px}.delete-directional-btn{color:#fff;cursor:pointer;z-index:3;background:#ef4444e6;border:none;border-radius:11px;justify-content:center;align-items:center;width:22px;height:22px;font-size:12px;font-weight:700;display:flex;position:absolute;top:8px;right:8px;box-shadow:0 1px 2px #0000001a}.delete-directional-btn:hover{background:#dc2626}.attached-quotations-section{flex-direction:column;gap:12px;display:flex}.attached-quotations-section h4{color:#1e293b;margin:0;font-size:14px;font-weight:700}.attached-quotation-card{background:#fafafc;border:1px solid #e2e8f0;border-radius:8px;justify-content:space-between;align-items:center;padding:10px 14px;display:flex;box-shadow:0 1px 2px #00000005}.attached-quotation-info{flex-direction:column;gap:1px;display:flex}.attached-quotation-info strong{color:#1e293b;font-size:13.5px;font-weight:600}.attached-quotation-info small{color:#64748b;font-size:11.5px}.attached-quotation-status{text-transform:uppercase;border-radius:4px;margin-left:6px;padding:2px 6px;font-size:10px;font-weight:600}.attached-quotation-status.draft{color:#475467;background:#e2e8f0}.attached-quotation-status.approved{color:#027a48;background:#ecfdf3}.attached-quotation-status.in-progress{color:#b27b16;background:#fef8e8}.attached-quotations-empty{color:#64748b;text-align:center;background:#f8fafc;border:1px dashed #e2e8f0;border-radius:6px;padding:12px;font-size:13px}.visit-activity-section{flex-direction:column;flex:1;gap:12px;display:flex}.visit-activity-section h4{color:#1e293b;margin:0;font-size:14px;font-weight:700}.visit-timeline-list{border-left:2px solid #e2e8f0;flex-direction:column;gap:12px;max-height:250px;margin-left:6px;padding-left:16px;display:flex;position:relative;overflow-y:auto}.visit-timeline-item{font-size:13px;position:relative}.visit-timeline-bullet{z-index:2;border:2px solid #fff;border-radius:4px;width:8px;height:8px;position:absolute;top:6px;left:-21px}.visit-timeline-item.visit-scheduled .visit-timeline-bullet{background:#7a5af8}.visit-timeline-item.checked-in .visit-timeline-bullet{background:#e04f16}.visit-timeline-item.checked-out .visit-timeline-bullet{background:#12b76a}.visit-timeline-item.note-added .visit-timeline-bullet{background:#3538cd}.visit-timeline-item.photo-uploaded .visit-timeline-bullet{background:#0284c7}.visit-timeline-item.photo-removed .visit-timeline-bullet{background:#ef4444}.visit-timeline-header{color:#64748b;justify-content:space-between;margin-bottom:4px;display:flex}.visit-timeline-header strong{color:#334155;font-weight:600}.visit-timeline-header small{font-size:11px}.visit-timeline-summary{color:#475467;margin:0 0 2px}.visit-timeline-author{color:#94a3b8;font-size:11px;font-weight:500}@media (width<=1024px){.field-operations-page-fluid{padding:22px 24px}.visits-grid{grid-template-columns:repeat(2,1fr)}.field-detail-workbench{grid-template-columns:1fr;gap:16px}.directional-photos-grid{grid-template-columns:repeat(2,1fr)}}@media (width<=640px){.field-operations-page-fluid{padding:16px 12px}.visits-grid{grid-template-columns:1fr}.field-topbar{flex-direction:column;align-items:flex-start;gap:12px}.drawer-panel{width:100%}.directional-photos-grid{grid-template-columns:1fr}}.visit-card-header-right{align-items:center;gap:6px;display:flex;position:relative}.visit-menu-container{z-index:100;background:#fff;border:1px solid #eaecf0;border-radius:6px;flex-direction:column;min-width:100px;padding:4px;display:flex;position:absolute;top:22px;right:0;box-shadow:0 4px 12px #10182814}.visit-menu-item{text-align:left;color:#344054;cursor:pointer;background:0 0;border:none;border-radius:4px;width:100%;padding:6px 10px;font-size:11px;font-weight:600;transition:all .15s}.visit-menu-item:hover{color:#101828;background:#f9fafb}.visit-menu-item.danger-action{color:#b42318}.visit-menu-item.danger-action:hover{color:#b42318;background:#fff5f5}.visit-details-card{background:#fff;border:1px solid #eaecf0;border-radius:12px;padding:24px;position:relative;box-shadow:0 1px 3px #1018280d}.visit-details-header{justify-content:space-between;align-items:center;margin-bottom:20px;display:flex}.visit-details-title{color:#101828;margin:0;font-size:18px;font-weight:700}.visit-details-edit-btn{color:#98a2b3;cursor:pointer;background:0 0;border:none;justify-content:center;align-items:center;padding:4px;transition:color .2s;display:flex}.visit-details-edit-btn:hover{color:#667085}.visit-details-divider{background-color:#eaecf0;height:1px;margin:16px 0}.visit-details-grid{grid-template-columns:1fr 1fr;gap:20px 24px;display:grid}.visit-details-item{flex-direction:column;gap:6px;display:flex}.visit-details-item.full-width{grid-column:span 2}.visit-details-label{color:#94a3b8;text-transform:uppercase;letter-spacing:.05em;font-size:11px;font-weight:600}.visit-details-value{color:#101828;align-items:center;gap:8px;font-size:15px;font-weight:500;display:flex}.visit-details-value.bold{font-weight:700}.visit-details-value.badge-container{align-items:center;display:flex}.visit-details-status-badge{cursor:pointer;border-radius:8px;align-items:center;gap:6px;padding:4px 10px;font-size:13px;font-weight:600;display:inline-flex}.visit-details-status-badge.upcoming{color:#5925dc;background:#f4f3ff;border:1px solid #d9d6fe}.visit-details-status-badge.in-progress{color:#e04f16;background:#fff9f6;border:1px solid #fbd9c9}.visit-details-status-badge.completed{color:#027a48;background:#ecfdf3;border:1px solid #abefc6}.visit-details-status-badge .chevron-icon{color:#667085}.notes-card-header{justify-content:space-between;align-items:center;display:flex}.notes-card-title{color:#101828;margin:0;font-size:18px;font-weight:700}.add-note-btn{color:#fff;cursor:pointer;background:#000;border:none;border-radius:8px;padding:8px 14px;font-size:13px;font-weight:600;transition:opacity .2s}.add-note-btn:hover{opacity:.9}.notes-empty-text{text-align:center;color:#98a2b3;padding:40px 10px;font-size:14px;font-weight:500}.site-photos-card{background:#fff;border:1px solid #eaecf0;border-radius:12px;padding:24px;box-shadow:0 1px 3px #1018280d}.site-photos-title{color:#101828;margin:0 0 4px;font-size:18px;font-weight:700}.site-photos-subtitle{color:#667085;margin:0 0 24px;font-size:14px}.site-photos-grid{grid-template-columns:1fr 1fr;gap:24px;display:grid}.photo-cell{flex-direction:column;align-items:center;gap:8px;width:100%;display:flex}.photo-cell-label{color:#101828;font-size:14px;font-weight:600}.photo-dashed-box{aspect-ratio:1.2;cursor:pointer;background:#fff;border:1px dashed #d0d5dd;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;gap:8px;width:100%;transition:background-color .2s,border-color .2s;display:flex}.photo-dashed-box:hover{background-color:#f9fafb;border-color:#7a5af8}.photo-camera-icon{color:#667085}.photo-tap-text{color:#667085;font-size:13px}.photo-image-wrapper{aspect-ratio:1.2;border:1px solid #eaecf0;border-radius:12px;width:100%;position:relative;overflow:hidden}.photo-image-wrapper img{object-fit:cover;width:100%;height:100%}.photo-delete-btn{color:#fff;cursor:pointer;background:#ef4444e6;border:none;border-radius:12px;justify-content:center;align-items:center;width:24px;height:24px;font-size:14px;font-weight:700;transition:background-color .2s;display:flex;position:absolute;top:8px;right:8px;box-shadow:0 1px 2px #0000001a}.photo-delete-btn:hover{background:#dc2626}.ticket-page{background-color:#fafbfc;background-image:radial-gradient(at 0 0,#100f1508 0,#0000 50%),radial-gradient(at 50% 0,#2f3e6a08 0,#0000 50%),radial-gradient(at 100% 0,#72274108 0,#0000 50%);flex-direction:column;gap:24px;min-height:100vh;padding:24px 28px;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;display:flex}.ticket-topbar{border-bottom:1px solid #f1f5f9;justify-content:space-between;align-items:center;padding-bottom:20px;display:flex}.ticket-topbar h1{color:#0f172a;margin:4px 0;font-size:24px;font-weight:800}.ticket-topbar p{color:#64748b;margin:0;font-size:13px}.ticket-topbar-actions{align-items:center;gap:12px;display:flex}.view-toggle-group{background-color:#f1f5f9;border:1px solid #e2e8f0;border-radius:8px;padding:3px;display:flex}.view-toggle-group .toggle-btn{cursor:pointer;color:#64748b;background:0 0;border:none;border-radius:6px;align-items:center;padding:6px 12px;transition:all .2s;display:flex}.view-toggle-group .toggle-btn.active{color:#0f172a;background-color:#fff;box-shadow:0 1px 3px #0000001a}.plus-button{color:#fff;cursor:pointer;background-color:#0f172a;border:none;border-radius:8px;justify-content:center;align-items:center;width:36px;height:36px;font-size:20px;font-weight:700;transition:all .2s;display:flex}.plus-button:hover{background-color:#1e293b;transform:translateY(-1px)}.ticket-metrics-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;display:grid}.metric-card{background-color:#fff;border:1px solid #e2e8f0cc;border-radius:12px;justify-content:space-between;align-items:center;padding:12px 16px;transition:all .2s;display:flex;box-shadow:0 1px 3px #0f172a04}.metric-card:hover{transform:translateY(-1.5px);box-shadow:0 4px 12px #0f172a08}.metric-title{color:#64748b;text-transform:uppercase;letter-spacing:.03em;font-size:11px;font-weight:600}.metric-number{color:#0f172a;margin-top:2px;font-size:20px;font-weight:800}.metric-icon-badge{color:#0f172a;background-color:#f1f5f9;border-radius:6px;justify-content:center;align-items:center;width:32px;height:32px;display:flex}.metric-card.open{border-left:3px solid #3b82f6}.metric-card.in-progress{border-left:3px solid #8b5cf6}.metric-card.critical{border-left:3px solid #d32f2f}.metric-card.resolved{border-left:3px solid #10b981}.metric-card.critical .metric-icon-badge{color:#9b1c1c;background-color:#fde8e8}.metric-card.resolved .metric-icon-badge{color:#03543f;background-color:#def7ec}.metric-card.in-progress .metric-icon-badge{color:#6b21a8;background-color:#f3e8ff}.metric-card.open .metric-icon-badge{color:#1e40af;background-color:#ebf5ff}.ticket-filters-bar{box-shadow:none;background:0 0;border:none;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:8px 0;display:flex}.search-box-wrapper{background-color:#fff;border:1px solid #e2e8f0;border-radius:12px;align-items:center;gap:10px;width:280px;height:40px;padding:0 16px;transition:all .3s cubic-bezier(.4,0,.2,1);display:flex;box-shadow:0 2px 4px #00000005}.search-box-wrapper:focus-within{background-color:#fff;border-color:#3b82f6;width:320px;box-shadow:0 0 0 4px #3b82f61a}.search-box-wrapper input{color:#0f172a;width:100%;height:100%;box-shadow:none;appearance:none;background:0 0;border:none;outline:none;margin:0;padding:0;font-size:13px}.search-box-wrapper input::-webkit-search-decoration{appearance:none}.search-box-wrapper input::-webkit-search-cancel-button{appearance:none}.search-box-wrapper input::-webkit-search-results-button{appearance:none}.search-box-wrapper input::-webkit-search-results-decoration{appearance:none}.search-icon{color:#94a3b8}.filter-dropdowns{flex-wrap:wrap;align-items:center;gap:16px;display:flex}.filter-dropdowns label{color:#475569;align-items:center;gap:8px;font-size:13px;font-weight:600;display:flex}.filter-dropdowns select{color:#0f172a;background-color:#fff;border:1px solid #cbd5e1;border-radius:8px;outline:none;padding:6px 12px;font-size:13px}.ticket-kanban-board{flex:1;align-items:start;gap:12px;padding-bottom:8px;display:flex;overflow-x:auto}.ticket-kanban-board::-webkit-scrollbar{height:6px}.ticket-kanban-board::-webkit-scrollbar-track{background:0 0}.ticket-kanban-board::-webkit-scrollbar-thumb{background-color:#cbd5e1;border-radius:99px}.ticket-board-column{background:0 0;border:none;flex-direction:column;flex:1;min-width:250px;max-width:290px;max-height:78vh;transition:all .25s;display:flex}.ticket-board-column.drag-over{background:#f1f5f999;border-radius:12px}.ticket-column-header{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#fff9;border:1px solid #e2e8f0cc;border-radius:12px;margin-bottom:12px;padding:16px 12px;box-shadow:0 2px 6px #00000005}.column-header-content{justify-content:space-between;align-items:center;width:100%;display:flex}.column-title-wrapper{align-items:center;gap:8px;display:flex}.column-icon-badge{border-radius:6px;justify-content:center;align-items:center;width:24px;height:24px;font-weight:700;transition:all .2s;display:flex}.ticket-column-header h3{color:#0f172a;letter-spacing:-.01em;margin:0;font-size:13px;font-weight:700}.ticket-count-badge{border-radius:4px;padding:1px 6px;font-size:10px;font-weight:700}.ticket-cards-container{flex-direction:column;flex:1;gap:8px;min-height:150px;padding:8px;display:flex;overflow-y:auto}.ticket-cards-container::-webkit-scrollbar{width:6px}.ticket-cards-container::-webkit-scrollbar-track{background:0 0}.ticket-cards-container::-webkit-scrollbar-thumb{background-color:#cbd5e1;border-radius:99px}.ticket-card{cursor:grab;background-color:#fff;border:1px solid #f1f5f9;border-radius:14px;flex-direction:column;padding:0;transition:all .3s cubic-bezier(.16,1,.3,1);display:flex;position:relative;overflow:hidden;box-shadow:0 2px 8px #0f172a0a}.ticket-card:hover{border-color:#e2e8f0;transform:translateY(-4px);box-shadow:0 12px 24px -6px #0f172a14,0 4px 8px -4px #0f172a0a}.ticket-card:active{cursor:grabbing}.ticket-card-header{background:linear-gradient(#fff,#fcfcfd);border-bottom:1px solid #f8fafc;justify-content:space-between;align-items:center;gap:8px;padding:16px 20px;display:flex;position:relative}.ticket-card-body{flex-direction:column;gap:12px;padding:16px 20px;display:flex}.ticket-card-id-title{flex:1;align-items:center;gap:6px;display:flex;overflow:hidden}.ticket-id{color:#64748b;flex-shrink:0;font-size:13px;font-weight:500}.ticket-title-text{color:#0f172a;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:700;overflow:hidden}.ticket-card-header-right{flex-shrink:0;align-items:center;gap:8px;display:flex;position:relative}.ticket-relative-time{color:#94a3b8;white-space:nowrap;font-size:11px}.card-action-menu-btn{cursor:pointer;color:#94a3b8;background:0 0;border:none;border-radius:4px;justify-content:center;align-items:center;width:20px;height:20px;padding:0;font-size:18px;line-height:1;display:flex}.card-action-menu-btn:hover{color:#475569;background-color:#f1f5f9}.card-menu-dropdown{z-index:10;background-color:#fff;border:1px solid #cbd5e1;border-radius:8px;flex-direction:column;width:120px;padding:4px;display:flex;position:absolute;top:24px;right:0;box-shadow:0 4px 12px #00000014}.card-menu-dropdown button{text-align:left;color:#334155;cursor:pointer;background:0 0;border:none;border-radius:6px;width:100%;padding:6px 10px;font-size:11px;font-weight:500}.card-menu-dropdown button:hover{background-color:#f1f5f9}.card-menu-dropdown button.danger{color:#b91c1c}.card-menu-dropdown button.danger:hover{background-color:#fee2e2}.ticket-card-desc{color:#475569;-webkit-line-clamp:2;text-overflow:ellipsis;word-break:break-word;-webkit-box-orient:vertical;margin:0;font-size:12px;line-height:1.45;display:-webkit-box;overflow:hidden}.ticket-client-info{flex-direction:column;gap:4px;display:flex}.meta-line{color:#64748b;align-items:center;gap:6px;font-size:11px;display:flex}.meta-icon{color:#94a3b8;align-items:center;display:inline-flex}.meta-label{text-transform:uppercase;color:#64748b;font-size:10px;font-weight:500}.meta-val{color:#334155;font-weight:600}.ticket-category-line,.ticket-due-line{color:#475569;align-items:center;gap:6px;font-size:12px;display:flex}.ticket-due-line.overdue{color:#d32f2f;font-weight:600}.ticket-due-line.overdue .meta-icon{color:#d32f2f}.ticket-card-footer{justify-content:space-between;align-items:center;margin-top:2px;display:flex}.priority-tag-pill{color:#475569;text-transform:capitalize;letter-spacing:.02em;background:#f8fafc;border-radius:8px;align-items:center;padding:4px 10px;font-size:11px;font-weight:700;display:inline-flex}.ticket-assignee-avatar{color:#475569;background-color:#f1f5f9;border:1px solid #cbd5e1;border-radius:99px;justify-content:center;align-items:center;width:22px;height:22px;font-size:9px;font-weight:700;display:flex}.ticket-column-empty{text-align:center;color:#94a3b8;background-color:#fff;border:1px dashed #cbd5e1;border-radius:8px;justify-content:center;align-items:center;height:80px;padding:20px 10px;font-size:11px;display:flex;box-shadow:0 1px 2px #00000004}.ticket-list-container{background-color:#fff;border:1px solid #e2e8f0;border-radius:12px;overflow:hidden}.tickets-table{border-collapse:collapse;text-align:left;width:100%;font-size:13px}.tickets-table th{color:#475569;background-color:#f8fafc;border-bottom:1px solid #e2e8f0;padding:12px 16px;font-weight:600}.tickets-table td{color:#0f172a;border-bottom:1px solid #f1f5f9;padding:14px 16px}.tickets-table tr{cursor:pointer;transition:background-color .2s}.tickets-table tr:hover{background-color:#f8fafc}.table-ticket-cell strong{color:#0f172a;font-size:13px;display:block}.table-ticket-cell p{color:#64748b;margin:2px 0 0;font-size:12px}.table-priority-badge{padding-left:8px;font-size:12px;font-weight:700}.table-status-pill{border-radius:6px;padding:3px 8px;font-size:11px;font-weight:700}.table-link-meta span{color:#475569;margin-bottom:2px;font-size:11px;display:block}.table-assignee-name{font-weight:500}.table-due-date{color:#475569;font-weight:500}.table-due-date.overdue{color:#b91c1c;font-weight:700}.table-action-menu-btn{cursor:pointer;color:#94a3b8;background:0 0;border:none;border-radius:4px;justify-content:center;align-items:center;width:24px;height:24px;font-size:18px;display:flex}.table-action-menu-btn:hover{color:#475569;background-color:#f1f5f9}.table-menu-dropdown{z-index:10;background-color:#fff;border:1px solid #cbd5e1;border-radius:8px;flex-direction:column;width:140px;padding:4px;display:flex;position:absolute;right:16px;box-shadow:0 4px 12px #00000014}.table-menu-dropdown button{text-align:left;color:#334155;cursor:pointer;background:0 0;border:none;border-radius:6px;padding:8px 12px;font-size:12px;font-weight:500}.table-menu-dropdown button:hover{background-color:#f1f5f9}.table-menu-dropdown button.danger{color:#b91c1c}.table-menu-dropdown button.danger:hover{background-color:#fee2e2}.tickets-loading-state,.tickets-empty-state{text-align:center;color:#64748b;background-color:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:64px 32px;font-size:14px}.backdrop-overlay{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:999;background-color:#0f172a66;justify-content:center;align-items:center;width:100vw;height:100vh;display:flex;position:fixed;top:0;left:0}.dialog-panel{background-color:#fff;border-radius:16px;flex-direction:column;display:flex;box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a}.dialog-header{border-bottom:1px solid #eaecf0;justify-content:space-between;align-items:center;padding:20px 24px;display:flex}.dialog-header h3{color:#101828;margin:0;font-size:18px;font-weight:700}.drawer-close-btn{color:#98a2b3;cursor:pointer;background:0 0;border:none;font-size:24px}.ticket-form-error{color:#b42318;background:#fffbfa;border:1px solid #fda29b;border-radius:8px;padding:10px;font-size:14px}.form-field{flex-direction:column;gap:6px;display:flex}.form-field label{color:#344054;font-size:12px;font-weight:700}.form-field input,.form-field select,.form-field textarea{color:#1d2939;background-color:#fff;border:1px solid #cbd5e1;border-radius:8px;outline:none;padding:10px 14px;font-size:14px;transition:border-color .2s}.form-field input:focus,.form-field select:focus,.form-field textarea:focus{border-color:#4f46e5}.form-grid-2col{grid-template-columns:repeat(2,1fr);gap:16px;display:grid}.dialog-footer{border-top:1px solid #eaecf0;padding:16px 24px}.ticket-details-drawer{z-index:1000;background-color:#fff;flex-direction:column;width:480px;height:100vh;animation:.3s cubic-bezier(.16,1,.3,1) slideIn;display:flex;position:fixed;top:0;right:0;box-shadow:-8px 0 24px #00000014}.ticket-drawer-header{border-bottom:1px solid #eaecf0;justify-content:space-between;align-items:start;padding:24px;display:flex}.ticket-drawer-header h2{color:#101828;margin:0;font-size:18px;font-weight:800;line-height:1.4}.ticket-drawer-actions{align-items:center;gap:8px;display:flex}.ticket-drawer-actions button{cursor:pointer;background:0 0;border:none;border-radius:6px;justify-content:center;align-items:center;width:32px;height:32px;display:flex}.ticket-drawer-actions button.close-btn{color:#98a2b3;font-size:20px}.ticket-drawer-actions button.close-btn:hover{color:#475569;background-color:#f1f5f9}.ticket-drawer-actions button.danger-btn{color:#b91c1c}.ticket-drawer-actions button.danger-btn:hover{background-color:#fee2e2}.ticket-drawer-body{flex:1;padding:24px;overflow-y:auto}.ticket-drawer-form{flex-direction:column;gap:16px;display:flex}.ticket-details-overview{flex-direction:column;gap:24px;display:flex}.detail-section h4{text-transform:uppercase;color:#475569;letter-spacing:.05em;margin:0 0 8px;font-size:11px;font-weight:700}.description-text{color:#334155;white-space:pre-wrap;word-break:break-word;background-color:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;margin:0;padding:12px;font-size:14px;line-height:1.6}.ticket-overview-list{flex-direction:column;gap:12px;margin:0;display:flex}.ticket-overview-list>div{border-bottom:1px solid #f1f5f9;justify-content:space-between;align-items:center;padding-bottom:8px;font-size:13px;display:flex}.ticket-overview-list dt{color:#64748b;font-weight:500}.ticket-overview-list dd{color:#0f172a;margin:0;font-weight:600}.ticket-overview-list dd.overdue{color:#b91c1c}.priority-badge-pill{border:1px solid;border-radius:4px;padding:2px 8px;font-size:11px;font-weight:700}.view-filter-btn{color:#334155;cursor:pointer;background-color:#fff;border:1px solid #cbd5e1;border-radius:8px;align-items:center;gap:8px;padding:8px 16px;font-size:13px;font-weight:600;transition:all .2s;display:flex;box-shadow:0 1px 2px #0000000d}.view-filter-btn:hover{color:#0f172a;background-color:#f8fafc;border-color:#94a3b8}.view-dropdown-menu{z-index:100;background-color:#fff;border:1px solid #e2e8f0;border-radius:10px;flex-direction:column;gap:8px;width:180px;padding:12px;display:flex;position:absolute;top:calc(100% + 6px);right:0;box-shadow:0 10px 25px -5px #0000001a,0 8px 10px -6px #0000000d}.view-dropdown-section{flex-direction:column;gap:4px;display:flex}.view-dropdown-title{color:#334155;margin-bottom:6px;padding-left:6px;font-size:11px;font-weight:700}.view-dropdown-item{color:#334155;text-align:left;cursor:pointer;background:0 0;border:none;border-radius:6px;align-items:center;width:100%;padding:8px 6px;font-size:13px;font-weight:500;transition:all .2s;display:flex}.view-dropdown-item:hover{color:#0f172a;background-color:#f1f5f9}.checkmark-wrapper{color:#0f172a;justify-content:center;align-items:center;width:16px;height:16px;margin-right:8px;font-weight:700;display:inline-flex}.view-select-filter{color:#0f172a;cursor:pointer;background-color:#fff;border:1px solid #cbd5e1;border-radius:6px;outline:none;width:100%;padding:6px 10px;font-size:13px}.view-select-filter:focus{border-color:#4f46e5}.download-button-toolbar{cursor:pointer;color:#475569;background-color:#fff;border:1px solid #e2e8f0;border-radius:8px;justify-content:center;align-items:center;width:36px;height:36px;transition:all .2s;display:flex}.download-button-toolbar:hover{color:#0f172a;background-color:#f8fafc;border-color:#cbd5e1}.ticket-subtitle{color:#64748b;margin:4px 0 0;font-size:13px}.tooltip{position:relative}.tooltip:after{content:attr(data-tooltip);color:#fff;white-space:nowrap;opacity:0;pointer-events:none;z-index:1000;background-color:#0c111d;border-radius:6px;padding:6px 10px;font-size:11px;font-weight:600;transition:all .12s cubic-bezier(.4,0,.2,1);position:absolute;bottom:calc(100% + 8px);left:50%;transform:translate(-50%)scale(.95);box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f}.tooltip:before{content:"";opacity:0;pointer-events:none;z-index:1000;border:4px solid #0000;border-top-color:#0c111d;border-bottom-width:0;transition:all .12s cubic-bezier(.4,0,.2,1);position:absolute;bottom:calc(100% + 4px);left:50%;transform:translate(-50%)translateY(4px)}.tooltip:hover:after{opacity:1;transform:translate(-50%)scale(1)}.tooltip:hover:before{opacity:1;transform:translate(-50%)translateY(0)}.details-page-active{background-color:#fcfcfd;padding:24px 28px}.details-page-header-container{border-bottom:1px solid #eaecf0;flex-direction:column;gap:12px;padding-bottom:16px;display:flex}.details-page-header-row{justify-content:space-between;align-items:center;margin-bottom:0;display:flex}.back-to-tickets-btn{color:#334155;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:8px;align-items:center;gap:6px;padding:8px 14px;font-size:13px;font-weight:600;transition:all .2s;display:inline-flex;box-shadow:0 1px 2px #0000000d}.back-to-tickets-btn:hover{color:#0f172a;background:#f8fafc;border-color:#94a3b8;text-decoration:none}.delete-btn-mockup{color:#d92d20;cursor:pointer;background-color:#fff;border:1px solid #fda29b;border-radius:8px;align-items:center;gap:6px;padding:8px 14px;font-size:13px;font-weight:600;transition:all .2s;display:flex;box-shadow:0 1px 2px #1018280d}.delete-btn-mockup:hover{color:#b42318;background-color:#fffbfa;border-color:#f87171}.details-header-title-section{margin-bottom:0}.details-header-title{color:#0f172a;letter-spacing:-.03em;margin:0 0 6px;font-size:32px;font-weight:800;line-height:1.3}.details-ticket-id-label{color:#667085;font-size:12px;font-weight:600}.header-meta-actions-row{align-items:center;gap:24px;margin-bottom:0;display:flex}.header-meta-action-item{align-items:center;gap:8px;font-size:13px;display:flex}.header-meta-action-label{color:#667085;font-weight:500}.header-inline-select{color:#344054;cursor:pointer;appearance:none;background-color:#fff;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23475569' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19.5 8.25l-7.5 7.5-7.5-7.5'/%3E%3C/svg%3E");background-position:right 10px center;background-repeat:no-repeat;background-size:12px;border:1px solid #d0d5dd;border-radius:8px;outline:none;padding:6px 32px 6px 12px;font-size:13px;font-weight:600;transition:all .2s;box-shadow:0 1px 2px #1018280d}.header-inline-select:focus{border-color:#98a2b3;box-shadow:0 0 0 4px #f2f4f7}.details-page-grid{grid-template-columns:2fr 1fr;align-items:start;gap:16px;display:grid}@media (width<=992px){.details-page-grid{grid-template-columns:1fr}}.details-main-panel{flex-direction:column;gap:16px;display:flex}.details-card{background-color:#fff;border:1px solid #e2e8f0cc;border-radius:16px;padding:24px;box-shadow:0 4px 12px #0f172a08}.details-card-header{justify-content:space-between;align-items:center;margin-bottom:20px;display:flex}.details-card-header h2{color:#101828;margin:0;font-size:18px;font-weight:700}.details-card-edit-pencil{color:#98a2b3;cursor:pointer;background:0 0;border:none;border-radius:6px;padding:4px;font-size:18px;line-height:1;transition:all .2s}.details-card-edit-pencil:hover{color:#475569;background-color:#f2f4f7}.details-desc-section{margin-bottom:20px}.details-desc-label{color:#98a2b3;text-transform:uppercase;letter-spacing:.05em;margin-bottom:8px;font-size:11px;font-weight:600}.details-desc-text{color:#344054;white-space:pre-wrap;word-break:break-word;margin:0;font-size:15px;line-height:1.6}.details-card-divider{background-color:#f1f5f9;border:0;height:1px;margin:20px 0}.details-metadata-grid{grid-template-columns:1fr 1fr;gap:20px;display:grid}@media (width<=576px){.details-metadata-grid{grid-template-columns:1fr;gap:16px}}.details-grid-column{flex-direction:column;gap:16px;display:flex}.details-metadata-item{flex-direction:column;gap:6px;display:flex}.details-metadata-label{color:#98a2b3;text-transform:uppercase;letter-spacing:.05em;font-size:11px;font-weight:600}.details-metadata-value{color:#344054;font-size:14px;font-weight:600}.details-metadata-value.bold-value{color:#101828;font-weight:700}.inline-flex-center{align-items:center;gap:6px;display:inline-flex}.calendar-emoji{font-size:14px}.details-creator-info{flex-direction:column;gap:2px;display:flex}.details-creator-company{color:#344054;font-size:14px;font-weight:600}.details-creator-email{color:#667085;font-size:13px;font-weight:400}.priority-inline-select{cursor:pointer;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M19.5 8.25l-7.5 7.5-7.5-7.5'/%3E%3C/svg%3E");background-position:right 8px center;background-repeat:no-repeat;background-size:10px;border:1px solid;border-radius:8px;outline:none;width:fit-content;padding:4px 24px 4px 12px;font-size:12px;font-weight:700;box-shadow:0 1px 2px #0000000d}.priority-inline-select option{color:#1d2939;background-color:#fff}.details-card-edit-form{flex-direction:column;gap:16px;display:flex}.details-sidebar-panel{flex-direction:column;gap:20px;display:flex}.sidebar-card{background-color:#fff;border:1px solid #e5e7eb;border-radius:16px;padding:20px;transition:box-shadow .25s;box-shadow:0 1px 3px #0000000a,0 4px 12px #00000005}.sidebar-card:hover{box-shadow:0 2px 6px #0000000f,0 6px 18px #00000008}.sidebar-card-header{justify-content:space-between;align-items:center;margin-bottom:16px;display:flex}.sidebar-card-header h3{color:#111827;letter-spacing:-.01em;margin:0;font-size:16px;font-weight:700}.add-note-btn-black{color:#fff;cursor:pointer;background-color:#111827;border:none;border-radius:10px;align-items:center;gap:6px;padding:7px 16px;font-size:13px;font-weight:600;transition:background-color .2s,transform .15s;display:inline-flex;box-shadow:0 1px 2px #00000014}.add-note-btn-black:hover{background-color:#1f2937;transform:translateY(-1px)}.add-note-btn-black:active{transform:translateY(0)}.upload-btn-black,.upload-btn-outline{color:#344054;cursor:pointer;background-color:#fff;border:1px solid #d0d5dd;border-radius:10px;align-items:center;gap:6px;padding:7px 16px;font-size:13px;font-weight:600;transition:all .2s;display:inline-flex;box-shadow:0 1px 2px #1018280d}.upload-btn-black:hover,.upload-btn-outline:hover{background-color:#f9fafb;border-color:#98a2b3;transform:translateY(-1px)}.upload-btn-black:active,.upload-btn-outline:active{transform:translateY(0)}.upload-icon-arrow{font-size:14px;font-weight:700;line-height:1}.sidebar-card-body{flex-direction:column;gap:12px;display:flex}.empty-notes-state,.empty-linked-state{color:#9ca3af;text-align:center;background:0 0;border:none;padding:36px 16px;font-size:14px;line-height:1.5}.empty-attachments-state,.empty-attachments-dropzone{cursor:pointer;background-color:#fafafa;border:2px dashed #d1d5db;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;gap:8px;padding:32px 16px;transition:border-color .2s,background-color .2s;display:flex}.empty-attachments-state:hover,.empty-attachments-dropzone:hover{background-color:#f3f4f6;border-color:#9ca3af}.empty-attachments-icon{color:#9ca3af;font-size:28px;line-height:1}.empty-attachments-text,.dropzone-text{color:#9ca3af;margin:0;font-size:14px}.empty-attachments-cta,.dropzone-cta{color:#6b7280;margin:0;font-size:14px;font-weight:700}.attachments-list-container{flex-direction:column;gap:8px;display:flex}.attachment-file-row{background-color:#fff;border:1px solid #eaecf0;border-radius:12px;align-items:center;gap:12px;padding:12px 14px;transition:border-color .2s,box-shadow .2s;display:flex}.attachment-file-row:hover{border-color:#cbd5e1;box-shadow:0 1px 4px #0000000a}.attachment-file-icon-wrapper{background-color:#f3f4f6;border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:38px;height:38px;font-size:18px;display:flex}.attachment-file-details{flex-direction:column;flex:1;gap:2px;display:flex;overflow:hidden}.attachment-file-name{color:#1f2937;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:600;overflow:hidden}.attachment-file-size{color:#6b7280;font-size:12px;font-weight:400}.attachment-file-actions{align-items:center;gap:4px;display:flex}.attachment-download-btn,.attachment-delete-btn,.attachment-action-btn{color:#9ca3af;cursor:pointer;background:0 0;border:none;border-radius:8px;justify-content:center;align-items:center;width:28px;height:28px;font-size:16px;line-height:1;text-decoration:none;transition:all .2s;display:flex}.attachment-download-btn:hover,.attachment-action-btn:hover{color:#111827;background-color:#f3f4f6}.attachment-delete-btn:hover,.attachment-action-btn.attachment-action-delete:hover{color:#dc2626;background-color:#fef2f2}.new-note-form{flex-direction:column;gap:10px;width:100%;display:flex}.new-note-textarea{resize:vertical;color:#1f2937;border:1px solid #d1d5db;border-radius:10px;outline:none;width:100%;min-height:88px;padding:12px;font-family:inherit;font-size:14px;line-height:1.5;transition:border-color .2s,box-shadow .2s}.new-note-textarea::placeholder{color:#9ca3af}.new-note-textarea:focus{border-color:#6366f1;box-shadow:0 0 0 3px #6366f11a}.new-note-actions{justify-content:flex-end;gap:8px;display:flex}.note-action-cancel{color:#374151;cursor:pointer;background:#fff;border:1px solid #d1d5db;border-radius:8px;padding:7px 14px;font-size:13px;font-weight:600;transition:all .2s}.note-action-cancel:hover{background-color:#f9fafb;border-color:#9ca3af}.note-action-save{color:#fff;cursor:pointer;background-color:#111827;border:none;border-radius:8px;padding:7px 14px;font-size:13px;font-weight:600;transition:background-color .2s}.note-action-save:hover{background-color:#1f2937}.notes-list-container{flex-direction:column;gap:0;display:flex}.note-item-bubble{background-color:#fff;border:none;border-bottom:1px solid #f3f4f6;border-radius:0;flex-direction:column;gap:6px;padding:14px 0;display:flex;position:relative}.note-item-bubble:last-child{border-bottom:none}.note-item-header{justify-content:space-between;align-items:center;display:flex}.note-author{color:#1f2937;font-size:13px;font-weight:700}.note-time{color:#9ca3af;margin-right:22px;font-size:12px;font-weight:400}.note-delete-x-btn{color:#d1d5db;cursor:pointer;background:0 0;border:none;border-radius:6px;justify-content:center;align-items:center;width:22px;height:22px;font-size:14px;transition:all .2s;display:flex;position:absolute;top:14px;right:0}.note-delete-x-btn:hover{color:#dc2626;background-color:#fef2f2}.note-content-text{color:#4b5563;white-space:pre-wrap;word-break:break-word;margin:0;font-size:14px;line-height:1.6}.ticket-activity-timeline{flex-direction:column;gap:0;display:flex}.ticket-timeline-header{margin-bottom:20px}.ticket-timeline-header h3{color:#111827;letter-spacing:-.01em;margin:0;font-size:16px;font-weight:700}.ticket-timeline-list{flex-direction:column;gap:0;display:flex}.ticket-timeline-item{border-bottom:1px solid #f3f4f6;align-items:flex-start;gap:14px;padding:14px 0;transition:background-color .15s;display:flex}.ticket-timeline-item:last-child{border-bottom:none}.ticket-timeline-icon{color:#6b7280;background-color:#f3f4f6;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:40px;min-width:40px;height:40px;font-size:16px;display:flex}.ticket-timeline-body{flex:1;justify-content:space-between;align-items:flex-start;gap:12px;min-width:0;display:flex}.ticket-timeline-content{flex-direction:column;gap:2px;min-width:0;display:flex}.ticket-timeline-action{color:#111827;margin:0;font-size:14px;font-weight:700}.ticket-timeline-desc{color:#6b7280;text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:13px;line-height:1.4;overflow:hidden}.ticket-timeline-author{color:#b45309;margin:2px 0 0;font-size:12px;font-weight:500}.ticket-timeline-date{color:#9ca3af;white-space:nowrap;flex-shrink:0;padding-top:2px;font-size:12px;font-weight:400}.ticket-timeline-empty{color:#9ca3af;text-align:center;padding:36px 16px;font-size:14px;line-height:1.5}.linked-items-list{flex-direction:column;gap:10px;display:flex}.linked-item-row{background-color:#fff;border:1px solid #eaecf0;border-radius:12px;align-items:center;gap:12px;padding:10px;display:flex}.linked-item-emoji{font-size:18px}.linked-item-info{flex-direction:column;gap:2px;display:flex}.linked-item-label{color:#667085;text-transform:uppercase;font-size:10px;font-weight:600}.linked-item-name{color:#344054;font-size:13px;font-weight:600}@media (width<=768px){.details-metadata-grid{grid-template-columns:1fr;gap:16px}}@media (width<=600px){.ticket-topbar{flex-direction:column;align-items:flex-start;gap:12px}.ticket-topbar-actions{flex-wrap:wrap;justify-content:flex-start;width:100%}.header-meta-actions-row{flex-direction:column;align-items:stretch;gap:10px}.header-meta-action-item{justify-content:space-between}.header-inline-select{width:60%}}@media (width<=576px){.ticket-page{gap:12px;padding:12px}.details-page-active{padding:16px}.details-header-title{font-size:20px}.details-card,.sidebar-card{padding:16px}.ticket-details-drawer{width:100%!important}}@media (width<=480px){.ticket-filters-bar{flex-direction:column;align-items:stretch;gap:8px}.search-box-wrapper,.view-menu-wrapper{width:100%}.view-filter-btn{justify-content:center;width:100%}.attachment-file-row{gap:8px;padding:10px}.attachment-file-icon-wrapper{width:30px;height:30px;font-size:14px}.attachment-file-name{font-size:12px}.attachment-file-size{font-size:10px}.note-item-bubble{padding:10px}.note-author{font-size:11px}.note-time{font-size:10px}.note-content-text{font-size:12px}.ticket-timeline-item{flex-wrap:wrap;gap:8px}.ticket-timeline-date{width:100%;margin-top:-4px;padding-left:54px;font-size:11px}.ticket-timeline-icon{width:34px;min-width:34px;height:34px}.empty-attachments-dropzone,.empty-attachments-state{padding:24px 12px}.dropzone-text,.empty-attachments-text,.dropzone-cta,.empty-attachments-cta{font-size:13px}}.ticket-list-container{overflow-x:auto}.schedule-btn-action{cursor:pointer;color:#344054;background-color:#fff;border:1px solid #d0d5dd;border-radius:8px;align-items:center;gap:6px;padding:6px 12px;font-size:12px;font-weight:600;transition:all .2s;display:flex;box-shadow:0 1px 2px #1018280d}.schedule-btn-action:hover{color:#1d2939;background-color:#f9fafb;border-color:#cbd5e1}.sidebar-visits-list{flex-direction:column;gap:10px;display:flex}.sidebar-visit-row{background-color:#fff;border:1px solid #eaecf0;border-radius:12px;align-items:flex-start;padding:12px;transition:all .2s;display:flex}.sidebar-visit-row:hover{border-color:#d0d5dd;box-shadow:0 1px 3px #1018280d}.sidebar-visit-info{flex-direction:column;gap:4px;width:100%;display:flex}.sidebar-visit-type-label{color:#1e293b;font-size:13px;font-weight:700}.sidebar-visit-time-label{color:#475569;align-items:center;gap:4px;margin-top:4px;font-size:12px;font-weight:500;display:inline-flex}.sidebar-visit-assignee-label{color:#64748b;align-items:center;gap:4px;margin-top:2px;font-size:11px;font-weight:500;display:inline-flex}.empty-visits-state{color:#94a3b8;text-align:center;background:0 0;border:none;padding:32px 0;font-size:14px}.visit-status-badge{text-transform:capitalize;border-radius:6px;padding:2px 8px;font-size:10px;font-weight:600}.visit-status-badge.in-progress{color:#b27b16;background:#fef8e8;border:1px solid #f9dbaf}.visit-status-badge.completed{color:#027a48;background:#ecfdf3;border:1px solid #abefc6}.visit-status-badge.upcoming{color:#5925dc;background:#f4f3ff;border:1px solid #d9d6fe}.project-page{background-color:#f8fafc;flex-direction:column;height:calc(100vh - 70px);padding:24px 28px;display:flex;overflow:hidden}.project-topbar{justify-content:space-between;align-items:center;gap:16px;margin-bottom:16px;display:flex}.project-search{box-sizing:border-box;background:#fff;border:1px solid #cbd5e1;border-radius:8px;align-items:center;gap:8px;width:240px;height:36px;padding:0 12px;display:flex}.project-search input{color:#334155;background:0 0;border:0;outline:none;width:100%;height:100%;font-size:.85rem}.project-search .app-icon{color:#94a3b8;width:16px;height:16px}.project-summary-header{color:#475569;font-size:.88rem}.project-summary-header strong{color:#0f172a}.project-kanban-board{scrollbar-width:thin;scrollbar-color:#cbd5e1 #f1f5f9;flex-grow:1;gap:14px;padding-bottom:8px;display:flex;overflow-x:auto}.project-kanban-board::-webkit-scrollbar{height:6px}.project-kanban-board::-webkit-scrollbar-track{background:#f1f5f9}.project-kanban-board::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:3px}.project-kanban-column{box-sizing:border-box;background:#f1f5f9;border-radius:8px;flex-direction:column;min-width:280px;max-width:280px;height:100%;padding:10px;display:flex}.project-column-header{background:#fff;border-radius:6px;margin-bottom:10px;padding:8px 12px;box-shadow:0 1px 3px #0000000d}.project-column-header div{justify-content:space-between;align-items:center;display:flex}.project-column-header h3{color:#1e293b;white-space:nowrap;text-overflow:ellipsis;margin:0;font-size:.82rem;font-weight:700;overflow:hidden}.project-count-badge{color:#475569;background:#e2e8f0;border-radius:4px;padding:2px 6px;font-size:.72rem;font-weight:700}.project-cards-container{scrollbar-width:none;flex-direction:column;flex-grow:1;gap:10px;display:flex;overflow-y:auto}.project-cards-container::-webkit-scrollbar{display:none}.project-card{cursor:grab;background:#fff;border:1px solid #e2e8f0;border-radius:6px;flex-direction:column;gap:8px;padding:12px;transition:transform .15s,box-shadow .15s;display:flex;box-shadow:0 1px 2px #0000000d}.project-card:hover{transform:translateY(-2px);box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f}.project-card-header{justify-content:space-between;align-items:flex-start;gap:8px;display:flex}.project-card-header h4{color:#4f46e5;cursor:pointer;margin:0;font-size:.82rem;font-weight:700}.project-card-header h4:hover{text-decoration:underline}.project-kW-tag{color:#475569;white-space:nowrap;background:#f1f5f9;border-radius:4px;padding:2px 5px;font-size:.72rem;font-weight:700}.project-company-sub,.project-city-sub{color:#64748b;align-items:center;gap:4px;margin:0;font-size:.72rem;display:flex}.app-icon-mini{color:#94a3b8;width:12px;height:12px}.project-checklist-progress{flex-direction:column;gap:4px;margin-top:4px;display:flex}.project-checklist-progress .progress-label{color:#64748b;justify-content:space-between;font-size:.68rem;display:flex}.project-checklist-progress .progress-track{background:#e2e8f0;border-radius:2px;height:4px;overflow:hidden}.project-checklist-progress .progress-bar{border-radius:2px;height:100%;transition:width .2s}.project-card-footer{border-top:1px solid #f1f5f9;justify-content:space-between;align-items:center;margin-top:4px;padding-top:8px;display:flex}.project-value-badge{color:#0f172a;font-size:.72rem;font-weight:700}.project-assignees-avatars{align-items:center;min-width:36px;height:22px;display:flex;position:relative}.avatar-initials-mini{color:#fff;background:#4f46e5;border:1px solid #fff;border-radius:50%;justify-content:center;align-items:center;width:22px;height:22px;font-size:.62rem;font-weight:700;display:flex;position:absolute}.avatar-more-mini{color:#334155;z-index:4;background:#cbd5e1;border:1px solid #fff;border-radius:50%;justify-content:center;align-items:center;width:22px;height:22px;font-size:.62rem;font-weight:700;display:flex;position:absolute;right:-8px}.avatar-unassigned-mini{color:#94a3b8;background:#f1f5f9;border:1px dashed #cbd5e1;border-radius:50%;justify-content:center;align-items:center;width:22px;height:22px;display:flex;position:absolute;right:0}.project-column-empty{color:#94a3b8;text-align:center;border:1px dashed #cbd5e1;border-radius:6px;justify-content:center;align-items:center;padding:20px;font-size:.76rem;display:flex}.project-details-backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:1000;background:#0f172a4d;justify-content:flex-end;display:flex;position:fixed;inset:0}.project-details-drawer{background:#fff;flex-direction:column;width:520px;height:100%;animation:.2s ease-out slideInRight;display:flex;box-shadow:-4px 0 24px #0f172a26}.project-drawer-header{border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:flex-start;gap:16px;padding:20px;display:flex}.project-drawer-header h2{color:#0f172a;margin:0 0 6px;font-size:1.15rem;font-weight:800}.project-stage-pill{border-radius:20px;padding:4px 10px;font-size:.72rem;font-weight:700;display:inline-block}.project-drawer-actions{align-items:center;gap:8px;display:flex}.project-drawer-actions .danger-btn{color:#ef4444;cursor:pointer;background:#fff;border:1px solid #fee2e2;border-radius:6px;justify-content:center;align-items:center;width:32px;height:32px;display:flex}.project-drawer-actions .danger-btn:hover{background:#fee2e2}.project-drawer-actions .close-btn{color:#94a3b8;cursor:pointer;background:0 0;border:0;padding:0 4px;font-size:1.25rem;font-weight:300}.project-drawer-tabs{background:#f8fafc;border-bottom:1px solid #e2e8f0;padding:0 10px;display:flex}.project-drawer-tabs .tab-btn{color:#64748b;cursor:pointer;background:0 0;border:0;border-bottom:2px solid #0000;padding:12px 14px;font-size:.8rem;font-weight:600}.project-drawer-tabs .tab-btn.active{color:#4f46e5;border-bottom-color:#4f46e5}.project-drawer-content{flex-grow:1;padding:20px;overflow-y:auto}.project-details-list{flex-direction:column;gap:16px;margin:0;display:flex}.project-details-list div{border-bottom:1px solid #f1f5f9;flex-direction:column;gap:4px;padding-bottom:12px;display:flex}.project-details-list dt{color:#94a3b8;text-transform:uppercase;letter-spacing:.5px;font-size:.72rem;font-weight:600}.project-details-list dd{color:#334155;margin:0;font-size:.85rem;font-weight:600}.system-kW-val{color:#4f46e5!important;font-weight:700!important}.system-value-val{color:#0f172a!important;font-weight:700!important}.project-assign-managers-btn{color:#475569;cursor:pointer;background:#f1f5f9;border:1px solid #cbd5e1;border-radius:6px;padding:6px 12px;font-size:.78rem;font-weight:700}.project-assign-managers-btn:hover{background:#e2e8f0}.project-checklist-tab h3,.project-documents-tab h3,.project-timeline-tab h3{color:#1e293b;margin:0 0 16px;font-size:.88rem;font-weight:700}.checklist-tasks-list{flex-direction:column;gap:10px;display:flex}.checklist-task-row{cursor:pointer;background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;align-items:center;gap:10px;padding:10px 12px;display:flex}.checklist-task-row input{width:16px;height:16px}.checklist-task-row span{color:#334155;font-size:.82rem;font-weight:500}.checklist-task-row.completed{opacity:.7}.checklist-task-row.completed span{color:#94a3b8;text-decoration:line-through}.project-doc-header-row{justify-content:space-between;align-items:center;margin-bottom:16px;display:flex}.project-doc-header-row h3{margin:0}.project-doc-upload-form{background:#f8fafc;border:1px dashed #cbd5e1;border-radius:6px;flex-direction:column;gap:12px;margin-bottom:16px;padding:14px;display:flex}.project-doc-upload-form .form-buttons{justify-content:flex-end;gap:8px;display:flex}.project-docs-list{flex-direction:column;gap:10px;display:flex}.project-doc-item{background:#fff;border:1px solid #e2e8f0;border-radius:6px;justify-content:space-between;align-items:center;padding:10px 12px;display:flex}.project-doc-item div{align-items:center;gap:10px;display:flex}.doc-icon{color:#2563eb;background:#eff6ff;border-radius:6px;justify-content:center;align-items:center;width:32px;height:32px;display:flex}.project-doc-item strong{color:#334155;font-size:.82rem;display:block}.project-doc-item small{color:#94a3b8;font-size:.68rem}.doc-download-link{color:#2563eb;font-size:.76rem;font-weight:700;text-decoration:none}.doc-download-link:hover{text-decoration:underline}.empty-docs-state{color:#94a3b8;border:1px dashed #cbd5e1;border-radius:6px;justify-content:center;align-items:center;padding:30px;font-size:.78rem;display:flex}.project-timeline-list{flex-direction:column;margin-top:10px;padding-left:20px;display:flex;position:relative}.project-timeline-list:before{content:"";background:#e2e8f0;width:2px;position:absolute;top:4px;bottom:4px;left:4px}.project-timeline-item{margin-bottom:20px;position:relative}.timeline-marker{background:#fff;border:2px solid #4f46e5;border-radius:50%;width:10px;height:10px;position:absolute;top:4px;left:-20px}.timeline-content strong{color:#1e293b;margin-bottom:2px;font-size:.82rem;display:block}.timeline-content p{color:#475569;margin:0 0 4px;font-size:.78rem}.timeline-content small{color:#94a3b8;font-size:.68rem}.convert-project-panel{background:#fff;border-radius:12px;flex-direction:column;width:min(640px,95vw);max-height:90vh;animation:.2s ease-out modalFadeIn;display:flex;overflow:hidden;box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a}.convert-project-header{border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:center;padding:20px 24px;display:flex}.convert-project-header h2{color:#0f172a;margin:0;font-size:1.25rem;font-weight:700}.convert-project-header p{color:#64748b;margin:4px 0 0;font-size:.85rem}.convert-project-header .close-btn{color:#94a3b8;cursor:pointer;background:0 0;border:0;padding:4px;font-size:1.5rem;line-height:1}.convert-project-header .close-btn:hover{color:#475569}.convert-project-body{flex-direction:column;gap:16px;padding:24px;display:flex;overflow-y:auto}.convert-project-body .section-divider{background:#e2e8f0;height:1px;margin:8px 0}.convert-project-body .section-title{color:#0f172a;margin:0;font-size:.95rem;font-weight:700}.convert-project-body .form-row{gap:16px;width:100%;display:flex}.convert-project-body .form-row.two-cols>.form-group,.convert-project-body .form-row.three-cols>.form-group{flex:1}.convert-project-body .form-group{flex-direction:column;gap:6px;display:flex}.convert-project-body .form-group.full-width{width:100%}.convert-project-body .form-group label{color:#344054;font-size:.8rem;font-weight:700}.convert-project-body .form-group input,.convert-project-body .form-group select{color:#334155;box-sizing:border-box;background:#fff;border:1px solid #d9dee8;border-radius:8px;outline:none;width:100%;height:42px;padding:0 12px;font-size:.88rem}.convert-project-body .form-group input:focus,.convert-project-body .form-group select:focus{border-color:#4f46e5;box-shadow:0 0 0 3px #4f46e51a}.convert-project-body .form-group select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b' stroke-width='2.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19.5 8.25l-7.5 7.5-7.5-7.5'/%3E%3C/svg%3E");background-position:right 12px center;background-repeat:no-repeat;background-size:16px;padding-right:36px}.convert-project-body .form-group .manual-link-btn{color:#2563eb;text-align:left;cursor:pointer;background:0 0;border:0;width:fit-content;padding:2px 0 0;font-size:.76rem;font-weight:600}.convert-project-body .form-group .manual-link-btn:hover{text-decoration:underline}.convert-project-actions{border-top:1px solid #e2e8f0;justify-content:flex-end;gap:12px;margin-top:16px;padding-top:16px;display:flex}.convert-project-actions button{cursor:pointer;border-radius:8px;justify-content:center;align-items:center;height:42px;padding:0 20px;font-size:.88rem;font-weight:600;transition:all .15s;display:flex}.convert-project-actions .secondary-action{color:#344054;background:#fff;border:1px solid #d9dee8}.convert-project-actions .secondary-action:hover{background:#f8fafc;border-color:#cbd5e1}.convert-project-actions .primary-action{color:#fff;background:#000;border:1px solid #000}.convert-project-actions .primary-action:hover{background:#1e293b;border-color:#1e293b}.convert-project-actions .primary-action:disabled{opacity:.6;cursor:not-allowed}.project-details-grid-layout{grid-template-columns:repeat(12,1fr);align-items:start;gap:24px;display:grid}.project-details-sidebar{flex-direction:column;grid-column:span 4;gap:20px;display:flex;position:sticky;top:24px}.project-details-main-content{flex-direction:column;grid-column:span 8;gap:20px;display:flex}.project-summary-box{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:20px;box-shadow:0 1px 3px #0000000d}.project-summary-title-section{border-bottom:1px solid #f1f5f9;margin-bottom:16px;padding-bottom:14px}.project-summary-title-section h2{fontWeight:800;color:#0f172a;margin:0 0 6px;font-size:1.25rem}.project-summary-id-sub{color:#64748b;margin:0;font-size:.76rem;font-weight:500}.project-summary-id-sub strong{color:#334155}.project-summary-selectors{flex-direction:column;gap:12px;margin-bottom:16px;display:flex}.project-summary-select-group{flex-direction:column;gap:4px;display:flex}.project-summary-select-group label{color:#94a3b8;text-transform:uppercase;font-size:.72rem;font-weight:700}.project-summary-select{color:#334155;background:#fff;border:1px solid #cbd5e1;border-radius:6px;outline:none;height:38px;padding:0 10px;font-size:.82rem;font-weight:600}.project-summary-select:focus{border-color:#4f46e5}.project-summary-kpis{background:#f8fafc;border:1px solid #f1f5f9;border-radius:8px;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:16px;padding:12px;display:grid}.project-summary-kpis article{flex-direction:column;gap:2px;display:flex}.project-summary-kpis span{color:#94a3b8;text-transform:uppercase;font-size:.68rem;font-weight:700}.project-summary-kpis strong{color:#0f172a;font-size:1rem}.project-summary-progress{border-bottom:1px solid #f1f5f9;flex-direction:column;gap:6px;margin-bottom:20px;padding-bottom:16px;display:flex}.project-summary-progress-label{color:#64748b;justify-content:space-between;align-items:center;font-size:.72rem;font-weight:700;display:flex}.project-summary-progress-track{background:#e2e8f0;border-radius:3px;height:6px;overflow:hidden}.project-summary-progress-bar{background:#10b981;border-radius:3px;height:100%;transition:width .3s}.project-summary-contact-card{border-top:1px solid #f1f5f9;padding-top:16px}.project-summary-contact-card h3{color:#475569;text-transform:uppercase;letter-spacing:.5px;margin:0 0 10px;font-size:.78rem;font-weight:800}.project-summary-contact-list{flex-direction:column;gap:8px;display:flex}.project-summary-contact-item{color:#475569;align-items:center;gap:8px;font-size:.78rem;display:flex}.project-summary-contact-item svg{color:#94a3b8;flex-shrink:0}.project-summary-contact-item span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.project-details-tab-nav{background:#fff;border:1px solid #e2e8f0;border-radius:8px;gap:4px;padding:4px;display:flex}.project-details-tab-btn{color:#64748b;cursor:pointer;text-align:center;white-space:nowrap;background:0 0;border:0;border-radius:6px;flex:1;padding:10px 8px;font-size:.8rem;font-weight:700;transition:all .15s}.project-details-tab-btn:hover{color:#334155;background:#f8fafc}.project-details-tab-btn.active{color:#fff;background:#000}.project-details-tab-panel{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:24px;box-shadow:0 1px 3px #0000000d}.tab-panel-header{border-bottom:1px solid #f1f5f9;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px;padding-bottom:14px;display:flex}.tab-panel-header h2{color:#0f172a;margin:0;font-size:1.1rem;font-weight:800}.tab-panel-header p{color:#94a3b8;margin:2px 0 0;font-size:.78rem}.proposal-list-table-wrapper{border:1px solid #e2e8f0;border-radius:8px;overflow-x:auto}.proposal-list-table{border-collapse:collapse;text-align:left;width:100%;font-size:.82rem}.proposal-list-table th{color:#475569;background:#f8fafc;border-bottom:1px solid #e2e8f0;padding:10px 14px;font-weight:700}.proposal-list-table td{color:#334155;border-bottom:1px solid #f1f5f9;padding:12px 14px}.proposal-list-table tr:last-child td{border-bottom:0}.proposal-list-table tr:hover td{background:#f8fafc}.proposal-status-badge{border-radius:4px;padding:2px 6px;font-size:.68rem;font-weight:700;display:inline-block}.proposal-status-badge.draft{color:#475569;background:#e2e8f0}.proposal-status-badge.sent{color:#1e40af;background:#dbeafe}.proposal-status-badge.in-review{color:#92400e;background:#fef3c7}.proposal-status-badge.approved{color:#065f46;background:#d1fae5}.visits-cards-list{flex-direction:column;gap:12px;display:flex}.visit-scheduled-card{background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:16px;transition:box-shadow .15s}.visit-scheduled-card:hover{box-shadow:0 4px 6px -1px #0000000d}.visit-card-header-row{justify-content:space-between;align-items:center;margin-bottom:8px;display:flex}.visit-type-badge{color:#4f46e5;text-transform:uppercase;background:#eeebff;border-radius:4px;padding:3px 8px;font-size:.72rem;font-weight:800}.visit-status-badge{border-radius:4px;padding:2px 6px;font-size:.7rem;font-weight:700}.visit-status-badge.upcoming{color:#1e40af;background:#dbeafe}.visit-status-badge.in-progress{color:#92400e;background:#fef3c7}.visit-status-badge.completed{color:#065f46;background:#d1fae5}.visit-card-body{color:#475569;font-size:.8rem}.visit-detail-row{align-items:flex-start;gap:6px;margin-bottom:4px;display:flex}.visit-detail-row svg{color:#94a3b8;flex-shrink:0;margin-top:2px}.visit-note-box{color:#475569;background:#f8fafc;border-left:3px solid #cbd5e1;border-radius:0 4px 4px 0;margin-top:10px;padding:8px 10px;font-size:.78rem}.notes-creation-form{margin-bottom:24px}.notes-creation-form textarea{color:#334155;box-sizing:border-box;resize:vertical;background:#fff;border:1px solid #cbd5e1;border-radius:8px;outline:none;width:100%;min-height:80px;padding:12px;font-size:.85rem}.notes-creation-form textarea:focus{border-color:#4f46e5}.note-feed-list{flex-direction:column;gap:16px;display:flex}.note-feed-item{background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:14px}.note-feed-item.system-log{background:#f8fafc;border-left:3px solid #cbd5e1}.note-feed-item.user-note{border-left:3px solid #4f46e5}.note-feed-header{justify-content:space-between;align-items:center;margin-bottom:6px;display:flex}.note-feed-author-tag{color:#0f172a;font-size:.78rem;font-weight:700}.note-feed-date{color:#94a3b8;font-size:.68rem}.note-feed-content{color:#334155;white-space:pre-wrap;margin:0;font-size:.82rem;line-height:1.4}.schedule-visit-modal-backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:1200;background:#0f172a66;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.schedule-visit-modal{background:#fff;border-radius:12px;flex-direction:column;width:min(520px,95vw);max-height:90vh;animation:.2s ease-out modalFadeIn;display:flex;overflow:hidden;box-shadow:0 20px 25px -5px #00000026}.project-action-btn{color:#475569;cursor:pointer;background-color:#fff;border:1px solid #cbd5e1;border-radius:8px;justify-content:center;align-items:center;width:36px;height:36px;transition:all .2s;display:flex;box-shadow:0 1px 2px #1018280d}.project-action-btn:hover{color:#0f172a;background-color:#f8fafc;border-color:#cbd5e1}.project-action-btn.active{color:#fff;background-color:#0f172a;border-color:#0f172a}.project-convert-lead-btn{color:#fff;cursor:pointer;background-color:#0f172a;border:1px solid #0f172a;border-radius:8px;align-items:center;gap:6px;height:36px;padding:0 16px;font-size:13px;font-weight:600;transition:all .2s;display:flex;box-shadow:0 1px 2px #1018280d}.project-convert-lead-btn:hover{background-color:#1e293b;border-color:#1e293b}.project-filter-btn{color:#334155;cursor:pointer;background-color:#fff;border:1px solid #cbd5e1;border-radius:8px;align-items:center;gap:6px;height:36px;padding:0 14px;font-size:13px;font-weight:600;transition:all .2s;display:flex;box-shadow:0 1px 2px #1018280d}.project-filter-btn:hover{color:#0f172a;background-color:#f8fafc;border-color:#cbd5e1}.project-filter-btn.active{color:#fff;background-color:#0f172a;border-color:#0f172a}
