*,*:before,*:after{box-sizing:border-box}.show-mobile{display:none}@media (max-width: 660px){.hide-mobile{display:none}.show-mobile{display:inline}}:root{--bg-page: #f2ede6;--bg-card: #fbf7ef;--primary-gold: #d9c19a;--gold-light: #f2e5cb;--gold-hover: #e8d7b5;--text-brown: #6f5534;--text-dark: #2a1f0e;--border-light: #e8dfc8;--accent-gold: #c8b48a;--gold-muted: #a08050;--bg-soft: #f5edde;--border-soft: #e0d6c2;--bg-off-white: #fdfaf4;--shadow-focus: 0 0 0 3px rgba(200,180,138,.2);--shadow-soft: 0 8px 25px rgba(0, 0, 0, .05);--shadow-elevated: 0 30px 80px rgba(0, 0, 0, .07);--shadow-button: 0 6px 15px rgba(0, 0, 0, .08);--radius-large: 28px;--radius-medium: 10px;--radius-small: 10px;--space-xs: clamp(6px, .5vw, 8px);--space-sm: clamp(10px, .8vw, 15px);--space-md: clamp(18px, 1.5vw, 30px);--space-lg: clamp(24px, 2vw, 40px);--space-xl: clamp(32px, 2.5vw, 50px);--space-xxl: clamp(50px, 4vw, 80px);--font-primary: "Playfair Display", Georgia, serif;--font-size-xs: clamp(12px, .75vw, 13px);--font-size-sm: clamp(14px, .9vw, 15px);--font-size-md: clamp(15px, 1vw, 16px);--font-size-lg: clamp(16px, 1.2vw, 18px);--font-size-xl: clamp(20px, 1.8vw, 25px);--font-size-xxl: clamp(22px, 2.2vw, 28px);--font-weight-regular: 400;--font-weight-semibold: 600;--font-weight-bold: 700;--motion-fast: .18s ease;--motion-medium: .3s ease;--motion-slow: .45s ease;--container-max: 860px;--container-narrow: 700px;--panel-label-width: 10rem;--input-height: calc(3rem - 2px) ;--button-height: calc(3rem - 4px) ;--circle-size: 2.4rem;--unit-box-width: 5rem;--unit-box-height: 2.8rem;--legend-size: 1.125rem;--size-project-option-width: 13.75rem;--size-project-option-height: 4.2rem;--size-home-btn: 3.4375rem;--space-8: .5rem;--space-10: .625rem;--space-12: .75rem;--space-15: .9375rem;--space-20: 1.25rem;--space-25: 1.5625rem;--space-30: 1.875rem;--radius-20: 1.25rem;--font-13: .8125rem;--font-14: .875rem;--letter-spacing-sm: .0625rem;--border-thin: 1px;--border-medium: 2px}html{font-size:clamp(14px,1vw,16px)}body{margin:0;font-family:var(--font-primary);background:var(--bg-page);padding:var(--space-lg) 0;min-width:360px;overflow-y:hidden;scrollbar-width:none}body::-webkit-scrollbar{display:none}body:has(.wiz-outer){overflow-y:auto}.main-card{display:flex;width:min(96vw,950px);max-width:950px;position:relative;left:50%;transform:translate(-50%);background:var(--bg-card);border-radius:var(--radius-large);border:1px solid #e0c98a;box-shadow:var(--shadow-elevated),var(--shadow-soft);overflow:hidden;transition:box-shadow .3s ease,max-width .35s ease}.main-card--has-output{box-shadow:0 14px 44px #00000021,0 4px 16px #00000012}.calc-form-card{background:linear-gradient(#fdf8f0d9,#fdf8f0d9),url(/assets/background2-mXjhOr4z.jpg) center/220px auto repeat;border-radius:20px;border:1px solid rgba(224,201,138,.65);padding:18px 44px 24px;position:relative;overflow:hidden}.calc-heading{font-family:var(--font-primary);font-size:19px;font-weight:350;color:#1a1208;letter-spacing:.01em;margin-bottom:32px;line-height:1.2;display:flex;align-items:center;gap:8px}.calc-heading svg{flex-shrink:0;opacity:.65}.right-panel .output-card{max-width:100%;box-sizing:border-box;margin:var(--space-md) 0 var(--space-sm);background:linear-gradient(#fdf8f0d9,#fdf8f0d9),url(/assets/background2-mXjhOr4z.jpg) center/220px auto repeat;border-radius:20px;box-shadow:none;padding:18px clamp(8px,calc(17.5vw - 83.25px),48px) 24px;border:1px solid rgba(224,201,138,.65);position:relative}.right-panel .output-card .ps-body{width:100%}.project-card{max-width:var(--container-narrow);margin:auto;background:var(--bg-card);border-radius:var(--radius-large);box-shadow:var(--shadow-elevated),var(--shadow-soft);padding:0;text-align:center}.project-title{font-size:var(--font-size-lg);margin-bottom:var(--space-sm);letter-spacing:var(--letter-spacing-sm)}.project-sub-title{font-size:var(--font-size-md);margin-bottom:var(--space-xl);letter-spacing:var(--letter-spacing-sm)}.project-options{display:flex;justify-content:center;gap:var(--space-xl)}.project-options-button{width:var(--size-project-option-width);height:var(--size-project-option-height);border-radius:var(--radius-medium);border:var(--border-thin) solid var(--primary-gold);display:flex;flex-direction:column;justify-content:center;align-items:center;cursor:pointer;transition:transform var(--motion-fast),box-shadow var(--motion-fast)}.project-options-button:hover{transform:translateY(-1px);box-shadow:0 12px 25px #00000014,inset 0 1px #fff9}.project-options-button span{font-size:var(--font-size-xs);letter-spacing:var(--letter-spacing-sm)}.project-spaced{margin-top:var(--space-xl)}.project-disabled{opacity:.55;filter:grayscale(40%);pointer-events:none}.project-disabled .project-options-button{cursor:not-allowed}.project-disabled .project-options-button:hover{transform:none;box-shadow:none}#spreadsheetContainer{overflow-x:auto;width:100%}#spreadsheetTable{min-width:1800px;table-layout:auto}#spreadsheetTable th,#spreadsheetTable td{min-width:220px;white-space:nowrap}#spreadsheetTable input,#spreadsheetTable select{width:100%;min-width:200px;box-sizing:border-box}.top-banner{position:fixed;top:0;left:0;right:0;height:30px;background:var(--bg-page);z-index:999;-webkit-app-region:drag}.top-pill{position:fixed;top:14px;left:50%;transform:translate(-50%);width:min(96vw,950px);max-width:950px;z-index:1000;transition:width .32s cubic-bezier(.34,1.18,.64,1),max-width .32s cubic-bezier(.34,1.18,.64,1)}.top-pill.top-pill--wide{width:calc(100vw - 32px);max-width:1460px}.top-pill.top-pill--crm{width:calc(100vw - 220px);max-width:1180px}@media (max-width: 1px){.top-pill{width:calc(100% - 40px);top:5px}}.top-pill:before{content:"";position:absolute;top:0;left:50%;transform:translate(-50%);width:100vw;height:50%;background:var(--bg-page);z-index:-1}.leads-route-shell,.crm-route-shell{position:fixed;top:68px;left:50%;bottom:0;width:min(96vw,950px);max-width:950px;padding:12px 0;box-sizing:border-box;transform:translate(-50%);transition:width .32s cubic-bezier(.34,1.18,.64,1),max-width .32s cubic-bezier(.34,1.18,.64,1)}.leads-route-shell.is-ready,.crm-route-shell.is-ready{width:calc(100vw - 32px);max-width:1460px}.crm-route-shell.is-ready{width:calc(100vw - 220px);max-width:1180px}.top-pill-inner{background:var(--bg-card);border-radius:60px;height:56px;padding:0 20px;display:flex;align-items:center;justify-content:space-between;position:relative;box-shadow:var(--shadow-elevated),var(--shadow-soft);border:1px solid rgba(201,168,92,.6)}.pill-left{display:flex;align-items:center;gap:8px;position:relative;z-index:2}.pill-center-logo{position:absolute;left:50%;top:50%;width:clamp(96px,14vw,150px);height:38px;transform:translate(-50%,-50%);display:flex;align-items:center;justify-content:center;cursor:default;pointer-events:auto;z-index:1}.pill-center-logo:after{content:attr(data-tooltip);position:absolute;top:calc(100% + 8px);left:50%;transform:translate(-50%);padding:4px 10px;border-radius:7px;background:#2a1f12e6;color:#f5edde;font-family:var(--font-primary);font-size:11px;white-space:nowrap;opacity:0;pointer-events:none;z-index:2000;transition:none}.pill-center-logo:hover:after{opacity:1}.pill-center-logo img{display:block;max-width:100%;max-height:34px;object-fit:contain;pointer-events:none}.pill-right{display:flex;align-items:center;gap:clamp(3px,.8vw,7px);justify-content:flex-end;flex-shrink:1;min-width:0;position:relative;z-index:2}.pill-home-btn,.pill-breadcrumb-btn,.pill-notif-btn,.pill-logout-btn,.pill-hamburger-btn,.pill-leads-btn{width:34px;height:34px;border-radius:50%;border:1px solid rgba(160,120,64,.28);background:#f5eddeeb;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;position:relative;transition:background var(--motion-fast),border-color var(--motion-fast)}.pill-home-btn:hover,.pill-breadcrumb-btn:hover,.pill-notif-btn:hover,.pill-logout-btn:hover,.pill-hamburger-btn:hover{border-color:#a07840;background:#d9c19a24}.pill-leads-btn:hover{border-color:#28a045;background:#288c4133}.pill-home-btn:active,.pill-breadcrumb-btn:active,.pill-notif-btn:active,.pill-logout-btn:active,.pill-hamburger-btn:active{border-color:#8a6428;background:#d9c19a38}.pill-leads-btn:active{border-color:#1e8035}.pill-home-btn svg,.pill-breadcrumb-btn svg,.pill-notif-btn svg,.pill-logout-btn svg,.pill-hamburger-btn svg{width:15px;height:15px;color:var(--text-brown);opacity:.75}.pill-leads-btn svg{width:15px;height:15px;color:#000;opacity:.9}.pill-home-btn:after,.pill-breadcrumb-btn:after,.pill-notif-btn:after,.pill-logout-btn:after,.pill-leads-btn:after,.pill-nav-btn:after,.pill-logo-wrap:after{content:attr(data-tooltip);position:absolute;bottom:-28px;left:50%;transform:translate(-50%);background:#2a1f12d1;color:#f5edde;font-family:var(--font-primary);font-size:10px;letter-spacing:.05em;padding:3px 8px;border-radius:6px;white-space:nowrap;opacity:0;pointer-events:none;transition:opacity .08s ease;z-index:100}.pill-home-btn:hover:after,.pill-breadcrumb-btn:hover:after,.pill-notif-btn:hover:after,.pill-logout-btn:hover:after,.pill-leads-btn:hover:after,.pill-nav-btn:hover:after,.pill-logo-wrap:hover:after{opacity:1}.pill-leads-btn{width:auto;min-width:34px;padding:0 12px;gap:6px;justify-content:center;border-color:var(--primary-gold);background:linear-gradient(145deg,#e5cfa6c7,#d5b885c7);border-radius:17px;box-shadow:0 8px 20px #00000024,inset 0 1px #ffffff47;transition:border-color .15s ease,background .15s ease,box-shadow var(--motion-fast)}.pill-leads-btn:hover,.pill-leads-btn.leads-btn--active{border-color:var(--primary-gold);background:linear-gradient(145deg,#e5cfa6d1,#d5b885d1);box-shadow:0 12px 25px #0000001a,inset 0 1px #ffffff4d}.pill-leads-btn.leads-btn--active{background:linear-gradient(145deg,#e5cfa6d1,#d5b885d1)}.leads-btn-icon{flex-shrink:0}.leads-btn-label{font-family:var(--font-primary);font-size:12px;color:#000;white-space:nowrap;opacity:1}@media (max-width: 660px){.pill-center-logo{width:66px;height:28px}.pill-center-logo img{max-height:24px}.pill-leads-btn{width:34px;min-width:34px;padding:0;gap:0;border-radius:50%}.leads-btn-label{display:none}}.leads-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1001;background:#120c049e;opacity:0;visibility:hidden;pointer-events:none;transition:none}.leads-backdrop.leads-backdrop--visible{opacity:1;visibility:visible;pointer-events:all}.leads-modal{position:fixed;top:50%;left:50%;transform:translate(-50%,calc(-50% + 12px));width:min(45vw,800px);max-height:90vh;overflow-y:auto;overflow-x:hidden;scrollbar-width:none;z-index:1002;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .42s ease-out,transform .42s cubic-bezier(.2,.75,.22,1),visibility 0s linear .42s;will-change:opacity,transform;background:#fdf8f0;border:1px solid rgba(196,169,106,.55);border-radius:26px;padding:11px;box-shadow:var(--shadow-elevated),var(--shadow-soft)}.leads-modal::-webkit-scrollbar{display:none}.leads-modal.leads-modal--open{opacity:1;visibility:visible;pointer-events:all;transform:translate(-50%,-50%);transition-delay:0s}.leads-modal.leads-modal--success{width:min(56vw,374px);transition:width .25s ease,opacity .42s ease-out,transform .42s cubic-bezier(.2,.75,.22,1)}.leads-modal-close,.leads-modal-refresh{position:absolute;top:14px;width:28px;height:28px;border-radius:50%;border:1px solid rgba(160,120,64,.22);background:transparent;cursor:pointer;display:flex;align-items:center;justify-content:center;color:var(--text-brown);opacity:.72;transition:opacity .15s,background .15s,border-color .15s,color .15s;flex-shrink:0}.leads-modal-close{right:14px}.leads-modal-close svg{width:13px;height:13px}.leads-modal-refresh{left:14px;width:28px;height:28px;opacity:.78;border:1px solid rgba(160,120,64,.44);background:#fffaf059}.leads-modal-refresh svg{width:13px;height:13px}.leads-modal-close:hover{opacity:1;background:#a0784024;border-color:#a0784080;color:#6f5534}.leads-modal-refresh:hover{opacity:1;background:#a0784038;border-color:#a07840b3;color:#6f5534}.leads-left-title{font-family:var(--font-primary);font-size:13px;font-weight:700;color:var(--text-brown);letter-spacing:.04em;opacity:.8;margin-bottom:14px;display:block}.leads-summ-empty{opacity:.3;font-style:italic}.leads-summ-remarks{font-family:var(--font-body);font-size:11px;color:var(--text-brown);opacity:.6;text-align:center;line-height:1.45;width:100%;word-break:break-word;overflow:hidden;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;border-top:1px solid rgba(160,120,64,.14);padding-top:8px;margin-top:4px}.leads-summ-remarks:empty{display:none}.leads-panel-title{font-family:var(--font-primary);font-size:clamp(17px,1.45vw,20px);font-weight:300;color:#1a1208;letter-spacing:-.3px;line-height:1.2;margin:0 0 30px;padding-top:36px}.leads-form-inner{position:relative;border:1px solid rgba(224,201,138,.65);border-radius:20px;padding:26px 44px 32px;background:linear-gradient(#fdf8f0d9,#fdf8f0d9),url(/assets/background2-mXjhOr4z.jpg) center/220px auto repeat;width:100%;box-sizing:border-box}.leads-form-inner .leads-form-label,.leads-form-inner label,.leads-form-inner #leadSaveBtn{font-family:Playfair Display,Georgia,Times New Roman,serif!important;font-size:14px!important;font-weight:400!important;font-style:normal!important;letter-spacing:0!important;text-transform:none!important}.leads-form-row{display:flex;align-items:center;gap:0;margin-bottom:16px}.leads-form-row--top{align-items:flex-start}.leads-form-label{width:var(--panel-label-width);min-width:7rem;flex-shrink:0;font-family:"Source Sans 3",Source Sans Pro,Segoe UI,sans-serif;font-size:14px;font-weight:400;color:#2a1f0e;letter-spacing:0;text-transform:none}.leads-form-row--top .leads-form-label{padding-top:8px}#leadsFormInner .leads-form-label{font-family:"Source Sans 3",Source Sans Pro,Segoe UI,sans-serif;font-size:14px;font-weight:400;color:#2a1f0e;letter-spacing:0;text-transform:none;margin-bottom:0}.leads-form-label--stack{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:6px!important}.leads-select-flat-add-btn{width:28px;height:28px;border-radius:50%;border:1px solid rgba(196,169,106,.7);background:#faf3e4;color:#7a5228;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;padding:0;transition:transform .15s ease,background .15s ease,border-color .15s ease}.leads-select-flat-add-btn svg{width:14px;height:14px}.leads-select-flat-add-btn:hover{background:#f5ebd7;border-color:#a07840;transform:translateY(-1px)}.leads-sal-wrap{flex-shrink:0;display:flex;gap:5px;align-items:center;margin-right:6px}.lsal-btn{width:44px;height:var(--input-height);border-radius:var(--radius-medium);border:var(--border-thin) solid #ddd;background:#faf8f3;cursor:pointer;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center;font-family:"Source Sans 3",Source Sans Pro,Segoe UI,sans-serif;font-size:13px;font-weight:400;transition:background var(--motion-fast),border-color var(--motion-fast)}.lsal-btn:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:url(/assets/white%20pattern-qop3YNpn.png) center/380px auto repeat;opacity:.08;pointer-events:none}.lsal-btn.lsal-active{background:var(--gold-light);border-color:var(--primary-gold)}.lsal-btn:hover{background:var(--gold-hover)}.leads-field-label{font-family:var(--font-primary);font-size:10px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--text-brown);opacity:.65}.leads-input{flex:1;min-width:0;background:#faf8f3;border:1px solid #ddd;border-radius:var(--radius-medium);padding:0 11px;height:var(--input-height);font-family:"Source Sans 3",Source Sans Pro,Segoe UI,sans-serif;font-size:15px;color:var(--text-brown);outline:none;box-sizing:border-box;transition:border-color .15s ease,background .15s ease}.leads-input:focus{border-color:var(--primary-gold);background:#fff}.leads-input--error{border-color:#c0392b!important}.leads-field-err-msg{font-family:"Source Sans 3",sans-serif;font-size:11.5px;font-style:italic;color:#c0392b;margin-top:-14px;margin-bottom:4px;padding-left:3px}.leads-input::placeholder{font-style:normal;color:#2a1f1299;opacity:1}.leads-input::-webkit-input-placeholder{font-style:normal;color:#2a1f1299}.leads-input::-moz-placeholder{font-style:normal;color:#2a1f1299;opacity:1}.leads-textarea{resize:none;height:auto;min-height:64px;padding-top:9px;padding-bottom:9px;line-height:1.5}.leads-remarks-wrap{flex:1;min-width:0;display:flex;flex-direction:column;gap:8px}.leads-remarks-field{position:relative;flex:1}.leads-remarks-field .leads-textarea{width:100%;padding-right:42px;box-sizing:border-box}.leads-remarks-actions{display:flex;justify-content:flex-end;gap:8px}.leads-remarks-mic{width:var(--input-height);height:var(--input-height);flex:0 0 var(--input-height);border-radius:50%;border:1px solid var(--primary-gold);background:var(--gold-light);color:var(--text-brown);display:inline-flex;align-items:center;justify-content:center;cursor:pointer;position:relative;overflow:hidden;box-shadow:inset 0 1px #fff9,var(--shadow-button);transition:transform var(--motion-fast),box-shadow var(--motion-fast),background var(--motion-fast),color var(--motion-fast)}.leads-remarks-mic:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:url(/assets/white%20pattern-qop3YNpn.png) center/360px auto repeat;opacity:.1;pointer-events:none}.leads-remarks-mic svg{width:16px;height:16px;position:relative;z-index:1}.leads-remarks-mic:hover:not(:disabled){background:var(--gold-hover);transform:translateY(-1px);box-shadow:0 12px 25px #00000014,inset 0 1px #fff9}.leads-remarks-mic.is-listening{background:#c97a5b;border-color:#b55f42;color:#fff7f2}.leads-remarks-mic:disabled{opacity:.45;cursor:not-allowed;box-shadow:none}.leads-remarks-mic.leads-remarks-mic--inside{position:absolute;right:8px;bottom:8px;width:28px;height:28px;flex:none;z-index:2}.leads-multi-wrap{display:flex;flex-direction:column;gap:6px;flex:1;min-width:0}.leads-flat-wrap,.leads-remarks-wrap{margin-top:0}.leads-multi-row{display:flex;gap:6px;align-items:center}.leads-multi-row .leads-input{flex:1;min-width:0}.leads-label-input{flex:0 0 130px!important;min-width:0;font-size:12.5px}.leads-add-row-btn,.leads-remove-row-btn{flex-shrink:0;width:34px;height:34px;border-radius:50%;border:1.5px solid rgba(160,120,64,.45);background:#fff9;cursor:pointer;display:flex;align-items:center;justify-content:center;color:#a07840;transition:background .15s,border-color .15s,color .15s}.leads-add-row-btn svg,.leads-remove-row-btn svg{width:16px;height:16px}.leads-add-row-btn:hover{background:#288c411f;border-color:#28a045;color:#1f7c37}.leads-remove-row-btn:hover{background:#c0392b1a;border-color:#c0392b66;color:#c0392b}.leads-save-row{padding:10px 0 2px}.leads-save-btn{width:100%;height:var(--button-height);border-radius:var(--radius-medium);border:1px solid var(--primary-gold);font-family:"Source Sans 3",Source Sans Pro,Segoe UI,sans-serif;font-size:14px;font-weight:400;cursor:pointer;background:var(--gold-light);color:#1a1a1a;display:flex;align-items:center;justify-content:center;gap:8px;position:relative;overflow:hidden;box-shadow:inset 0 1px #fff9,var(--shadow-button);transition:transform var(--motion-fast),box-shadow var(--motion-fast),background var(--motion-fast)}.leads-save-btn:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:url(/assets/white%20pattern-qop3YNpn.png) center/360px auto repeat;opacity:.1;pointer-events:none}.leads-save-btn:hover{background:var(--gold-hover);transform:translateY(-1px);box-shadow:0 12px 25px #00000014,inset 0 1px #fff9}.leads-save-btn>*{position:relative;z-index:1}.leads-save-btn svg{width:16px;height:16px;flex-shrink:0}.leads-save-btn--saving{opacity:.6;pointer-events:none}.leads-save-btn--error{border-color:#c0392b!important;color:#c0392b!important}.leads-save-btn--success{background:#2ea0431a!important;border-color:#2ea04373!important;color:#2a7a3a!important}.leads-flats-card{margin-top:14px}.leads-rr-total-row{display:contents}.leads-select-wrap{flex:1;min-width:0;width:auto}.leads-select-wrap select{width:100%;height:var(--input-height);border-radius:var(--radius-medium);border:1px solid #ddd;background:#faf8f3;padding:0 36px 0 8px;font-family:"Source Sans 3",Source Sans Pro,Segoe UI,sans-serif;font-size:15px;font-weight:400;color:var(--text-brown);-moz-appearance:none;appearance:none;-webkit-appearance:none;cursor:pointer;outline:none}.leads-select-wrap select:focus{border-color:var(--primary-gold);box-shadow:0 0 0 3px #c8b48a33}.leads-pill-group{flex:1;min-width:0;width:auto}.leads-adv-toggle-row{display:flex;justify-content:flex-end;padding:2px 0 0}@media (max-width: 560px){.leads-form-row,.leads-form-row--top{flex-direction:column;align-items:flex-start;gap:3px}.leads-form-label{width:100%!important;min-width:unset;line-height:1;padding-top:0!important;margin-bottom:2px}.leads-multi-wrap{width:100%}.leads-form-label--stack{margin-bottom:8px}.leads-flat-row{grid-template-columns:1fr auto}.leads-flat-row__meta{grid-column:1 / -1;margin-top:-2px}.lead-flat-grid{grid-template-columns:1fr}}.leads-summary-avatar{width:60px;height:60px;border-radius:50%;background:#ffffff8c;border:2px solid rgba(160,120,64,.45);box-shadow:0 2px 10px #00000017;display:flex;align-items:center;justify-content:center;color:#7a4f2c;flex-shrink:0}.leads-summary-avatar svg{width:36px;height:36px}.leads-summary-name{font-family:var(--font-primary);font-size:14px;font-weight:700;color:var(--text-brown);text-align:center;line-height:1.3;word-break:break-word;padding-bottom:10px;width:100%;border-bottom:1px solid rgba(160,120,64,.18)}.leads-summary-contact-group{width:100%}.leads-summary-primary-row{display:flex;align-items:center;justify-content:center;gap:5px;flex-wrap:wrap}.leads-summary-icon{display:flex;align-items:center;flex-shrink:0}.leads-summary-icon svg{width:13px;height:13px;color:var(--text-brown);opacity:.6}.leads-summary-value{font-family:var(--font-body);font-size:11.5px;color:var(--text-brown);opacity:.82;word-break:break-all;text-align:center}.leads-expand-btn{background:none;border:none;cursor:pointer;color:#a07840;font-size:11px;padding:0 2px;opacity:.7;transition:transform .2s ease,opacity .15s;flex-shrink:0}.leads-expand-btn.expanded{transform:rotate(180deg)}.leads-summary-more{display:none;flex-direction:column;gap:3px;padding:3px 0;text-align:center}.leads-summary-more.show{display:flex}.leads-summary-more-item{font-size:11px;color:var(--text-brown);opacity:.7;text-align:center}.leads-summary-more-item em{font-style:normal;opacity:.6}.leads-summary-remarks-wrap{width:100%;display:flex;flex-direction:column;gap:4px}.leads-summary-remarks{font-size:12px;padding:7px 9px;height:auto;min-height:52px}.pill-logo{height:36px;object-fit:contain;display:block;cursor:pointer;position:relative;transition:transform .2s ease,opacity .2s ease}.pill-logo:hover{transform:scale(1.06);opacity:.85}.pill-logo:active{transform:scale(.94);opacity:.7}.pill-nav-btn{height:34px;min-width:80px;padding:0 16px;flex-shrink:0;border-radius:40px;border:1px solid rgba(160,120,64,.28);background:#f5eddeeb;font-family:var(--font-primary);font-size:13px;font-weight:500;color:var(--text-brown);cursor:pointer;white-space:nowrap;display:inline-flex;align-items:center;justify-content:center;position:relative;transition:opacity .15s ease,border-color var(--motion-fast),color var(--motion-fast),transform var(--motion-fast),background var(--motion-fast)}.pill-nav-btn:hover{border-color:#a07840;color:#3a2410;background:#d9c19a24}.pill-nav-btn:active{transform:scale(.96);border-color:#8a6428;background:#d9c19a38}#lrmBtn,#crmBtn{min-width:0;padding:0 10px;font-size:11px;height:34px}.pill-breadcrumb-btn{display:inline-flex;opacity:.72}.pill-breadcrumb-btn:hover{opacity:1}.pill-breadcrumb--inactive{opacity:.22!important;pointer-events:none;cursor:default}.pill-home-btn{font-size:15px;line-height:1}.unsaved-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:4000;background:#2a1f126b;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);display:flex;align-items:center;justify-content:center;animation:uFadeIn .15s ease}@keyframes uFadeIn{0%{opacity:0}to{opacity:1}}.unsaved-modal{position:relative;background:var(--bg-card);border-radius:20px;border:1px solid rgba(224,201,138,.55);padding:36px 40px 28px;max-width:360px;width:calc(100% - 40px);box-shadow:0 8px 48px #00000029;display:flex;flex-direction:column;gap:12px;animation:uModalPop .2s cubic-bezier(.34,1.4,.64,1);overflow:hidden}.unsaved-modal:before{content:"";position:absolute;top:10px;right:10px;bottom:10px;left:10px;border-radius:14px;border:1px solid rgba(224,201,138,.38);pointer-events:none}@keyframes uModalPop{0%{opacity:0;transform:scale(.9)}to{opacity:1;transform:scale(1)}}.unsaved-modal-emoji{font-size:30px;text-align:center;line-height:1;margin-bottom:4px}.unsaved-modal-title{margin:0;text-align:center;font-family:var(--font-primary);font-size:17px;font-weight:600;color:#111}.unsaved-modal-sub{margin:0;text-align:center;font-family:var(--font-primary);font-size:13.5px;color:var(--text-brown);opacity:.6;line-height:1.5}.unsaved-modal-btns{display:flex;flex-direction:row;justify-content:center;gap:10px;margin-top:10px;flex-wrap:wrap}.unsaved-btn{min-width:120px;height:42px;padding:0 18px;border-radius:var(--radius-medium);border:1px solid var(--primary-gold);background:var(--gold-light);font-family:var(--font-primary);font-size:var(--font-size-sm);font-weight:400;color:#1a1a1a;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px;position:relative;overflow:hidden;box-shadow:inset 0 1px #fff9,var(--shadow-button);transition:transform var(--motion-fast),box-shadow var(--motion-fast),background-color var(--motion-fast),border-color var(--motion-fast),color var(--motion-fast)}.unsaved-btn:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:url(/assets/white%20pattern-qop3YNpn.png) center/360px auto repeat;opacity:.1;pointer-events:none}.unsaved-btn:hover{background-color:var(--gold-hover);transform:translateY(-1px);box-shadow:0 12px 25px #00000014,inset 0 1px #fff9}.unsaved-btn:active{transform:scale(.97)}.unsaved-btn--leave{color:var(--text-dark);background:var(--bg-light);border:var(--border-thin) solid var(--primary-gold);box-shadow:none}.unsaved-btn--leave:hover{background-color:var(--gold-light);color:var(--text-dark);transform:translateY(-1px)}.confirm-modal-btn{min-width:120px;height:42px;padding:0 18px;display:inline-flex;align-items:center;justify-content:center}.leads-delete-ctx-menu{position:fixed;z-index:9999;min-width:144px;padding:6px;background:var(--bg-card);border:1px solid rgba(224,201,138,.6);border-radius:12px;box-shadow:0 8px 20px #0000001f}.leads-delete-ctx-menu:before{content:"";position:absolute;top:6px;right:6px;bottom:6px;left:6px;border-radius:8px;border:1px solid rgba(224,201,138,.34);pointer-events:none}.leads-delete-ctx-btn{position:relative;z-index:1;width:100%;height:32px;border:0;border-radius:8px;background:#e0c98a1f;color:#5a3d1f;font-family:var(--font-primary);font-size:12px;font-weight:500;text-align:left;padding:0 10px;cursor:pointer;transition:background-color .15s ease,transform .15s ease}.leads-delete-ctx-btn:hover{background:#e0c98a33;transform:translateY(-1px)}.leads-ctx-delete-btn:hover{background:#b43c3c1a;color:#a03030}@keyframes reminder-pulse{0%{box-shadow:0 0 #b48c3c80}60%{box-shadow:0 0 0 8px #b48c3c00}to{box-shadow:0 0 #b48c3c00}}.leads-kanban-card--reminder-pulse{animation:reminder-pulse .7s ease 3}.site-modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#2a1f128c;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);z-index:2000;display:flex;align-items:center;justify-content:center;opacity:0;pointer-events:none;transition:opacity .3s ease}.site-modal-overlay.site-modal--open{opacity:1;pointer-events:all}.site-modal-card{width:min(96vw,1280px);height:min(88vh,820px);background:var(--bg-card);border-radius:24px;overflow:hidden;box-shadow:0 40px 100px #00000038,0 8px 24px #0000001f,inset 0 1px #fffc;display:flex;flex-direction:column;transform:scale(.94) translateY(16px);transition:transform .32s cubic-bezier(.34,1.3,.64,1)}.site-modal-overlay.site-modal--open .site-modal-card{transform:scale(1) translateY(0)}.site-modal-bar{display:flex;align-items:center;justify-content:space-between;padding:12px 18px;background:linear-gradient(to right,#f0e8d8,#ede0cc);border-bottom:1px solid rgba(217,193,154,.4);flex-shrink:0}.site-modal-url{font-family:var(--font-primary);font-size:12px;color:var(--text-brown);opacity:.7;letter-spacing:.04em}.site-modal-close{width:28px;height:28px;border-radius:50%;border:1px solid rgba(111,85,52,.25);background:transparent;color:var(--text-brown);font-size:14px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background var(--motion-fast),border-color var(--motion-fast);font-family:var(--font-primary)}.site-modal-close:hover{background:#6f55341a;border-color:var(--text-brown)}.site-modal-iframe{flex:1;width:100%;border:none;display:block}.page{padding-top:2px;padding-left:var(--space-xl);padding-right:var(--space-xl);background:transparent}.page .project-card+.project-card{margin-top:var(--space-xl)}.calc-page{padding-top:calc(85px - var(--space-lg))!important;background:transparent!important}#advancedSection{max-height:600px;overflow:hidden;transition:max-height .55s ease,opacity .55s ease;opacity:1}.adv-hidden{max-height:0!important;opacity:0!important}.project-card-top{position:relative;background:linear-gradient(145deg,#efe2cd,#e0cfb5);display:flex;align-items:center;justify-content:center;text-align:center;padding:var(--space-xl) var(--space-lg);border-radius:var(--radius-large) var(--radius-large) 0 0;overflow:hidden}.project-card-top:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:url(/assets/white%20pattern-qop3YNpn.png) center/cover no-repeat;opacity:.1;z-index:0}.project-card-top-content{position:relative;z-index:1}.project-card-top-content h3{font-size:var(--font-size-lg);letter-spacing:var(--letter-spacing-sm);margin:0 0 4px}.project-card-top-content p{font-size:var(--font-size-sm);margin:0;color:var(--text-brown)}.project-card-bottom{padding:var(--space-xl) var(--space-lg) var(--space-xxl);display:flex;flex-direction:column;align-items:center;gap:var(--space-md);text-align:center}.project-card-bottom p{font-size:var(--font-size-sm);color:var(--text-brown);margin:0}.category-buttons{display:flex;justify-content:center;gap:var(--space-xl);flex-wrap:wrap}.cat-btn{width:var(--size-project-option-width);height:var(--size-project-option-height);border-radius:var(--radius-medium);border:var(--border-thin) solid var(--primary-gold);background:transparent;font-family:var(--font-primary);font-size:var(--font-size-sm);letter-spacing:var(--letter-spacing-sm);cursor:pointer;display:flex;align-items:center;justify-content:center;transition:transform var(--motion-fast),box-shadow var(--motion-fast)}.cat-btn:hover{transform:translateY(-1px);box-shadow:0 12px 25px #00000014,inset 0 1px #fff9}.field-error{border:1px solid #d9534f!important;background:#fff5f5}.error-text{color:#d9534f;font-size:12px;margin-top:4px;margin-bottom:8px}.login-wrapper{display:flex;justify-content:center;align-items:flex-start;min-height:100vh;padding:95px 20px 40px}.login-card{width:760px;max-width:92%;height:420px;background:var(--bg-card);border-radius:var(--radius-large);display:flex;overflow:hidden;box-shadow:var(--shadow-elevated),var(--shadow-soft)}.login-left{position:relative;width:28%;background:linear-gradient(145deg,#efe2cd,#e6d5bc);display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px 20px;text-align:center;overflow:hidden}.login-left:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:url(/assets/white%20pattern%20vertical-B9K8rz5L.png) center/cover no-repeat;opacity:.1;z-index:0}.login-left img,.login-left h2{position:relative;z-index:1}.login-left img{width:115px;margin-bottom:25px}.login-left h2{font-size:var(--font-size-md);letter-spacing:1px;color:#181818;font-weight:400}.login-right{width:72%;padding:50px;display:flex;flex-direction:column;justify-content:center;align-items:center}.login-right h1{font-size:var(--font-size-md);margin-bottom:14px;letter-spacing:1px;font-weight:400}.luxury-line{width:380px;height:1px;background:linear-gradient(to right,transparent,var(--primary-gold),#bfa877,var(--primary-gold),transparent);margin:8px auto 24px}.login-field{display:flex;align-items:center;gap:14px;margin-bottom:22px;width:100%;max-width:360px}.login-field label{font-size:var(--font-size-sm);color:#000;min-width:90px;font-weight:500}.login-field input{flex:1;height:var(--input-height);border-radius:var(--radius-medium);border:1px solid #e0d6c2;padding:0 14px;font-size:var(--font-size-sm);background:#faf8f3}.login-btn{margin-top:15px;height:var(--input-height);width:100%;max-width:360px;border-radius:var(--radius-medium);border:1px solid var(--primary-gold);background:transparent;font-size:var(--font-size-sm);letter-spacing:.06em;font-family:var(--font-primary);cursor:pointer;transition:border var(--motion-fast)}.login-btn:hover{border-color:#bfa877;background:linear-gradient(145deg,#e8cda4e7)}.login-create-btn{margin-top:16px;padding:0;border:0;background:transparent;color:#6f4c1b;font:700 14px var(--font-primary);cursor:pointer;text-decoration:underline;text-underline-offset:3px}.login-create-btn:hover{color:#9f6f19}@media (max-width: 660px){.login-wrapper{padding:60px 16px 30px;align-items:center}.login-card{flex-direction:column;height:auto;max-width:100%}.login-left{width:100%;padding:28px 20px;border-radius:var(--radius-large) var(--radius-large) 0 0;border-bottom:1px solid #e0d6c2}.login-left img{width:85px;margin-bottom:14px}.login-left h2{font-size:14px}.login-right{width:100%;padding:28px 20px 34px}.login-right h1{font-size:15px;margin-bottom:10px}.luxury-line{width:100%;margin:6px auto 20px}.login-field{gap:10px;margin-bottom:18px;max-width:100%}.login-field label{min-width:72px;font-size:13px}.login-field input{font-size:14px}.login-btn{max-width:100%;margin-top:10px;font-size:14px}}.wiz-outer{max-width:880px;margin:0 auto;padding:90px 0 var(--space-xl);font-family:var(--font-primary)}.wiz-shell{display:flex;background:var(--bg-card);border-radius:var(--radius-large);box-shadow:var(--shadow-elevated),var(--shadow-soft);overflow:hidden;min-height:520px;max-height:calc(100vh - 150px);font-family:var(--font-primary)}.wiz-sidebar{width:240px;flex-shrink:0;background:linear-gradient(160deg,#ede4d3,#e4d8c4 60%,#ddd0b8);display:flex;flex-direction:column;align-items:flex-start;padding:32px 24px 32px 28px;position:relative;font-family:var(--font-primary);overflow:hidden}.wiz-sidebar:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background-image:url(/assets/white%20pattern%20vertical-B9K8rz5L.png);background-position:top left;background-repeat:repeat;background-size:280px auto;opacity:.14;z-index:0;pointer-events:none}.wiz-sidebar>*{position:relative;z-index:1}.wiz-exit-btn{position:absolute;top:24px;right:24px;width:32px;height:32px;border-radius:50%;border:1px solid rgba(111,85,52,.3);background:transparent;font-size:14px;color:var(--text-brown);cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all var(--motion-fast);font-family:var(--font-primary)}.wiz-exit-btn:hover{background:#6f55341a;border-color:var(--text-brown)}.wiz-brand{margin-bottom:40px;margin-top:4px}.wiz-brand-logo{height:38px;object-fit:contain}.wiz-stepper{display:flex;flex-direction:column;gap:6px;width:100%;flex:1}.wiz-step{display:flex;align-items:center;gap:14px;padding:10px 12px;border-radius:12px;cursor:pointer;transition:background var(--motion-fast);position:relative}.wiz-step:hover{background:#ffffff4d}.wiz-step--active{background:#ffffff73}.wiz-step--done{opacity:.75}.wiz-step--done:hover{opacity:1}.wiz-step-dot{width:32px;height:32px;border-radius:50%;border:1.5px solid rgba(111,85,52,.35);background:#ffffff80;display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:all var(--motion-medium);font-size:13px;color:var(--text-brown)}.wiz-step--active .wiz-step-dot{background:#d4b98a2e;border:1.5px solid #c8a96e;color:#b8954a}.wiz-step--done .wiz-step-dot{background:#c8b48a;border-color:#c8b48a;color:#fff}.wiz-step-num{font-size:12px;font-weight:600;line-height:1}.wiz-step-text{display:flex;flex-direction:column;gap:1px}.wiz-step-label{font-size:14px;font-weight:600;color:var(--text-brown);letter-spacing:.02em;font-family:var(--font-primary)}.wiz-step-hint{font-size:11px;color:var(--text-brown);opacity:.7;font-family:var(--font-primary)}.wiz-step--active .wiz-step-label{color:#1a1208}.wiz-main{flex:1;display:flex;flex-direction:column;background:var(--bg-card);position:relative;min-height:0;padding:18px 18px 0;overflow:hidden}.wiz-content-wrap{flex:1;padding:0 8% 40px;display:flex;align-items:flex-start;min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;background:#fdfaf4b8;border:1.5px solid rgba(216,203,176,.95);border-radius:26px;box-shadow:inset 0 0 0 1px #ffffff8c}.wiz-entering{animation:wizSlideIn .28s cubic-bezier(.4,0,.2,1)}@keyframes wizSlideIn{0%{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}.wiz-step-body{width:100%;max-width:560px;padding-top:40px}.wiz-step-body--wide{max-width:100%;padding-left:0;padding-right:0}.wiz-step-header{margin-bottom:40px}.wiz-step-eyebrow{font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:#a08050;margin-bottom:10px;font-weight:600}.wiz-step-title{font-size:clamp(22px,2.2vw,30px);font-weight:400;color:#1a1208;margin:0 0 10px;line-height:1.2;letter-spacing:-.01em}.wiz-step-sub{font-size:14px;color:#8a7258;margin:0;line-height:1.5}.wiz-fields{display:flex;flex-direction:column;gap:24px}.wiz-field{display:flex;flex-direction:column;gap:7px}.wiz-field--inline{flex:1;min-width:140px}.wiz-label{font-size:12.5px;font-weight:600;color:#5a4630;letter-spacing:.02em;text-transform:none}.wiz-required{color:#c0845a}.wiz-input{height:48px;border:1.5px solid #e0d6c2;border-radius:10px;background:#faf8f3;padding:0 16px;font-size:15px;font-family:var(--font-primary);color:#1a1208;transition:border-color var(--motion-fast),box-shadow var(--motion-fast);outline:none;width:100%;box-sizing:border-box}.wiz-input:focus{border-color:#c8b48a;box-shadow:0 0 0 3px #c8b48a33}.wiz-input::placeholder{color:#bdb09a}.wiz-input--sm{height:40px;font-size:13.5px}.wiz-select{height:40px;border:1.5px solid #e0d6c2;border-radius:10px;background:#faf8f3;padding:0 12px;font-size:13.5px;font-family:var(--font-primary);color:#1a1208;outline:none;cursor:pointer;width:100%;box-sizing:border-box}.wiz-select:focus{border-color:#c8b48a;box-shadow:0 0 0 3px #c8b48a33}.wiz-inline-fields{display:flex;flex-wrap:wrap;gap:14px}.wiz-radio-group{display:flex;gap:12px;flex-wrap:wrap}.wiz-radio-card{display:flex;align-items:center;gap:10px;padding:12px 20px;border:1.5px solid #e0d6c2;border-radius:10px;background:#faf8f3;cursor:pointer;font-size:14px;color:#5a4630;transition:all var(--motion-fast);-webkit-user-select:none;user-select:none}.wiz-radio-card input{display:none}.wiz-radio-dot{width:14px;height:14px;border-radius:50%;border:1.5px solid #c8b48a;flex-shrink:0;transition:all var(--motion-fast)}.wiz-radio-card--active{border-color:#c8b48a;background:#f5edde}.wiz-radio-card--active .wiz-radio-dot{background:#a08050;border-color:#a08050;box-shadow:0 0 0 3px #a0805033}.wiz-cat-grid{display:flex;flex-wrap:wrap;gap:12px}.wiz-cat-tile{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;width:96px;height:88px;border:1.5px solid #e0d6c2;border-radius:14px;background:#faf8f3;cursor:pointer;transition:all var(--motion-fast);-webkit-user-select:none;user-select:none}.wiz-cat-tile:hover{border-color:#c8b48a;transform:translateY(-2px);box-shadow:0 6px 18px #00000012}.wiz-cat-tile--active{border-color:#a08050;background:#f5edde;box-shadow:0 4px 14px #a080502e}.wiz-cat-icon{font-size:24px;line-height:1}.wiz-cat-name{font-size:12px;font-weight:600;color:#5a4630;letter-spacing:.04em}.wiz-custom-row{display:flex;gap:10px;align-items:center}.wiz-add-btn{height:40px;padding:0 18px;border:1.5px solid var(--primary-gold);border-radius:10px;background:transparent;font-family:var(--font-primary);font-size:13px;color:var(--text-brown);cursor:pointer;white-space:nowrap;transition:all var(--motion-fast)}.wiz-add-btn:hover{background:#f5edde}.wiz-selected-tags{display:flex;flex-wrap:wrap;gap:8px;min-height:20px}.wiz-tag{display:inline-flex;align-items:center;gap:6px;padding:5px 12px;background:#f0e8d8;border:1px solid #d4c4a4;border-radius:20px;font-size:12.5px;color:#5a4630;font-weight:500}.wiz-tag-remove{background:none;border:none;cursor:pointer;color:#a08050;font-size:16px;line-height:1;padding:0;display:flex;align-items:center;transition:color var(--motion-fast)}.wiz-tag-remove:hover{color:#6f5534}.wiz-error-msg{color:#c0845a;font-size:13px;margin:0}.wiz-pricing-block{border:1px solid #e8dfc8;border-radius:14px;padding:20px 22px;background:#fdfaf4}.wiz-pricing-block-title{font-size:11px;letter-spacing:.12em;font-weight:700;color:#a08050;margin-bottom:16px}.wiz-divider-label{font-size:11px;letter-spacing:.1em;text-transform:uppercase;font-weight:700;color:#a08050;padding-bottom:8px;border-bottom:1px solid #e8dfc8;margin-top:4px}.wiz-units-container{display:flex;flex-direction:column;gap:28px;margin:0 -48px}.wiz-unit-list{overflow-x:auto;padding:12px 16px;display:flex;flex-direction:column;gap:8px}.wiz-units-section{border:1px solid #e8dfc8;border-radius:14px;overflow:hidden;background:#fdfaf4}.wiz-units-section-header{display:flex;justify-content:space-between;align-items:center;padding:14px 20px;background:linear-gradient(to right,#f0e8d8,#ede0cc);border-bottom:1px solid #e0d4bc}.wiz-units-cat-label{font-size:11px;letter-spacing:.12em;font-weight:700;color:#6f5534}.wiz-add-unit-btn{height:30px;padding:0 14px;border:1px solid #c8b48a;border-radius:8px;background:#fff;font-family:var(--font-primary);font-size:12px;color:var(--text-brown);cursor:pointer;transition:all var(--motion-fast)}.wiz-add-unit-btn:hover{background:#f5edde}.wiz-unit-row{display:grid;grid-template-columns:90px 90px 80px 100px 100px 110px 32px;gap:6px;align-items:center}.wiz-unit-row--header{font-size:11px;font-weight:600;color:#a08050;letter-spacing:.06em;text-transform:uppercase;padding:0 2px 4px;border-bottom:1px solid #e8dfc8}.wiz-unit-row--header span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.wiz-remove-btn{width:28px;height:28px;border-radius:6px;border:1px solid rgba(220,80,60,.35);background:transparent;font-size:16px;color:#d9534f;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all var(--motion-fast);padding:0}.wiz-remove-btn:hover{border-color:#c0392b;color:#c0392b;background:#fff0ef}.wiz-dots-row{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:12px;padding:18px 0 0}.wiz-dots-pips{display:flex;justify-content:center;align-items:center;gap:10px}.wiz-save-exit-btn{height:38px;padding:0 24px;border-radius:40px;border:1.5px solid var(--primary-gold);background:transparent;font-family:var(--font-primary);font-size:13px;font-weight:500;color:var(--text-brown);cursor:pointer;letter-spacing:.03em;transition:background var(--motion-fast),border-color var(--motion-fast),transform var(--motion-fast)}.wiz-save-exit-btn:hover{background:var(--gold-light);border-color:#a07840;transform:translateY(-1px)}.wiz-save-exit-btn:active{transform:scale(.97)}.wiz-continue-btn{position:absolute;bottom:24px;right:24px;width:54px;height:54px;border-radius:50%;background:linear-gradient(145deg,#e5cfa6,#d5b885);border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 6px 20px #a080504d,inset 0 1px #ffffff80;transition:transform var(--motion-fast),box-shadow var(--motion-fast);flex-shrink:0}.wiz-continue-btn:hover{transform:translateY(-2px) scale(1.05);box-shadow:0 10px 28px #a0805066,inset 0 1px #ffffff80}.wiz-continue-btn svg{width:22px;height:22px;stroke:var(--text-brown);stroke-width:2.5;fill:none}.wiz-continue-btn--finish{background:linear-gradient(145deg,#e5cfa6,#d5b885)}.wiz-dot{width:8px;height:8px;border-radius:50%;border:none;background:#ddd4c0;cursor:pointer;padding:0;transition:all var(--motion-medium)}.wiz-dot:hover{background:#c8b48a;transform:scale(1.2)}.wiz-dot--active{width:24px;border-radius:4px;background:#a08050}.wiz-dot--done{background:#c8b48a}.wiz-btn{height:46px;padding:0 28px;border-radius:10px;font-family:var(--font-primary);font-size:14px;cursor:pointer;display:inline-flex;align-items:center;gap:6px;transition:all var(--motion-fast);letter-spacing:.02em}.wiz-btn--ghost{background:transparent;border:1.5px solid #ddd4c0;color:#8a7258}.wiz-btn--ghost:hover{border-color:#c8b48a;color:var(--text-brown);background:#faf5ec}.wiz-btn--primary{background:linear-gradient(145deg,#e5cfa6,#d5b885);border:none;color:#3a2410;box-shadow:0 4px 14px #a0805040,inset 0 1px #fff6;font-weight:600}.wiz-btn--primary:hover{transform:translateY(-1px);box-shadow:0 8px 22px #a0805052,inset 0 1px #fff6}.wiz-btn--finish{background:linear-gradient(145deg,#3a2e1f,#5a4630);border:none;color:#f5edde;box-shadow:0 4px 18px #3a2e1f4d,inset 0 1px #ffffff1a;font-weight:600;letter-spacing:.04em}.wiz-btn--finish:hover{transform:translateY(-1px);box-shadow:0 8px 26px #3a2e1f61,inset 0 1px #ffffff1a}.wiz-btn--finish:disabled{opacity:.6;cursor:not-allowed;transform:none}.wiz-input.field-error{border-color:#c0845a!important;background:#fff8f5}#calcUnit{width:18rem;max-width:100%}#calcRR,#calcTotal{width:12rem;max-width:100%}#calcCustomer,#calcInclusive{width:18rem;max-width:100%}#calcMode{width:18rem}#calcParking .circle-group{max-width:100%}.wiz-reset-btn{position:absolute;top:16px;right:16px;height:30px;padding:0 14px;border-radius:20px;border:1.5px solid #e0d6c2;background:transparent;font-family:var(--font-primary);font-size:11.5px;color:var(--text-brown);cursor:pointer;letter-spacing:.03em;transition:all var(--motion-fast);z-index:2}.wiz-reset-btn:hover{background:#f5edde;border-color:#c8b48a}.wiz-accordion-list{display:flex;flex-direction:column;gap:10px;width:100%;max-width:480px}.wiz-accordion{border:1.5px solid #e0d6c2;border-radius:14px;overflow:hidden;background:#fdfaf4}.wiz-acc-header{width:100%;display:flex;align-items:center;justify-content:space-between;padding:14px 18px;background:transparent;border:none;cursor:pointer;font-family:var(--font-primary);text-align:left;transition:background var(--motion-fast)}.wiz-acc-header:hover{background:#c8b48a1a}.wiz-acc-header--open{background:#f5edde}.wiz-acc-title{font-size:14px;font-weight:600;color:var(--text-brown);letter-spacing:.04em;text-transform:capitalize}.wiz-acc-chevron{color:var(--text-brown);opacity:.7;transition:transform var(--motion-medium);display:flex;align-items:center}.wiz-acc-header--open .wiz-acc-chevron{transform:rotate(180deg)}.wiz-acc-body{display:grid;grid-template-rows:0fr;padding:0;border-top:0 solid transparent;opacity:0;overflow:hidden;transition:grid-template-rows .24s cubic-bezier(.22,1,.36,1),opacity .18s ease,border-color .18s ease}.wiz-acc-body--open{grid-template-rows:1fr;border-top:1px solid #e0d6c2;opacity:1;animation:none}@keyframes accExpand{0%{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}.wiz-acc-fields{min-height:0;overflow:hidden;padding:14px 18px;display:flex;flex-direction:column;gap:10px}.wiz-acc-row{display:flex;align-items:center;gap:12px}.wiz-acc-label{font-size:12.5px;font-weight:500;color:var(--text-brown);font-family:var(--font-primary);width:160px;flex-shrink:0}.wiz-acc-fields .wiz-input{width:140px!important;flex-shrink:0;flex-grow:0}.wiz-acc--error{border-color:#c0845a!important;box-shadow:0 0 0 2px #c0845a33}.wiz-acc--error .wiz-acc-header{background:#fff8f3}.wiz-acc--error .wiz-acc-title{color:#c0845a}.wiz-upload-row{display:flex;align-items:center;gap:12px;padding:10px 16px 0}.wiz-upload-zone{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:20px;min-height:80px;border:1.5px dashed #c8b48a;border-radius:10px;background:#faf8f3;cursor:pointer;font-family:var(--font-primary);font-size:13px;color:var(--text-brown);transition:all var(--motion-fast);-webkit-user-select:none;user-select:none;text-align:center}.wiz-upload-zone:hover,.wiz-upload-zone--drag{border-color:#a08050;background:#f5edde}.wiz-upload-zone svg{flex-shrink:0;color:#a08050}.wiz-sample-btn{display:inline-flex;align-items:center;justify-content:center;text-align:center;min-height:80px;width:110px;flex-shrink:0;padding:10px 14px;border-radius:10px;border:1.5px solid var(--primary-gold);background:transparent;font-family:var(--font-primary);font-size:12px;color:var(--text-brown);text-decoration:none;white-space:normal;line-height:1.4;cursor:pointer;transition:all var(--motion-fast)}.wiz-sample-btn:hover{background:#f5edde;border-color:#a08050}.wiz-step-indicator{text-align:center;font-family:Playfair Display,Georgia,serif;font-size:12px;color:#a89070;margin-top:6px;letter-spacing:.04em}.wiz-cat-tile--error{border:2px solid #e05252!important;background:#fff5f5!important}.wiz-field--error .wiz-radio-group{border:1.5px solid #e05252;border-radius:10px;padding:6px;background:#fff5f5}.wiz-input--num,input.wiz-input--num,.wiz-acc-fields input[type=number]{font-family:"Source Sans 3",Source Sans Pro,Segoe UI,sans-serif!important}.wiz-add-unit-row{display:flex;padding:6px 0 2px}.projects-empty-msg{text-align:center;width:100%;padding:40px 0;color:var(--text-brown);opacity:.6;font-family:var(--font-primary);font-size:15px}.calc-loading{min-height:200px}@media (max-width: 660px){.wiz-outer{padding:80px 12px 40px;max-width:100%}.wiz-shell{flex-direction:column;min-height:auto;border-radius:16px}.wiz-sidebar{width:100%;flex-direction:row;align-items:center;padding:14px 16px;gap:0;overflow-x:auto;-webkit-overflow-scrolling:touch;border-radius:16px 16px 0 0}.wiz-stepper{flex-direction:row;gap:4px;justify-content:flex-start;flex:1;flex-wrap:nowrap}.wiz-step{flex-direction:row;gap:8px;padding:6px 10px;border-radius:20px;flex-shrink:0}.wiz-step-hint{display:none}.wiz-step-dot{width:26px;height:26px;font-size:11px}.wiz-step-label{font-size:13px}.wiz-main{min-height:0}.wiz-content-wrap{padding:20px 20px 60px}.wiz-reset-btn{top:12px;right:12px}.wiz-continue-btn{bottom:14px;right:14px;width:50px;height:50px}.wiz-acc-row{flex-direction:column;align-items:flex-start;gap:4px}.wiz-acc-label{min-width:0}.wiz-input--sm{width:100%;max-width:100%}.wiz-unit-list{overflow-x:auto;-webkit-overflow-scrolling:touch}.wiz-unit-row{grid-template-columns:80px 80px 80px 100px 32px;min-width:420px}.wiz-upload-row{flex-direction:column;align-items:stretch;gap:8px}.wiz-sample-btn{justify-content:center;width:100%}.wiz-dots-row{padding:14px 0 0}.wiz-step-indicator{margin-top:4px}}@media (max-width: 660px){.wiz-outer{padding:72px 8px 32px}.wiz-shell{border-radius:12px}.wiz-sidebar{padding:10px}.wiz-step-label{display:none}.wiz-step{padding:4px 6px;gap:4px}.wiz-step-dot{width:28px;height:28px;font-size:12px}.wiz-content-wrap{padding:16px 14px 70px}.wiz-step-title{font-size:18px!important}.wiz-fields{gap:14px}.wiz-input{width:100%;box-sizing:border-box}.wiz-cat-grid{grid-template-columns:repeat(2,1fr)!important;gap:10px}.wiz-accordion-list{gap:8px}.wiz-acc-header{padding:12px 14px}.wiz-acc-fields{padding:12px 14px;gap:12px}.wiz-unit-row{grid-template-columns:70px 70px 70px 90px 28px;min-width:380px;gap:6px}.wiz-unit-list{padding:8px 10px}.wiz-add-unit-btn{height:36px;padding:0 16px;font-size:13px}.wiz-continue-btn{width:48px;height:48px;bottom:12px;right:12px}.wiz-upload-zone{font-size:12px;padding:10px 12px}.wiz-upload-row{padding:8px 10px 0}}.pill-logo-wrap{position:relative;display:inline-flex;align-items:center;cursor:pointer}.wiz-input[type=number]::-webkit-inner-spin-button,.wiz-input[type=number]::-webkit-outer-spin-button,.wiz-input--num::-webkit-inner-spin-button,.wiz-input--num::-webkit-outer-spin-button,.wiz-acc-fields input[type=number]::-webkit-inner-spin-button,.wiz-acc-fields input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.wiz-input[type=number],.wiz-input--num,.wiz-acc-fields input[type=number]{-moz-appearance:textfield;-webkit-appearance:textfield;appearance:textfield}.wiz-units-acc{border:1px solid #e8dfc8;border-radius:14px;overflow:hidden;background:#fdfaf4;margin-bottom:12px}.wiz-units-acc-header{display:flex;align-items:center;justify-content:space-between;width:100%;padding:14px 20px;background:linear-gradient(to right,#f0e8d8,#ede0cc);border:none;border-bottom:1px solid #e0d4bc;cursor:pointer;font-family:var(--font-primary);transition:background var(--motion-fast)}.wiz-units-acc-header:hover{background:linear-gradient(to right,#ece0cc,#e8d8be)}.wiz-units-acc-header--open{border-bottom-color:#d8cbb0}.wiz-units-acc-body{display:none;overflow:hidden}.wiz-units-acc-body--open{display:block}.wiz-units-acc-chevron{display:flex;align-items:center;color:var(--text-brown);opacity:.6;transition:transform var(--motion-fast)}.wiz-acc-chevron--open{transform:rotate(180deg)}.wiz-input::placeholder,.wiz-input--num::placeholder,.wiz-acc-fields input::placeholder{color:#6f55344d;font-size:14px}.confirm-modal-list{margin:6px 0 10px;padding:0 0 0 18px;text-align:left;font-family:var(--font-primary);font-size:13px;color:var(--text-brown);opacity:.85;line-height:1.7}.confirm-modal-list li{margin-bottom:2px}@media (max-width: 660px){.wiz-upload-zone{min-height:60px;padding:14px}.wiz-sample-btn{min-height:60px;width:90px;font-size:11px}}@media (max-width: 1200px){.view-btn,.landing-project-selector .calc-select-wrap select{font-size:clamp(12px,1.3vw,14px)}}@media (max-width: 900px){.calc-parking-row>label{white-space:nowrap}.circle-btn,.parking-custom-wrap{width:clamp(1.6rem,calc(4.59vw + 1.68px),2.4rem);height:clamp(1.6rem,calc(4.59vw + 1.68px),2.4rem)}.parking-custom-wrap{line-height:clamp(1.6rem,calc(4.59vw + 1.68px),2.4rem)}.circle-group{gap:clamp(5px,calc(-2vw + 23px),16px)}.form-row label{width:clamp(90px,calc(30.6vw - 69.5px),160px)}.calc-parking-row{flex-wrap:wrap}.advanced-toggle{white-space:nowrap;flex-shrink:0;font-size:clamp(12px,calc(.42vw + 10.2px),14px)}.left-panel{flex:0 0 clamp(120px,calc(20.9vw + 22px),210px);padding-left:clamp(6px,calc(7.53vw - 43.8px),24px);padding-right:clamp(6px,calc(7.53vw - 43.8px),24px)}.view-btn{font-size:clamp(12px,calc(.42vw + 10.2px),14px)}.landing-project-selector{padding-left:clamp(4px,calc(1.3vw - 4.7px),7px);padding-right:clamp(4px,calc(1.3vw - 4.7px),7px)}.landing-project-selector .calc-select-wrap select{font-size:clamp(12px,calc(.42vw + 10.2px),14px);padding-left:8px;padding-right:26px}.landing-project-selector .calc-select-wrap:after{right:8px;border-left-width:7px;border-right-width:7px;border-top-width:8px}.form-row label,.form-row select,.form-row input,.form-row .calc-select-wrap select{font-size:clamp(11px,calc(.79vw + 6.9px),14px)}.pill-group .option-pill{font-size:clamp(11px,calc(.79vw + 6.9px),13px)}.generate-btn,.circle-btn{font-size:clamp(11px,calc(.79vw + 6.9px),14px)}}.parking-pill--fr{font-size:11px;font-weight:400;letter-spacing:.03em;border-color:var(--primary-gold)!important}.parking-pill--fr.active{background:var(--primary-gold);color:#2a1f0e}.inv-overlay{display:flex;align-items:center;justify-content:center}.inv-modal{background:var(--bg-card);border-radius:var(--radius-large);box-shadow:var(--shadow-elevated);border:1.5px solid rgba(196,169,106,.8);width:96%;max-width:800px;max-height:96vh;display:flex;flex-direction:column;overflow:hidden;padding:10px;gap:8px}.celebration-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:4200;background:#2a1f1238;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);display:flex;align-items:center;justify-content:center;opacity:0;pointer-events:none;transition:opacity .2s ease}.celebration-overlay--open{opacity:1;pointer-events:auto}.celebration-card{position:relative;width:min(92vw,440px);min-height:230px;padding:34px 28px 28px;border-radius:28px;border:1px solid rgba(224,201,138,.58);background:radial-gradient(circle at top,#fff9eef5,#f8f0e1f0 60%,#f3e9d7f5);box-shadow:0 18px 60px #4734182e;text-align:center;overflow:hidden;transform:translateY(10px) scale(.94);animation:celebrationPop .45s cubic-bezier(.22,1.18,.38,1) forwards}.celebration-card:before{content:"";position:absolute;top:12px;right:12px;bottom:12px;left:12px;border:1px solid rgba(224,201,138,.34);border-radius:20px;pointer-events:none}.celebration-glow{position:absolute;inset:auto 50% 22px;width:220px;height:110px;transform:translate(-50%);background:radial-gradient(circle,#e8c77857,#e8c77800 72%);pointer-events:none}.celebration-emoji{position:relative;font-size:42px;line-height:1;margin-bottom:10px}.celebration-title{position:relative;margin:0;font-family:var(--font-primary);font-size:28px;font-weight:600;color:#35210c}.celebration-sub{position:relative;margin:8px 0 0;font-family:"Source Sans 3",sans-serif;font-size:15px;color:#7a6241}.celebration-name{position:relative;display:inline-flex;align-items:center;justify-content:center;margin-top:16px;padding:10px 18px;border-radius:999px;background:#fffaf2e0;border:1px solid rgba(214,189,135,.52);font-family:var(--font-primary);font-size:16px;color:#5b4321}.celebration-confetti-layer{position:absolute;top:0;right:0;bottom:0;left:0;overflow:hidden;pointer-events:none}.celebration-confetti{position:absolute;top:-18px;left:var(--confetti-left);width:10px;height:18px;border-radius:3px;background:var(--confetti-color);opacity:.88;transform:translate(-50%) rotate(0);animation:celebrationConfetti var(--confetti-duration) ease-in infinite;animation-delay:var(--confetti-delay)}.celebration-confetti:nth-child(3n){width:8px;height:8px;border-radius:50%}.celebration-confetti:nth-child(4n){width:12px;height:12px;clip-path:polygon(50% 0%,0% 100%,100% 100%)}@keyframes celebrationPop{0%{opacity:0;transform:translateY(12px) scale(.92)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes celebrationConfetti{0%{transform:translate(-50%,-10px) rotate(0);opacity:0}10%{opacity:.95}to{transform:translate(calc(-50% + 10px),280px) rotate(var(--confetti-rotate));opacity:0}}.inv-modal-header{display:flex;align-items:center;justify-content:space-between;padding:14px 18px;border:1px solid rgba(196,169,106,.45);border-radius:12px;flex-shrink:0}.inv-modal-title{font-family:var(--font-primary);font-size:16px;font-weight:600;color:#2a1f0e}.inv-modal-body{overflow-y:auto;flex:1;padding:16px 20px;border:1px solid rgba(196,169,106,.45);border-radius:12px;-webkit-overflow-scrolling:touch;scrollbar-width:thin;scrollbar-color:rgba(160,128,80,.35) transparent}.inv-modal-body::-webkit-scrollbar{width:4px}.inv-modal-body::-webkit-scrollbar-track{background:transparent}.inv-modal-body::-webkit-scrollbar-thumb{background:#a0805059;border-radius:99px}.inv-picker-modal{width:min(40vw,760px);max-width:760px}.inv-picker-body{overflow-y:auto;flex:1;border:1px solid rgba(196,169,106,.45);border-radius:12px;padding:12px;scrollbar-width:thin;scrollbar-color:rgba(160,128,80,.35) transparent}.inv-picker-body::-webkit-scrollbar{width:4px}.inv-picker-body::-webkit-scrollbar-thumb{background:#a0805059;border-radius:99px}.inv-picker-proj-list{padding:12px 16px;display:flex;flex-direction:column;gap:6px}.inv-picker-proj-btn{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;border-radius:10px;border:1px solid rgba(196,169,106,.4);background:#fffdf8;cursor:pointer;font-family:var(--font-primary);font-size:.9rem;color:#3a2512;transition:background .15s,border-color .15s}.inv-picker-proj-btn:hover{background:#faf3e8;border-color:#c4a87a}.inv-picker-bar{display:flex;align-items:center;justify-content:space-between;padding:10px 14px;border:1px solid rgba(196,169,106,.45);border-radius:10px;flex-shrink:0}.inv-picker-count{font-family:var(--font-primary);font-size:.85rem;color:#7a5228}.inv-picker-ok{padding:7px 22px;font-size:.85rem}.inv-picker-back{background:none;border:none;cursor:pointer;font-family:var(--font-primary);font-size:.82rem;color:#9b8b6e;padding:0;margin-right:8px}.inv-picker-back:hover{color:#5a3a10}.leads-select-inv-btn{display:inline-flex;align-items:center;gap:6px;padding:7px 14px;border-radius:8px;border:1px dashed #c4a87a;background:#faf7f0;font-family:var(--font-primary);font-size:.83rem;color:#7a5228;cursor:pointer;transition:background .15s,border-color .15s}.leads-select-inv-btn:hover{background:#f5ede0;border-color:#a07840;border-style:solid}.leads-interest-chips{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:8px}.leads-flat-wrap{width:100%}.leads-flat-rows{display:flex;flex-direction:column;gap:10px}.leads-flat-row{display:grid;grid-template-columns:minmax(0,220px) minmax(0,1fr) auto;gap:10px;align-items:center}.leads-select-flat-btn{justify-content:flex-start;min-height:38px;padding-inline:12px 14px}.leads-select-flat-btn--selected{background:#f4ebd8;border-style:solid;border-color:#c4a87a}.leads-select-flat-btn__text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.leads-flat-row__meta{display:flex;flex-wrap:wrap;gap:6px 12px;color:#8b7659;font-size:.78rem;font-family:var(--font-primary)}.leads-flat-row__price{color:#6f5534;font-weight:600}.leads-flat-row__actions{display:flex;align-items:center;gap:6px}.leads-flat-row__action{width:28px;height:28px;border-radius:50%;border:1px solid rgba(196,169,106,.45);background:transparent;color:#8d7554;cursor:pointer;padding:0;display:inline-flex;align-items:center;justify-content:center}.leads-flat-row__action svg{width:14px;height:14px}.leads-flat-row__action:hover{background:#f7efe3;border-color:#b99659}.leads-flat-row__remove:hover{color:#b24733}.leads-flat-row__add:hover{color:#7a5228}.leads-flat-row__action-spacer{width:28px;height:28px}.leads-interest-chip{display:inline-flex;align-items:center;gap:4px;background:#f5ede0;border:1px solid #d9c19a;border-radius:20px;padding:3px 8px 3px 10px;font-size:.79rem;color:#3a2512;font-family:var(--font-primary)}.chip-badge{display:inline-flex;align-items:center;justify-content:center;padding:2px 6px;border-radius:999px;background:#c4a96a29;color:#7a5228;font-size:.68rem;letter-spacing:.02em}.chip-unit{font-weight:600}.chip-cat{color:#7a5228}.chip-proj{color:#9b8b6e;font-size:.74rem}.chip-remove{background:none;border:none;cursor:pointer;color:#9b8b6e;font-size:.95rem;line-height:1;padding:0 2px;margin-left:2px}.chip-remove:hover{color:#c0392b}.mem-view-close{width:28px;height:28px;border-radius:50%;border:1px solid rgba(111,85,52,.2);background:none;font-size:14px;line-height:1;color:var(--text-brown);opacity:.7;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:opacity var(--motion-fast),background var(--motion-fast)}.mem-view-close:hover{opacity:1;background:#f0e8d8}.lead-flat-modal,.lead-unit-choice-modal{width:clamp(420px,40vw,760px);max-width:760px}.lead-unit-choice-title{margin:0 0 16px;font-family:var(--font-primary);font-size:1rem;color:#3a2512}.lead-unit-choice-body{display:flex;flex-direction:column;gap:14px}.lead-unit-choice-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.lead-unit-choice-btn{border:1px solid rgba(196,169,106,.45);border-radius:14px;background:#fffaf3;padding:14px 16px;display:flex;flex-direction:column;align-items:flex-start;gap:5px;cursor:pointer;text-align:left;transition:transform .15s ease,border-color .15s ease,background .15s ease}.lead-unit-choice-btn:hover{transform:translateY(-1px);background:#f8f0e2;border-color:#b99659}.lead-unit-choice-btn__title{font-family:var(--font-primary);font-size:.92rem;color:#3a2512}.lead-unit-choice-btn__sub{font-family:"Source Sans 3",sans-serif;font-size:.8rem;color:#8b7659;line-height:1.35}.lead-flat-modal__body{display:flex;flex-direction:column;gap:14px;background:#fcf8f1}.lead-flat-modal__footer{margin-top:0}.lead-flat-card{border:1px solid rgba(196,169,106,.45);border-radius:16px;background:#fffaf3;padding:16px 18px}.lead-flat-card--project,.lead-flat-card--calculator{background:linear-gradient(#fffaf3f0,#fffaf3f0),url(/assets/background2-mXjhOr4z.jpg) center/220px auto repeat}.lead-flat-card--output{border:none;background:transparent;padding:0}.lead-flat-card--project{padding-block:14px}.lead-flat-calc{display:flex;flex-direction:column;gap:10px}.lead-flat-calc .form-row{margin-bottom:0}.lead-flat-calc .form-row label{width:148px;min-width:148px;font-size:13px}.lead-flat-calc .calc-parking-row{align-items:center}.lead-flat-calc .calc-adv-cols{display:grid;grid-template-columns:1fr;gap:12px;margin-bottom:12px}.lead-flat-calc .pill-group,.lead-flat-calc .circle-group{flex-wrap:wrap}.lead-flat-calc .lead-flat-select-wrap,.lead-flat-calc .lead-flat-input,.lead-flat-calc .calc-select-wrap{flex:1;min-width:0}.lead-flat-calc .form-row .lead-flat-select-wrap{display:inline-flex;align-items:center}.lead-flat-card__title,.lead-flat-card__label{display:block;font-family:var(--font-primary);font-size:.8rem;color:#7a5228;margin-bottom:8px}.lead-flat-card__heading{margin-bottom:14px}.lead-flat-card__heading svg{width:16px;height:16px}.lead-flat-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 14px}.lead-flat-field{display:flex;flex-direction:column;gap:6px}.lead-flat-field--span{grid-column:1 / -1}.lead-flat-field label{font-family:var(--font-primary);font-size:.75rem;color:#8b7659}.lead-flat-select-wrap{position:relative;width:100%;display:block;border-radius:var(--radius-medium);overflow:hidden}.lead-flat-select-wrap:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:url(/assets/white%20pattern-qop3YNpn.png) center/360px auto repeat;opacity:.08;pointer-events:none;border-radius:var(--radius-medium);z-index:1}.lead-flat-select,.lead-flat-input{width:100%;min-height:36px;border-radius:var(--radius-medium);border:1px solid rgba(196,169,106,.45);background:#fffefb;color:#3a2512;font-family:"Source Sans 3",sans-serif;font-size:.88rem;padding:0 11px;box-sizing:border-box}.lead-flat-calc .form-row .lead-flat-select,.lead-flat-calc .form-row .lead-flat-input{max-width:none}.lead-flat-calc .form-row .lead-flat-select{-moz-appearance:none;appearance:none;-webkit-appearance:none;flex:1;min-width:0;position:relative;z-index:0;border:1.5px solid var(--primary-gold);background-color:#faf8f3;color:var(--text-brown);font-family:"Source Sans 3",Source Sans Pro,Segoe UI,sans-serif;font-size:13px;font-weight:400;padding-right:40px;background-image:linear-gradient(45deg,transparent 50%,#6f5534 50%),linear-gradient(135deg,#6f5534 50%,transparent 50%);background-position:calc(100% - 18px) calc(50% - 3px),calc(100% - 12px) calc(50% - 3px);background-size:6px 6px,6px 6px;background-repeat:no-repeat}.lead-flat-select::-ms-expand{display:none}.lead-flat-input:focus,.lead-flat-select:focus{outline:none;border-color:#b89a60;box-shadow:0 0 0 3px #c8b48a33}.lead-flat-output .output-card{margin:0;background:linear-gradient(#fdf8f0e6,#fdf8f0e6),url(/assets/background2-mXjhOr4z.jpg) center/220px auto repeat;border-radius:18px;border:1px solid rgba(224,201,138,.65);padding:16px 18px 20px}.lead-flat-output .output-card .ps-body{width:100%}.lead-flat-output .ps-logo{max-height:34px}.lead-flat-output .ps-header{gap:10px}.lead-flat-output .ps-table{font-size:.82rem}@media (max-width: 860px){.leads-modal{width:min(94vw,800px)}.lead-flat-modal,.lead-unit-choice-modal{width:min(94vw,760px)}}@media (max-width: 720px){.lead-unit-choice-actions{grid-template-columns:1fr}.lead-flat-calc .form-row{flex-direction:column;align-items:flex-start;gap:6px}.lead-flat-calc .form-row label,.lead-flat-calc .calc-rr-total-row .form-row label{width:auto;min-width:0}}.inv-view-wrap{display:flex;flex-direction:column;gap:16px}.inv-body-split{display:flex;gap:16px;align-items:flex-start}.inv-legend-col{position:sticky;top:0;align-self:flex-start;height:calc(90vh - 90px);display:flex;align-items:center;flex-shrink:0;padding-left:18px}.inv-legend{display:flex;flex-direction:column;gap:10px}.inv-legend-item{display:flex;align-items:center;gap:8px;font-family:"Source Sans 3",sans-serif;font-size:13.5px;color:var(--text-brown);white-space:nowrap;cursor:pointer;padding:4px 6px;border-radius:8px;transition:background var(--motion-fast),transform var(--motion-fast)}.inv-legend-item:hover{background:#9d81611a;transform:translateY(-1px)}.inv-legend-dot{width:44px;height:28px;border-radius:4px;flex-shrink:0;display:flex;align-items:center;justify-content:center}.inv-legend-count{font-family:"Source Sans 3",sans-serif;font-size:12px;font-weight:400;color:#2a1f0ea6}.inv-legend-item[data-status=sold] .inv-legend-count{color:#fff}.inv-legend-breakdown-menu{position:fixed;z-index:10000;min-width:154px;padding:8px 10px;border:1px solid rgba(157,129,97,.35);border-radius:10px;background:#fffaf3;box-shadow:0 10px 28px #0000001f}.inv-legend-breakdown-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:4px 0}.inv-legend-breakdown-cat{font-family:"Source Sans 3",sans-serif;font-size:12.5px;color:#5f5a4d}.inv-legend-breakdown-val{font-family:"Source Sans 3",sans-serif;font-size:12.5px;font-weight:700;color:#2a1f0e}.inv-legend-breakdown-empty{font-family:"Source Sans 3",sans-serif;font-size:12.5px;color:#969286;text-align:center;padding:2px 0}.inv-building{display:flex;flex-direction:column;gap:6px}.inv-floor-row{display:flex;align-items:center;gap:12px;border-bottom:1px solid rgba(42,31,14,.12);padding-bottom:6px}.inv-picker-modal .inv-view-wrap,.inv-picker-modal .inv-body-split{gap:10px}.inv-floor-row--compact{gap:8px;padding-bottom:4px}.inv-picker-modal .inv-floor-label{width:72px;font-size:10.5px}.inv-picker-modal .inv-floor-canvas{min-height:60px}.inv-picker-modal .inv-unit-block{border-radius:5px}.inv-picker-modal .inv-block-no{font-size:10px}.inv-picker-modal .inv-block-area{font-size:9px;margin-top:1px}.inv-picker-modal .inv-legend-col{padding-left:8px}.inv-picker-modal .inv-legend-item{gap:6px;font-size:11.5px}.inv-picker-modal .inv-legend-dot{width:34px;height:22px}.inv-picker-modal .inv-legend-count{font-size:10px}.inv-floor-row:last-child{border-bottom:none;padding-bottom:0}.inv-floor-label{width:90px;flex-shrink:0;font-family:"Source Sans 3",Source Sans Pro,Segoe UI,sans-serif;font-size:12px;font-weight:600;color:var(--text-brown);opacity:1;text-align:right;white-space:nowrap}.inv-floor-canvas{position:relative;min-height:76px;background:transparent;border:none;border-radius:10px;flex:1}.inv-floor-canvas--edit{background:#f2ede6b3;border:1.5px dashed #c8b898;cursor:default}.inv-unit-block{position:absolute;border-radius:6px;display:flex;flex-direction:column;align-items:center;justify-content:center;cursor:pointer;-webkit-user-select:none;user-select:none;transition:box-shadow .15s ease,transform .1s ease;box-sizing:border-box;overflow:hidden}.inv-unit-block[data-status=rehab]:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;background:repeating-linear-gradient(135deg,rgba(90,60,60,.18) 0 2px,transparent 2px 10px)}.inv-unit-block:hover{box-shadow:0 4px 12px #0000002e;transform:translateY(-1px);z-index:10}.inv-unit-block--edit{cursor:grab}.inv-unit-block--edit:active{cursor:grabbing}.inv-unit-block.inv-dragging{opacity:.75;z-index:100;cursor:grabbing;box-shadow:0 8px 24px #00000038}.inv-unit-block.inv-resizing{z-index:100}.inv-block-no{font-family:"Source Sans 3",Source Sans Pro,Segoe UI,sans-serif;font-size:13px;font-weight:400;color:#2a1f0e;line-height:1.2;position:relative;z-index:1}.inv-block-area{font-family:"Source Sans 3",Source Sans Pro,Segoe UI,sans-serif;font-size:12px;color:#2a1f0e99;margin-top:2px;position:relative;z-index:1}.inv-unit-block[data-status=sold] .inv-block-no,.inv-unit-block[data-status=sold] .inv-block-area{color:#fff}.inv-resize-handle{position:absolute;bottom:2px;right:2px;width:12px;height:12px;cursor:se-resize;background:#2a1f0e40;border-radius:2px}.inv-resize-handle:hover{background:#2a1f0e80}.inv-unplaced-strip{display:flex;align-items:center;gap:10px;padding:8px 12px;background:#f5efe4;border:1px solid #e0d5c5;border-radius:8px;margin-left:102px;flex-wrap:wrap}.inv-unplaced-label{font-family:var(--font-primary);font-size:11px;color:var(--text-brown);opacity:.6;white-space:nowrap}.inv-unit-block--unplaced{position:relative!important;left:auto!important;top:auto!important;flex-shrink:0}.inv-floor-tools{display:flex;flex-direction:column;gap:4px;padding-top:12px;flex-shrink:0}.inv-tool-btn{height:28px;padding:0 10px;border-radius:20px;border:1px solid var(--primary-gold);background:transparent;font-family:var(--font-primary);font-size:11px;color:var(--text-brown);cursor:pointer;white-space:nowrap;transition:background var(--motion-fast)}.inv-tool-btn:hover{background:var(--gold-light)}.inv-editor-toolbar{display:flex;align-items:center;justify-content:space-between;padding:10px 0 16px;gap:12px;flex-wrap:wrap}.inv-context-menu{position:fixed;z-index:9999;background:#fff;border:1px solid rgba(42,31,14,.15);border-radius:8px;box-shadow:0 4px 16px #00000024;padding:4px;min-width:160px}.inv-ctx-item{display:flex;align-items:center;gap:8px;width:100%;padding:9px 14px;border:none;background:none;cursor:pointer;font-family:var(--font-primary);font-size:13px;color:#2a1f0e;border-radius:6px;text-align:left}.inv-ctx-item:hover{background:#f5efe4}.inv-ctx-item svg{flex-shrink:0;opacity:.7}.inv-ctx-divider{height:1px;background:#2a1f0e1a;margin:3px 6px}.inv-status-popup{position:fixed;background:var(--bg-card);border-radius:12px;box-shadow:0 8px 30px #0000002e;padding:12px;z-index:9999;min-width:160px;display:flex;flex-direction:column;gap:6px;border:1px solid #e0c98a}.inv-status-popup-title{font-family:"Source Sans 3",Source Sans Pro,Segoe UI,sans-serif;font-size:12px;font-weight:600;color:#2a1f0e;margin-bottom:4px}.inv-status-opt{display:flex;align-items:center;gap:8px;padding:7px 10px;border-radius:8px;border:1px solid #e0d5c5;background:#fff;font-family:var(--font-primary);font-size:12px;color:#2a1f0e;cursor:pointer;text-align:left;transition:background .12s ease}.inv-status-opt:hover{filter:brightness(.95)}.inv-status-opt--active{font-weight:700}.inv-status-dot{width:12px;height:12px;border-radius:3px;flex-shrink:0}.inv-select-bar{display:none;flex-direction:column;gap:10px;padding:12px 18px;border:1px solid rgba(196,169,106,.45);border-radius:12px;flex-shrink:0;background:#fdf8f0}.inv-select-bar--active{display:flex}.inv-sel-row1{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px}.inv-sel-meta{display:flex;align-items:center;gap:8px;font-family:"Source Sans 3",sans-serif;font-size:14px;color:var(--text-brown)}.inv-sel-dot{opacity:.4}.inv-sel-inputs{display:flex;align-items:center;gap:6px;font-family:"Source Sans 3",sans-serif;font-size:13px;color:var(--text-brown)}.inv-sel-input-label{opacity:.7}.inv-sel-rate-input{width:90px;height:28px;border:1px solid rgba(196,169,106,.6);border-radius:6px;padding:0 6px;font-size:13px;font-family:"Source Sans 3",sans-serif;background:#fff;color:#2a1f0e;outline:none;text-align:center}.inv-sel-rate-input::-webkit-inner-spin-button,.inv-sel-rate-input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.inv-sel-rate-input{-moz-appearance:textfield}.inv-sel-clear{padding:5px 12px;font-size:11px}.inv-sel-bd-pdf{margin-left:auto;display:flex;flex-direction:column;align-items:flex-end;gap:6px}.inv-customer-input{height:28px;padding:0 10px;border:1px solid rgba(196,169,106,.5);border-radius:6px;background:#fff;font-family:"Source Sans 3",sans-serif;font-size:11px;color:#2a1f0e;outline:none;width:160px}.inv-customer-input::placeholder{color:#2a1f0e61;font-style:italic}.inv-customer-input:focus{border-color:var(--primary-gold)}.inv-pdf-btn{padding:6px 18px;font-size:11px;display:flex;align-items:center;gap:6px}.inv-pdf-btn:disabled{opacity:.6;cursor:default}.inv-sel-clear{display:flex;align-items:center;gap:5px}.inv-header-actions{display:flex;align-items:center;gap:8px}.inv-download-inv-btn{padding:5px 12px;font-size:10px;display:flex;align-items:center;gap:6px}.inv-download-inv-btn:disabled{opacity:.6;cursor:default;pointer-events:none}.inv-sel-breakdown{display:none;align-items:center;gap:0;border-top:1px solid rgba(196,169,106,.3);padding-top:10px}.inv-sel-bd-item{display:flex;flex-direction:column;justify-content:center;gap:2px;padding:0 18px}.inv-sel-bd-item:first-child{padding-left:0}.inv-sel-bd-item--total{border-left:1px solid rgba(196,169,106,.3)}.inv-sel-bd-sep{font-family:"Source Sans 3",sans-serif;font-size:14px;color:#c4a96a99;flex-shrink:0}.inv-sel-bd-label{font-family:"Source Sans 3",sans-serif;font-size:11px;font-weight:600;color:var(--text-brown);opacity:.6;text-transform:uppercase;letter-spacing:.05em}.inv-sel-bd-val{font-family:"Source Sans 3",sans-serif;font-size:15px;font-weight:500;color:#2a1f0e}.inv-sel-bd-net{color:#1a5c2a}.inv-unit-block--selected{outline:1.5px solid #000;outline-offset:1px;z-index:5}.inv-unit-block--selected:after{content:"✓";position:absolute;top:3px;right:5px;font-size:10px;font-weight:800;color:#2a1f0e;line-height:1;font-family:"Source Sans 3",sans-serif}@media (max-width: 660px){.inv-modal{max-width:100%;border-radius:20px 20px 0 0;max-height:95vh}.inv-modal-body{padding:12px}.inv-floor-label{width:60px;font-size:10px}.inv-unplaced-strip{margin-left:72px}.inv-legend{gap:8px}}.inv-floor-nav{display:flex;align-items:center;gap:12px}.inv-floor-nav-label{font-family:var(--font-primary);font-size:15px;font-weight:600;color:#2a1f0e;min-width:120px;text-align:center}.inv-nav-btn{height:32px;padding:0 14px;border-radius:20px;border:1px solid var(--primary-gold);background:transparent;font-family:var(--font-primary);font-size:12px;color:var(--text-brown);cursor:pointer;transition:background var(--motion-fast)}.inv-nav-btn:hover:not(:disabled){background:var(--gold-light)}.inv-nav-btn:disabled{opacity:.35;cursor:default}.inv-editor-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.inv-editor-hint{font-family:var(--font-primary);font-size:12px;color:var(--text-brown);opacity:.55;margin-bottom:10px}.inv-floor-checklist{display:flex;flex-direction:column;gap:8px;max-height:260px;overflow-y:auto;margin-top:10px;padding:4px 0}.inv-floor-check-item{display:flex;align-items:center;gap:10px;font-family:var(--font-primary);font-size:14px;color:#2a1f0e;cursor:pointer;padding:6px 8px;border-radius:8px;transition:background .12s}.inv-floor-check-item:hover{background:var(--gold-light)}.inv-floor-checkbox{width:16px;height:16px;cursor:pointer;accent-color:var(--primary-gold)}.notif-badge{position:absolute;top:-4px;right:-4px;min-width:16px;height:16px;border-radius:8px;background:#c0392b;color:#fff;font-family:"Source Sans 3",Source Sans Pro,Segoe UI,sans-serif;font-size:10px;font-weight:700;display:flex;align-items:center;justify-content:center;padding:0 3px;border:1.5px solid var(--bg-page);pointer-events:none}.notif-page{padding-top:calc(85px - var(--space-lg))!important;padding-bottom:40px;box-sizing:border-box}.notif-card{max-width:680px;margin:0 auto;background:var(--bg-card);border-radius:var(--radius-large);box-shadow:var(--shadow-elevated),var(--shadow-soft);padding:var(--space-xl) var(--space-xxl)}.notif-header{margin-bottom:var(--space-lg)}.notif-title{font-size:var(--font-size-xl);margin:0;color:#2a1f0e}.notif-list{display:flex;flex-direction:column;gap:10px}.notif-section-label{font-family:var(--font-primary);font-size:11px;font-weight:700;color:var(--text-brown);opacity:.5;text-transform:uppercase;letter-spacing:.08em;padding-bottom:4px;border-bottom:1px solid #e8dfc8}.notif-request-card{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;background:#fdfaf4;border:1px solid #e8dfc8;border-radius:12px}.notif-request-info{flex:1;min-width:0}.notif-request-unit{font-family:var(--font-primary);font-size:15px;font-weight:700;color:#2a1f0e;margin-bottom:5px}.notif-request-change{display:flex;align-items:center;gap:8px;margin-bottom:4px}.notif-status-chip{font-family:var(--font-primary);font-size:12px;font-weight:600;padding:3px 8px;border-radius:6px;color:#2a1f0e}.notif-arrow{font-size:14px;color:var(--text-brown);opacity:.5}.notif-request-meta{font-family:var(--font-primary);font-size:11px;color:var(--text-brown);opacity:.55}.notif-request-actions{display:flex;gap:8px;flex-shrink:0}.notif-approve-btn,.notif-reject-btn{width:36px;height:36px;border-radius:50%;border:none;font-size:16px;font-weight:700;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:transform var(--motion-fast),opacity var(--motion-fast)}.notif-approve-btn{background:#cfe8cf;color:#2a5a2a}.notif-approve-btn:hover{background:#b8d8b8;transform:scale(1.08)}.notif-reject-btn{background:#f5d5d5;color:#8a2020}.notif-reject-btn:hover{background:#e8c0c0;transform:scale(1.08)}.notif-approve-btn:disabled,.notif-reject-btn:disabled{opacity:.4;cursor:default;transform:none}.notif-item{padding:12px 14px;border-radius:10px;background:#fdfaf4;border:1px solid #e8dfc8}.notif-item--unread{background:#f0ead8;border-color:var(--primary-gold)}.notif-item-msg{font-family:var(--font-primary);font-size:14px;color:#2a1f0e;margin-bottom:4px}.notif-item-time{font-family:var(--font-primary);font-size:11px;color:var(--text-brown);opacity:.5}@media (max-width: 660px){.notif-card{margin:0 16px;padding:var(--space-lg) var(--space-md)}.notif-request-card{flex-direction:column;align-items:flex-start}.notif-request-actions{align-self:flex-end}}.notif-request-card--reviewed{opacity:.6;background:#f5f0e8}#notifBellBtn,#navToggleBtn,#logoutBtn{display:none!important}.pill-hamburger-btn{display:inline-flex;opacity:.72}.pill-hamburger-btn svg{width:16px;height:16px;color:#2b2115;opacity:.9}.pill-hamburger-btn:hover{opacity:1;border-color:#a07840}.pill-hamburger-btn.is-open{opacity:1;background:#d9c19a2e;border-color:#a07840}.pill-hamburger-menu{display:none;position:absolute;top:calc(100% + 10px);right:0;background:var(--bg-card);border-radius:16px;box-shadow:0 12px 40px #2a1f122e,0 2px 8px #2a1f1214;border:1px solid rgba(217,193,154,.4);padding:8px 0;min-width:190px;z-index:2000;overflow:hidden}.pill-hamburger-menu.is-open{display:block}.pill-hamburger-menu-item{display:flex;align-items:center;gap:12px;padding:11px 18px;width:100%;background:transparent;border:none;cursor:pointer;font-family:var(--font-primary);font-size:13.5px;color:var(--text-brown);text-align:left;transition:background .12s ease,color .12s ease}.pill-hamburger-menu-item:hover{background:#d9c19a33;color:#3a2410}.pill-hamburger-menu-item:active{background:#d9c19a59}.pill-hamburger-menu-item svg{width:16px;height:16px;flex-shrink:0;opacity:.7}.pill-hamburger-menu-item:hover svg{opacity:1}.pill-hamburger-menu-meta{max-width:230px;padding:10px 14px 8px;color:#60462c;font-family:var(--font-primary);font-size:12px;font-weight:600;line-height:1.25;word-break:break-word}.pill-hamburger-menu-sep{height:1px;background:#d9c19a66;margin:4px 14px}.pill-hamburger-menu-item .notif-badge-inline{margin-left:auto;background:#c0392b;color:#fff;font-size:10px;font-weight:700;border-radius:10px;padding:1px 6px;font-family:var(--font-primary)}.modal-close-x{position:absolute;top:16px;right:16px;width:32px;height:32px;border-radius:50%;border:1px solid rgba(224,201,138,.7);background:linear-gradient(145deg,#fbf2de,#ecd9ae);cursor:pointer;font-size:15px;color:#5a3d1f;opacity:1;display:flex;align-items:center;justify-content:center;transition:transform .15s ease,background .15s ease,box-shadow .15s ease,border-color .15s ease;line-height:1;padding:0;box-shadow:inset 0 1px #fff9;z-index:1}.modal-close-x:hover{background:linear-gradient(145deg,#fbeac5,#e5c27d);border-color:#c9a968;box-shadow:0 6px 14px #785c291f,inset 0 1px #ffffff8c;transform:translateY(-1px)}.calc-page .generate-btn,.calc-page .view-btn{font-family:Playfair Display,Georgia,serif}.calc-page .form-row select,.calc-page .form-row input{font-size:15px}.calc-page .circle-btn,.calc-page .parking-custom-wrap,.calc-page .option-pill{font-size:14px}.calc-page .view-btn{font-size:13px}.calc-page .calc-select-wrap select{font-size:14px}.calc-page .landing-project-selector .calc-select-wrap select,.calc-page .ps-meta{font-size:12px}.calc-page .ps-num,.calc-page .ps-table--2col .ps-val,.calc-page .ps-grand-value{font-size:14px}@media (max-width: 900px){.calc-page .form-row select,.calc-page .form-row input,.calc-page .form-row .calc-select-wrap select{font-size:clamp(12px,calc(.79vw + 7.9px),15px)}.calc-page .pill-group .option-pill,.calc-page .circle-btn,.calc-page .parking-custom-wrap{font-size:clamp(12px,calc(.79vw + 7.9px),14px)}}@media (max-width: 660px){.calc-page .view-btn,.calc-page .calc-select-wrap select{font-size:clamp(11px,calc(.65vw + 8.7px),13px)}.calc-page .landing-project-selector .calc-select-wrap select{font-size:clamp(10px,calc(.65vw + 7.7px),12px)}}@media (max-width: 900px){.output-card .ps-table,.output-card .ps-table--2col .ps-key,.output-card .ps-grand-label{font-size:clamp(11px,calc(.53vw + 8.2px),13px)}}@media (max-width: 900px){.calc-page .ps-num,.calc-page .ps-table--2col .ps-val,.calc-page .ps-grand-value{font-size:clamp(12px,calc(.53vw + 9.2px),14px)}}.output-btns{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:12px;margin:var(--space-xl) auto 0;flex-wrap:nowrap;width:100%;max-width:520px;padding:0;box-sizing:border-box}.output-btns .print-btn{margin-top:0;flex:1;min-width:120px;max-width:240px;height:var(--button-height);padding:0 8px!important;font-size:clamp(12px,1.3vw,13px)!important}.bundle-add-btn{display:block;flex:1;min-width:130px;max-width:240px;width:auto;height:var(--button-height);border-radius:var(--radius-medium);border:1.5px solid rgba(157,129,97,.5);background:transparent;font-family:var(--font-primary);font-size:var(--font-size-sm);color:#5f5a4d;cursor:pointer;letter-spacing:.02em;transition:background var(--motion-fast)}.bundle-add-btn:hover{background:#9d81611a}.bundle-add-btn:active{background:#9d816138}@media (max-width: 500px){.output-btns{flex-direction:column;align-items:stretch}.output-btns .print-btn,.bundle-add-btn{flex:none;width:100%;max-width:100%;min-width:0}}.calc-output-placeholder{display:flex;align-items:center;justify-content:center;padding:36px 24px;font-family:"Source Sans 3",sans-serif;font-size:14px;color:#969286;text-align:center}#calcOutput{transition:opacity .25s ease}#calcOutput.fading{opacity:0}.left-panel-logo-wrap{display:inline-block;position:relative;cursor:pointer;align-self:center;width:fit-content;margin-bottom:var(--space-md)}.left-panel-logo{cursor:pointer}.left-panel-logo-wrap[data-tooltip]:after{content:attr(data-tooltip);position:absolute;top:calc(100% + 6px);left:50%;transform:translate(-50%);background:#5f5a4d;color:#f5f2ed;font-family:"Source Sans 3",sans-serif;font-size:11px;padding:4px 9px;border-radius:5px;white-space:nowrap;opacity:0;pointer-events:none;transition:opacity .12s;transition-delay:0ms}.left-panel-logo-wrap[data-tooltip]:hover:after{opacity:1}.bundle-chip{position:fixed;bottom:24px;right:24px;z-index:1100;display:flex;align-items:center;gap:7px;padding:9px 14px 9px 11px;border-radius:40px;cursor:pointer;font-size:13px;font-family:var(--font-primary);font-weight:400;color:#1a1a1a;background:var(--gold-light);border:1px solid var(--primary-gold);box-shadow:inset 0 1px #fff9,var(--shadow-button);overflow:hidden;transition:transform var(--motion-fast),box-shadow var(--motion-fast),opacity .22s,visibility .22s}.bundle-chip:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:url(/assets/white%20pattern-qop3YNpn.png) center/360px auto repeat;opacity:.1;pointer-events:none}.bundle-chip:hover{transform:translateY(-1px);box-shadow:0 12px 25px #00000014,inset 0 1px #fff9}.bundle-chip--hidden{opacity:0;pointer-events:none;transform:translateY(8px);visibility:hidden}.bundle-chip-icon{width:16px;height:16px;flex-shrink:0;position:relative;z-index:1}.bundle-chip-label{font-weight:600;position:relative;z-index:1}.bundle-chip-badge{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 5px;background:var(--primary-gold);color:#1a1a1a;border-radius:20px;font-family:"Source Sans 3",sans-serif;font-size:11px;font-weight:700;line-height:1;position:relative;z-index:1}@keyframes bundleChipBounce{0%{transform:scale(1)}30%{transform:scale(1.18)}60%{transform:scale(.93)}80%{transform:scale(1.05)}to{transform:scale(1)}}.bundle-chip--bounce{animation:bundleChipBounce .45s cubic-bezier(.36,.07,.19,.97) both}.bundle-tray-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1200;background:#0000;transition:background .25s}.bundle-tray-overlay--open{background:#00000052}.bundle-tray{position:absolute;top:0;right:0;bottom:0;width:380px;background:#f8f5f0;display:flex;flex-direction:column;box-shadow:-4px 0 24px #0000001f;transform:translate(100%);transition:transform .26s cubic-bezier(.4,0,.2,1)}.bundle-tray-overlay--open .bundle-tray{transform:translate(0)}.bundle-tray-header{display:flex;align-items:center;justify-content:space-between;padding:12px 14px;border:1px solid rgba(157,129,97,.35);border-radius:10px;margin:12px 14px 0;flex-shrink:0}.bundle-tray-title{font-family:var(--font-primary);font-size:15px;font-weight:400;color:#5f5a4d;letter-spacing:.03em}.bundle-tray-header-actions{display:flex;align-items:center;gap:8px}.bundle-tray-header-icon{width:28px;height:28px;border:none;background:transparent;color:#969286;cursor:pointer;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:background var(--motion-fast),color var(--motion-fast)}.bundle-tray-header-icon svg{width:16px;height:16px}.bundle-tray-header-icon:hover{background:#9d816126;color:#5f5a4d}.bundle-tray-header-icon--danger:hover{background:#c0392b14;color:#c0392b}.bundle-tray-header-icon:disabled{opacity:.35;cursor:default}.bundle-tray-close{width:28px;height:28px;border:none;background:transparent;color:#969286;cursor:pointer;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:background var(--motion-fast),color var(--motion-fast)}.bundle-tray-close:hover{background:#9d816126}.bundle-tray-clear-row{padding:6px 18px 4px;border-bottom:1px solid rgba(157,129,97,.15);flex-shrink:0}.bundle-tray-clear-row--hidden{visibility:hidden}.bundle-tray-clear-link{background:none;border:none;padding:0;font-family:"Source Sans 3",sans-serif;font-size:11.5px;color:#969286;cursor:pointer;letter-spacing:.02em;transition:color var(--motion-fast)}.bundle-tray-clear-link:hover{color:#5f5a4d}.bundle-tray-list{flex:1;overflow-y:auto;padding:10px 14px;margin:8px 14px;border:1px solid rgba(157,129,97,.35);border-radius:10px;position:relative;isolation:isolate;background:var(--bg-light)}.bundle-tray-list:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1;background:url(/assets/white%20pattern-qop3YNpn.png) center/360px auto repeat;opacity:.025;pointer-events:none;border-radius:10px}.bundle-tray-list::-webkit-scrollbar{width:5px}.bundle-tray-list::-webkit-scrollbar-track{background:transparent}.bundle-tray-list::-webkit-scrollbar-thumb{background:#9d816159;border-radius:99px}.bundle-tray-list::-webkit-scrollbar-thumb:hover{background:#9d816199}.bundle-tray-empty{font-family:"Source Sans 3",sans-serif;font-size:13px;color:#969286;text-align:center;padding:24px 0;line-height:1.7}.bundle-tray-item{display:flex;align-items:flex-start;justify-content:space-between;padding:10px 12px;margin-bottom:8px;background:#fff;border:1px solid rgba(157,129,97,.28);border-radius:10px;position:relative;overflow:hidden;cursor:default;-webkit-user-select:none;user-select:none;transition:opacity .15s,box-shadow .15s}.bundle-tray-item--dragging{opacity:.35}.bundle-drop-line{height:36px;flex-shrink:0;pointer-events:none;display:flex;align-items:center;transition:height .12s ease}.bundle-drop-line:after{content:"";display:block;width:100%;height:2px;background:#c4a96ae6;border-radius:2px}.bundle-tray-drag-handle{font-size:14px;color:#9d816173;cursor:grab;padding-right:8px;padding-top:1px;flex-shrink:0;-webkit-user-select:none;user-select:none;line-height:1}.bundle-tray-drag-handle:hover{color:#9d8161cc}.bundle-tray-drag-handle:active{cursor:grabbing}.bundle-tray-item:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:url(/assets/white%20pattern-qop3YNpn.png) center/360px auto repeat;opacity:.05;pointer-events:none}.bundle-tray-item-info{display:flex;flex-direction:column;gap:3px;flex:1;min-width:0;position:relative;z-index:1}.bundle-tray-item-right{display:flex;flex-direction:column;align-items:flex-end;justify-content:space-between;flex-shrink:0;margin-left:8px;position:relative;z-index:1;align-self:stretch}.bundle-tray-item-hdr{display:flex;align-items:baseline;flex-wrap:nowrap;overflow:hidden}.bundle-tray-item-no{font-family:"Source Sans 3",sans-serif;font-size:15px;font-weight:700;color:#5f5a4d;white-space:nowrap;flex-shrink:0}.bundle-tray-item-type{font-family:"Source Sans 3",sans-serif;font-size:12px;font-weight:400;color:#969286;white-space:nowrap}.bundle-tray-item-rates{display:flex;flex-direction:column;gap:3px;margin-top:3px}.bundle-tray-rate-chip{font-family:"Source Sans 3",sans-serif;font-size:12px;color:#5f5a4d;background:#9d81611a;border-radius:4px;padding:2px 6px}.bundle-tray-item-price{font-family:"Source Sans 3",sans-serif;font-size:12.5px;color:#5f5a4d;font-weight:600;white-space:nowrap}.bundle-tray-remove{width:26px;height:26px;border:none;background:#9d81611f;color:#969286;font-size:17px;cursor:pointer;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:background var(--motion-fast);margin-bottom:16px}.bundle-tray-remove:hover{background:#9d81614d;color:#5f5a4d}.bundle-tray-total-row{display:flex;flex-direction:column;gap:3px;padding:8px 12px 4px;border-top:1px solid rgba(157,129,97,.25);margin-top:4px}.bundle-tray-price-block{display:flex;flex-direction:column;gap:2px;align-items:flex-end}.btp-row{display:flex;align-items:center;gap:8px;font-family:"Source Sans 3",sans-serif;font-size:12.5px;white-space:nowrap}.btp-row span:first-child{color:#969286;min-width:36px;text-align:right;font-weight:400}.btp-row span:last-child{color:#5f5a4d;font-weight:400;min-width:72px;text-align:right}.btp-gross span:first-child{font-weight:400;color:#5f5a4d}.btp-gross span:last-child{font-weight:400;color:#5f5a4d}.btp-taxes span:last-child{font-weight:400;color:#969286}.btp-net{border-top:1px solid rgba(157,129,97,.3);padding-top:3px;margin-top:1px}.btp-net span:first-child{font-weight:500;color:#5f5a4d}.btp-net span:last-child{font-weight:600;color:#5f5a4d;font-size:13px}.btp-net--bold span{font-weight:600!important;font-size:13px!important;color:#5f5a4d!important}.bundle-tray-total-row .btp-row{justify-content:space-between}.bundle-tray-total-row .btp-row span:first-child{text-align:left;min-width:unset;color:#7a7568}.bundle-tray-total-row .btp-row span:last-child{min-width:unset}.bundle-tray-averages-card{margin:0 14px 8px;padding:8px 12px;border:1px solid rgba(157,129,97,.35);border-radius:10px;background:var(--bg-light);flex-shrink:0;position:relative;overflow:hidden;min-height:44px}.bundle-tray-averages-card:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:url(/assets/white%20pattern-qop3YNpn.png) center/360px auto repeat;opacity:.025;pointer-events:none}.bundle-tray-averages-card--empty{opacity:.65}.bundle-tray-averages-toggle{width:100%;min-height:28px;border:none;background:transparent;color:#8f6f2d;cursor:pointer;display:flex;align-items:center;justify-content:center;padding:0;position:relative;z-index:1}.bundle-tray-averages-toggle svg{width:18px;height:18px}.bundle-tray-averages-toggle svg path,.bundle-tray-averages-toggle svg circle{fill:none;transition:fill var(--motion-fast),stroke var(--motion-fast),opacity var(--motion-fast)}.bundle-tray-averages-toggle:hover{color:#5f4427}.bundle-tray-averages-toggle:hover svg circle{fill:currentColor;stroke:currentColor;opacity:.78}.bundle-tray-averages{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;position:relative;z-index:1;max-height:0;opacity:0;overflow:hidden;pointer-events:none;transition:max-height .22s ease,opacity .18s ease,margin-top .22s ease;margin-top:0}.bundle-tray-averages-card--open .bundle-tray-averages{max-height:120px;opacity:1;pointer-events:auto;margin-top:8px}.bundle-tray-average-field{display:flex;flex-direction:column;gap:3px}.bundle-tray-average-field label{display:flex;align-items:center;justify-content:flex-start;gap:6px;font-family:"Source Sans 3",Source Sans Pro,Segoe UI,sans-serif;font-size:var(--font-size-sm);font-weight:400;color:#2a1f0e}.bundle-tray-average-field label svg{width:14px;height:14px;flex-shrink:0}.bundle-tray-average-field input{width:100%;height:34px;border-radius:var(--radius-medium);border:1px solid rgba(196,169,106,.6);background:var(--gold-light);padding:0 12px;box-sizing:border-box;font-family:"Source Sans 3",Source Sans Pro,Segoe UI,sans-serif;font-size:14px;font-weight:400;color:#2a1f0e;text-align:center;font-variant-numeric:tabular-nums;box-shadow:inset 0 1px #fff9}.bundle-tray-average-field input[readonly]{cursor:default}.bundle-tray-actions{padding:8px 14px 18px;display:flex;flex-direction:column;gap:8px;flex-shrink:0}.bundle-tray-actions .btn-primary,.bundle-tray-actions .btn-secondary{font-size:clamp(11px,.9vw,13px)!important}.bundle-tray-actions--empty .btn-primary,.bundle-tray-actions--empty .btn-secondary{opacity:.35;pointer-events:none}.bundle-tray-btn{width:100%;padding:10px 14px;border-radius:10px;border:none;font-family:"Source Sans 3",sans-serif;font-size:13px;font-weight:600;cursor:pointer;transition:filter var(--motion-fast)}.bundle-tray-btn:hover{filter:brightness(.93)}.bundle-tray-btn--primary{background:#5f5a4d;color:#f5f2ed}.bundle-tray-btn--lead{background:#9d81612e;color:#5f5a4d;border:1px solid rgba(157,129,97,.4)}.bundle-leave-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1500;background:#0000;display:flex;align-items:center;justify-content:center;transition:background .2s}.bundle-leave-overlay--open{background:#00000061}.bundle-leave-modal{background:#f8f5f0;border-radius:16px;padding:28px 26px 24px;width:90%;max-width:360px;text-align:center;transform:scale(.96);opacity:0;transition:transform .2s,opacity .2s}.bundle-leave-overlay--open .bundle-leave-modal{transform:scale(1);opacity:1}.bundle-leave-title{font-family:var(--font-primary);font-size:16px;font-weight:700;color:#5f5a4d;margin-bottom:8px}.bundle-leave-sub{font-family:"Source Sans 3",sans-serif;font-size:13px;color:#969286;line-height:1.6;margin-bottom:22px}.bundle-leave-btns{display:flex;gap:10px;justify-content:center}.bundle-leave-btn{padding:9px 22px;border-radius:8px;border:none;font-family:"Source Sans 3",sans-serif;font-size:13px;font-weight:600;cursor:pointer;transition:filter var(--motion-fast)}.bundle-leave-btn:hover{filter:brightness(.93)}.bundle-leave-btn--stay{background:#9d81612e;color:#5f5a4d;border:1px solid rgba(157,129,97,.35)}.bundle-leave-btn--leave{background:#5f5a4d;color:#f5f2ed}.bundle-conflict-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1400;background:#00000059;display:flex;align-items:center;justify-content:center}.bundle-conflict-modal{background:#f8f5f0;border-radius:16px;padding:24px 26px;width:90%;max-width:340px;text-align:center}.bundle-conflict-title{font-family:var(--font-primary);font-size:15px;font-weight:700;color:#5f5a4d;margin-bottom:6px}.bundle-conflict-sub{font-family:"Source Sans 3",sans-serif;font-size:13px;color:#969286;margin-bottom:18px}.bundle-conflict-btns{display:flex;gap:8px;justify-content:center;flex-wrap:wrap}.bundle-conflict-btn{padding:8px 16px;border-radius:8px;border:none;font-family:"Source Sans 3",sans-serif;font-size:13px;font-weight:600;cursor:pointer}.bundle-conflict-btn--replace{background:#5f5a4d;color:#f5f2ed}.bundle-conflict-btn--add{background:#9d816133;color:#5f5a4d;border:1px solid rgba(157,129,97,.4)}.bundle-conflict-btn--cancel{background:transparent;color:#969286;border:1px solid #ddd}.bundle-modal-btn{padding:9px 18px;font-size:13px;min-width:90px}.bundle-modal-close-x{position:absolute;top:10px;right:10px;width:28px;height:28px;border:none;background:transparent;display:flex;align-items:center;justify-content:center;border-radius:50%;cursor:pointer;color:#9a9080;transition:background .15s,color .15s}.bundle-modal-close-x:hover{background:#0000000f;color:#5f5a4d}.bundle-lead-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1400;background:#00000059;display:flex;align-items:center;justify-content:center}.bundle-lead-modal{background:#f8f5f0;border-radius:16px;padding:28px 26px 24px;width:90%;max-width:370px}.bundle-lead-title{font-family:var(--font-primary);font-size:17px;font-weight:700;color:#5f5a4d;margin-bottom:4px}.bundle-lead-sub{font-family:"Source Sans 3",sans-serif;font-size:12px;color:#969286;margin-bottom:14px}.bundle-lead-input{width:100%;box-sizing:border-box;padding:10px 12px;border:1.5px solid rgba(157,129,97,.5);border-radius:8px;font-family:"Source Sans 3",sans-serif;font-size:14px;color:#5f5a4d;background:#fff;outline:none;margin-bottom:10px}.bundle-lead-input:focus{border-color:#9d8161}.bundle-lead-flats{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:18px}.bundle-lead-flats span{padding:3px 9px;background:#9d816126;border-radius:20px;font-family:"Source Sans 3",sans-serif;font-size:11px;color:#5f5a4d;font-weight:600}.bundle-lead-btns{display:flex;gap:10px;justify-content:flex-end}.bundle-lead-cancel{padding:9px 16px;border:none;background:transparent;color:#969286;font-family:"Source Sans 3",sans-serif;font-size:13px;cursor:pointer}.bundle-lead-save{padding:9px 20px;border:none;background:#5f5a4d;color:#f5f2ed;border-radius:8px;font-family:"Source Sans 3",sans-serif;font-size:13px;font-weight:600;cursor:pointer}.bundle-toast{position:fixed;bottom:80px;right:24px;z-index:1300;padding:10px 18px;background:#5f5a4d;color:#f5f2ed;border-radius:10px;font-family:"Source Sans 3",sans-serif;font-size:13px;opacity:0;transform:translateY(8px);transition:opacity .2s,transform .2s;pointer-events:none}.bundle-toast--show{opacity:1;transform:translateY(0)}.bundle-chip-ctx-menu{background:#faf7f2;border:1px solid rgba(157,129,97,.4);border-radius:8px;padding:4px;min-width:150px;box-shadow:0 6px 20px #0000002e}.bundle-chip-ctx-item{display:block;width:100%;text-align:left;padding:8px 12px;background:none;border:none;font-family:"Source Sans 3",sans-serif;font-size:13px;color:var(--text-dark);cursor:pointer;border-radius:5px;transition:background var(--motion-fast)}.bundle-chip-ctx-item:hover{background:#9d81611a}.bundle-chip-ctx-item--danger{color:#c0392b}.bundle-chip-ctx-item--danger:hover{background:#c0392b14}.al-page{max-width:1100px;margin:0 auto;padding:calc(85px - var(--space-lg)) 20px 120px;box-sizing:border-box;min-height:calc(100vh - 2 * var(--space-lg))}body:has(.al-page){overflow-y:auto}body:has(.admin-panel-card){overflow-y:auto}body:has(.notif-page){overflow-y:auto}.al-header{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:20px}.al-title{font-family:var(--font-primary);font-size:clamp(22px,2.2vw,30px);font-weight:400;color:#1a1208;letter-spacing:-.4px;margin:0 0 4px}.al-subtitle{font-family:"Source Sans 3",sans-serif;font-size:13px;color:#7a7060;margin:0}.al-loading{padding:60px 20px;text-align:center;font-family:"Source Sans 3",sans-serif;font-size:14px;color:#9d8161}.al-setup-banner{display:flex;align-items:flex-start;gap:14px;background:#fff8e7;border:1.5px solid #f0d580;border-radius:12px;padding:14px 18px;margin-bottom:20px}.al-setup-icon{font-size:22px;line-height:1}.al-setup-text{font-family:"Source Sans 3",sans-serif;font-size:13.5px;color:#5a4d20}.al-setup-text strong{font-weight:700}.al-setup-text p{margin:4px 0 0}.al-setup-text em{font-style:normal;font-weight:600}.al-body{display:grid;grid-template-columns:1fr 300px;gap:20px;align-items:start}@media (max-width: 768px){.al-body{grid-template-columns:1fr}}.al-section{background:var(--bg-card, #fff);border:1.5px solid #e8e0d4;border-radius:14px;margin-bottom:14px;overflow:hidden}.al-section-head{display:flex;align-items:center;gap:8px;padding:12px 18px;background:#faf6f0;border-bottom:1px solid #ede5d8}.al-acc-head{cursor:pointer;-webkit-user-select:none;user-select:none}.al-acc-head:hover{background:#f3ece3}.al-acc-chevron{margin-left:auto;font-size:1.2rem;color:#a89880;display:inline-block;transform:rotate(90deg);transition:transform .2s ease;line-height:1}.al-acc-section:not(.al-acc-open) .al-acc-chevron{transform:rotate(0)}.al-acc-section:not(.al-acc-open) .al-section-head{border-bottom:none}.al-acc-body--closed{display:none!important}.al-section-icon{font-size:16px;line-height:1}.al-section-title{font-family:var(--font-primary);font-size:14px;font-weight:500;color:#3d2e1a;flex:1}.al-section-body{padding:16px 18px;display:flex;flex-direction:column;gap:10px}.al-form-row{display:grid;grid-template-columns:140px 1fr;gap:10px;align-items:center}.al-label{font-family:"Source Sans 3",sans-serif;font-size:13px;color:#5a5040;font-weight:400}.al-input{font-family:"Source Sans 3",sans-serif;font-size:13.5px;color:#1a1208;background:#faf8f3;border:1px solid #ddd;border-radius:8px;padding:7px 10px;width:100%;box-sizing:border-box;transition:border-color .15s;outline:none}.al-input:focus{border-color:#9d8161;background:#fff}.al-input[readonly]{color:#7a7060;background:#f4f0e8;cursor:default}.al-input--auto{font-style:italic}.al-textarea{resize:vertical;min-height:56px;align-self:start}.al-pill-group{display:flex;flex-wrap:wrap;gap:6px}.al-pill{font-family:"Source Sans 3",sans-serif;font-size:12.5px;font-weight:600;padding:5px 12px;border-radius:20px;border:1.5px solid #d8cfc2;background:#f5f1ea;color:#5a5040;cursor:pointer;transition:all .15s;white-space:nowrap}.al-pill:hover{border-color:#9d8161;color:#3d2e1a}.al-pill--active{background:#5f5a4d;border-color:#5f5a4d;color:#fff}.al-section--constants .al-section-head{cursor:default}.al-const-edit-btn{font-family:"Source Sans 3",sans-serif;font-size:12px;font-weight:600;padding:4px 12px;border-radius:16px;border:1.5px solid #c8bfae;background:#fff;color:#5f5a4d;cursor:pointer;transition:all .15s}.al-const-edit-btn:hover{border-color:#5f5a4d;background:#5f5a4d;color:#fff}.al-save-const-btn{align-self:flex-start;margin-top:6px;font-family:"Source Sans 3",sans-serif;font-size:13px;font-weight:600;padding:8px 22px;border-radius:20px;border:none;background:#5f5a4d;color:#fff;cursor:pointer;transition:opacity .15s}.al-save-const-btn:hover{opacity:.85}.al-save-const-btn:disabled{opacity:.5;cursor:not-allowed}.al-history-card{background:var(--bg-card, #fff);border:1.5px solid #e8e0d4;border-radius:14px;overflow:hidden;position:sticky;top:80px}.al-history-empty{padding:20px 18px;font-family:"Source Sans 3",sans-serif;font-size:13px;color:#a09080;text-align:center}.al-history-list{max-height:500px;overflow-y:auto}.al-history-item{display:block;padding:12px 16px;border-bottom:1px solid #f0ece4;text-decoration:none;transition:background .1s}.al-history-item:last-child{border-bottom:none}.al-history-item:hover{background:#faf6f0}.al-history-item-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:2px}.al-history-no{font-family:var(--font-primary);font-size:13px;font-weight:500;color:#3d2e1a}.al-history-date{font-family:"Source Sans 3",sans-serif;font-size:11px;color:#a09080}.al-history-item-name{font-family:"Source Sans 3",sans-serif;font-size:13px;color:#5a5040}.al-history-item-flat{font-family:"Source Sans 3",sans-serif;font-size:11.5px;color:#a09080;margin-top:1px}.al-generate-bar{position:fixed;bottom:0;left:0;right:0;background:#f2ede6f2;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border-top:1px solid #ddd6c8;padding:12px 24px 16px;display:flex;align-items:center;gap:16px;z-index:200}.al-generate-btn{display:flex;align-items:center;gap:8px;font-family:"Source Sans 3",sans-serif;font-size:14px;font-weight:700;padding:10px 28px;border-radius:24px;border:none;background:#5f5a4d;color:#fff;cursor:pointer;transition:opacity .15s,transform .1s;white-space:nowrap}.al-generate-btn:hover:not(:disabled){opacity:.85;transform:translateY(-1px)}.al-generate-btn:disabled{opacity:.5;cursor:not-allowed}.al-result{display:flex;align-items:center;gap:10px;font-family:"Source Sans 3",sans-serif;font-size:13.5px;padding:8px 16px;border-radius:10px;flex:1}.al-result--success{background:#eefaf3;color:#1d6a3e;border:1px solid #a3d9bc}.al-result--error{background:#fff0f0;color:#9c2a2a;border:1px solid #f5b8b8}.al-doc-link{font-weight:700;color:inherit;text-decoration:underline;white-space:nowrap}.al-spinner{display:inline-block;width:14px;height:14px;border:2px solid rgba(255,255,255,.4);border-top-color:#fff;border-radius:50%;animation:al-spin .7s linear infinite;vertical-align:middle}.al-spinner--dark{border-color:#9d816140;border-top-color:#9d8161}@keyframes al-spin{to{transform:rotate(360deg)}}@media (max-width: 520px){.al-form-row{grid-template-columns:1fr;gap:4px}.al-label{font-size:12px;color:#9d8161}.al-generate-bar{padding:10px 14px 14px}.al-generate-btn{padding:9px 20px;font-size:13px}}.al-tab-bar{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;padding-bottom:16px;margin-bottom:4px}.al-tab-bar::-webkit-scrollbar{display:none}.al-tab{font-family:"Source Sans 3",sans-serif;font-size:13px;font-weight:600;padding:7px 18px;border-radius:20px;border:1.5px solid #e8e0d4;background:#fff;color:#6b5d45;cursor:pointer;white-space:nowrap;flex-shrink:0;transition:border-color .15s,color .15s,background .15s}.al-tab:hover{border-color:#c4a96e;color:#3d2e1a}.al-tab--active{background:#3d2e1a;border-color:#3d2e1a;color:#fff}.al-tab--add{border-style:dashed;color:#9d8161;background:transparent}.al-tab--add:hover{border-color:#c4a96e;color:#5a3d1e;background:#fdf8f0}.al-tab-del{display:inline-flex;align-items:center;justify-content:center;margin-left:6px;width:16px;height:16px;border-radius:50%;font-size:.75rem;line-height:1;color:inherit;opacity:.45;transition:opacity .15s,background .15s,color .15s;vertical-align:middle}.al-tab:hover .al-tab-del,.al-tab--active .al-tab-del{opacity:.75}.al-tab-del:hover{opacity:1!important;background:#ef444426;color:#ef4444;border-radius:50%}.al-var-chips{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0 4px}.al-var-chip{font-family:SF Mono,Fira Code,Courier New,monospace;font-size:11.5px;padding:3px 10px;border-radius:4px;background:#f0ebe2;color:#5a3d1e;border:1px solid #ddd0be;line-height:1.6}.al-scan-hint{font-family:"Source Sans 3",sans-serif;font-size:12.5px;color:#9d8161;line-height:1.6;margin:6px 0 18px}.al-scan-hint code{font-family:SF Mono,Fira Code,monospace;font-size:11.5px;background:#f0ebe2;padding:1px 5px;border-radius:3px}.al-scan-success{display:flex;align-items:center;gap:8px;font-family:"Source Sans 3",sans-serif;font-size:13.5px;color:#265925;background:#edf7ec;border:1px solid #b5ddb3;border-radius:8px;padding:9px 14px;margin-bottom:4px}.al-scan-check{font-weight:700;font-size:15px}.al-input--prefilled{background:#faf6ed;border-color:#e0cfa0;color:#4a3a1a;font-style:italic}.al-input--prefilled:focus{font-style:normal;background:#fff;border-color:#c4a96e}.al-auto-badge{display:inline-block;font-family:"Source Sans 3",sans-serif;font-size:10px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;padding:1px 6px;border-radius:4px;background:#e8f4e8;color:#2d6a2a;border:1px solid #b5ddb3;vertical-align:middle;margin-left:5px;font-style:normal}.al-empty-state{text-align:center;padding:40px 20px;font-family:"Source Sans 3",sans-serif;font-size:14px;color:#9d8161}.al-var-editor{border:1px solid #e4ddd2;border-radius:10px;overflow:hidden}.al-var-editor-head{display:grid;grid-template-columns:220px 1fr 1fr;gap:12px;padding:8px 14px;background:#f4f0e8;font-family:"Source Sans 3",sans-serif;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#8a7260;border-bottom:1px solid #e4ddd2}.al-var-editor-row{display:grid;grid-template-columns:220px 1fr 1fr;gap:12px;padding:10px 14px;align-items:center;border-bottom:1px solid #ede8e0;background:#fff;transition:background .12s}.al-var-editor-row:last-child{border-bottom:none}.al-var-editor-row:hover{background:#fdf9f5}.al-ve-key{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.al-ve-label,.al-ve-group{padding:6px 10px;font-size:13px;height:34px}.al-vtype-badge{display:inline-block;font-family:"Source Sans 3",sans-serif;font-size:9.5px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;padding:1px 5px;border-radius:3px;vertical-align:middle;font-style:normal;white-space:nowrap}.al-vtype-badge--choice{background:#e8f0fe;color:#1a52c2;border:1px solid #b3c9f8}.al-vtype-badge--auto{background:#e8f4e8;color:#2d6a2a;border:1px solid #b5ddb3}.al-input-wrap{display:flex;align-items:center;width:100%}.al-input-wrap--currency{position:relative}.al-currency-prefix{position:absolute;left:12px;font-family:"Source Sans 3",sans-serif;font-size:13.5px;color:#7a6a50;pointer-events:none;z-index:1;line-height:1}.al-input-wrap--currency .al-input{padding-left:26px;width:100%}@media (max-width: 640px){.al-var-editor-head{display:none}.al-var-editor-row{grid-template-columns:1fr;gap:8px;padding:12px 14px}}.admin-section-desc{font-size:.83rem;color:var(--muted);margin:-4px 0 16px;line-height:1.55}.at-table{width:100%;border-collapse:collapse;font-size:.85rem;margin-bottom:16px}.at-table th{text-align:left;padding:8px 12px;font-size:.76rem;font-weight:600;color:var(--muted);text-transform:uppercase;letter-spacing:.5px;border-bottom:1.5px solid var(--border)}.at-table td{padding:8px 12px;border-bottom:1px solid var(--border);vertical-align:middle}.at-table tr:last-child td{border-bottom:none}.at-table tr:hover td{background:var(--surface)}.at-keyword{font-family:var(--font-mono, monospace);font-size:.82rem;color:var(--accent);background:#6366f114;padding:2px 6px;border-radius:4px}.at-match-badge{display:inline-block;font-size:.69rem;padding:2px 8px;border-radius:10px;font-weight:700;text-transform:uppercase;letter-spacing:.4px}.at-match-badge--prefix{background:#3b82f61f;color:#3b82f6}.at-match-badge--suffix{background:#a855f71f;color:#a855f7}.at-match-badge--contains{background:#f59e0b1f;color:#d97706}.at-match-badge--exact{background:#10b9811f;color:#10b981}.at-td-priority{color:var(--muted);font-size:.82rem;text-align:center}.at-actions{width:44px;text-align:center}.at-del-btn{background:none;border:none;color:var(--muted);cursor:pointer;font-size:.88rem;padding:4px 6px;border-radius:4px;transition:color .15s,background .15s;line-height:1}.at-del-btn:hover{color:#ef4444;background:#ef44441a}.at-empty{color:var(--muted);text-align:center;padding:14px;font-style:italic;font-size:.83rem}.at-add-form{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:12px;align-items:center}.at-input{flex:1;min-width:150px;max-width:230px}.at-select{flex:0 0 auto;min-width:115px}.at-priority{flex:0 0 68px}.at-add-btn{flex:0 0 auto;white-space:nowrap}.at-hint{font-size:.78rem;color:var(--muted);line-height:1.8;padding:10px 14px;background:var(--surface);border-radius:8px;border:1px solid var(--border)}.at-loading{padding:16px;color:var(--muted);font-size:.85rem}.at-error{padding:12px;color:#ef4444;font-size:.85rem}.cc-example{display:inline-block;background:#c4a96a1f;border:1px solid rgba(196,169,106,.35);border-radius:5px;padding:1px 7px;font-family:monospace;font-size:.85rem;letter-spacing:.03em;color:var(--text-brown)}.cc-sub-section{margin-bottom:22px}.cc-sub-title{display:block;font-size:.78rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);margin-bottom:8px}.cc-table{width:100%;border-collapse:collapse;font-size:.85rem}.cc-table th{text-align:left;padding:7px 12px;background:var(--surface);font-weight:600;color:var(--muted);font-size:.78rem;letter-spacing:.06em;text-transform:uppercase;border-bottom:1px solid var(--border)}.cc-table td{padding:7px 12px;border-bottom:1px solid var(--border);vertical-align:middle}.cc-table tr:last-child td{border-bottom:none}.cc-code-input{width:72px;height:30px;border:1px solid var(--border);border-radius:6px;padding:0 8px;font-size:.9rem;font-family:monospace;text-transform:uppercase;background:#faf8f3;color:var(--text-brown);text-align:center}.cc-code-input:focus{outline:none;border-color:var(--primary-gold)}.cc-save-btn{padding:4px 14px;font-size:.8rem;height:30px}.cc-save-btn--ok{background:#22c55e!important;border-color:#22c55e!important;color:#fff!important}.cc-save-btn--error{background:#ef4444!important;border-color:#ef4444!important;color:#fff!important}.al-wiz-groups{display:flex;flex-direction:column;gap:12px;margin-bottom:12px}.al-wiz-group{border:1.5px solid var(--border);border-radius:10px;overflow:hidden;background:var(--card);transition:border-color .15s}.al-wiz-group-header{display:flex;align-items:center;gap:8px;padding:9px 14px;background:var(--surface);border-bottom:1px solid var(--border)}.al-wiz-group-icon{font-size:.9rem;flex-shrink:0}.al-wiz-group-name{flex:1;font-weight:600;font-size:.88rem;color:var(--text);outline:none;border-radius:4px;padding:2px 5px;cursor:text;min-width:60px}.al-wiz-group-name:focus{background:var(--input-bg, var(--card));box-shadow:0 0 0 2px var(--accent)}.al-wiz-group-del{background:none;border:none;color:var(--muted);cursor:pointer;font-size:.82rem;padding:3px 6px;border-radius:4px;line-height:1;flex-shrink:0;transition:color .15s,background .15s}.al-wiz-group-del:hover{color:#ef4444;background:#ef44441a}.al-wiz-group-body{padding:6px 10px;min-height:56px;transition:background .15s}.al-wiz-group-body.al-over{background:#6366f112;outline:2px dashed var(--accent);outline-offset:-4px}.al-wiz-group-empty{color:var(--muted);font-size:.79rem;font-style:italic;padding:10px 8px;text-align:center;border:1.5px dashed var(--border);border-radius:6px;margin:4px 0;pointer-events:none}.al-wiz-var-row{display:flex;align-items:center;gap:10px;padding:5px 4px;border-radius:6px;cursor:grab;transition:background .1s}.al-wiz-var-row:hover{background:var(--surface)}.al-wiz-var-row.al-dragging{opacity:.3;cursor:grabbing}.al-drag-handle{color:var(--muted);font-size:1.1rem;cursor:grab;-webkit-user-select:none;user-select:none;flex-shrink:0;letter-spacing:-1px}.al-wiz-var-info{display:flex;align-items:center;gap:6px;flex-shrink:0;min-width:130px}.al-wiz-var-row .al-input.al-ve-label{flex:1;font-size:.82rem;padding:5px 10px;height:auto}.al-add-group-btn{display:inline-flex;align-items:center;gap:6px;background:none;border:1.5px dashed var(--border);color:var(--muted);border-radius:8px;padding:8px 18px;font-size:.83rem;cursor:pointer;transition:all .15s;margin-bottom:16px}.al-add-group-btn:hover{border-color:var(--accent);color:var(--accent);background:#6366f10d}.al-vtype-badge{font-size:.64rem;padding:2px 6px;border-radius:10px;font-weight:700;letter-spacing:.4px;text-transform:uppercase;flex-shrink:0;white-space:nowrap}.al-vtype-badge--choice{background:#8b5cf624;color:#8b5cf6}.al-vtype-badge--auto{background:#10b98124;color:#10b981}.al-body--book{grid-template-columns:1fr!important}.al-body--book .al-history-col{display:none}.al-book-tabs{display:none;gap:4px;margin-bottom:14px;background:var(--surface, #f5f0e8);border-radius:10px;padding:4px}.al-book-tab{flex:1;padding:8px 12px;border:none;border-radius:7px;font-size:.85rem;font-weight:500;cursor:pointer;background:transparent;color:var(--muted, #9d8161);transition:all .15s;font-family:inherit}.al-book-tab--active{background:var(--card, #fff);color:var(--text, #1a1a1a);box-shadow:0 1px 4px #0000001a}.al-book-layout{display:grid;grid-template-columns:40% 60%;gap:0;align-items:start;min-height:600px}.al-book-left{padding-right:20px;border-right:1.5px solid var(--border, #e8e0d4);max-height:calc(100vh - 200px);overflow-y:auto;position:sticky;top:88px;scrollbar-width:thin}.al-book-right{padding-left:20px}.al-book-col-head{font-size:.75rem;font-weight:700;color:var(--muted, #9d8161);text-transform:uppercase;letter-spacing:.6px;margin-bottom:14px;padding-bottom:8px;border-bottom:1px solid var(--border, #e8e0d4)}.al-book-fields .al-form-row{flex-direction:column;gap:4px;margin-bottom:14px}.al-book-fields .al-label{min-width:unset;width:100%;font-size:.78rem}.al-book-fields .al-input{width:100%;box-sizing:border-box}.al-doc-page-wrap{overflow-y:auto;max-height:calc(100vh - 200px)}.al-doc-page{background:#fff;border-radius:8px;padding:36px 44px;box-shadow:0 2px 16px #0000001a,0 0 0 1px #0000000d;font-family:Times New Roman,Times,serif;font-size:11pt;line-height:1.75;color:#111;min-height:500px}.doc-para{margin:0 0 6px}.doc-para--blank{margin:0 0 6px;min-height:1.4em}.doc-para--header{font-size:.85em;color:var(--text-secondary)}.doc-h{margin:14px 0 8px;font-weight:700}.doc-h.doc-para--header{font-size:.9em}.doc-empty{color:#888;font-style:italic;font-family:sans-serif;font-size:.85rem;padding:20px 0;line-height:1.6}.doc-header-divider{border:none;border-top:1px solid rgba(196,169,106,.4);margin:8px 0 14px}.doc-table--header td{font-size:.85em;color:var(--text-secondary)}.doc-page{background:#fff;border-radius:3px;box-shadow:0 1px 6px #00000021,0 0 0 1px #0000000f;padding:36px 40px 40px;margin-bottom:20px;position:relative;box-sizing:border-box;min-height:120px}.doc-page-num{position:absolute;top:10px;right:14px;font-size:.7rem;color:#bbb;font-family:system-ui,sans-serif;letter-spacing:.03em;pointer-events:none}.doc-loading{display:flex;align-items:center;gap:10px;color:var(--muted);font-family:var(--font-primary);padding:24px 0;font-size:.88rem}.doc-var{border-radius:3px;padding:0 3px;transition:background .18s,color .18s,outline .18s;white-space:pre-wrap}.doc-var--empty{background:#fbbf2438;color:#92400e;font-family:monospace;letter-spacing:1.5px;font-size:.82em}.doc-var--filled{background:#10b98124;color:#065f46;font-weight:500}.doc-var--active{background:#fbbf248c!important;color:#78350f!important;outline:2px solid #f59e0b;outline-offset:1px}.doc-table{width:100%;border-collapse:collapse;margin:8px 0 12px;font-size:inherit}.doc-table td{border:1px solid #ccc;padding:4px 8px;vertical-align:top}.al-book-panel--hidden{display:none!important}@media (max-width: 860px){.al-book-layout{grid-template-columns:1fr}.al-book-left{padding-right:0;border-right:none;max-height:none;position:static;overflow-y:visible}.al-book-right{padding-left:0;margin-top:16px}.al-doc-page-wrap{max-height:none}.al-book-tabs{display:flex}.al-book-right:not(.al-book-panel--hidden){display:block}}.al-stv-layout{display:grid;grid-template-columns:320px 1fr;gap:0;min-height:520px;padding:0!important;overflow:hidden}.al-stv-left{padding:20px 20px 24px;border-right:1px solid var(--border);display:flex;flex-direction:column;gap:10px;overflow-y:auto}.al-stv-right{padding:20px 20px 24px;display:flex;flex-direction:column;gap:8px;overflow:hidden}.al-stv-right .al-doc-page-wrap{flex:1;overflow-y:auto}.al-stv-preview{cursor:text;user-select:text;-webkit-user-select:text}.al-stv-preview ::selection{background:#6366f140}.al-stv-count{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 5px;margin-left:6px;border-radius:10px;background:var(--accent);color:#fff;font-size:.72rem;font-weight:700;line-height:1}.al-stv-vars{display:flex;flex-direction:column;gap:8px;flex:1}.al-stv-row{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:8px;background:var(--bg-secondary);border:1px solid var(--border);border-radius:8px;padding:8px 10px}.al-stv-row-info{display:flex;flex-direction:column;gap:2px;min-width:0}.al-stv-row-orig{font-size:.72rem;color:var(--text-secondary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.al-stv-label{max-width:120px;font-size:.82rem;padding:4px 7px}.al-stv-del{background:none;border:none;color:var(--text-secondary);cursor:pointer;font-size:.9rem;padding:2px 6px;border-radius:4px;line-height:1;transition:background .15s,color .15s}.al-stv-del:hover{background:#ef44441a;color:#ef4444}.al-stv-empty{font-size:.85rem;color:var(--text-secondary);padding:12px 0;text-align:center;border:1.5px dashed var(--border);border-radius:8px}.al-stv-hint{font-size:.8rem;color:var(--text-secondary);line-height:1.5}.al-var-popup{position:absolute;z-index:9999;background:var(--bg-card);border:1px solid var(--border);border-radius:10px;box-shadow:0 8px 32px #0000002e;padding:14px 16px 12px;width:280px;display:flex;flex-direction:column;gap:8px;animation:popupIn .12s ease}@keyframes popupIn{0%{opacity:0;transform:translateY(-4px) scale(.97)}to{opacity:1;transform:none}}.al-var-popup-title{font-size:.82rem;font-weight:600;color:var(--text-primary)}.al-var-popup-orig{font-size:.78rem;color:var(--text-secondary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.al-var-popup-input{font-family:monospace;font-size:.88rem}.al-var-popup-btns{display:flex;gap:8px}.al-var-popup-ok{flex:1;padding:7px 10px;font-size:.82rem}.al-var-popup-cancel{padding:7px 10px;font-size:.82rem}.al-var-popup-toggle-opts{font-size:.78rem;padding:5px 8px;color:var(--text-secondary);border:1px dashed rgba(196,169,106,.5);background:transparent}.al-var-popup-opts-label{font-size:.76rem;font-weight:600;color:var(--text-secondary);margin-bottom:6px;text-transform:uppercase;letter-spacing:.04em}.al-var-opts-list{display:flex;flex-direction:column;gap:5px;margin-bottom:6px}.al-var-opt-row{display:flex;gap:5px;align-items:center}.al-var-opt-row .al-input{flex:1;font-size:.84rem;padding:5px 8px}.al-var-opt-del{padding:4px 8px;font-size:.78rem;flex-shrink:0}.al-var-opts-add-btn{font-size:.78rem;padding:5px 10px;width:100%}.stv-marked{background:#fbbf2438;color:#92400e;font-family:monospace;letter-spacing:1.5px;font-size:.82em;border-radius:3px;padding:0 2px}@media (max-width: 860px){.al-stv-layout{grid-template-columns:1fr}.al-stv-left{border-right:none;border-bottom:1px solid var(--border)}.al-stv-right .al-doc-page-wrap{max-height:400px}}.btn-primary{font-family:var(--font-primary);font-size:var(--font-size-sm);font-weight:400;color:#1a1a1a;background:var(--gold-light);border:1px solid var(--primary-gold);border-radius:var(--radius-medium);cursor:pointer;position:relative;overflow:hidden;box-shadow:inset 0 1px #fff9,var(--shadow-button);transition:transform var(--motion-fast),box-shadow var(--motion-fast)}.btn-primary:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:url(/assets/white%20pattern-qop3YNpn.png) center/360px auto repeat;opacity:.1;pointer-events:none}.btn-primary>*{position:relative;z-index:1}.btn-primary:hover{transform:translateY(-1px);box-shadow:0 12px 25px #00000014,inset 0 1px #fff9}.btn-secondary{font-family:var(--font-primary);font-size:var(--font-size-sm);font-weight:400;color:var(--text-dark);background:var(--bg-light);border:var(--border-thin) solid var(--primary-gold);border-radius:var(--radius-medium);cursor:pointer;position:relative;overflow:hidden;transition:transform var(--motion-fast),box-shadow var(--motion-fast),background-color var(--motion-fast)}.btn-secondary:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:url(/assets/white%20pattern-qop3YNpn.png) center/360px auto repeat;opacity:.05;pointer-events:none}.btn-secondary:hover{background-color:var(--gold-light);transform:translateY(-1px)}.btn-tertiary{font-family:var(--font-primary);font-size:var(--font-size-md);color:var(--text-brown);background:transparent;border:none;cursor:pointer;-webkit-user-select:none;user-select:none;transition:color var(--motion-fast),transform var(--motion-fast)}.btn-tertiary:hover{color:#1a1a1a;transform:translateY(-1px)}#addToBundleBtn{flex:1;min-width:120px;max-width:240px;height:var(--button-height);padding:0 8px!important;margin:0;display:flex;align-items:center;justify-content:center;flex-direction:row;font-family:var(--font-primary);font-size:clamp(12px,1.3vw,13px)!important;letter-spacing:0}.leads-card{height:100%;box-sizing:border-box;padding:16px 18px 12px;background:var(--bg-card);border-radius:var(--radius-large);border:1px solid #e0c98a;box-shadow:var(--shadow-elevated);display:flex;flex-direction:column;overflow:hidden;font-family:var(--font-primary)}#leadsViewContainer{flex:1;overflow:auto;min-height:0;border:1px solid #e0c98a;border-radius:8px;padding:0;box-sizing:border-box;scrollbar-width:thin;scrollbar-color:rgba(180,140,90,.5) rgba(240,232,216,.6)}#leadsViewContainer::-webkit-scrollbar{width:7px;height:7px}#leadsViewContainer::-webkit-scrollbar-track{background:#f0e8d899;border-radius:99px}#leadsViewContainer::-webkit-scrollbar-thumb{background:#b48c5a80;border-radius:99px}#leadsViewContainer::-webkit-scrollbar-thumb:hover{background:#a06e3cbf}#leadsViewContainer::-webkit-scrollbar-corner{background:#f0e8d899}#leadsViewContainer:has(.detail-split){overflow:hidden}#leadsViewContainer:has(.leads-kanban),#leadsViewContainer:has(.detail-split){padding:6px}#leadsViewContainer:has(.leads-kanban){overflow:hidden;border:none;border-radius:0}.leads-header{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;margin-bottom:14px}.leads-header .admin-action-btn{justify-self:end}.leads-header h2{font-family:var(--font-primary);font-size:19px;font-weight:350;color:#1a1208;letter-spacing:.01em;margin:0}.leads-card .leads-days-badge,.leads-card .leads-kanban-count,.leads-card .leads-count-bar,.leads-card .leads-prio-minibar-label,.leads-card .lead-prio-score-chip,.leads-card .leads-prio-score-label,.leads-card .leads-table-td,.leads-card .leads-cell-input,.leads-card .leads-cell-select,.leads-card .leads-filter-select,.leads-card .leads-search,.leads-card .detail-sidebar-sub,.leads-card .leads-td--days,.leads-card .leads-td--last-act{font-family:"Source Sans 3",Source Sans Pro,Segoe UI,sans-serif}.admin-panel-card{position:relative;width:min(96vw,950px);max-width:950px;margin:calc(85px - var(--space-lg) - 2px) auto 0;background:var(--bg-card);border:1px solid rgba(201,168,92,.6);border-radius:var(--radius-large);box-shadow:var(--shadow-elevated),var(--shadow-soft);padding:var(--space-xl) var(--space-xxl);display:flex;flex-direction:column;gap:var(--space-xl);overflow:hidden}.admin-panel-card:before{content:"";position:absolute;top:10px;right:10px;bottom:10px;left:10px;border-radius:calc(var(--radius-large) - 8px);border:1px solid rgba(224,201,138,.38);pointer-events:none}.admin-section{display:flex;flex-direction:column;gap:var(--space-sm)}.admin-section-header{display:flex;align-items:center;gap:var(--space-sm)}.admin-section-title{font-family:var(--font-primary);font-size:var(--font-size-md);font-weight:var(--font-weight-semibold);color:#111;white-space:nowrap;letter-spacing:.01em}.admin-section-header--sub{margin-top:8px}.admin-section-line{flex:1;height:1px;background:var(--primary-gold);opacity:.35}.admin-section-btns{display:flex;flex-direction:column;gap:var(--space-xs);align-items:flex-start}.admin-action-btn{height:38px;width:220px;padding:0 20px;border-radius:40px;border:1px solid var(--primary-gold);background:transparent;font-family:var(--font-primary);font-size:var(--font-size-sm);font-weight:var(--font-weight-regular);color:var(--text-brown);cursor:pointer;letter-spacing:.01em;white-space:nowrap;text-align:left;transition:background var(--motion-fast),border-color var(--motion-fast),color var(--motion-fast),transform var(--motion-fast),box-shadow var(--motion-fast)}.admin-action-btn:hover{background:var(--gold-light);border-color:#a07840;color:#3a2410;transform:translateY(-1px);box-shadow:0 4px 14px #a0805024}.admin-action-btn:active{transform:scale(.97);box-shadow:none}.admin-action-btn:disabled{opacity:.45;cursor:not-allowed;transform:none;box-shadow:none}.admin-action-btn--primary{background:var(--primary-maroon, #6f1026);border-color:var(--primary-maroon, #6f1026);color:#fff}.admin-action-btn--primary:hover{background:#7d1730;border-color:#7d1730;color:#fff}.admin-foundation-card{width:min(100%,620px);border:1px solid rgba(201,168,92,.45);border-radius:18px;background:#fffcf6c7;padding:16px 18px;display:flex;justify-content:space-between;align-items:center;gap:18px;box-sizing:border-box}.admin-foundation-card>div{display:flex;flex-direction:column;gap:4px}.admin-foundation-kicker{font-size:11px;letter-spacing:.11em;text-transform:uppercase;color:#9b7b48;font-weight:700}.admin-foundation-card strong{font-size:17px;color:#21170d}.admin-foundation-card small{color:#7b684f;font-size:13px}.admin-foundation-status{border:1px solid rgba(160,128,80,.32);border-radius:999px;padding:6px 12px;color:#7b684f;background:#f7efe0;font-size:12px;font-weight:700}.admin-foundation-status--ready{color:#2f6b3a;border-color:#4b915959;background:#edf8ee}.admin-foundation-alert{width:min(100%,680px);border:1px solid rgba(176,79,61,.28);border-radius:16px;background:#fff7f3;color:#6b2b1d;padding:14px 16px;display:flex;flex-direction:column;gap:5px;box-sizing:border-box}.admin-foundation-alert code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12px;color:#7a1327}.admin-setup-steps{width:min(100%,820px);display:flex;flex-direction:column;gap:12px}.admin-setup-step{min-height:78px;border:1px solid rgba(201,168,92,.38);border-radius:18px;background:#fffcf6b3;padding:14px 16px;display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:14px;box-sizing:border-box}.admin-setup-step--current{background:#fffaf0;border-color:#c9a85cc7}.admin-setup-step--done{background:#f5faf2e6;border-color:#6c9d5f73}.admin-setup-dot{width:34px;height:34px;border-radius:50%;border:1px solid rgba(201,168,92,.65);display:inline-flex;align-items:center;justify-content:center;color:#7a5b2e;background:#fbf7ef;font-weight:800}.admin-setup-step--done .admin-setup-dot{background:#86b989;border-color:#86b989;color:#fff}.admin-setup-step strong{display:block;color:#21170d;font-size:16px;margin-bottom:4px}.admin-setup-step small{color:#7b684f;font-size:13px;line-height:1.35}.admin-mini-action{height:34px;min-width:86px;padding:0 16px;border:1px solid var(--primary-gold);border-radius:999px;background:#fffaf0;color:var(--text-brown);font-family:var(--font-primary);font-weight:700;cursor:pointer}.admin-mini-action:disabled{opacity:.42;cursor:not-allowed}.admin-form-actions{display:flex;gap:12px;align-items:center;margin-top:24px}.company-setup-page{max-width:980px;padding-top:52px;padding-bottom:48px}.company-setup-shell{position:relative;flex-direction:column;min-height:min(720px,calc(100vh - 140px));max-height:none;border:1px solid rgba(201,168,92,.58)}.company-setup-shell:before{content:none}.company-setup-mini-nav{min-height:22px;padding:6px 22px 0;display:flex;align-items:center;justify-content:flex-start;color:#6f5737;font-family:var(--font-primary);font-size:14px;font-weight:700;position:relative;z-index:3}.company-setup-back{height:36px;padding:0 14px;border-radius:999px;border:1px solid rgba(201,168,92,.62);background:#faf8f3;color:var(--text-brown);display:inline-flex;align-items:center;gap:7px;font-family:var(--font-primary);font-size:13px;font-weight:700;cursor:pointer}.company-setup-back svg{width:14px;height:14px}.company-setup-scroll{padding:0 22px 40px;max-height:calc(100vh - 156px);overflow-y:auto;-webkit-overflow-scrolling:touch;position:relative;z-index:1;scrollbar-width:thin;scrollbar-color:transparent transparent}.company-setup-scroll::-webkit-scrollbar{width:4px}.company-setup-scroll::-webkit-scrollbar-track{background:transparent}.company-setup-scroll::-webkit-scrollbar-thumb{background:transparent;border-radius:99px}.company-setup-scroll.is-scrolling{scrollbar-color:rgba(0,0,0,.22) transparent}.company-setup-scroll.is-scrolling::-webkit-scrollbar-thumb{background:#00000038}.company-setup-shell .wiz-main{padding:0 22px;background:transparent}.company-setup-shell .wiz-content-wrap{padding:24px 26px 36px;background:transparent;border:1px solid rgba(201,168,92,.58);border-radius:24px;box-shadow:none}.company-setup-shell .wiz-step-body{padding-top:0}.company-setup-shell .wiz-step-header{margin-top:0;margin-bottom:16px}.company-setup-loading-title{font-size:24px}.company-setup-form{gap:18px}.company-setup-form .wiz-field{display:grid;grid-template-columns:180px minmax(0,1fr);gap:18px;align-items:start}.company-setup-form .wiz-label{padding-top:14px;font-size:15px}.company-setup-control{display:flex;flex-direction:column;gap:7px;min-width:0}body:has(.company-setup-page){overflow-y:auto}.company-field-help{color:#8a7258;font-size:12px;line-height:1.4}.company-logo-picker{min-height:112px;border:1.5px solid #e0d6c2;border-radius:14px;background:#faf8f3;padding:14px;display:grid;grid-template-columns:132px minmax(0,1fr);gap:16px;align-items:center;box-sizing:border-box}.company-logo-preview{height:82px;border-radius:12px;border:1px solid rgba(201,168,92,.38);background:#fffdfa;display:flex;align-items:center;justify-content:center;overflow:hidden;color:#9b8a72;font-size:12px;text-align:center;padding:8px;box-sizing:border-box}.company-logo-preview img{max-width:100%;max-height:100%;object-fit:contain}.company-logo-copy{display:flex;flex-direction:column;align-items:flex-start;gap:8px}.company-logo-btn,.company-action-pill{position:relative;overflow:hidden;border-radius:var(--radius-medium);border:var(--border-thin) solid #ddd;background:#faf8f3;color:var(--text-brown);font-family:"Source Sans 3",Source Sans Pro,Segoe UI,sans-serif;cursor:pointer;transition:background var(--motion-fast),border-color var(--motion-fast),transform var(--motion-fast)}.company-logo-btn:before,.company-action-pill:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:url(/assets/white%20pattern-qop3YNpn.png) center/380px auto repeat;opacity:.08;pointer-events:none}.company-logo-btn{height:42px;padding:0 18px;font-size:13px;font-weight:600}.company-logo-btn:hover,.company-action-pill:hover{background:var(--gold-hover);transform:translateY(-1px)}.company-action-pills{display:flex;gap:12px;align-items:center;margin-top:26px}.company-action-pill{min-width:150px;height:48px;padding:0 22px;display:inline-flex;align-items:center;justify-content:center;font-size:14px;font-weight:600}.company-action-pill--active{background:var(--gold-light);border-color:var(--primary-gold);color:#2a1f0e}.company-action-pill:disabled{opacity:.62;cursor:not-allowed;transform:none}.project-wizard-shell{max-height:calc(100vh - 128px);min-height:min(720px,calc(100vh - 128px))}.project-wizard-scroll{max-height:calc(100vh - 128px);overflow-y:auto;-webkit-overflow-scrolling:touch}.wiz-choice-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.wiz-choice-pill{min-height:48px;padding:0 16px;border-radius:var(--radius-medium);border:var(--border-thin) solid #ddd;background:#faf8f3;color:var(--text-brown);font-family:"Source Sans 3",Source Sans Pro,Segoe UI,sans-serif;font-size:13px;font-weight:600;cursor:pointer;position:relative;overflow:hidden;transition:background var(--motion-fast),border-color var(--motion-fast),transform var(--motion-fast)}.wiz-choice-pill:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:url(/assets/white%20pattern-qop3YNpn.png) center/380px auto repeat;opacity:.08;pointer-events:none}.wiz-choice-pill:hover{background:var(--gold-hover);transform:translateY(-1px)}.wiz-choice-pill--active{background:var(--gold-light);border-color:var(--primary-gold);color:#2a1f0e}.wiz-fields--compact{gap:18px}.wiz-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.wiz-field--full{grid-column:1 / -1}.wiz-textarea{min-height:92px;padding-top:13px;line-height:1.45;resize:vertical}.wiz-section-title{margin-top:6px;padding-bottom:8px;border-bottom:1px solid rgba(201,168,92,.28);color:#8a6834;font-size:12px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}.wiz-review-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:16px}.wiz-review-card{border:1px solid rgba(201,168,92,.42);border-radius:16px;background:#ffffffa8;padding:14px 16px;display:flex;flex-direction:column;gap:6px}.wiz-review-card--wide{margin-top:16px}.wiz-review-card span{font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:#9b7b48;font-weight:800}.wiz-review-card strong{color:#1f160c;font-size:16px}.wiz-review-card small{color:#725f48;font-size:13px}.wiz-review-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.wiz-review-list>div{border:1px solid rgba(224,214,194,.9);border-radius:14px;background:#faf8f3;padding:12px;display:flex;flex-direction:column;gap:3px}.wiz-review-list strong{font-size:22px;color:#21170d}.wiz-review-list span{font-size:12px;color:#7b684f}.wiz-review-chips{display:flex;flex-wrap:wrap;gap:8px}.wiz-review-chips small{border:1px solid rgba(201,168,92,.3);border-radius:999px;padding:5px 10px;background:#fbf7ef}.admin-action-btn--soon{opacity:.38;cursor:not-allowed;border-style:dashed}.admin-action-btn--soon:hover{background:transparent;border-color:var(--primary-gold);color:var(--text-brown);transform:none;box-shadow:none}#admin-page{text-align:center}#admin-page .project-title{font-size:var(--font-size-xl);letter-spacing:.08em}#admin-page .project-options-button{width:14rem;height:4rem;font-size:var(--font-size-sm)}@media (max-width: 640px){.admin-panel-card{margin-top:72px;padding:18px 16px}.admin-foundation-card,.admin-form-actions,.admin-setup-step{align-items:stretch;display:flex;flex-direction:column}.wiz-grid,.wiz-review-grid,.wiz-review-list{grid-template-columns:1fr}.company-setup-page{padding-top:62px}.company-setup-mini-nav{padding:0 18px}.company-setup-scroll{padding:0 18px 42px;max-height:none}.company-logo-picker,.wiz-choice-row,.company-action-pills{grid-template-columns:1fr;align-items:stretch}.company-setup-form .wiz-field{grid-template-columns:1fr;gap:8px}.company-setup-form .wiz-label{padding-top:0}.project-wizard-shell,.project-wizard-scroll{max-height:none}.company-action-pills{flex-direction:column}.company-action-pill,.company-logo-btn{width:100%}}.al-page{max-width:1360px;margin:0 auto;padding:calc(85px - var(--space-lg) - 2px) 16px 28px;box-sizing:border-box}.al-main-card{background:var(--bg-card);border:1px solid #e0c98a;border-radius:var(--radius-large);box-shadow:var(--shadow-elevated);padding:24px 28px 22px;display:flex;flex-direction:column;gap:18px;min-height:calc(100vh - 124px)}.al-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:0;padding-bottom:12px;border-bottom:1px solid rgba(224,201,138,.55)}.al-header-main{min-width:0}.al-header-actions{display:flex;align-items:center;gap:10px}.al-header-btn{min-height:38px;padding:0 16px;border:1px solid #d4bb87;border-radius:999px;background:linear-gradient(145deg,#ead5ac,#d6b881);color:#4a3218;box-shadow:0 8px 20px #00000014,inset 0 1px #fff9;font-family:var(--font-primary);font-size:13px;cursor:pointer;transition:transform var(--motion-fast),box-shadow var(--motion-fast),filter var(--motion-fast)}.al-header-btn:hover{transform:translateY(-1px);filter:brightness(1.02);box-shadow:0 12px 25px #00000014,inset 0 1px #fff9}.al-title{font-size:19px;font-weight:350;letter-spacing:.01em}.al-subtitle{font-size:13px;color:#8f7a5d}.al-body{display:block;min-height:0;flex:1}.al-form-col,.al-history-col{min-width:0}.al-form-card,.al-history-card{background:#fffdf9;border:1px solid #e0c98a;border-radius:12px;box-shadow:0 8px 24px #4b351c0f;overflow:hidden}.al-form-card{padding:18px}.al-drafting-layout{display:grid;grid-template-columns:240px minmax(0,1fr);gap:20px;align-items:start}.al-form-card--standard{max-width:1040px}.al-form-card--template{max-width:1100px}.al-form-content{min-width:0}.al-form-intro{display:flex;flex-direction:column;gap:4px;margin-bottom:14px;padding:14px 16px;background:linear-gradient(180deg,#fbf6ee,#f5ecdf);border:1px solid #ead7b7;border-radius:12px}.al-form-intro-kicker{font-family:"Source Sans 3",sans-serif;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:#9b7b43}.al-form-intro-title{font-family:var(--font-primary);font-size:20px;color:#2b1b0e}.al-form-intro-copy{font-family:"Source Sans 3",sans-serif;font-size:13px;line-height:1.45;color:#735f45}.al-form-card--standard .al-form-intro{max-width:720px;margin-left:0;margin-right:0}.al-template-bar{display:flex;flex-direction:column;gap:8px;margin-bottom:0;padding:14px 16px;background:#fcf8f1;border:1px solid #eadcc3;border-radius:12px;position:sticky;top:88px}.al-template-bar-head{display:flex;flex-direction:column;gap:2px}.al-template-bar-title{font-family:var(--font-primary);font-size:16px;color:#2f1f11}.al-template-bar-sub{font-family:"Source Sans 3",sans-serif;font-size:12px;color:#8a7356}.al-template-selector{display:flex;flex-direction:column;gap:8px}.al-template-chip{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:42px;padding:0 14px;border:1px solid #d7be8f;border-radius:14px;background:linear-gradient(145deg,#fbf2de,#ecd9ae);color:#5a3d1f;cursor:pointer;box-shadow:inset 0 1px #ffffff8c;transition:background var(--motion-fast),border-color var(--motion-fast),transform var(--motion-fast),filter var(--motion-fast)}.al-template-chip:hover{background:linear-gradient(145deg,#fbeac5,#e5c27d);border-color:#c9a968;transform:translateY(-1px);filter:brightness(1.01)}.al-template-chip--active{background:linear-gradient(145deg,#e8c986,#d7af62);border-color:#b98d44;color:#3e2a12;box-shadow:0 6px 16px #a97f342e,inset 0 1px #ffffff73}.al-template-chip-name,.al-template-chip-meta,.al-template-empty{font-family:"Source Sans 3",sans-serif}.al-template-chip-name{font-size:13px;font-weight:600;text-align:left}.al-template-chip-meta{font-size:11px;padding:2px 7px;border-radius:999px;background:#5a3d1f1a}.al-template-chip--active .al-template-chip-meta{background:#3e2a121a}.al-template-empty{font-size:12px;color:#8a7356;padding:8px 0 2px}.al-section{border-color:#e7d8be;border-radius:12px;margin-bottom:12px}.al-section-head{background:#faf5ed;padding:13px 16px}.al-section-title{font-size:15px}.al-section-body{padding:16px;gap:12px}.al-form-card--standard .al-section{max-width:720px;margin-left:0;margin-right:0}.al-form-row{grid-template-columns:150px minmax(0,1fr);gap:12px}.al-label,.al-input,.al-history-table,.al-history-empty,.al-result{font-family:"Source Sans 3",Segoe UI,sans-serif}.al-input{min-height:38px;border-color:#ddd2bf;background:#fffdfa}.al-input:focus{border-color:var(--primary-gold);box-shadow:0 0 0 3px #e0c98a2e}.al-history-overlay{background:#1e140a61;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.al-history-modal{width:min(92vw,760px);max-height:min(84vh,820px);overflow:hidden;position:relative;margin:6vh auto 0;background:#fffaf4;border:1px solid #e0c98a;border-radius:18px;box-shadow:0 24px 60px #0003}.al-history-modal-head{padding:20px 22px 14px;border-bottom:1px solid #eadcc3}.al-history-modal-title{font-family:var(--font-primary);font-size:20px;color:#2f1f11}.al-history-modal-sub{margin-top:4px;font-family:"Source Sans 3",sans-serif;font-size:12px;color:#8a7356}.al-history-modal-body{padding:14px 18px 18px;max-height:calc(min(84vh,820px) - 86px);overflow:auto}.al-history-list-modal{display:flex;flex-direction:column;gap:10px}.al-history-row{display:block;padding:14px 16px;border:1px solid #e8d9bc;border-radius:14px;background:linear-gradient(180deg,#fffdf9,#fbf4e8);color:#4a3720;text-decoration:none;transition:transform var(--motion-fast),border-color var(--motion-fast),box-shadow var(--motion-fast)}.al-history-row:hover{transform:translateY(-1px);border-color:#d6b36c;box-shadow:0 8px 20px #785c2914}.al-history-row-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.al-history-row-title{font-family:var(--font-primary);font-size:16px;color:#352313}.al-history-row-date{font-family:"Source Sans 3",sans-serif;font-size:11px;color:#9a815f}.al-history-row-meta,.al-history-row-flat{font-family:"Source Sans 3",sans-serif;font-size:13px;color:#6a563c}.al-history-row-meta{margin-top:6px}.al-history-row-flat{margin-top:3px}.al-generate-bar{display:flex;align-items:center;justify-content:space-between;gap:14px;padding-top:14px;border-top:1px solid rgba(224,201,138,.55)}.al-result{flex:1;min-height:20px}.al-book-tabs{background:#f7efe0}.al-book-tab{color:#876c45}.al-book-tab--active{background:linear-gradient(145deg,#ead5ac,#d6b881);color:#4a3218;box-shadow:inset 0 1px #fff9,0 4px 12px #785c291f}.al-book-wrap{max-width:760px;margin:0 auto}.al-book-top{margin-bottom:16px}.al-book-subhead{font-family:"Source Sans 3",sans-serif;font-size:13px;line-height:1.5;color:#7b674c;margin-top:4px}.al-book-layout--form-only{display:block;min-height:0}.al-book-left--full{padding-right:0;border-right:none;max-height:none;overflow:visible;position:static}.al-book-fields--form .al-acc-container{display:flex;flex-direction:column;gap:12px}.al-book-fields--form .al-section{margin-bottom:0}.al-book-fields--form .al-section-head{padding:14px 16px}.al-book-fields--form .al-section-title{font-size:15px}.al-book-fields--form .al-acc-body{background:#fffdfa}.al-book-fields--form .al-form-row{grid-template-columns:1fr;gap:6px;margin-bottom:14px}.al-book-fields--form .al-form-row:last-child{margin-bottom:0}.al-book-fields--form .al-label{font-size:12px;font-weight:700;letter-spacing:.02em;color:#6c5538}.al-book-fields--form .al-input,.al-book-fields--form .al-input-wrap,.al-book-fields--form .al-pill-group{width:100%}.al-book-fields--form .al-pill-group{padding-top:2px}.al-doc-page{font-size:9.5pt;line-height:1.58;font-weight:400}.doc-page,.doc-para,.doc-table td,.doc-table--header td{font-weight:400}.doc-h{font-weight:700}.doc-var--filled{font-weight:400}.al-generate-btn{display:inline-flex;align-items:center;gap:10px;min-height:42px;padding:0 18px;border:1px solid #d2b47c;border-radius:999px;background:linear-gradient(145deg,#ead5ac,#d6b881);color:#4a3218;font-family:var(--font-primary);font-size:14px;cursor:pointer;box-shadow:0 8px 20px #00000014,inset 0 1px #fff9;transition:background var(--motion-fast),transform var(--motion-fast),box-shadow var(--motion-fast),filter var(--motion-fast)}.al-generate-btn:hover{background:linear-gradient(145deg,#ecd8b1,#d8bc88);transform:translateY(-1px);filter:brightness(1.02);box-shadow:0 12px 25px #00000014,inset 0 1px #fff9}.al-generate-btn svg{width:16px;height:16px}@media (max-width: 980px){.al-main-card{padding:20px 18px 18px}.al-drafting-layout{grid-template-columns:1fr}.al-template-bar{position:static}.al-template-selector{flex-direction:row;flex-wrap:wrap}.al-template-chip{width:auto;border-radius:999px}}@media (max-width: 640px){.al-page{padding:74px 10px 18px}.al-main-card{padding:16px 14px;border-radius:16px}.al-header{flex-direction:column;align-items:stretch}.al-header-btn{width:100%;justify-content:center}.al-form-card{padding:14px}.al-template-bar{padding:12px}.al-form-row{grid-template-columns:1fr;gap:6px}.al-generate-bar{flex-direction:column;align-items:stretch}.al-generate-btn{justify-content:center;width:100%}}body.app-onboarding-route,body:has(.bs-onboarding-page){overflow:hidden;background:#f7f2ea!important;padding:0!important}body.app-onboarding-route .top-banner,body:has(.bs-onboarding-page) .top-banner{display:none!important}.bs-onboarding-page{min-height:100vh;width:100%;padding:18px 28px;box-sizing:border-box;display:flex;align-items:center;justify-content:center;background:#f7f2ea;color:#23180d;font-family:var(--font-primary)}.bs-onboarding-shell{width:min(88vw,1160px);height:min(86vh,820px);min-height:680px;border:1px solid rgba(201,168,92,.58);border-radius:28px;background:linear-gradient(135deg,#fffcf5eb,#f6efe2f0),url(/assets/white%20pattern-qop3YNpn.png) center/520px auto repeat;box-shadow:0 22px 60px #3d2d181f;overflow:hidden;display:grid;grid-template-rows:auto 1fr}.bs-onboarding-top{min-height:78px;padding:16px 24px;display:grid;grid-template-columns:auto minmax(180px,1fr);align-items:center;gap:22px;border-bottom:1px solid rgba(201,168,92,.28);background:#fffdf8bd;box-sizing:border-box}.bs-onboarding-brand{display:flex;align-items:center;gap:12px;min-width:0}.bs-onboarding-brand>span{width:42px;height:42px;border-radius:14px;border:1px solid rgba(201,168,92,.42);background:#fffdf8;display:inline-flex;align-items:center;justify-content:center;overflow:hidden}.bs-onboarding-brand>span img{width:100%;height:100%;object-fit:contain}.bs-onboarding-brand strong{display:block;font-size:20px;line-height:1.1;color:#21170d}.bs-onboarding-progress{height:7px;border-radius:999px;background:#8b765b29;overflow:hidden}.bs-onboarding-progress span{display:block;height:100%;border-radius:inherit;background:#9f6f19;transition:width .7s cubic-bezier(.22,1,.36,1)}.bs-onboarding-soft-btn,.bs-onboarding-back,.bs-onboarding-next,.bs-onboarding-choice{font-family:var(--font-primary);cursor:pointer;transition:transform var(--motion-fast),border-color var(--motion-fast),background var(--motion-fast),box-shadow var(--motion-fast)}.bs-onboarding-layout{display:grid;grid-template-columns:250px minmax(0,1fr);gap:0;min-height:0}.bs-onboarding-rail{padding:28px 18px;border-right:1px solid rgba(201,168,92,.28);background:#f8f0e08a;display:flex;flex-direction:column;gap:10px}.bs-onboarding-rail-step{min-height:56px;border:1px solid transparent;border-radius:16px;background:transparent;color:#725b3d;display:grid;grid-template-columns:38px minmax(0,1fr);align-items:center;gap:10px;padding:8px 10px;text-align:left;font-family:"Source Sans 3",Source Sans Pro,Segoe UI,sans-serif;cursor:pointer}.bs-onboarding-rail-step span{width:34px;height:34px;border-radius:12px;border:1px solid rgba(160,128,80,.3);background:#fffcf6c7;display:inline-flex;align-items:center;justify-content:center}.bs-onboarding-rail-step svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.bs-onboarding-rail-step small{font-size:13px;line-height:1.2;font-weight:500;letter-spacing:0}.bs-onboarding-rail-step.is-current{background:#fffaf0;border-color:#c9a85ca8;color:#2c1e10;box-shadow:0 10px 24px #4d361714}.bs-onboarding-rail-step.is-done span{background:#eaf5ea;color:#2e7440;border-color:#468f5657}.bs-onboarding-rail-step.is-locked{opacity:.42;cursor:not-allowed}.bs-onboarding-rail-step.is-locked:hover{box-shadow:none;transform:none}.bs-onboarding-card{min-height:0;padding:30px;display:flex;justify-content:center;align-items:stretch;overflow-y:auto}.bs-onboarding-form{width:min(100%,860px);border:1px solid rgba(201,168,92,.42);background:#fffdf8db;border-radius:24px;box-shadow:0 18px 42px #3d2d1817;min-width:0;box-sizing:border-box}.bs-onboarding-form{padding:34px;display:grid;grid-template-columns:minmax(260px,.9fr) minmax(360px,1.1fr);align-content:stretch;align-items:stretch;gap:58px}.bs-onboarding-copy,.bs-onboarding-work{min-width:0}.bs-onboarding-copy{align-self:center;transform:translateY(-18px)}.bs-onboarding-work{align-self:stretch;min-height:0;display:grid;grid-template-rows:minmax(0,1fr) auto;align-items:stretch}.bs-onboarding-step-body{align-self:center;min-width:0}.bs-onboarding-form h1{margin:0;font-size:clamp(25px,2.6vw,36px);line-height:1.08;letter-spacing:0;font-weight:800;color:#3a332b}.bs-onboarding-title-accent{color:#9f6f19}.bs-onboarding-fields{display:flex;flex-direction:column;gap:16px}.bs-onboarding-fields label{display:flex;flex-direction:column;gap:7px}.bs-onboarding-fields label span{color:#59442c;font-size:13px;font-weight:800}.bs-onboarding-fields input{width:100%;height:52px;border:1px solid rgba(160,128,80,.32);border-radius:14px;background:#fff;color:#21170d;font-size:16px;font-family:Inter,sans-serif;padding:0 16px;box-sizing:border-box;outline:none}.bs-onboarding-fields input::placeholder{font-family:Inter,sans-serif;font-size:16px;font-weight:400;letter-spacing:0;color:#8f8377;opacity:1}.bs-onboarding-fields input:focus{border-color:#762e3aa6;box-shadow:0 0 0 3px #762e3a14}.bs-password-field{position:relative;width:100%}.bs-password-field input{padding-right:52px}.bs-password-toggle{position:absolute;top:50%;right:10px;width:34px;height:34px;transform:translateY(-50%);border:0;border-radius:10px;background:transparent;color:#7a6048;display:grid;place-items:center;cursor:pointer}.bs-password-toggle:hover,.bs-password-toggle:focus-visible{background:#f5ede0;color:#2a1a0d;outline:none}.bs-password-eye{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.bs-password-eye--hide,.bs-password-toggle.is-visible .bs-password-eye--show{display:none}.bs-password-toggle.is-visible .bs-password-eye--hide{display:block}.bs-password-rules{border:1px solid rgba(160,128,80,.2);border-radius:14px;background:#fbf8f1c7;padding:11px 13px}.bs-password-rules ul{list-style:none;margin:0;padding:0;display:grid;gap:6px}.bs-password-rules li{display:flex;align-items:center;gap:8px;color:#8a7258;font:500 12.5px/1.25 "Source Sans 3",Source Sans Pro,Segoe UI,sans-serif}.bs-password-rules li span{width:17px;height:17px;border-radius:50%;border:1px solid rgba(160,128,80,.3);background:#fffdf8;color:#2f7a42;display:grid;place-items:center;font-size:11px;font-weight:800;line-height:1;flex:0 0 auto}.bs-password-rules li.is-met{color:#315f36}.bs-password-rules li.is-met span{border-color:#43884b57;background:#eaf5ea}.bs-onboarding-inline-error{margin-bottom:8px;color:#7a2534;font:700 13px/1.35 "Source Sans 3",Source Sans Pro,Segoe UI,sans-serif}.bs-onboarding-inline-error:empty{display:none}body.app-platform-admin-route,body:has(.padmin-page){overflow-y:auto!important;padding:0!important;background:#f2ede6!important}body.app-platform-admin-route .top-banner,body:has(.padmin-page) .top-banner{display:none!important}body.app-platform-admin-route #app{min-height:100vh}.padmin-page{min-height:100vh;padding:32px clamp(18px,4vw,56px) 72px}.padmin-shell{max-width:1480px;margin:0 auto}.padmin-header,.padmin-panel,.padmin-metrics>div{background:#fffcf6eb;border:1px solid rgba(214,185,127,.72);box-shadow:0 18px 45px #40312314}.padmin-header{display:flex;justify-content:space-between;gap:24px;align-items:flex-start;border-radius:22px;padding:28px 32px;margin-bottom:18px}.padmin-eyebrow{display:block;color:#9c7a3d;font:700 12px/1.2 Archivo,sans-serif;letter-spacing:.08em;text-transform:uppercase;margin-bottom:8px}.padmin-header h1,.padmin-panel h1,.padmin-panel h2{margin:0;color:#342a22}.padmin-header h1{font-size:clamp(34px,4vw,58px);line-height:.95}.padmin-header p,.padmin-panel p{margin:8px 0 0;color:#8d7a67}.padmin-home-btn,.padmin-refresh-btn,.padmin-primary-btn,.padmin-invite-row button,.padmin-invite-output button,.padmin-row-actions button{border:1px solid #d8b978;background:#fffaf1;color:#4b3827;border-radius:14px;padding:11px 16px;font:700 14px/1 Archivo,sans-serif;cursor:pointer}.padmin-home-btn,.padmin-primary-btn{background:#ead3a6}.padmin-home-btn:disabled,.padmin-refresh-btn:disabled,.padmin-primary-btn:disabled,.padmin-invite-row button:disabled,.padmin-row-actions button:disabled{opacity:.48;cursor:not-allowed}.padmin-loading{padding:40px;color:#6d5844;font-size:22px}.padmin-metrics{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin-bottom:18px}.padmin-metrics>div{border-radius:18px;padding:20px}.padmin-metrics strong{display:block;color:#342a22;font-size:30px;line-height:1}.padmin-metrics span{display:block;margin-top:8px;color:#8d7a67;font:700 12px/1.2 Archivo,sans-serif;text-transform:uppercase}.padmin-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(340px,.55fr);gap:18px;align-items:start}.padmin-panel{border-radius:20px;padding:22px}.padmin-panel--wide{grid-row:span 2}.padmin-panel-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:16px}.padmin-table-wrap{overflow-x:auto}.padmin-table{width:100%;min-width:1120px;border-collapse:collapse}.padmin-table th,.padmin-table td{text-align:left;border-bottom:1px solid rgba(214,185,127,.45);padding:14px 12px;color:#4b3827;vertical-align:top}.padmin-table th{color:#9c7a3d;font:700 12px/1.2 Archivo,sans-serif;text-transform:uppercase}.padmin-table td strong,.padmin-table td small{display:block}.padmin-table td small{margin-top:5px;color:#9a8877}.padmin-status{display:inline-flex;align-items:center;border-radius:999px;padding:7px 10px;background:#f5ead6;border:1px solid #d8b978;color:#5f4428;font:700 12px/1 Archivo,sans-serif}.padmin-status--active{background:#e4f3df;border-color:#9cc58f;color:#345d2b}.padmin-status--suspended,.padmin-status--archived,.padmin-status--deleted{background:#f7dfdc;border-color:#d9a09a;color:#7a2922}.padmin-row-actions{display:flex;flex-wrap:nowrap;gap:7px;max-width:none;white-space:nowrap}.padmin-row-actions button{padding:8px 10px;border-radius:10px;font-size:12px;white-space:nowrap}.padmin-row-actions .is-danger{border-color:#c6817a;color:#7a2922;background:#fff0ee}.padmin-form,.padmin-form label,.padmin-invite-output{display:grid;gap:10px}.padmin-form label{color:#6d5844;font:700 13px/1.2 Archivo,sans-serif}.padmin-form input,.padmin-invite-output input{width:100%;min-width:0;border:1px solid rgba(214,185,127,.75);border-radius:14px;padding:13px 14px;background:#fffaf5;color:#342a22;font:500 15px/1.2 Archivo,sans-serif}.padmin-form-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.padmin-invite-output{margin-top:10px;padding:13px;border-radius:14px;background:#ead3a638}.padmin-invite-list{display:grid;gap:10px}.padmin-invite-row{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:12px;border:1px solid rgba(214,185,127,.5);border-radius:14px;background:#fffaf1b3}.padmin-invite-row strong,.padmin-invite-row small{display:block}.padmin-invite-row small{margin-top:4px;color:#8d7a67}.padmin-empty{color:#8d7a67;text-align:center;padding:22px}.padmin-empty--panel{border:1px dashed rgba(214,185,127,.7);border-radius:14px}@media (max-width: 980px){.padmin-header,.padmin-panel-head,.padmin-invite-row{flex-direction:column}.padmin-metrics,.padmin-grid,.padmin-form-row{grid-template-columns:1fr}}.bs-onboarding-note{border:1px solid rgba(201,168,92,.28);border-radius:14px;background:#fbf5e9;color:#765d3e;padding:12px 14px;font-size:13px;line-height:1.45}.bs-onboarding-logo-row{display:block;height:150px;min-height:150px;padding:0;border:2px dashed rgba(160,128,80,.36);border-radius:16px;background:#fffdf8;overflow:hidden}.bs-onboarding-logo-preview{position:relative;width:100%;height:150px;min-height:150px;max-height:150px;border-radius:14px;background:transparent;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;overflow:hidden;color:#8a8177;font-size:15px;font-weight:500;text-align:center;padding:22px 22px 62px;box-sizing:border-box;transition:background-color var(--motion-fast),border-color var(--motion-fast)}.bs-onboarding-logo-preview.is-dragging{background:#fbf5e9}.bs-onboarding-logo-preview img{position:absolute;top:16px;left:50%;width:auto;height:auto;max-width:calc(100% - 56px);max-height:76px;transform:translate(-50%);object-fit:contain;display:block}.bs-onboarding-logo-preview .bs-onboarding-soft-btn{position:absolute;left:50%;bottom:14px;transform:translate(-50%);background:#f2f0ec;border-color:transparent;color:#20252b;font-size:14px;font-weight:700;white-space:nowrap}.bs-onboarding-logo-preview .bs-onboarding-soft-btn:hover{transform:translate(-50%) translateY(-1px)}.bs-onboarding-logo-clear{position:absolute;top:10px;right:10px;width:28px;height:28px;border:1px solid rgba(160,128,80,.3);border-radius:50%;background:#fffdf8f0;color:#6c563a;font:700 18px/1 "Source Sans 3",Source Sans Pro,Segoe UI,sans-serif;display:grid;place-items:center;cursor:pointer;box-shadow:0 6px 14px #3d2d181a}.bs-onboarding-logo-clear:hover{background:#fff;color:#7a2534;border-color:#7a253452}.bs-onboarding-soft-btn{min-height:42px;border:1px solid rgba(201,168,92,.54);border-radius:13px;background:#fff7e8;color:#56391e;font-weight:800;padding:0 16px}.bs-onboarding-inline-btn{width:fit-content;min-height:0;padding:0;border:0;background:transparent;color:#7a2534;font:600 13px "Source Sans 3",Source Sans Pro,Segoe UI,sans-serif;cursor:pointer}.bs-onboarding-inline-btn:hover{text-decoration:underline}.bs-onboarding-soft-btn:hover,.bs-onboarding-choice:hover{transform:translateY(-1px);box-shadow:0 10px 20px #4d361714}.bs-onboarding-choice-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.bs-onboarding-choice{height:48px;border:1px solid rgba(160,128,80,.28);border-radius:14px;background:#fff;color:#624b30;font-weight:800}.bs-onboarding-choice.is-selected{background:#f2dfb9;border-color:#a0805094;color:#2a1a0d}.bs-onboarding-wizard-surface{max-height:min(58vh,560px);overflow:auto;padding-right:4px}.bs-onboarding-wizard-surface .wiz-cat-grid{display:grid;grid-template-columns:repeat(3,112px);justify-content:flex-start;gap:12px}.bs-onboarding-wizard-surface .wiz-cat-tile{width:112px;height:78px;justify-self:start;border-radius:17px}.bs-onboarding-wizard-surface .wiz-cat-icon{font-size:20px}.bs-onboarding-wizard-surface .wiz-cat-name{font-size:11px;font-weight:800;letter-spacing:0}.bs-onboarding-wizard-surface .wiz-custom-row{margin-top:0}.bs-onboarding-wizard-surface .wiz-selected-tags{margin-top:14px}.bs-onboarding-wizard-surface .wiz-selected-tags span{display:inline-flex;align-items:center;gap:8px;padding:7px 13px;border:1px solid #d4c4a4;border-radius:20px;background:#f0e8d8;color:#5a4630;font-weight:700}.bs-onboarding-wizard-surface .wiz-selected-tags button{border:0;background:transparent;color:#a08050;font:800 18px/1 var(--font-primary);cursor:pointer;padding:0}.bs-onboarding-wizard-surface .wiz-accordion-list{max-width:none;margin-top:12px;gap:8px}.bs-onboarding-wizard-surface .wiz-accordion,.bs-onboarding-wizard-surface .wiz-units-acc{border:1.5px solid #e0d6c2;border-radius:16px;background:#fdfaf4;overflow:hidden;box-shadow:none}.bs-onboarding-wizard-surface .wiz-units-acc{margin-bottom:0}.bs-onboarding-wizard-surface .wiz-accordion{transform-origin:top center;animation:bsOnboardingAccordionIn .26s cubic-bezier(.22,1,.36,1) both}.bs-onboarding-wizard-surface .wiz-accordion:nth-child(2){animation-delay:35ms}.bs-onboarding-wizard-surface .wiz-accordion:nth-child(3){animation-delay:70ms}.bs-onboarding-wizard-surface .wiz-acc-header,.bs-onboarding-wizard-surface .wiz-units-acc-header{padding:12px 16px;background:transparent;border:0;border-bottom:0 solid transparent}.bs-onboarding-wizard-surface .wiz-acc-header:hover,.bs-onboarding-wizard-surface .wiz-units-acc-header:hover{background:#c8b48a1a}.bs-onboarding-wizard-surface .wiz-acc-header--open,.bs-onboarding-wizard-surface .wiz-units-acc-header--open{background:#f5edde;border-bottom:1px solid #e0d6c2}.bs-onboarding-wizard-surface .wiz-acc-title,.bs-onboarding-wizard-surface .wiz-units-cat-label{font-size:14px;font-weight:800;letter-spacing:0;color:var(--text-brown);text-transform:capitalize}.bs-onboarding-wizard-surface .wiz-acc-actions{display:inline-flex;align-items:center;gap:10px;flex-shrink:0}.bs-onboarding-wizard-surface .bs-onboarding-acc-remove{width:18px;height:18px;border-radius:50%;background:#f0b0b0;color:#fff;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;font:700 16px/1 var(--font-primary);opacity:0;cursor:pointer;transition:opacity .15s,background .15s,transform .1s}.bs-onboarding-wizard-surface .wiz-accordion:hover .bs-onboarding-acc-remove,.bs-onboarding-wizard-surface .bs-onboarding-acc-remove:focus-visible{opacity:1}.bs-onboarding-wizard-surface .bs-onboarding-acc-remove:hover{background:#e88080;transform:scale(1.1)}.bs-onboarding-wizard-surface .wiz-acc-fields{padding:12px 16px;gap:9px}.bs-onboarding-wizard-surface .wiz-acc-body:not(.wiz-acc-body--open),.bs-onboarding-wizard-surface .wiz-units-acc-body:not(.wiz-units-acc-body--open){display:none}.bs-onboarding-wizard-surface .wiz-acc-body--open{animation:bsOnboardingAccordionBodyIn .3s cubic-bezier(.22,1,.36,1) both}@keyframes bsOnboardingAccordionIn{0%{opacity:0;transform:translateY(-8px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes bsOnboardingAccordionBodyIn{0%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}.bs-onboarding-wizard-surface .wiz-acc-row{display:grid;grid-template-columns:minmax(120px,1fr) 150px;gap:8px}.bs-onboarding-wizard-surface .wiz-acc-label{width:auto;font-size:12px;font-weight:800}.bs-onboarding-wizard-surface .wiz-acc-fields .wiz-input{width:150px!important;height:40px;font-size:14px}.bs-onboarding-wizard-surface .wiz-units-container{margin:0;gap:8px}.bs-onboard-units-header-actions{margin-left:auto;display:inline-flex;align-items:center;gap:8px}.bs-onboard-units-header-actions .wiz-sample-btn,.bs-onboard-units-header-actions .bs-onboard-sheet-upload{min-height:30px;width:auto;padding:0 12px;border-radius:10px;font-size:11px;line-height:1;white-space:nowrap;background:transparent;display:inline-flex;align-items:center;justify-content:center;gap:6px;cursor:pointer}.bs-onboard-units-header-actions .bs-onboard-sample-download svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}.bs-onboard-units-header-actions .bs-onboard-sheet-upload.is-dragging{background:#fbf5e9;border-color:#a08050;box-shadow:0 0 0 3px #a080501f}.bs-onboard-units-header-actions .bs-onboard-sheet-upload.has-file{background:#f5edde;border-color:#a080508f;color:#2a1a0d}.bs-onboarding-form:has(.wiz-units-container){grid-template-columns:minmax(190px,.42fr) minmax(0,1.58fr);gap:38px}.bs-onboarding-form:has(.wiz-units-container) .bs-onboarding-step-body,.bs-onboarding-form:has(.wiz-units-container) .bs-onboarding-wizard-surface{width:100%}.bs-onboarding-wizard-surface .wiz-unit-list{padding:14px 16px}.bs-onboarding-wizard-surface .wiz-unit-row{min-width:410px}.bs-onboarding-wizard-surface .wiz-unit-remove{width:28px;height:28px;border:1px solid rgba(122,37,52,.26);border-radius:8px;background:#fff;color:#7a2534;font-weight:800}.bs-onboarding-category-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.bs-onboarding-category-option{min-height:56px;border:1px solid rgba(160,128,80,.3);border-radius:14px;background:#fffdf8;color:#4d3a24;display:grid;grid-template-columns:22px 1fr;align-items:center;gap:10px;padding:0 14px;text-align:left;font-family:var(--font-primary);font-weight:800;cursor:pointer;box-shadow:inset 0 1px #ffffffad;transition:transform var(--motion-fast),border-color var(--motion-fast),background-color var(--motion-fast),box-shadow var(--motion-fast)}.bs-onboarding-category-option span{width:22px;height:22px;border:1px solid rgba(160,128,80,.38);border-radius:7px;background:#fff;display:grid;place-items:center;box-sizing:border-box}.bs-onboarding-category-option.is-selected span{border-color:#7a2534c7;background:#7a2534}.bs-onboarding-category-option.is-selected span:before{content:"";width:10px;height:5px;border-left:2px solid #fff;border-bottom:2px solid #fff;transform:rotate(-45deg) translate(1px,-1px)}.bs-onboarding-category-option:hover{transform:translateY(-1px);border-color:#c9a85ca8;background:#fffaf0;box-shadow:0 10px 24px #4d361714}.bs-onboarding-inline-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px}.bs-onboarding-charge-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.bs-onboarding-action-card,.bs-onboarding-review{border:1px solid rgba(160,128,80,.22);border-radius:18px;background:#fffdfa;padding:18px}.bs-onboarding-action-card{display:flex;align-items:center;justify-content:space-between;gap:16px}.bs-onboarding-action-card strong,.bs-onboarding-action-card span{display:block}.bs-onboarding-action-card strong{color:#2a1a0d;font-size:16px}.bs-onboarding-action-card span{margin-top:4px;color:#7d674b;font-size:13px;line-height:1.42}.bs-onboarding-mini-list{margin-top:14px;display:grid;gap:9px}.bs-onboarding-template-prompt{display:grid;gap:16px;text-align:center}.bs-onboarding-template-choice{display:grid;grid-template-columns:1fr;gap:12px}.bs-onboarding-template-option{min-height:56px;border:1px solid rgba(160,128,80,.3);border-radius:14px;background:#fffdf8;color:#4d3a24;display:grid;grid-template-columns:24px 1fr;align-items:center;gap:12px;padding:0 18px;font-family:var(--font-primary);cursor:pointer;box-shadow:inset 0 1px #ffffffad;transition:transform var(--motion-fast),border-color var(--motion-fast),background-color var(--motion-fast),box-shadow var(--motion-fast)}.bs-onboarding-template-option span{width:22px;height:22px;border:1px solid rgba(160,128,80,.38);border-radius:7px;background:#fff;display:grid;place-items:center;box-sizing:border-box;transition:border-color var(--motion-fast),background-color var(--motion-fast)}.bs-onboarding-template-option.is-selected{border-color:#a080504d;background:#fffdf8;color:#4d3a24;box-shadow:inset 0 1px #ffffffad}.bs-onboarding-template-option.is-selected span{border-color:#111;background:#111}.bs-onboarding-template-option.is-selected span:before{content:"";width:10px;height:5px;border-left:2px solid #fff;border-bottom:2px solid #fff;transform:rotate(-45deg) translate(1px,-1px)}.bs-onboarding-template-option strong{font-size:16px;font-weight:800;text-align:left}.bs-onboarding-template-option:hover{transform:translateY(-1px);box-shadow:0 10px 20px #4d361714}.bs-onboarding-mini-list span{border:1px solid rgba(160,128,80,.2);border-radius:14px;background:#fbf8f1;padding:12px 14px;color:#5e4930;font-weight:700}.bs-onboarding-review{display:grid;gap:10px}.bs-onboarding-review div{display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid rgba(160,128,80,.16);padding-bottom:10px}.bs-onboarding-review div:last-child{border-bottom:0;padding-bottom:0}.bs-onboarding-review span{color:#8a7258;font-size:13px}.bs-onboarding-review strong{color:#21170d;text-align:right}.bs-onboarding-actions{margin-top:0;margin-right:-14px;margin-bottom:-14px;padding-top:24px;display:flex;align-items:center;justify-content:flex-end;gap:12px}.bs-onboarding-back,.bs-onboarding-next{height:var(--input-height);min-width:118px;border-radius:var(--radius-medium);padding:0 22px;font-family:"Source Sans 3",Source Sans Pro,Segoe UI,sans-serif;font-size:15px;font-weight:500;color:#21170d;position:relative;overflow:hidden;box-shadow:inset 0 1px #ffffff94;transition:transform var(--motion-fast),box-shadow var(--motion-fast),background-color var(--motion-fast)}.bs-onboarding-back:before,.bs-onboarding-next:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:url(/assets/white%20pattern-qop3YNpn.png) center/380px auto repeat;opacity:.08;pointer-events:none}.bs-onboarding-back>*,.bs-onboarding-next>*{position:relative;z-index:1}.bs-onboarding-back{border:var(--border-thin) solid #ddd;background-color:#faf8f3;color:#6c563a}.bs-onboarding-back:disabled{opacity:.38;cursor:not-allowed}.bs-onboarding-back:disabled:before{opacity:.04}.bs-onboarding-next{border:var(--border-thin) solid var(--primary-gold);background-color:var(--gold-light)}.bs-onboarding-back:hover:not(:disabled),.bs-onboarding-next:hover{transform:translateY(-1px);background-color:var(--gold-hover);box-shadow:0 10px 20px #4d361714}@media (max-width: 1120px){.bs-onboarding-card{overflow-y:auto}}@media (max-width: 1040px){.bs-onboarding-form{width:min(100%,720px);grid-template-columns:1fr;gap:22px}.bs-onboarding-work{align-self:stretch}.bs-onboarding-copy{align-self:stretch;transform:none}}@media (max-width: 840px){body.app-onboarding-route,body:has(.bs-onboarding-page){overflow:auto}.bs-onboarding-page{padding:10px;align-items:stretch}.bs-onboarding-shell{width:100%;height:auto;min-height:calc(100vh - 20px);border-radius:20px}.bs-onboarding-top{grid-template-columns:1fr auto}.bs-onboarding-progress{grid-column:1 / -1;order:3}.bs-onboarding-layout{grid-template-columns:1fr}.bs-onboarding-rail{border-right:0;border-bottom:1px solid rgba(201,168,92,.28);flex-direction:row;overflow-x:auto;padding:14px}.bs-onboarding-rail-step{min-width:164px}.bs-onboarding-card{padding:14px}.bs-onboarding-form{padding:22px}}@media (max-width: 560px){.bs-onboarding-top{padding:14px}.bs-onboarding-brand strong{font-size:18px}.bs-onboarding-choice-row{grid-template-columns:repeat(2,minmax(0,1fr))}.bs-onboarding-actions{align-items:stretch;flex-direction:column}.bs-onboarding-back,.bs-onboarding-next{width:100%}}.calc-loading{min-height:calc(100vh - 100px);display:block}.calc-loading-card{min-height:min(520px,calc(100vh - 150px));align-items:center;justify-content:center}.calc-loading-card .leads-loading-state{height:auto;min-height:0}.calc-page--enter .main-card{opacity:0;transform:translate(-50%);filter:blur(2px)}.calc-page--enter.is-content-ready .main-card{animation:calc-content-enter .42s ease-out both}.calc-page--enter:not(.is-interactive) .main-card *{animation:none!important;transition:none!important}@keyframes calc-content-enter{0%{opacity:0;transform:translate(-50%);filter:blur(2px)}to{opacity:1;transform:translate(-50%);filter:blur(0)}}@media (prefers-reduced-motion: reduce){.calc-page--enter .main-card,.calc-page--enter.is-content-ready .main-card{animation:none;opacity:1;transform:translate(-50%);filter:none}.calc-page--enter:not(.is-interactive) .main-card *{animation:none!important;transition:none!important}}.home-btn{position:fixed;top:calc(var(--space-30) * 2);left:var(--space-30);width:var(--size-home-btn);height:var(--size-home-btn);border-radius:50%;border:none;cursor:pointer;align-items:center;justify-content:center;background:linear-gradient(145deg,#e5cfa6,#d5b885);box-shadow:0 8px 20px #0000001f,inset 0 1px #fff9;font-size:var(--font-size-xl)}.home-btn:hover{transform:translateY(-1px);box-shadow:0 12px 25px #00000014,inset 0 1px #fff9}.admin-btn{position:fixed;top:calc(var(--space-30) * 2);right:var(--space-30);height:var(--size-home-btn);padding:0 var(--space-lg);border-radius:var(--radius-large);border:none;cursor:pointer;font-family:var(--font-primary);font-size:var(--font-size-sm);letter-spacing:var(--letter-spacing-sm);background:linear-gradient(145deg,#e5cfa6,#d5b885);box-shadow:0 8px 20px #0000001f,inset 0 1px #fff9;transition:transform var(--motion-fast),box-shadow var(--motion-fast)}.admin-btn:hover{transform:translateY(-1px);box-shadow:0 12px 25px #00000014,inset 0 1px #fff9}.left-panel{flex:0 0 210px;padding:var(--space-xxl) var(--space-lg) var(--space-xl);text-align:center;border-right:1px solid rgba(0,0,0,.06);display:flex;flex-direction:column;align-items:center;position:relative;overflow:hidden;background:linear-gradient(145deg,#efe2cd,#e6d5bc)}.left-panel:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:url(/assets/white%20pattern%20vertical-B9K8rz5L.png) center/280px auto repeat;opacity:.1;z-index:0}.left-panel>*{position:relative;z-index:1}.calc-reset-btn{position:absolute;top:14px;left:14px;width:34px;height:34px;border-radius:50%;border:1.5px solid rgba(111,85,52,.28);background:#ffffff61;cursor:pointer;display:flex;align-items:center;justify-content:center;z-index:2;padding:0;transition:background var(--motion-fast),border-color var(--motion-fast),transform var(--motion-fast)}.calc-reset-btn:hover{background:#ffffffa6;border-color:#6f553480}.calc-reset-btn:active{transform:scale(.9)}.calc-reset-btn svg{width:14px;height:14px;color:var(--text-brown);opacity:.72;transition:opacity var(--motion-fast)}.calc-reset-btn:hover svg{opacity:1}.left-panel img{max-width:6rem;margin-bottom:0;align-self:center;cursor:pointer;transition:opacity .15s ease;display:block}.left-panel img:hover{opacity:.75}.left-panel h2{font-size:var(--font-size-lg);margin-bottom:var(--space-xs)}.left-panel p{font-size:var(--font-size-sm);line-height:1.6}.left-panel-card{display:flex;flex-direction:column;align-items:stretch;gap:14px;width:100%;margin:auto 0}.calc-left-panel-card{position:relative;overflow:visible;margin:0}.calc-left-panel-main{display:flex;flex-direction:column;align-items:stretch;gap:14px;min-height:100%}.calc-left-rates-toggle-wrap{display:flex;justify-content:center;margin-top:-2px;margin-bottom:10px}.calc-left-rates-toggle{width:32px;height:32px;border-radius:0;border:0;background:transparent;color:#8f6f2d;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;line-height:0;transition:background var(--motion-fast),border-color var(--motion-fast),color var(--motion-fast),transform var(--motion-fast)}.calc-left-rates-toggle:hover{background:transparent;color:#5f4427;transform:none}.calc-left-rates-toggle svg{width:22px;height:22px}.calc-left-rates-toggle svg path,.calc-left-rates-toggle svg circle{fill:none;transition:fill var(--motion-fast),stroke var(--motion-fast),opacity var(--motion-fast)}.calc-left-rates-toggle:hover svg circle{fill:currentColor;stroke:currentColor;opacity:.78}.calc-left-rates-panel{display:grid;grid-template-rows:1fr;opacity:0;visibility:hidden;min-height:112px;transform:none;pointer-events:none;transition:opacity .22s ease,visibility 0s linear .22s;margin-top:-8px}.calc-left-panel-card--rates-visible .calc-left-rates-panel{grid-template-rows:1fr;opacity:1;visibility:visible;transform:none;pointer-events:auto;margin-top:-8px;transition-delay:0s}.calc-left-rates-panel>*{overflow:hidden}.calc-left-rate-field{display:flex;flex-direction:column;gap:3px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}.calc-left-rate-field+.calc-left-rate-field{margin-top:18px}.calc-left-rate-field label{width:auto;display:flex;align-items:center;justify-content:flex-start;gap:6px;font-family:"Source Sans 3",Source Sans Pro,Segoe UI,sans-serif;font-size:var(--font-size-sm);font-weight:400;color:#2a1f0e;letter-spacing:0;text-transform:none;text-align:left}.calc-left-rate-field label svg{width:14px;height:14px;flex-shrink:0}.calc-left-rate-field input{width:100%;height:34px;border-radius:var(--radius-medium);border:1px solid rgba(196,169,106,.6);background:var(--gold-light);padding:0 12px;box-sizing:border-box;font-family:"Source Sans 3",Source Sans Pro,Segoe UI,sans-serif;font-size:14px;font-weight:400;color:#2a1f0e;text-align:center;font-variant-numeric:tabular-nums;box-shadow:inset 0 1px #fff9}.calc-left-rate-field input[readonly]{cursor:default}.left-panel-divider{width:75%;height:1px;background:#6f553438;align-self:center}.landing-project-selector{width:100%;border:1px solid rgba(111,85,52,.3);border-radius:14px;padding:13px 7px;box-sizing:border-box}.landing-project-selector .calc-select-wrap:before{display:none}.landing-project-label{display:block;font-family:var(--font-primary);font-size:clamp(9px,.9vw + 4.2px,11px);font-weight:700;color:#000;text-transform:uppercase;letter-spacing:clamp(.04em,.14vw,.14em);margin-bottom:12px;text-align:center;white-space:nowrap}.landing-project-selector .calc-select-wrap{display:block;width:100%;position:relative}.landing-project-selector .calc-select-wrap select{width:100%;height:var(--button-height);background:var(--gold-light);color:#2a1f0e;border:1px solid #e0c98a;border-radius:var(--radius-medium);font-family:var(--font-primary);font-size:var(--font-size-sm);font-weight:400;cursor:pointer;padding:0 28px 0 10px;-moz-appearance:none;appearance:none;-webkit-appearance:none;transition:background var(--motion-fast),transform var(--motion-fast)}.landing-project-selector .calc-select-wrap select:hover{background:var(--gold-hover);transform:translateY(-1px)}.landing-project-selector .calc-select-wrap select:focus{outline:none;background:var(--gold-hover)}.landing-project-selector .calc-select-wrap:after{right:10px}.landing-project-selector .calc-select-wrap select option{background:#fff;color:#2a1f0e;font-family:"Source Sans 3",Source Sans Pro,Segoe UI,sans-serif;font-weight:400}.landing-project-selector .calc-select-wrap select optgroup{color:#fff;background:#4a3520;font-weight:700;font-family:"Source Sans 3",Source Sans Pro,Segoe UI,sans-serif}.right-panel{flex:1;padding:10px;min-width:0;overflow-y:auto;max-height:calc(100vh - 112px);scrollbar-width:thin;scrollbar-color:transparent transparent}.right-panel::-webkit-scrollbar{width:4px}.right-panel::-webkit-scrollbar-track{background:transparent}.right-panel::-webkit-scrollbar-thumb{background:transparent;border-radius:4px;transition:background .2s}.right-panel.is-scrolling{scrollbar-color:rgba(0,0,0,.18) transparent}.right-panel.is-scrolling::-webkit-scrollbar-thumb{background:#0000002e}.form-row{display:flex;align-items:center;margin-bottom:var(--space-sm);flex-wrap:wrap;gap:0}.form-row label{width:var(--panel-label-width);font-size:14px}.form-row select,.form-row input{height:var(--input-height);border-radius:var(--radius-medium);border:var(--border-thin) solid #ddd;background:#faf8f3;padding:0 var(--space-sm);font-family:"Source Sans 3",Source Sans Pro,Segoe UI,sans-serif;font-size:14px;font-weight:400;max-width:100%}.right-panel input[type=number]::-webkit-inner-spin-button,.right-panel input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.right-panel input[type=number]{-moz-appearance:textfield}.calc-rr-total-row,.calc-adv-cols{display:contents}input.rate-mismatch{border-color:#c0392b!important}@keyframes missing-pulse{0%{border-color:#ddd;box-shadow:none}50%{border-color:#c0392b8c;box-shadow:0 0 0 2.5px #c0392b26}to{border-color:#ddd;box-shadow:none}}input.name-missing{animation:missing-pulse .85s ease-in-out 3}select.unit-missing{animation:missing-pulse .85s ease-in-out infinite}.rate-mismatch-hint{grid-column:1 / -1;margin:-8px 0 4px;font-size:12px;color:#c0392b;font-family:"Source Sans 3",sans-serif}.right-panel .form-row{flex-wrap:nowrap;margin-bottom:calc(var(--space-sm) - 2px)}.right-panel .calc-parking-row{flex-wrap:wrap;align-items:center}.calc-parking-row .circle-group{flex-shrink:0}.calc-parking-row>.auto-margin-left{flex-basis:100%;margin-left:0;padding-left:0;display:flex;justify-content:flex-end;padding-right:0;flex-shrink:0}.lux-divider{margin:8px 0;height:1px;width:100%;background:linear-gradient(to right,#d9c19a26,#d9c19ab3,#d9c19a26)}#flatSelect{width:100%;max-width:24rem}#rrRate,#totalRate{width:12rem}#customerName{width:18rem}.circle-group{display:flex;gap:5px;flex-wrap:nowrap}.pill-group{display:flex;gap:var(--space-sm);width:18rem}.circle-btn{width:var(--circle-size);height:var(--circle-size);border-radius:50%;border:1px solid var(--primary-gold);display:flex;align-items:center;justify-content:center;cursor:pointer;background:#fff;font-family:"Source Sans 3",Source Sans Pro,Segoe UI,sans-serif;font-size:13px;font-weight:400;position:relative;overflow:hidden;transition:transform var(--motion-fast),box-shadow var(--motion-fast)}.circle-btn:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:url(/assets/white%20pattern-qop3YNpn.png) center/380px auto repeat;opacity:.08;pointer-events:none}.circle-btn.active{background:var(--primary-gold);border-color:var(--primary-gold)}.parking-custom-wrap{width:var(--circle-size);height:var(--circle-size);flex-shrink:0;border-radius:50%;border:1px solid var(--primary-gold);background:#fff;display:block;line-height:var(--circle-size);cursor:text;font-family:"Source Sans 3",Source Sans Pro,Segoe UI,sans-serif;font-size:13px;color:var(--text-brown);caret-color:var(--text-brown);text-align:center;outline:none;transition:background var(--motion-fast),border-color var(--motion-fast);white-space:nowrap;overflow:hidden;-webkit-user-select:text;user-select:text}.parking-custom-wrap:empty:before{content:"";display:inline-block}.parking-custom-wrap.active{background:var(--primary-gold);border-color:var(--primary-gold);color:#2a1f0e;caret-color:#2a1f0e;font-weight:600}.option-pill{flex:1;height:var(--input-height);border-radius:var(--radius-medium);border:var(--border-thin) solid #ddd;cursor:pointer;background:#faf8f3;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center;text-align:center;font-family:"Source Sans 3",Source Sans Pro,Segoe UI,sans-serif;font-size:13px;font-weight:400;transition:transform var(--motion-fast),box-shadow var(--motion-fast)}.option-pill:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:url(/assets/white%20pattern-qop3YNpn.png) center/380px auto repeat;opacity:.08;pointer-events:none}.option-pill>*{position:relative;z-index:1}.option-pill.active{background:var(--gold-light);border-color:var(--primary-gold)}.option-pill:hover{background:var(--gold-hover)}.generate-btn{margin-top:var(--space-25);width:100%;height:var(--button-height);border-radius:var(--radius-medium);border:none;font-family:"Source Sans 3",Source Sans Pro,Segoe UI,sans-serif;font-size:14px;font-weight:400;color:#1a1a1a;cursor:pointer;position:relative;overflow:hidden;background:var(--gold-light);border:1px solid var(--primary-gold);box-shadow:inset 0 1px #fff9,var(--shadow-button);transition:transform var(--motion-fast),box-shadow var(--motion-fast)}.generate-btn:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:url(/assets/white%20pattern-qop3YNpn.png) center/360px auto repeat;opacity:.1;pointer-events:none}.generate-btn>*{position:relative;z-index:1}.generate-btn:hover{transform:translateY(-1px);box-shadow:0 12px 25px #00000014,inset 0 1px #fff9}.view-btn{width:100%;height:var(--button-height);border-radius:var(--radius-medium);border:1px solid rgba(196,169,106,.6);font-family:"Source Sans 3",Source Sans Pro,Segoe UI,sans-serif;font-size:var(--font-size-sm);cursor:pointer;background:var(--gold-light);display:flex;align-items:center;justify-content:center;gap:7px;transition:background var(--motion-fast)}.view-btn svg path,.view-btn svg rect{fill:none;transition:fill var(--motion-fast)}.view-btn:hover{background:var(--gold-hover)}.view-btn:hover svg path,.view-btn:hover svg rect{fill:currentColor;opacity:.7}.hidden-input{display:none}.calc-select-wrap{position:relative;width:18rem;max-width:100%;display:inline-block}.calc-select-wrap:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:url(/assets/white%20pattern-qop3YNpn.png) center/360px auto repeat;opacity:.08;pointer-events:none;border-radius:var(--radius-medium);z-index:2}.calc-select-wrap select{width:100%;height:var(--input-height);border-radius:var(--radius-medium);border:1.5px solid var(--primary-gold);background:#faf8f3;padding:0 44px 0 8px;font-family:"Source Sans 3",Source Sans Pro,Segoe UI,sans-serif;font-size:14px;font-weight:400;color:var(--text-brown);-moz-appearance:none;appearance:none;-webkit-appearance:none;cursor:pointer;outline:none;transition:border-color .15s ease,box-shadow .15s ease}.calc-select-wrap select:focus{border-color:#b89a60;box-shadow:0 0 0 3px #c8b48a33}.calc-select-wrap:after{content:"";position:absolute;right:16px;top:50%;transform:translateY(-50%);width:0;height:0;border-left:7px solid transparent;border-right:7px solid transparent;border-top:8px solid var(--text-brown);pointer-events:none;opacity:.65}.calc-select-wrap select option{color:var(--text-brown);background:#faf8f3;font-family:"Source Sans 3",Source Sans Pro,Segoe UI,sans-serif;font-weight:400}.calc-select-wrap select optgroup{color:#fff;background:#4a3520;font-weight:700;font-family:"Source Sans 3",Source Sans Pro,Segoe UI,sans-serif}.advanced-toggle{margin:var(--space-sm) 0 4px 0;font-size:var(--font-size-md);cursor:pointer;border:none;border-radius:0;padding:0;display:inline-flex;align-items:center;gap:var(--space-xs);color:var(--text-brown);-webkit-user-select:none;user-select:none;transition:color var(--motion-fast);white-space:nowrap;flex-shrink:0;width:fit-content}.advanced-toggle:hover{color:var(--text-brown)}#advancedArrow{transition:transform var(--motion-medium)}#advancedArrow.rotated{transform:rotate(180deg)}.output-card{max-width:860px;margin:var(--space-xl) auto 0 auto;background:linear-gradient(#fdf8f0d9,#fdf8f0d9),url(/assets/background2-mXjhOr4z.jpg) center/220px auto repeat;border-radius:var(--radius-large);box-shadow:var(--shadow-elevated),var(--shadow-soft);padding:40px clamp(16px,4vw,48px)}.ps-body{width:clamp(88%,90%,100%);margin:0 auto}.ps-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:0}.ps-header-center{flex:1}.ps-title{font-family:var(--font-primary);font-size:19px;font-weight:350;letter-spacing:.01em;margin:0 0 2px;color:#1a1208;display:flex;align-items:center;gap:8px}.ps-title svg{flex-shrink:0;opacity:.65}.ps-subtitle{font-family:"Source Sans 3",Source Sans Pro,Segoe UI,sans-serif;font-size:clamp(11px,1vw,13px);font-weight:400;letter-spacing:.08em;text-transform:uppercase;color:var(--text-brown);opacity:.75;margin:0 0 4px}.ps-meta{font-family:"Source Sans 3",Source Sans Pro,Segoe UI,sans-serif;font-size:11px;color:#aaa;letter-spacing:.02em}.ps-logo{height:51px;width:auto;object-fit:contain;flex-shrink:0;margin-left:16px;cursor:pointer;transition:opacity .15s ease}.ps-logo:hover{opacity:.75}.ps-rule{height:1.5px;background:linear-gradient(to right,transparent,#d9c19a,transparent);margin:14px 0 0}.ps-section{font-size:12px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#1a1a1a;padding-bottom:5px;border-bottom:1px solid #e8dcc8;margin:28px 0 8px}.ps-table{width:100%;border-collapse:collapse;font-size:13px;table-layout:fixed}.ps-th-label{text-align:left}.ps-th-num{width:28%;text-align:right}.ps-table thead tr{background:#f0e8d8}.ps-table thead th{padding:8px 12px;font-weight:600;font-size:12px;color:#5a4025;border:1px solid #e0d2ba}.ps-table tbody td{padding:8px 12px;border:1px solid #ede4d4;color:#1a1a1a;text-align:left}.ps-table tbody tr:nth-child(2n){background:#faf6ef}.ps-num{font-family:"Source Sans 3",Source Sans Pro,Segoe UI,sans-serif;font-variant-numeric:tabular-nums;text-align:right!important;color:#1a1a1a}.ps-tax-meta{font-family:"Source Sans 3",Source Sans Pro,Segoe UI,sans-serif}.ps-subtotal td{background:#f5edd8!important;font-weight:600;color:#1a1a1a!important;border-top:1px solid #ede4d4!important}.ps-subtotal-toggle-row td{vertical-align:middle}.ps-subtotal-label-cell{display:flex;align-items:center;justify-content:space-between;gap:10px}.ps-subtotal-amount-cell{text-align:right!important}.ps-subtotal-toggle{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;padding:0;border:0;border-radius:999px;background:#5a402514;color:#5a4025;cursor:pointer;transition:background var(--motion-fast),transform var(--motion-fast)}.ps-subtotal-toggle:hover{background:#5a402524}.ps-subtotal-toggle[aria-expanded=true] .ps-subtotal-toggle-icon{transform:rotate(90deg)}.ps-subtotal-toggle-icon{transition:transform var(--motion-fast)}.ps-subdetail-row[hidden]{display:none}.ps-subdetail-row td{background:#f5edd8!important;font-weight:600;color:#1a1a1a!important}.ps-subdetail-total{text-align:center!important}.ps-table--2col .ps-key{width:45%;color:#1a1a1a;font-size:13px}.ps-table--2col .ps-val{text-align:right;font-weight:400;color:#1a1a1a;font-family:"Source Sans 3",Source Sans Pro,Segoe UI,sans-serif;font-variant-numeric:tabular-nums}.ps-gap-row{height:10px;border-left:1px solid #ede4d4;border-right:1px solid #ede4d4;background:transparent}.ps-grand-total{display:flex;justify-content:space-between;align-items:center;padding:8px 12px;background:#f5edd8;border:1px solid #ede4d4}.ps-grand-label{font-size:13px;font-weight:600;color:#1a1a1a}.ps-grand-value{font-size:13px;font-weight:600;font-family:"Source Sans 3",Source Sans Pro,Segoe UI,sans-serif;font-variant-numeric:tabular-nums;color:#1a1a1a}.print-btn{display:block;width:65%;margin:var(--space-xl) auto 0 auto;height:var(--button-height);border-radius:var(--radius-medium);border:1px solid var(--primary-gold);position:relative;overflow:hidden;font-family:var(--font-primary);font-size:var(--font-size-sm);cursor:pointer;background:var(--gold-light);transition:transform var(--motion-fast),box-shadow var(--motion-fast)}.print-btn:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:url(/assets/white%20pattern-qop3YNpn.png) center/380px auto repeat;opacity:.08;pointer-events:none}.print-btn>*{position:relative;z-index:1}.print-btn:active{background:var(--gold-hover)}.print-btn:hover{transform:translateY(-1px);box-shadow:0 12px 25px #00000014,inset 0 1px #fff9}.inventory-card{max-width:var(--container-max);margin:var(--space-xl) auto;background:var(--bg-card);border-radius:var(--radius-large);box-shadow:var(--shadow-elevated),var(--shadow-soft);padding:var(--space-xxl) var(--space-xl);width:60%;max-height:90vh;overflow-y:auto;padding-right:var(--space-md)}.inventory-title{text-align:center;font-size:var(--font-size-xl);margin-bottom:var(--space-xl);letter-spacing:var(--letter-spacing-sm)}.floor-row{display:flex;align-items:flex-start;justify-content:center;margin-bottom:var(--space-md)}.floor-label{width:7.5rem;font-weight:600;font-size:var(--font-14);text-align:right;padding-right:var(--space-25);color:var(--text-brown);padding-top:var(--space-8);flex-shrink:0}.floor-units.commercial{display:grid;grid-template-columns:repeat(5,var(--unit-box-width));gap:var(--space-xs)}.floor-units.residential{display:grid;grid-template-columns:repeat(4,var(--unit-box-width));grid-template-rows:var(--unit-box-height) var(--unit-box-height);gap:var(--space-xs)}.unit-6{grid-column:1;grid-row:1}.unit-1{grid-column:4;grid-row:1}.unit-5{grid-column:1;grid-row:2}.unit-4{grid-column:2;grid-row:2}.unit-3{grid-column:3;grid-row:2}.unit-2{grid-column:4;grid-row:2}.unit-box{width:var(--unit-box-width);height:var(--unit-box-height);border-radius:var(--radius-small);font-size:var(--font-size-xs);font-weight:var(--font-weight-semibold);display:flex;align-items:center;justify-content:center;border:1px solid #e0d6c2}.status-sold{background:#d97f7f}.status-allotted{background:#e7bcbc}.status-available{background:#cfe8cf}.status-blocked{background:#f4a261}.status-common{background:#d8c6f2}.inventory-legend{display:flex;justify-content:center;gap:var(--space-md);margin-top:var(--space-xl);font-size:var(--font-13)}.inventory-legend-top{display:flex;justify-content:center;gap:var(--space-md);margin-top:var(--space-sm);font-size:var(--font-13)}.legend-box{display:flex;align-items:center;gap:var(--space-xs)}.legend-color{width:var(--legend-size);height:var(--legend-size);border-radius:var(--radius-small)}.inventory-modal,.floorplan-modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:2000}.hidden{display:none!important}.inventory-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0000008c;z-index:999}.inventory-wrapper{position:fixed;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;z-index:1000}.floor-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0009;z-index:3000}.floor-wrapper{position:fixed;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;z-index:3001}.floor-inner{width:80%;height:85vh;background:#fff;border-radius:var(--radius-20);overflow:hidden;box-shadow:var(--shadow-elevated);display:flex;flex-direction:column}.flex-spacer{flex-grow:1}.auto-margin-left{margin-left:auto;padding-right:4px;padding-left:32px}.floor-embed{flex:1;width:100%;height:100%}#spreadsheet-page{width:100%;display:flex;justify-content:center;margin-top:var(--space-xl)}#spreadsheet-page .project-card{width:100%;padding:var(--space-xl);overflow-x:auto}#spreadsheetTable{width:max-content;min-width:1600px;border-collapse:collapse;table-layout:auto;font-size:var(--font-size-sm)}#spreadsheetTable th,#spreadsheetTable td{border:1px solid #e0d6c2;padding:var(--space-10);text-align:left;white-space:nowrap}#spreadsheetTable th{background:#f4eee3;font-weight:var(--font-weight-semibold)}#spreadsheetTable th:nth-child(1),#spreadsheetTable td:nth-child(1){width:120px}#spreadsheetTable th:nth-child(2),#spreadsheetTable td:nth-child(2){width:140px}#spreadsheetTable th:nth-child(3),#spreadsheetTable td:nth-child(3){width:140px}#spreadsheetTable th:nth-child(4),#spreadsheetTable td:nth-child(4){width:180px}#spreadsheetTable th:nth-child(5),#spreadsheetTable td:nth-child(5){width:200px}@media (min-width: 1px){.form-row label{flex-shrink:0}.form-row select,.form-row input{flex:1;min-width:0;max-width:18rem}.form-row .calc-select-wrap{flex:1;min-width:0;display:inline-flex;align-items:center}.form-row .calc-select-wrap select{flex:1;min-width:0}.pill-group{flex:1;min-width:0;max-width:18rem}}@media (max-width: 1px){body{padding:0}.project-options{flex-direction:column;align-items:center;gap:var(--space-md)}.project-options-button{width:100%;max-width:300px}.main-card{flex-direction:column;margin-left:16px;margin-right:16px}.calc-page .main-card,.project-card{margin-left:20px;margin-right:20px}.left-panel:before{background:url(/assets/white%20pattern-qop3YNpn.png) center/cover no-repeat}.left-panel{flex:0 0 auto;padding:20px 20px 24px;align-items:center}.left-panel img{max-width:4.2rem;margin-bottom:0}.left-panel-logo-wrap{margin-bottom:5px}.left-panel h2{font-size:15px;margin-bottom:20px}.left-panel p{display:none}.view-btn{width:100%;margin-top:12px}.calc-left-btns{display:flex!important;flex-direction:row!important;gap:10px;width:100%;margin-top:12px}.calc-left-btns .view-btn{flex:1 1 0!important;width:0!important;min-width:0;margin-top:0}.right-panel{padding:18px 20px 24px;overflow:visible}.form-row{display:flex;flex-direction:column;align-items:stretch;gap:6px;margin-bottom:16px;width:100%;flex-wrap:nowrap}.form-row label{width:100%!important;font-size:14.5px;font-weight:500}.form-row input,.form-row select,.right-panel .form-row input,.right-panel .form-row select{width:100%!important;max-width:100%!important;box-sizing:border-box}.calc-select-wrap{width:100%!important;max-width:100%!important;display:block;position:relative}.calc-select-wrap select{width:100%!important;box-sizing:border-box}.calc-rr-total-row{display:flex!important;flex-direction:row!important;gap:8px;width:100%;margin-bottom:12px}.calc-rr-total-row .form-row{flex:1;min-width:0;margin-bottom:0}.calc-rr-total-row .form-row input{width:100%!important}#calcCustomer{width:100%!important;box-sizing:border-box}.pill-group{width:100%!important;max-width:100%!important;display:flex!important;flex-direction:row!important}.calc-parking-row{flex-direction:row!important;align-items:center!important;flex-wrap:wrap!important;gap:0!important;margin-bottom:12px;justify-content:flex-start!important}.calc-parking-row>label{display:block!important;width:100%;flex-shrink:0;margin-bottom:4px}.calc-parking-row>.circle-group{flex-shrink:0;gap:12px}.calc-parking-row .auto-margin-left{margin-left:16px;padding-left:0;flex-shrink:0}.circle-group{width:auto;flex-shrink:0}.calc-adv-cols{display:block!important;width:100%}.calc-adv-cols .form-row{width:100%;margin-bottom:12px}.calc-adv-cols .pill-group{flex-direction:row!important;width:100%!important}.calc-adv-cols .option-pill{flex:1;font-size:12px;height:var(--input-height)}#calcInclusive{width:100%!important;box-sizing:border-box}.generate-btn{width:100%;margin-top:6px}#flatSelect,#rrRate,#totalRate,#customerName{width:100%;max-width:100%}.lux-table,.section-title,.print-btn{width:95%}.inventory-card{width:95%;padding:var(--space-lg)}.floor-inner{width:95%;height:90vh}.inventory-legend,.inventory-legend-top{flex-wrap:wrap;gap:var(--space-sm)}.output-card{padding:24px 20px;margin-left:20px;margin-right:20px}.right-panel .output-card{padding:14px 6px;margin-left:0;margin-right:0}.ps-body{width:100%}.ps-section{font-size:12px}.ps-table thead th{font-size:12px;padding:7px 8px}.ps-table{font-size:13px}.ps-table tbody td{padding:7px 8px}.ps-th-num{width:28%}.ps-num,.ps-table--2col .ps-key,.ps-subtotal td,.calc-left-rate-field input{font-size:13px}.ps-grand-total{flex-direction:row;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:4px;padding:10px 8px}.ps-grand-label,.ps-grand-value{font-size:13px}}.leads-view-tabs{display:flex;gap:0;align-items:center;flex-shrink:0}.leads-view-tab{font-family:var(--font-primary);font-size:11.5px;font-weight:600;padding:0 12px;height:32px;border:1px solid var(--border-light);border-right:none;border-radius:0;background:#ede6da;color:var(--text-brown);cursor:pointer;position:relative;transition:background var(--motion-fast),color var(--motion-fast)}.leads-view-tab:first-child{border-radius:8px 0 0 8px}.leads-view-tab:last-child{border-radius:0 8px 8px 0;border-right:1px solid var(--border-light)}.leads-view-tab:hover{background:#f0e8d8;color:var(--text-dark)}.leads-view-tab.active{background:var(--bg-card);color:var(--text-dark);border-color:#e0c98a;z-index:1}.leads-view-tab.active:last-child{border-right:1px solid #e0c98a}.leads-filter-row{display:flex;gap:8px;margin-bottom:10px;flex-wrap:wrap;align-items:center}.leads-page-title{margin:0;display:flex;align-items:center;gap:7px;font-family:var(--font-primary);font-size:18px;font-weight:700;color:var(--text-dark);white-space:nowrap;flex-shrink:0;padding-right:4px}.leads-refresh-btn{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;padding:0;border:1px solid rgba(160,120,64,.44);border-radius:50%;background:#fffaf059;color:var(--text-brown);cursor:pointer;transition:border-color var(--motion-fast),background var(--motion-fast),color var(--motion-fast),opacity var(--motion-fast);opacity:.78;flex-shrink:0}.leads-refresh-btn svg{width:12px;height:12px;flex-shrink:0}.leads-refresh-btn:hover:not(:disabled){opacity:1;background:#a0784038;border-color:#a07840b3;color:#6f5534}.leads-refresh-btn:disabled{cursor:wait;opacity:.7}.leads-refresh-btn.is-loading svg{animation:leads-refresh-spin .9s linear infinite}@keyframes leads-refresh-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media (prefers-reduced-motion: reduce){.leads-refresh-btn.is-loading svg{animation:none}}.leads-loading-state{width:100%;height:100%;min-height:360px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;padding:48px 20px;color:var(--text-brown);font-family:var(--font-primary);box-sizing:border-box}.leads-route-shell--content:not(.is-content-ready) .leads-card{opacity:0;transform:translateY(10px) scale(.992);filter:blur(2px)}.leads-route-shell--content.is-content-ready .leads-card{animation:leads-content-enter .46s cubic-bezier(.2,.75,.22,1) both}.leads-route-shell:not(.leads-route-shell--content).is-content-ready #leadsViewContainer>:not(.leads-loading-state){animation:leads-content-enter .46s cubic-bezier(.2,.75,.22,1) both}@keyframes leads-content-enter{0%{opacity:0;transform:translateY(10px) scale(.992);filter:blur(2px)}to{opacity:1;transform:translateY(0) scale(1);filter:blur(0)}}.leads-loading-text{font-family:var(--font-primary);font-size:16px;font-weight:400;line-height:1.2}.leads-loading-wave{width:min(180px,52vw);height:44px;overflow:visible}.leads-loading-wave path{stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-dasharray:118 260;animation:leads-loading-wave-move 2s linear infinite}@keyframes leads-loading-wave-move{0%{stroke-dashoffset:0}to{stroke-dashoffset:-332}}@media (prefers-reduced-motion: reduce){.leads-loading-wave path{animation:none}.leads-route-shell--content.is-content-ready .leads-card,.leads-route-shell:not(.leads-route-shell--content).is-content-ready #leadsViewContainer>:not(.leads-loading-state){animation:none}.leads-route-shell--content:not(.is-content-ready) .leads-card{opacity:1;transform:none;filter:none}}.leads-search{flex:1;min-width:140px;font-family:var(--font-primary);font-size:13px;padding:6px 12px;border:1.5px solid var(--border-light);border-radius:9px;background:#fff;color:var(--text-dark);outline:none;transition:border-color var(--motion-fast)}.leads-search:focus{border-color:var(--primary-gold)}.leads-filter-select{font-family:var(--font-primary);font-size:12px;padding:6px 10px;border:1.5px solid var(--border-light);border-radius:9px;background:#fff;color:var(--text-brown);cursor:pointer}.leads-stage-badge{display:inline-block;font-family:var(--font-primary);font-size:11px;font-weight:700;padding:3px 10px;border-radius:12px;border:1.5px solid;text-transform:uppercase;letter-spacing:.04em;white-space:nowrap}.leads-stage-badge--fresh{background:#cfe8cf;border-color:#8fbc8f;color:#3a6b3a}.leads-stage-badge--interaction{background:#f2e5cb;border-color:#d9c19a;color:#7a5c28}.leads-stage-badge--closing{background:#f4a261;border-color:#c07030;color:#5a2e10}.leads-stage-badge--customer{background:#d5b885;border-color:#b09060;color:#4a3518}.leads-stage-badge--lost{background:#e7bcbc;border-color:#c08080;color:#6b2a2a}.leads-priority-badge{display:inline-block;font-family:var(--font-primary);font-size:10px;font-weight:700;padding:2px 8px;border-radius:10px;text-transform:uppercase;letter-spacing:.05em}.leads-priority-badge--hot{background:#e74c3c;color:#fff}.leads-priority-badge--warm{background:#f39c12;color:#fff}.leads-priority-badge--cold{background:#3498db;color:#fff}.leads-source-chip{font-family:var(--font-primary);font-size:10px;font-weight:600;padding:2px 8px;border-radius:8px;background:#f0e9d8;border:1px solid var(--border-light);color:var(--text-brown);text-transform:uppercase;letter-spacing:.03em}.leads-followup--overdue{color:#c0392b;font-weight:600}.leads-followup--upcoming{color:#e67e22;font-weight:600}.leads-table-wrap{overflow:visible;border-radius:7px;min-width:max-content}.leads-table{width:auto;border-collapse:separate;border-spacing:0;font-family:var(--font-primary);font-size:13px}.leads-table th{text-align:left;padding:6px 12px;background:#f0e8d8;color:var(--text-dark);font-weight:700;font-size:12px;text-transform:none;letter-spacing:0;cursor:pointer;-webkit-user-select:none;user-select:none;white-space:nowrap;border-bottom:2px solid var(--primary-gold);position:sticky;top:0;z-index:10}.leads-table thead tr th:first-child{border-radius:7px 0 0}.leads-table thead tr th:last-child{border-radius:0 7px 0 0}.leads-table th:hover{background:#e8dcc6}.leads-table td{padding:10px 12px;border-bottom:1px solid var(--border-light);color:var(--text-brown);vertical-align:middle}.leads-table tr{cursor:pointer;transition:background var(--motion-fast)}.leads-table tbody tr:hover{background:#f8f2e8}.leads-table-name{font-weight:600;color:var(--text-dark)}.leads-table-empty{text-align:center;padding:48px 20px;color:var(--text-brown);opacity:.6;font-family:var(--font-primary);font-size:15px}.leads-table--sheet td.leads-table-td,.leads-table--sheet td{padding:0;height:30px;vertical-align:middle}.leads-table--sheet td[data-col=phone],.leads-table--sheet td[data-col=email]{padding-right:4px}.leads-cell-input,.leads-cell-select{width:100%;height:28px;background:transparent;border:1px solid transparent;border-radius:4px;padding:2px 7px;font-family:inherit;font-size:13px;color:#3a2a10;outline:none;box-sizing:border-box;display:block;transition:border-color .1s,background .1s,box-shadow .1s}.leads-cell-select{border-color:#d9c19a}.leads-cell-input:hover,.leads-cell-select:hover{border-color:#b09060;background:#ffffff8c}.leads-cell-input:focus,.leads-cell-select:focus{border-color:#b09060;background:#fff;box-shadow:0 0 0 2px #b090602e;position:relative;z-index:1}.leads-cell-select{cursor:pointer;border-radius:6px;font-weight:500;height:22px;padding:0 6px;margin:0 4px;width:calc(100% - 8px)}.leads-td-name{white-space:nowrap}.leads-td-name>div{display:flex;align-items:center;gap:4px}.leads-td-name .leads-cell-input{flex:1}.leads-incomplete-dot{width:18px;height:18px;flex:0 0 18px;display:inline-flex;align-items:center;justify-content:center;position:relative;cursor:default}.leads-incomplete-dot:before{content:"";width:6px;height:6px;border-radius:50%;background:#e7817d}.leads-incomplete-dot[data-tooltip]:after{content:none}.leads-row--incomplete:hover{background:#fcf4f2!important}.leads-floating-tooltip{position:fixed;background:#2a1f12eb;color:#f5edde;font-family:var(--font-primary);font-size:10px;letter-spacing:.04em;padding:8px 10px;border-radius:9px;white-space:nowrap;pointer-events:none;z-index:2147483647;box-shadow:0 8px 18px #2a1f122e}.leads-phones-expand{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;background:transparent;border:none;border-radius:0;padding:0 2px;cursor:pointer;color:#7a5228;line-height:1;transition:color .15s,opacity .15s}.leads-phones-expand:hover{color:#5f3c18;opacity:.9}.leads-phones-expand--open{color:#5f3c18}.leads-detail-btn{flex-shrink:0;background:none;border:none;padding:4px 6px;cursor:pointer;color:#9b8060;border-radius:4px;opacity:1;line-height:0;transition:background .1s;position:relative}.leads-detail-btn:hover{background:#ede5d5;color:#5a3a10}.leads-detail-btn[data-tooltip]:after{content:attr(data-tooltip);position:absolute;top:calc(100% + 6px);left:50%;transform:translate(-50%);background:#2a1f12e0;color:#f5edde;font-family:var(--font-primary);font-size:10px;letter-spacing:.04em;padding:9px 12px;border-radius:9px;white-space:nowrap;opacity:0;pointer-events:none;transition:opacity 0s linear;z-index:9999;box-shadow:0 8px 18px #2a1f122e}.leads-detail-btn[data-tooltip]:hover:after{opacity:1}.leads-remarks-eye-btn{width:26px;height:26px;border-radius:7px;border:1.5px solid var(--border-light);background:none;color:#8f6f2d;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;line-height:0;transition:background var(--motion-fast),border-color var(--motion-fast),color var(--motion-fast),transform var(--motion-fast)}.leads-remarks-eye-btn:hover{background:#f5ede0;border-color:var(--primary-gold);color:#6b8f5d;transform:translateY(-1px)}td[data-col=remarks] .leads-remarks-eye-btn{width:auto;height:auto;padding:0;border:none;border-radius:0;background:none;box-shadow:none;color:#8f6f2d}td[data-col=remarks] .leads-remarks-eye-btn:hover{background:none;border:none;color:#7d6033;transform:none}td[data-col=remarks] .leads-remarks-eye-btn svg{width:16px;height:16px}td[data-col=remarks] .leads-remarks-eye-btn svg path,td[data-col=remarks] .leads-remarks-eye-btn svg circle{fill:none;transition:fill var(--motion-fast),stroke var(--motion-fast),opacity var(--motion-fast)}td[data-col=remarks] .leads-remarks-eye-btn svg circle{opacity:0}td[data-col=remarks] .leads-remarks-eye-btn:hover .leads-remarks-bubble-outline{fill:currentColor;stroke:currentColor;opacity:.78}.leads-row--readonly .leads-cell-input:disabled,.leads-row--readonly .leads-cell-select:disabled{opacity:1;cursor:default;pointer-events:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.leads-row--readonly{opacity:.82}.leads-row--readonly:hover{opacity:1}.leads-table-row--new td{background:#fdf8f0;animation:leads-inline-row-enter .18s ease-out}.leads-new-input{width:100%;height:28px;background:transparent;border:1px solid transparent;border-radius:4px;padding:2px 7px;font-family:inherit;font-size:13px;color:#3a2a10;outline:none;box-sizing:border-box;display:block}.leads-new-input:focus{border-color:#b09060;background:#fff;box-shadow:0 0 0 2px #b090602e}.leads-table-row--add-row{cursor:default!important}.leads-table-row--add-row td{border-right:none;padding:0;text-align:left;cursor:default}.leads-table-add-btn{display:inline-flex;align-items:center;gap:6px;width:auto;padding:7px 14px;background:none;border:none;cursor:pointer;font-family:var(--font-primary);font-size:12px;color:#999;text-align:left;transition:color .1s,background .1s}.leads-table-add-btn:hover{color:var(--text-dark);background:#f5f0e699}@keyframes leads-inline-row-enter{0%{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}@media (prefers-reduced-motion: reduce){.leads-table-row--new td{animation:none}}.leads-resp-wrap{position:relative;padding:0 4px}.leads-resp-btn{position:relative;display:block;border:1px solid #d9c19a;border-radius:6px;background:#fffdf9;box-shadow:none;transition:border-color .16s ease,background .16s ease}.leads-resp-btn:hover{border-color:#b99662;background:#fff9f1}.leads-resp-btn__text{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}td[data-col=quote_units] .leads-resp-btn__text{white-space:normal;overflow:visible;text-overflow:clip;line-height:1.25;word-break:break-word}td[data-col=quote_units] .leads-resp-btn{min-height:24px}.leads-resp-btn__plus{position:absolute;right:8px;top:50%;transform:translateY(-50%);font-size:13px;line-height:1;font-weight:700;color:#8c6c46}.leads-resp-btn--disabled{pointer-events:none;opacity:.72}.leads-resp-dropdown{position:absolute;top:calc(100% + 10px);left:4px;z-index:1200;width:188px;padding:8px;background:#fffdf9;border:1px solid #dfd3bf;border-radius:8px;box-shadow:0 10px 18px #3a25121f}.leads-resp-dropdown:before{content:"";position:absolute;top:-7px;left:16px;width:12px;height:12px;background:#fffdf9;border-top:1px solid #dfd3bf;border-left:1px solid #dfd3bf;transform:rotate(45deg);z-index:-1}.leads-resp-dropdown__title{margin-bottom:6px;font-size:10px;font-weight:700;color:#3a2512}.leads-resp-dropdown__label{display:block;margin-bottom:4px;font-size:9px;font-weight:700;color:#8f7759;text-transform:uppercase;letter-spacing:.04em}.leads-resp-primary-select{width:100%;height:28px;margin-bottom:8px;padding:0 7px;border:1px solid #d9c19a;border-radius:6px;background:#fff;color:#3a2512;font-family:var(--font-primary);font-size:11px}.leads-resp-primary-select:focus{outline:none;border-color:#b09060;box-shadow:0 0 0 2px #b0906029}.leads-resp-checks{display:flex;flex-direction:column;gap:4px;max-height:116px;overflow:auto;padding-right:2px}.leads-resp-check{display:flex;align-items:center;gap:6px;padding:5px 7px;border:1px solid #ede4d6;border-radius:6px;background:#fff;color:#4d3720;font-size:10px;cursor:pointer}.leads-resp-check:hover{border-color:#d9c19a;background:#fffaf1}.leads-resp-check--primary-hidden{display:none}.leads-resp-check input[type=checkbox]{-moz-appearance:none;appearance:none;-webkit-appearance:none;width:14px;height:14px;margin:0;border:1px solid #c4a06a;border-radius:4px;background:#fff;cursor:pointer;position:relative;flex:0 0 14px}.leads-resp-check input[type=checkbox]:after{content:"";position:absolute;left:50%;top:50%;width:4px;height:8px;border:solid #fff;border-width:0 2px 2px 0;transform:translate(-50%,-58%) rotate(45deg);opacity:0}.leads-resp-check input[type=checkbox]:checked{background:linear-gradient(180deg,#d8b786,#c29a64);border-color:#c29a64}.leads-resp-check input[type=checkbox]:checked:after{opacity:1}.leads-resp-check input[type=checkbox]:focus{outline:none;box-shadow:0 0 0 2px #c4a06a29}.leads-resp-dropdown--saving{opacity:.72;pointer-events:none}.leads-proj-wrap{position:relative}.leads-proj-dropdown{position:absolute;top:calc(100% + 10px);left:0;z-index:999;min-width:180px;background:#fffdf9;border:1px solid #d9c19a;border-radius:8px;box-shadow:0 10px 18px #2a1f0e1f;padding:4px 0}.leads-proj-dropdown:before{content:"";position:absolute;top:-7px;left:16px;width:12px;height:12px;background:#fffdf9;border-top:1px solid #d9c19a;border-left:1px solid #d9c19a;transform:rotate(45deg);z-index:-1}.leads-proj-check-input{-moz-appearance:none;appearance:none;-webkit-appearance:none;width:14px;height:14px;margin:0;border:1px solid #c4a06a;border-radius:4px;background:#fff;cursor:pointer;position:relative;flex:0 0 14px}.leads-proj-check-input:after{content:"";position:absolute;left:50%;top:50%;width:4px;height:8px;border:solid #fff;border-width:0 2px 2px 0;transform:translate(-50%,-58%) rotate(45deg);opacity:0}.leads-proj-check-input:checked{background:linear-gradient(180deg,#d8b786,#c29a64);border-color:#c29a64}.leads-proj-check-input:checked:after{opacity:1}.leads-proj-check-input:focus{outline:none;box-shadow:0 0 0 2px #c4a06a29}.leads-table td,.leads-table th{border-right:1px solid var(--border-light)}.leads-table td:last-child,.leads-table th:last-child{border-right:none}.leads-drag-handle-th,.leads-drag-handle-cell{width:28px;min-width:28px;max-width:28px;padding:0!important;text-align:center;cursor:default;border-right:none!important}.leads-edit-menu{position:relative;display:inline-flex}.leads-edit-menu__trigger{display:inline-flex;align-items:center;gap:6px;min-width:88px;height:32px;padding:0 10px;cursor:pointer}.leads-edit-menu__caret{font-size:.78rem;opacity:.7;transition:transform .18s ease}.leads-edit-menu.is-open .leads-edit-menu__caret{transform:rotate(180deg)}.leads-edit-menu__dropdown{position:absolute;top:calc(100% + 8px);right:0;z-index:60;min-width:220px;padding:8px;display:flex;flex-direction:column;gap:6px;border-radius:14px;border:1px solid rgba(212,188,138,.9);background:linear-gradient(180deg,#fffdf9,#f8f0e5);box-shadow:0 18px 36px #56401f2e}.leads-edit-menu__dropdown[hidden]{display:none!important}.leads-edit-menu__item{width:100%;border:1px solid rgba(224,201,138,.55);background:#ffffffd1;color:#5d4220;border-radius:10px;padding:9px 11px;text-align:left;font:600 .84rem/1.2 "Source Sans 3",sans-serif;cursor:pointer}.leads-edit-menu__item:hover:not(:disabled){background:#f7eddbf5;border-color:#d0b27f}.leads-edit-menu__item:disabled{opacity:.5;cursor:not-allowed}.leads-drag-handle{display:flex;align-items:center;justify-content:center;height:100%;cursor:grab;padding:0 8px}.leads-drag-handle:active{cursor:grabbing}.leads-row--dragging{opacity:.35}.leads-row--draggable .leads-drag-handle{cursor:grab}.leads-row-ghost{position:fixed;pointer-events:none;z-index:9999;border-radius:8px;overflow:hidden;box-shadow:0 10px 28px #3a25122e;opacity:.97}.leads-row-ghost__table{background:#fffdf9;border:1.5px solid #e0c98a;border-radius:8px;overflow:hidden}.leads-row-ghost__table td{background:#fffdf9}.leads-row-ghost__table .leads-cell-input,.leads-row-ghost__table .leads-cell-select{pointer-events:none;background:transparent!important;box-shadow:none!important}.leads-row-ghost__table .leads-detail-btn,.leads-row-ghost__table .leads-remarks-eye-btn,.leads-row-ghost__table .leads-phones-expand,.leads-row-ghost__table .leads-drag-handle{pointer-events:none}.leads-row--drop-above td{border-top:2.5px solid #c4a96a!important;padding-top:14px!important;transition:padding-top .08s ease,border-top .08s ease}.leads-row--drop-below td{border-bottom:2.5px solid #c4a96a!important;padding-bottom:14px!important;transition:padding-bottom .08s ease,border-bottom .08s ease}.leads-col--dragging{opacity:.5}.leads-col--drag-over{background:#f0e8d8!important;outline:2px dashed #c4a96a;outline-offset:-2px}.leads-col-resize-handle{position:absolute;right:0;top:0;bottom:0;width:6px;cursor:col-resize;background:transparent;z-index:3}.leads-col-resize-handle:hover,.leads-col-resize-handle:active{background:#c4a96a80}.leads-table th{position:sticky}.leads-kanban-card--readonly{cursor:default!important}.leads-kanban-card--readonly:active{transform:none}.leads-kanban{--leads-kanban-surface: #f8f4ec;--leads-kanban-border: var(--border-light);display:flex;flex-wrap:wrap;gap:10px;overflow-x:hidden;overflow-y:auto;padding:0;min-height:100%;height:100%;align-items:stretch;align-content:flex-start;min-width:0;scrollbar-width:thin;scrollbar-color:var(--leads-kanban-border) var(--leads-kanban-surface)}.leads-kanban::-webkit-scrollbar{width:7px}.leads-kanban::-webkit-scrollbar-track{background:var(--leads-kanban-surface);border-radius:99px}.leads-kanban::-webkit-scrollbar-thumb{background:var(--leads-kanban-border);border-radius:99px}.leads-kanban::-webkit-scrollbar-thumb:hover{background:var(--leads-kanban-border)}.leads-kanban-col{flex:1 1 252px;border-radius:14px;background:linear-gradient(#fdf8f0d1,#fdf8f0d1),url(../assets/background2.jpg) center/220px auto repeat;border:1.5px solid var(--leads-kanban-border);display:flex;flex-direction:column;min-width:252px;min-height:0;height:100%;overflow:hidden;box-shadow:0 2px 10px #3a25120d}.leads-kanban-col[data-stage=lost]{margin-left:0}.leads-kanban-stack-col{flex:1 1 252px;min-width:252px;margin-left:0;display:flex;flex-direction:column;gap:10px;min-height:0;height:100%}.leads-kanban-stack-panel{border-radius:14px;background:linear-gradient(#fdf8f0d1,#fdf8f0d1),url(../assets/background2.jpg) center/220px auto repeat;border:1.5px solid var(--leads-kanban-border);display:flex;flex-direction:column;min-height:0;height:calc(50% - 5px);overflow:hidden;box-shadow:0 2px 10px #3a25120d}.leads-kanban-col-header{padding:9px 12px;font-family:var(--font-primary);font-size:13px;font-weight:700;color:var(--text-dark);text-transform:none;letter-spacing:.01em;border-bottom:1.5px solid var(--leads-kanban-border);display:flex;justify-content:space-between;align-items:center;border-radius:14px 14px 0 0}.leads-kanban-header-title{display:inline-flex;align-items:center;gap:6px;min-width:0}.leads-kanban-header-meta{display:inline-flex;align-items:center;gap:8px;flex-shrink:0}.leads-kanban-header-arrow{display:inline-flex;align-items:center;justify-content:center;color:#2b2116;opacity:.95}.leads-kanban-header-arrow svg{width:18px;height:18px;display:block}.leads-kanban-count{font-size:11px;font-weight:400;background:var(--primary-gold);color:var(--text-dark);width:22px;height:22px;padding:0;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;line-height:1;flex-shrink:0}.leads-kanban-col-body{flex:1;min-height:0;overflow-x:hidden;overflow-y:auto;padding:8px;display:flex;flex-direction:column;gap:8px;scrollbar-width:thin;scrollbar-color:var(--leads-kanban-border) transparent}.leads-kanban-col-body::-webkit-scrollbar{width:5px}.leads-kanban-col-body::-webkit-scrollbar-track{background:transparent}.leads-kanban-col-body::-webkit-scrollbar-thumb{background:#9d816159;border-radius:99px}.leads-kanban-col-body::-webkit-scrollbar-thumb:hover{background:#9d81618c}.leads-kanban-col-body--stacked{padding:7px}.leads-kanban-col--drop .leads-kanban-col-body{background:#d9c19a26;border-radius:0 0 14px 14px}.leads-kanban-card{position:relative;z-index:0;overflow:visible;background:linear-gradient(180deg,#fbf4e9,#fdf8ef);border:1.5px solid #e7d7b8;border-radius:10px;padding:9px 84px 9px 14px;min-height:58px;cursor:grab;transition:box-shadow var(--motion-fast),transform var(--motion-fast);font-family:"Source Sans 3",sans-serif}.leads-kanban-card--selected{border-color:#b99659;box-shadow:0 0 0 2px #b9965938,0 10px 24px #6f55341f;background:linear-gradient(180deg,#fffaf2,#fff)}.leads-kanban-card--selected:before{content:"";position:absolute;top:50%;right:16px;width:14px;height:14px;border-radius:999px;background:linear-gradient(180deg,#b99659,#9d7a3e);box-shadow:0 4px 10px #6f55342e;transform:translateY(-50%);z-index:5}.leads-kanban-card--selected:after{content:"✓";position:absolute;top:50%;right:16px;width:14px;height:14px;display:flex;align-items:center;justify-content:center;color:#fffaf2;font-size:9px;font-weight:700;line-height:1;transform:translateY(-50%);z-index:6}.leads-kanban--selection-mode .leads-kanban-card__actions,.leads-kanban--selection-mode .leads-kanban-card__remarks-trigger{display:none}.leads-kanban--selection-mode .leads-kanban-card{padding-right:34px}.leads-kanban:not(.leads-kanban--selection-mode) .leads-kanban-card--selected:before,.leads-kanban:not(.leads-kanban--selection-mode) .leads-kanban-card--selected:after{content:none}.leads-kanban-card__remarks-trigger{position:absolute;right:11px;top:50%;transform:translateY(-50%);display:inline-flex;align-items:center;justify-content:center;z-index:3}.leads-kanban-card__head{position:relative;display:flex;align-items:flex-start;gap:6px;margin-bottom:0;min-width:0}.leads-kanban-card .leads-incomplete-dot{position:absolute;left:-16px;top:50%;transform:translateY(-50%);flex:none;z-index:4}.leads-kanban-card__title{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:500;font-family:"Source Sans 3",sans-serif;line-height:1}.leads-kanban-card__phone{font-size:.76rem;color:#6f5534;font-family:"Source Sans 3",sans-serif;font-weight:400;line-height:1.1;margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.leads-kanban-card:hover{z-index:50;box-shadow:0 4px 16px #00000014;transform:translateY(-1px)}.leads-kanban-card--remarks-open{z-index:60;border-color:#b99659;box-shadow:0 8px 24px #6f553429}.leads-kanban-card.dragging{opacity:.5}.leads-kanban-card--drag-over-above{box-shadow:inset 0 3px #6b8fcb}.leads-kanban-card--drag-over-below{box-shadow:inset 0 -3px #6b8fcb}.leads-kanban-card-name{font-size:13px;font-weight:600;color:var(--text-dark);margin-bottom:4px;display:flex;align-items:center;gap:6px}.leads-kanban-card-meta{font-size:11px;color:var(--text-brown);display:flex;flex-direction:column;gap:2px}.leads-kanban-card__actions{position:absolute;right:35px;top:50%;transform:translateY(-50%);display:inline-flex;align-items:center;justify-content:center;gap:6px;margin-top:0;z-index:3}.leads-kanban-card__actions .leads-detail-btn--interest{margin-right:-3px}.leads-kanban-card__remarks-trigger .leads-remarks-eye-btn,.leads-kanban-card__actions .leads-detail-btn,.leads-kanban-card__actions .leads-edit-btn,.leads-kanban-card__actions .leads-remarks-eye-btn{position:relative;width:20px;height:20px;padding:0;border:none;border-radius:0;background:none;box-shadow:none;color:#8f6f2d}.leads-kanban-card__actions .leads-detail-btn,.leads-kanban-card__actions .leads-edit-btn{color:#8b7659}.leads-kanban-card__actions .leads-detail-btn:hover,.leads-kanban-card__actions .leads-edit-btn:hover,.leads-kanban-card__actions .leads-remarks-eye-btn:hover{background:none;border:none;color:#7d6033;transform:none}.leads-kanban-card__remarks-trigger .leads-remarks-eye-btn:hover{background:none;border:none;color:#7d6033;transform:translateY(0)}.leads-kanban-card__remarks-trigger .leads-remarks-eye-btn svg path,.leads-kanban-card__remarks-trigger .leads-remarks-eye-btn svg circle,.leads-kanban-card__actions .leads-detail-btn svg path,.leads-kanban-card__actions .leads-edit-btn svg path{fill:none;transition:fill var(--motion-fast),stroke var(--motion-fast),opacity var(--motion-fast)}.leads-kanban-card__remarks-trigger .leads-remarks-eye-btn svg circle{opacity:0}.leads-kanban-card__remarks-trigger .leads-remarks-eye-btn:hover .leads-remarks-bubble-outline{fill:currentColor;stroke:currentColor;opacity:1}.leads-kanban-card__actions .leads-detail-btn:not(.leads-detail-btn--interest):hover svg path,.leads-kanban-card__actions .leads-edit-btn:hover svg path:last-child{fill:currentColor;stroke:currentColor;opacity:1}.leads-kanban-card__actions .leads-detail-btn--interest:hover{color:#6f5225}.leads-kanban-card__actions .leads-detail-btn--interest:hover .leads-interest-home-body{fill:currentColor!important;stroke:currentColor!important;opacity:1}.leads-kanban-card__actions .leads-detail-btn--interest:hover .leads-interest-home-door{fill:none!important;stroke:#8b7659!important;opacity:1}.leads-kanban-card__remarks-trigger .leads-remarks-eye-btn svg,.leads-kanban-card__actions .leads-detail-btn svg,.leads-kanban-card__actions .leads-edit-btn svg,.leads-kanban-card__actions .leads-remarks-eye-btn svg{width:13px;height:13px;display:block}.leads-kanban-card__remarks-trigger .leads-remarks-eye-btn svg{width:18px;height:18px}.leads-kanban-card .leads-detail-btn[data-tooltip]:after,.leads-kanban-card .leads-edit-btn[data-tooltip]:after,.leads-kanban-card .leads-remarks-eye-btn[data-tooltip]:after{content:attr(data-tooltip);position:fixed;background:#2a1f12e0;color:#f5edde;font-family:var(--font-primary);font-size:10px;letter-spacing:.04em;padding:8px 11px;border-radius:10px;white-space:nowrap;opacity:0;pointer-events:none;transition:opacity .01s linear;z-index:99999;box-shadow:0 8px 18px #2a1f122e}.leads-kanban-card .leads-detail-btn[data-tooltip]:after,.leads-kanban-card .leads-edit-btn[data-tooltip]:after{top:calc(100% + 8px);left:50%;transform:translate(-50%)}.leads-kanban-card .leads-remarks-eye-btn[data-tooltip]:after{top:calc(100% + 8px);left:50%;transform:translate(-50%)}.leads-kanban-card .leads-detail-btn[data-tooltip]:hover:after,.leads-kanban-card .leads-edit-btn[data-tooltip]:hover:after,.leads-kanban-card .leads-remarks-eye-btn[data-tooltip]:hover:after{opacity:1}.leads-kanban-remarks-bubble{position:fixed;z-index:1400;max-height:min(70vh,520px);min-width:260px;border-radius:18px;border:1px solid rgba(196,169,106,.55);background:linear-gradient(#fffaf3f7,#fffaf3f7),url(../assets/background2.jpg) center/220px auto repeat;box-shadow:0 24px 60px #2a1f0e2e;overflow:hidden}.leads-kanban-remarks-bubble--wide{max-height:min(76vh,620px)}.leads-kanban-remarks-bubble:before{content:"";position:absolute;left:-10px;top:28px;width:18px;height:18px;background:#fff9f0;border-left:1px solid rgba(196,169,106,.55);border-bottom:1px solid rgba(196,169,106,.55);transform:rotate(45deg)}.leads-kanban-remarks-bubble--left:before{left:auto;right:-10px;border-left:none;border-bottom:none;border-right:1px solid rgba(196,169,106,.55);border-top:1px solid rgba(196,169,106,.55)}.leads-kanban-remarks-bubble__toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:28px;padding:10px 12px 0}.leads-kanban-remarks-bubble__title{font-family:var(--font-primary);font-size:.96rem;font-weight:600;color:#3a2512;line-height:1.1}.leads-kanban-remarks-bubble__title-name{font-size:.84rem;font-weight:400;color:#7f6546}.leads-kanban-remarks-bubble__add{width:26px;height:26px;border-radius:50%;border:1px solid rgba(111,85,52,.2);background:#ffffffd1;color:#7a5228;cursor:pointer;font-size:18px;line-height:1;display:inline-flex;align-items:center;justify-content:center}.leads-kanban-remarks-bubble__body{max-height:min(60vh,440px);overflow-y:auto;padding:8px 12px 12px;display:flex;flex-direction:column;gap:10px;overscroll-behavior:contain}.leads-kanban-remarks-bubble--wide .leads-kanban-remarks-bubble__body{max-height:min(66vh,540px)}.leads-kanban-remarks-bubble__loading,.leads-kanban-remarks-bubble__empty{padding:10px 8px;font-family:"Source Sans 3",sans-serif;font-size:.88rem;color:#8b7659}.leads-kanban-remarks-note-wrap{display:block}.leads-kanban-remarks-note{border:1px solid rgba(196,169,106,.32);border-radius:14px;background:#fffdf8f5;padding:10px 11px 11px;box-shadow:0 4px 14px #3a25120d}.leads-kanban-remarks-note__head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;margin-bottom:6px}.leads-kanban-remarks-note__meta{display:flex;flex-direction:column;gap:2px;min-width:0}.leads-kanban-remarks-note__label{font-family:var(--font-primary);font-size:.78rem;font-weight:700;color:#6f5534;line-height:1.15}.leads-kanban-remarks-note__time,.leads-kanban-remarks-note__edit{font-family:"Source Sans 3",Source Sans Pro,Segoe UI,sans-serif;font-size:.72rem;color:#8f6c47}.leads-kanban-remarks-note--lost{background:linear-gradient(180deg,#fff8f4f5,#fffcf9f5);border-color:#c0808052}.leads-kanban-remarks-note__actions{display:inline-flex;align-items:center;gap:7px;flex-shrink:0}.leads-kanban-remarks-note__delete{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;padding:0;border:none;background:none;color:#9a7b55;cursor:pointer}.leads-kanban-remarks-note__delete svg{width:14px;height:14px;display:block}.leads-kanban-remarks-note__delete:hover{color:#7f5f3b}.leads-kanban-remarks-note__edit{background:none;border:none;padding:0;cursor:pointer;text-align:right;flex-shrink:0;font-weight:600}.leads-kanban-remarks-note__edit:hover{color:#6f5534;text-decoration:underline}.leads-kanban-remarks-note__body{font-family:"Source Sans 3",sans-serif;font-size:.88rem;line-height:1.45;color:#3a2512;white-space:pre-wrap;word-break:break-word}.leads-kanban-remarks-note__editor{display:flex;flex-direction:column;gap:8px}.leads-kanban-remarks-note__editor-field{position:relative}.leads-kanban-remarks-note__editor-input{width:100%;min-height:128px;max-height:min(34vh,280px);resize:vertical;border-radius:10px;border:1px solid rgba(196,169,106,.38);background:#fffdf9;padding:9px 42px 9px 10px;font-family:"Source Sans 3",sans-serif;font-size:.88rem;line-height:1.45;color:#3a2512;outline:none;overflow-y:auto}.leads-kanban-remarks-note__editor-mic{position:absolute;right:8px;bottom:8px;width:28px;height:28px;border-radius:50%;border:1px solid var(--primary-gold);background:var(--gold-light);color:var(--text-brown);display:inline-flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:inset 0 1px #ffffff8c,var(--shadow-button);transition:transform var(--motion-fast),background var(--motion-fast),box-shadow var(--motion-fast),color var(--motion-fast)}.leads-kanban-remarks-note__editor-mic svg{width:14px;height:14px}.leads-kanban-remarks-note__editor-mic:hover:not(:disabled){background:var(--gold-hover);transform:translateY(-1px)}.leads-kanban-remarks-note__editor-mic.is-listening{background:#c97a5b;border-color:#b55f42;color:#fff8f2;animation:leads-kanban-mic-pulse 1.1s ease-in-out infinite}.leads-kanban-remarks-note__editor-actions{display:flex;justify-content:flex-end;gap:8px}.leads-kanban-remarks-note__editor-btn{border-radius:999px;padding:6px 12px;font-family:var(--font-primary);font-size:.76rem;cursor:pointer;border:1px solid rgba(196,169,106,.45)}.leads-kanban-remarks-note__editor-btn--ghost{background:#fff8ee;color:#7a5228}.leads-kanban-remarks-note__editor-btn--save{background:var(--gold-light);color:#3a2512}.leads-kanban-remarks-composer{border:1px solid rgba(196,169,106,.4);border-radius:14px;background:#fffdf8fa;padding:10px;display:flex;flex-direction:column;gap:8px}.leads-kanban-remarks-composer__field{position:relative}.leads-kanban-remarks-composer__input{width:100%;min-height:110px;max-height:min(32vh,260px);resize:vertical;border-radius:10px;border:1px solid rgba(196,169,106,.38);background:#fffdf9;padding:9px 42px 9px 10px;font-family:"Source Sans 3",sans-serif;font-size:.88rem;line-height:1.45;color:#3a2512;outline:none;overflow-y:auto}.leads-kanban-remarks-composer__mic{position:absolute;right:8px;bottom:8px;width:28px;height:28px;border-radius:50%;border:1px solid var(--primary-gold);background:var(--gold-light);color:var(--text-brown);display:inline-flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:inset 0 1px #ffffff8c,var(--shadow-button);transition:transform var(--motion-fast),background var(--motion-fast),box-shadow var(--motion-fast),color var(--motion-fast)}.leads-kanban-remarks-composer__mic svg{width:14px;height:14px}.leads-kanban-remarks-composer__mic:hover:not(:disabled){background:var(--gold-hover);transform:translateY(-1px)}.leads-kanban-remarks-composer__mic.is-listening{background:#c97a5b;border-color:#b55f42;color:#fff8f2;animation:leads-kanban-mic-pulse 1.1s ease-in-out infinite}.leads-kanban-remarks-composer__mic:disabled{opacity:.45;cursor:not-allowed;box-shadow:none}@keyframes leads-kanban-mic-pulse{0%{box-shadow:0 0 #c97a5b59,inset 0 1px #fff3}70%{box-shadow:0 0 0 8px #c97a5b00,inset 0 1px #fff3}to{box-shadow:0 0 #c97a5b00,inset 0 1px #fff3}}.leads-kanban-remarks-composer__actions{display:flex;justify-content:flex-end;gap:8px}.leads-kanban-remarks-composer__btn{border-radius:999px;padding:6px 12px;font-family:var(--font-primary);font-size:.76rem;cursor:pointer;border:1px solid rgba(196,169,106,.45)}.leads-kanban-remarks-composer__btn--ghost{background:#fff8ee;color:#7a5228}.leads-kanban-remarks-composer__btn--save{background:var(--gold-light);color:#3a2512}.leads-funnel{padding:20px 0}.leads-funnel-row{display:flex;align-items:center;gap:14px;margin-bottom:10px}.leads-funnel-label{font-family:var(--font-primary);font-size:13px;font-weight:600;color:var(--text-dark);width:100px;text-align:right;flex-shrink:0}.leads-funnel-bar{height:36px;border-radius:8px;display:flex;align-items:center;justify-content:center;font-family:var(--font-primary);font-size:13px;font-weight:700;color:var(--text-dark);min-width:40px;transition:width .4s ease}.leads-funnel-lost{text-align:center;font-family:var(--font-primary);font-size:12px;color:var(--text-brown);opacity:.7;margin-top:8px}.leads-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:14px}.leads-grid-card{background:var(--bg-card);border:1.5px solid var(--border-light);border-radius:14px;padding:16px;cursor:pointer;transition:box-shadow var(--motion-fast),transform var(--motion-fast);font-family:var(--font-primary)}.leads-grid-card:hover{box-shadow:0 6px 24px #00000014;transform:translateY(-2px)}.leads-grid-card-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.leads-grid-card-name{font-size:15px;font-weight:700;color:var(--text-dark)}.leads-grid-card-body{font-size:12px;color:var(--text-brown);display:flex;flex-direction:column;gap:4px;margin-bottom:10px}.leads-grid-card-footer{display:flex;justify-content:space-between;align-items:center}.lead-detail-card{max-width:720px;margin:0 auto;padding:28px 32px 36px;background:var(--bg-card);border-radius:var(--radius-large);box-shadow:var(--shadow-elevated)}.lead-overdue-banner{background:#fdeaea;border:1.5px solid #e74c3c;border-radius:10px;padding:10px 16px;font-family:var(--font-primary);font-size:13px;color:#c0392b;font-weight:600;margin-bottom:16px}.lead-detail-header{margin-bottom:20px}.lead-detail-name-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:8px}.lead-detail-name-row h2{font-family:var(--font-primary);font-size:22px;color:var(--text-dark);margin:0}.lead-detail-meta{display:flex;gap:18px;flex-wrap:wrap;font-family:var(--font-primary);font-size:13px;color:var(--text-brown)}.lead-detail-meta strong{color:var(--text-dark)}.lead-stage-stepper{display:flex;align-items:flex-start;gap:0;margin-bottom:14px;padding:12px 0}.lead-stepper-step{display:flex;flex-direction:column;align-items:center;position:relative;flex:1;min-width:0}.lead-stepper-dot{width:30px;height:30px;border-radius:50%;border:2.5px solid var(--border-light);display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:700;color:var(--text-brown);background:#fff;flex-shrink:0;z-index:1;transition:all .15s ease}.lead-stepper-dot--done{background:var(--dot-color, #cfe8cf);border-color:var(--dot-border, #8fbc8f);color:#fff}.lead-stepper-dot--active{background:var(--dot-color, #d5b885);border-color:var(--dot-border, #b09060);color:#fff;box-shadow:0 0 0 3px #d9c19a59;transform:scale(1.1)}.lead-stepper-dot--dim{background:#f5f0e8;border-color:#e0d6c4;color:#bbb}.lead-stepper-check{font-size:13px;line-height:1}.lead-stepper-label{font-family:var(--font-primary);font-size:10px;font-weight:600;color:var(--text-brown);text-align:center;margin-top:5px;text-transform:uppercase;letter-spacing:.04em;white-space:nowrap}.lead-stepper-connector{position:absolute;top:15px;left:calc(50% + 17px);width:calc(100% - 34px);height:2.5px;background:#e0d6c4;z-index:0}.lead-stepper-connector--done{background:#8fbc8f}.lead-stage-actions{display:flex;gap:10px;margin-bottom:20px;flex-wrap:wrap}.lead-stage-actions .admin-action-btn{font-size:13px}.lead-btn-lost{font-family:var(--font-primary);font-size:13px;font-weight:600;padding:8px 18px;border:1.5px solid #c08080;border-radius:20px;background:#fdeaea;color:#6b2a2a;cursor:pointer;transition:background var(--motion-fast)}.lead-btn-lost:hover{background:#f5d0d0}.lead-btn-reopen{font-family:var(--font-primary);font-size:13px;font-weight:600;padding:8px 18px;border:1.5px solid #8fbc8f;border-radius:20px;background:#eaf5ea;color:#3a6b3a;cursor:pointer}.lead-section{margin-bottom:24px;border-top:1px solid var(--border-light);padding-top:16px}.lead-section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.lead-section-header h3{font-family:var(--font-primary);font-size:16px;color:var(--text-dark);margin:0}.lead-contacts-list{display:flex;flex-direction:column;gap:6px}.lead-contact-item{display:flex;align-items:center;gap:10px;font-family:var(--font-primary);font-size:13px;color:var(--text-brown);padding:6px 0}.lead-contact-icon{font-size:16px;flex-shrink:0}.lead-contact-value{font-weight:600;color:var(--text-dark)}.lead-contact-link{font-weight:600;color:var(--text-dark);text-decoration:none}.lead-contact-link:hover{text-decoration:underline;color:#6f5534}.lead-contact-wa{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:50%;background:#25d366;color:#fff;flex-shrink:0;transition:opacity var(--motion-fast),transform .1s;text-decoration:none}.lead-contact-wa svg{width:14px;height:14px}.lead-contact-wa:hover{opacity:.85;transform:scale(1.08)}.lead-copy-btn{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:6px;flex-shrink:0;background:#f5efe6;border:1px solid #d9c19a;color:#6f5534;cursor:pointer;transition:background .15s,transform .1s;font-size:.75rem;font-weight:600}.lead-copy-btn:hover{background:#ede4d6;transform:scale(1.08)}.lead-copy-btn:active{transform:scale(1)}.lead-contact-label{font-size:10px;font-weight:600;padding:1px 6px;border-radius:6px;background:#f0e9d8;color:var(--text-brown);text-transform:uppercase}.lead-contact-primary{font-size:9px;font-weight:700;padding:1px 5px;border-radius:6px;background:var(--primary-gold);color:var(--text-dark);text-transform:uppercase}.lead-projects-list{display:flex;flex-wrap:wrap;gap:8px}.lead-project-chip{font-family:var(--font-primary);font-size:12px;font-weight:600;padding:6px 14px;border-radius:10px;background:#f8f2e8;border:1.5px solid var(--border-light);color:var(--text-dark)}.lead-project-chip-type{font-size:10px;color:var(--text-brown);font-weight:400}.leads-timeline{position:relative;padding-left:28px}.leads-timeline:before{content:"";position:absolute;left:10px;top:0;bottom:0;width:2px;background:var(--border-light)}.leads-timeline-item{position:relative;padding-bottom:20px}.leads-timeline-dot{position:absolute;left:-24px;top:4px;width:14px;height:14px;border-radius:50%;border:2px solid #fff;box-shadow:0 0 0 1.5px var(--border-light)}.leads-timeline-dot--call{background:#3498db}.leads-timeline-dot--whatsapp{background:#25d366}.leads-timeline-dot--site_visit{background:#e67e22}.leads-timeline-dot--meeting{background:#9b59b6}.leads-timeline-dot--email{background:#e74c3c}.leads-timeline-dot--note{background:#95a5a6}.leads-timeline-dot--stage_change{background:var(--primary-gold)}.leads-timeline-dot--assignment_change{background:#2ecc71}.leads-timeline-content{font-family:var(--font-primary)}.leads-timeline-header{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:4px}.leads-timeline-type{font-size:12px;font-weight:700;color:var(--text-dark)}.leads-timeline-by{font-size:11px;color:var(--text-brown)}.leads-timeline-date{font-size:11px;color:var(--text-brown);opacity:.7}.leads-timeline-remark{font-size:13px;color:var(--text-brown);margin:0 0 4px;line-height:1.5}.leads-timeline-followup{font-size:12px;color:var(--text-brown)}.leads-timeline-stage-change{font-size:12px;font-weight:600;color:var(--text-dark);display:flex;align-items:center;gap:6px}.leads-form-modal{position:relative;background:var(--bg-card);border-radius:20px;padding:32px 32px 28px;max-width:560px;width:560px;box-shadow:0 10px 60px #0003;max-height:88vh;overflow-y:auto}.leads-form-modal h3{font-family:var(--font-primary);font-size:20px;color:var(--text-dark);margin:0 0 22px;padding-right:28px}.leads-form-group{margin-bottom:18px}.leads-form-group>label,.leads-form-label{display:block;font-family:"Source Sans 3",Source Sans Pro,Segoe UI,sans-serif;font-size:14px;font-weight:400;color:#2a1f0e;margin-bottom:0;text-transform:none;letter-spacing:0}.leads-form-input{width:100%;font-family:var(--font-primary);font-size:14px;padding:10px 14px;border:1.5px solid var(--border-light);border-radius:10px;background:#fff;color:var(--text-dark);outline:none;transition:border-color var(--motion-fast),box-shadow var(--motion-fast);box-sizing:border-box}.leads-form-input:focus{border-color:var(--primary-gold);box-shadow:0 0 0 3px #d9c19a33}textarea.leads-form-input{resize:vertical;min-height:80px}.lead-source-input-wrap{position:relative}.lead-source-suggestions{position:absolute;top:calc(100% + 10px);left:0;right:auto;z-index:40;background:#fdfaf5;border:1px solid rgba(217,193,154,.75);border-radius:9px;box-shadow:0 8px 18px #2a1f0e1f;padding:4px;display:flex;flex-direction:column;gap:3px;width:170px;max-width:min(170px,calc(100vw - 32px));max-height:150px;overflow:visible}.lead-source-suggestions:before{content:"";position:absolute;top:-7px;left:16px;width:12px;height:12px;background:#fdfaf5;border-top:1px solid rgba(217,193,154,.75);border-left:1px solid rgba(217,193,154,.75);transform:rotate(45deg);z-index:-1}.lead-source-suggestion-item{width:100%;text-align:left;border:1px solid rgba(255,255,255,.95);background:#fff;border-radius:7px;padding:6px 8px;font-family:var(--font-primary);font-size:11px;line-height:1.2;color:var(--text-dark);cursor:pointer;transition:background var(--motion-fast),border-color var(--motion-fast),transform var(--motion-fast)}.lead-source-suggestion-item:hover{background:#f7efe2;border-color:#fff;transform:translateY(-1px)}.leads-contact-row{display:flex;gap:8px;margin-bottom:8px;align-items:center}.leads-contact-row .leads-form-input{flex:1;min-width:0}.leads-contact-row .leads-label{width:110px!important;flex:0 0 110px}.leads-form-add-btn{font-family:var(--font-primary);font-size:12px;font-weight:600;color:var(--text-brown);background:none;border:1.5px dashed var(--border-light);border-radius:8px;cursor:pointer;padding:6px 14px;margin-top:4px;transition:border-color var(--motion-fast),color var(--motion-fast)}.leads-form-add-btn:hover{border-color:var(--primary-gold);color:var(--text-dark)}.leads-form-remove-btn{flex-shrink:0;background:none;border:1.5px solid #e0c8c8;color:#c08080;border-radius:7px;width:30px;height:30px;display:flex;align-items:center;justify-content:center;cursor:pointer;font-size:13px;line-height:1;transition:background var(--motion-fast),color var(--motion-fast);padding:0}.leads-form-remove-btn:hover{background:#fde8e8;color:#a04040}.leads-priority-pills,.leads-activity-pills{display:flex;gap:8px;flex-wrap:wrap}.leads-pill{font-family:var(--font-primary);font-size:13px;padding:7px 18px;border:1.5px solid var(--border-light);border-radius:20px;background:#fff;color:var(--text-brown);cursor:pointer;transition:all var(--motion-fast);white-space:nowrap}.leads-pill[data-val=hot]{border-color:#d09070;color:#5a2010;background:#f2c4b0}.leads-pill[data-val=hot].active{background:#c07858;border-color:#c07858;color:#fff}.leads-pill[data-val=warm]{border-color:#c8a040;color:#604010;background:#f5e0a0}.leads-pill[data-val=warm].active{background:#c89030;border-color:#c89030;color:#fff}.leads-pill[data-val=cold]{border-color:#7898b8;color:#1a3a5a;background:#b8d4ea}.leads-pill[data-val=cold].active{background:#5878a8;border-color:#5878a8;color:#fff}.leads-pill.active,.leads-pill.leads-pill--active{background:#6b1e2a;border-color:#6b1e2a;color:#fff}.leads-pill:hover:not(.active):not(.leads-pill--active){border-color:var(--primary-gold);background:#fdf6ec}.leads-project-checks{display:flex;flex-direction:column;gap:8px;max-height:180px;overflow-y:auto;border:1.5px solid var(--border-light);border-radius:10px;padding:10px 12px;background:#fff}.leads-project-check{display:flex;align-items:center;gap:8px;font-size:14px;color:var(--text-dark);cursor:pointer}.leads-project-check input[type=checkbox]{accent-color:#6b1e2a;cursor:pointer}.leads-edit-btn{background:none;border:1.5px solid var(--border-light);border-radius:7px;padding:4px 6px;cursor:pointer;color:var(--text-brown);display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;transition:background var(--motion-fast),border-color var(--motion-fast),color var(--motion-fast);line-height:0}.leads-edit-btn:hover{background:#f5ede0;border-color:var(--primary-gold);color:#7d6033}.leads-project-check{display:flex;align-items:center;gap:8px;font-family:var(--font-primary);font-size:13px;color:var(--text-brown)}.leads-project-check input[type=checkbox]{accent-color:var(--primary-gold)}.leads-empty{text-align:center;padding:48px 20px;font-family:var(--font-primary);font-size:15px;color:var(--text-brown);opacity:.6}.leads-empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:56px 20px;font-family:var(--font-primary)}.leads-clear-filters-btn{font-family:var(--font-primary);font-size:13px;font-weight:600;color:var(--text-brown);background:var(--gold-light);border:1px solid var(--primary-gold);border-radius:20px;padding:6px 18px;cursor:pointer;transition:background var(--motion-fast)}.leads-clear-filters-btn:hover{background:var(--gold-hover)}@media (max-width: 660px){.leads-card{padding:14px 14px 12px}.leads-header{flex-direction:column;gap:10px;align-items:flex-start}.leads-filter-row{flex-direction:column}.leads-search{min-width:0}.leads-kanban{flex-direction:column}.leads-kanban-col{flex:0 0 auto;min-height:200px;max-height:none;height:auto}.leads-kanban-col[data-stage=lost]{margin-left:0}.leads-kanban-stack-col{flex:0 0 auto;margin-left:0;height:auto}.leads-kanban-stack-panel{height:auto;min-height:180px}.leads-funnel-label{width:70px;font-size:11px}.lead-detail-card{padding:16px 14px 24px;margin:0 12px}.lead-detail-name-row h2{font-size:18px}.lead-detail-meta{flex-direction:column;gap:4px}.lead-stage-stepper{flex-wrap:wrap;gap:4px}.leads-form-modal{width:calc(100% - 32px);padding:24px 18px 20px}.leads-contact-row .leads-label{width:80px!important;flex:0 0 80px}.leads-form-modal{padding:24px 20px 20px}}.leads-count-bar{font-family:var(--font-primary);font-size:12px;color:#999;padding:0;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;min-height:0}.leads-count-bar__inner{display:inline-flex;align-items:center;gap:10px;flex-wrap:wrap}.leads-count-bar:empty{display:none}.leads-count-bar__selected{padding:4px 10px;border-radius:999px;background:#f2e7d5;border:1px solid #ddcaad;color:#6f5534;font-weight:600}.leads-count-bar__actions{display:inline-flex;align-items:center;gap:8px}.leads-count-bar__btn{height:32px;padding:0 12px}.toast-container{position:fixed;bottom:24px;left:50%;transform:translate(-50%);z-index:9999;display:flex;flex-direction:column-reverse;gap:8px;pointer-events:none}.toast{pointer-events:auto;display:flex;align-items:center;gap:10px;padding:10px 20px;border-radius:12px;font-family:var(--font-primary);font-size:14px;box-shadow:0 6px 24px #0000001f;opacity:0;transform:translateY(12px);transition:opacity .25s ease,transform .25s ease;white-space:nowrap}.toast--visible{opacity:1;transform:translateY(0)}.toast--success{background:#e6f4e6;color:#1a5c1a;border:1px solid #8fbc8f}.toast--error{background:#fde8e8;color:#8b1a1a;border:1px solid #d09090}.toast--info{background:#e8f0fa;color:#1a3a5a;border:1px solid #7898b8}.toast-icon{font-size:16px;flex-shrink:0}.toast-msg{flex:1}.lead-quick-actions{display:flex;flex-wrap:wrap;gap:8px;padding:12px 0;border-bottom:1px solid #e8dfc8;margin-bottom:4px}.lead-quick-btn{display:inline-flex;align-items:center;gap:6px;background:#fbf7ef;border:1.5px solid #d9c19a;color:#4a3520;border-radius:8px;padding:6px 14px;font-size:.84rem;font-family:var(--font-primary);cursor:pointer;transition:background .15s,transform .1s,box-shadow .15s}.lead-quick-btn:hover{background:#f0e8d6;transform:translateY(-1px);box-shadow:0 3px 8px #00000014}.lead-quick-btn:active{transform:translateY(0);box-shadow:none}@media (max-width: 600px){.lead-quick-btn{font-size:.78rem;padding:5px 10px}}.leads-days-badge{display:inline-block;padding:2px 8px;border-radius:10px;font-size:.75rem;font-weight:600;white-space:nowrap;letter-spacing:.02em}.leads-days-badge--fresh{background:#e6f4e6;color:#1a5c1a;border:1px solid #b2d8b2}.leads-days-badge--warm{background:#fff3cd;color:#7a5a00;border:1px solid #f0d060}.leads-days-badge--stale{background:#fde8e8;color:#8b1a1a;border:1px solid #d09090}.leads-days-badge--none{background:#f5ede0;color:#aaa;border:1px solid #e0d0b8}.leads-timeline-filters{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:10px}.leads-tl-filter{background:#f5efe6;border:1px solid #d9c19a;color:#6f5534;border-radius:16px;padding:3px 12px;font-size:.8rem;font-family:var(--font-primary);cursor:pointer;transition:background .15s}.leads-tl-filter:hover{background:#ede4d6}.leads-tl-filter--active{background:#4a3520;color:#fbf7ef;border-color:#4a3520}.leads-th--last-act{white-space:nowrap;min-width:90px}.leads-td--last-act{white-space:nowrap;padding:0 8px;font-size:.78rem;color:#888}.leads-td--days{white-space:nowrap;padding:0 6px;text-align:center}.lead-inline-editable{cursor:pointer;border-bottom:1px dashed transparent;border-radius:3px;transition:border-color .15s,background .15s}.lead-inline-editable:hover{border-bottom-color:#d9c19a;background:#d9c19a1f}.lead-inline-input{background:#fff;border:1.5px solid #b09060;border-radius:6px;padding:2px 8px;font-family:var(--font-primary);font-size:inherit;font-weight:inherit;color:#2a1f0e;width:100%;max-width:340px;outline:none}.lead-inline-input:focus{border-color:#7a5a00;box-shadow:0 0 0 2px #b090602e}.lead-inline-select{background:#fff;border:1.5px solid #b09060;border-radius:6px;padding:2px 8px;font-family:var(--font-primary);font-size:inherit;color:#2a1f0e;outline:none}.lead-prio-pick-btn{display:inline-block;padding:2px 10px;border-radius:10px;font-size:.78rem;cursor:pointer;font-family:var(--font-primary);margin:0 2px;transition:transform .1s,box-shadow .1s}.lead-prio-pick-btn:hover{transform:scale(1.06);box-shadow:0 2px 6px #0000001a}.lead-prio-pick-btn--active{font-weight:700;outline:2px solid rgba(0,0,0,.18)}.lead-last-contacted{display:inline-flex;align-items:center;gap:4px;padding:3px 10px;border-radius:10px;font-size:.82rem}.lead-last-contacted--fresh{background:#e6f4e6;color:#1a5c1a;border:1px solid #b2d8b2}.lead-last-contacted--warm{background:#fff3cd;color:#7a5a00;border:1px solid #f0d060}.lead-last-contacted--stale{background:#fde8e8;color:#8b1a1a;border:1px solid #d09090}.lead-notes-textarea{width:100%;min-height:72px;resize:vertical;border:1.5px solid #e0d0b8;border-radius:8px;padding:10px 12px;font-family:var(--font-primary);font-size:.9rem;color:#2a1f0e;background:#fdfaf5;box-sizing:border-box;transition:border-color .15s}.lead-notes-textarea:focus{outline:none;border-color:#b09060;box-shadow:0 0 0 2px #b0906024}.lead-notes-hint{font-size:.73rem;color:#bbb;margin-left:auto}.lead-related-chips{display:flex;flex-wrap:wrap;gap:8px}.lead-related-chip{display:inline-flex;align-items:center;gap:6px;background:#f5ede0;border:1px solid #d9c19a;border-radius:8px;padding:5px 12px;font-size:.84rem;cursor:pointer;color:#4a3520;font-family:var(--font-primary);transition:background .15s,transform .1s}.lead-related-chip:hover{background:#ede4d6;transform:translateY(-1px)}.detail-split{display:flex;height:100%;min-height:0;overflow:hidden}.detail-sidebar{width:270px;min-width:270px;flex-shrink:0;display:flex;flex-direction:column;border-right:1.5px solid #e0d6c4;background:#faf6ee}.detail-sidebar-search{padding:10px;border-bottom:1px solid #e8dfc8}.detail-sidebar-search input{width:100%;padding:7px 10px;border:1.5px solid #d9c19a;border-radius:8px;font-family:var(--font-primary);font-size:12.5px;background:#fff;box-sizing:border-box;outline:none;transition:border-color .15s}.detail-sidebar-search input:focus{border-color:#b89a60;box-shadow:0 0 0 2px #b89a6026}.detail-sidebar-list{flex:1;overflow-y:auto;padding:0}.detail-sidebar-card{display:flex;align-items:center;gap:10px;padding:10px 12px;cursor:pointer;border-left:3px solid transparent;border-bottom:1px solid #f0e8d6;transition:background .12s;font-family:var(--font-primary)}.detail-sidebar-card:hover{background:#f5efe6}.detail-sidebar-card--active{background:#ede4d6;border-left-color:#6f5534}.detail-sidebar-avatar{width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:.78rem;color:#fff;flex-shrink:0;text-transform:uppercase;letter-spacing:.03em}.detail-sidebar-info{flex:1;min-width:0;overflow:hidden}.detail-sidebar-name{font-size:13px;font-weight:600;color:#2a1f0e;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:flex;align-items:center;gap:4px}.detail-sidebar-sub{font-size:11px;color:#999;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.detail-sidebar-stage{padding:2px 7px;border-radius:8px;font-size:.66rem;font-weight:600;flex-shrink:0;white-space:nowrap}.detail-right-panel{flex:1;display:flex;overflow:hidden;min-width:0}.detail-right-placeholder{flex:1;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;color:#b0a080;font-style:italic;font-family:var(--font-primary);font-size:.95rem}.detail-right-placeholder:before{content:"";display:block;width:48px;height:48px;border-radius:50%;background:#ede4d6;opacity:.5}.detail-summary-col{width:290px;min-width:250px;flex-shrink:0;padding:22px 18px;overflow-y:auto;border-right:1px solid #e8dfc8;background:#fbf7ef}.detail-avatar-lg{width:60px;height:60px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:1.4rem;color:#fff;margin:0 auto 10px;text-transform:uppercase;letter-spacing:.04em;box-shadow:0 2px 8px #0000001a}.detail-name-lg{font-family:var(--font-primary);font-size:1.15rem;font-weight:700;color:#2a1f0e;text-align:center;margin-bottom:6px;word-break:break-word;line-height:1.3}.detail-badges-row{display:flex;justify-content:center;gap:6px;margin-bottom:12px;flex-wrap:wrap}.detail-meta-table{width:100%;font-size:.82rem;color:#6f5534;margin-bottom:12px;border-collapse:collapse}.detail-meta-table td{padding:4px 0;vertical-align:top}.detail-meta-table td:first-child{font-weight:600;color:#4a3520;white-space:nowrap;padding-right:10px;width:72px}.detail-section-title{font-family:var(--font-primary);font-size:.88rem;font-weight:700;color:#4a3520;margin:14px 0 6px;border-bottom:1px solid #e8dfc8;padding-bottom:4px}.detail-summary-col .lead-contacts-list{font-size:.84rem}.detail-summary-col .lead-contact-row{padding:5px 0;gap:6px}.detail-summary-col .lead-contact-icon{font-size:.9rem}.detail-summary-col .lead-contact-link{font-size:.82rem}.detail-summary-col .lead-contact-wa{width:18px;height:18px}.detail-summary-col .lead-contact-wa svg{width:14px;height:14px}.detail-summary-col .lead-projects-list{font-size:.84rem}.detail-summary-col .lead-related-chips{gap:4px}.detail-summary-col .lead-related-chip{font-size:.78rem;padding:3px 8px}.detail-activity-col{flex:1;padding:18px 20px;overflow-y:auto;min-width:0}.detail-activity-col .lead-section{margin-bottom:16px}.detail-activity-col .lead-section-header{margin-bottom:6px}.detail-activity-col .lead-stage-stepper{padding:8px 0;margin-bottom:8px}.detail-activity-col .lead-stage-actions{margin-bottom:12px;gap:8px}.detail-activity-col .lead-quick-actions{padding:8px 0;margin-bottom:2px;gap:6px}.detail-activity-col .lead-quick-btn{padding:5px 10px;font-size:.8rem}.detail-activity-col .lead-notes-textarea{min-height:60px;font-size:.84rem}.detail-activity-col .leads-timeline-filters{gap:4px}.detail-activity-col .leads-tl-filter{padding:3px 10px;font-size:.78rem}@media (max-width: 1100px){.detail-summary-col{width:240px;min-width:220px;padding:16px 14px}}@media (max-width: 900px){.detail-right-panel{flex-direction:column}.detail-summary-col{width:100%;min-width:0;border-right:none;border-bottom:1px solid #e8dfc8;max-height:280px}}@media (max-width: 660px){.detail-split{flex-direction:column}.detail-sidebar{width:100%;min-width:0;max-height:180px;border-right:none;border-bottom:1.5px solid #e8dfc8}}.mem-page{display:flex;align-items:flex-start;justify-content:center;padding-top:calc(76px - var(--space-lg) * .65);padding-bottom:20px;box-sizing:border-box}.mem-page-loading{padding-top:90px;text-align:center;color:#2a1f1273;font-family:var(--font-primary);font-size:14px}.mem-outer-card{width:min(96vw,950px);max-width:950px;height:calc(100vh - var(--space-lg) * .35 - 96px);background:var(--bg-card);border-radius:var(--radius-large);border:1px solid #e0c98a;box-shadow:var(--shadow-elevated),var(--shadow-soft);overflow:hidden;display:flex;flex-direction:column;position:relative}.mem-outer-card:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:url(/assets/background2-mXjhOr4z.jpg) center/300px auto repeat;opacity:.04;pointer-events:none;border-radius:var(--radius-large);z-index:0}.mem-inner-card{flex:1;border-radius:14px;border:1px solid rgba(224,201,138,.55);background:#fdf8f0d9;overflow:hidden;display:flex;flex-direction:column;position:relative;min-width:0;z-index:1}.mem-inner-cards-row{display:flex;flex:1;overflow:hidden;padding:10px;gap:10px;box-sizing:border-box}.mem-controls{display:flex;border-bottom:1px solid rgba(224,201,138,.45);flex-shrink:0;position:relative;z-index:1}.mem-controls-side{flex:1;padding:10px 14px 8px;display:flex;flex-direction:column;gap:6px}.mem-controls-divider{display:none}.mem-panel-title{display:flex;align-items:center;gap:7px;font-family:var(--font-primary);font-weight:550;font-size:16px;color:var(--text-dark)}.mem-count{background:#a0784021;color:#a07840;border-radius:10px;padding:1px 7px;font-size:10.5px;font-weight:700}.mem-count--muted{background:#2a1f1212;color:#2a1f1273}.mem-ctrl-row{display:flex;gap:6px;align-items:center}.mem-search{flex:1;height:30px;border:1px solid rgba(224,201,138,.6);border-radius:7px;padding:0 10px;font-family:var(--font-primary);font-size:12px;background:#ffffffb3;color:var(--text-dark);outline:none;transition:border-color .15s}.mem-search:focus{border-color:#e0c98a;background:#fff}.mem-search::placeholder{color:#2a1f1259;font-style:italic}.mem-sort-sel{flex:1;height:30px;border:1px solid rgba(224,201,138,.6);border-radius:7px;padding:0 8px;font-family:var(--font-primary);font-size:11.5px;background:#ffffffb3;color:var(--text-dark);outline:none;cursor:pointer}.mem-search--sm{flex:2}.mem-filter-toggle{width:28px;height:30px;flex-shrink:0;border:1px solid rgba(196,169,106,.6);border-radius:7px;background:var(--gold-light);color:#7a5c28;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background .15s,color .15s,transform .2s;padding:0}.mem-filter-toggle:hover{background:#e0c98a99;color:#5a3e10}.mem-filter-toggle--open{transform:rotate(180deg)}.mem-filter-sel{flex:1}.mem-panels{flex:1;overflow:hidden;position:relative;z-index:1}.mem-panel{flex:1;height:100%;overflow-y:auto;padding:10px 12px;display:flex;flex-direction:column;gap:14px;min-width:0;box-sizing:border-box}.mem-panel::-webkit-scrollbar{width:4px}.mem-panel::-webkit-scrollbar-track{background:transparent}.mem-panel::-webkit-scrollbar-thumb{background:#a0784040;border-radius:4px}.mem-divider{display:none}.mem-card{display:flex;align-items:center;gap:10px;padding:9px 11px;border-radius:10px;border:1px solid rgba(224,201,138,.4);background:#ffffffa6;cursor:pointer;transition:border-color .15s,box-shadow .15s,background .15s;position:relative;-webkit-user-select:none;user-select:none}.mem-card:hover{border-color:#e0c98a;box-shadow:0 2px 10px #a0784021;background:#fffffff2}.mem-card-icon{width:30px;height:30px;border-radius:8px;background:#a078401c;color:#a07840;display:flex;align-items:center;justify-content:center;flex-shrink:0}.mem-card-icon--hist{background:#6a4ea017;color:#6a4ea0}.mem-card-body{flex:1;min-width:0}.mem-semibold{font-weight:500}.mem-card-name-row{display:flex;align-items:center;justify-content:space-between;gap:6px;min-width:0}.mem-card-name{font-family:"Source Sans 3",sans-serif;font-size:12.5px;font-weight:400;color:var(--text-dark);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1;min-width:0}.mem-card-sub{font-family:var(--font-primary);font-size:11px;color:#2a1f1280;margin-top:1px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mem-card-date{font-family:"Source Sans 3",sans-serif;font-size:10.5px;color:#2a1f12bf;margin-top:2px}.mem-card-remark{font-family:"Source Sans 3",sans-serif;font-size:11.5px;color:#2a1f12d1;margin-top:6px;max-width:calc(62% + 34px);width:fit-content;min-width:180px;padding:5px 10px;border:1px solid rgba(224,201,138,.55);border-radius:10px;background:#fffaf1eb;text-align:left;line-height:1.32;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.mem-card-right{display:flex;flex-direction:column;align-items:flex-end;justify-content:space-between;flex-shrink:0;gap:4px}.mem-del-btn{opacity:0;width:18px;height:18px;border-radius:50%;background:#f0b0b0;border:none;cursor:pointer;color:#fff;display:flex;align-items:center;justify-content:center;flex-shrink:0;padding:0;transition:opacity .15s,background .15s,transform .1s}.mem-card:hover .mem-del-btn{opacity:1}.mem-card-right .mem-bundle-badge{flex-shrink:0}.mem-del-btn:hover{background:#e88080;transform:scale(1.1)}.mem-week-group,.mem-items-wrap{display:flex;flex-direction:column;gap:5px}.mem-week-label{font-family:var(--font-primary);font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.07em;color:#2a1f1261;padding:6px 2px 1px}.mem-empty{font-family:var(--font-primary);font-size:12.5px;color:#2a1f1261;text-align:center;padding:28px 16px;line-height:1.65}.mem-modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#1e160c85;z-index:1300;display:flex;align-items:center;justify-content:center;padding:16px;box-sizing:border-box}.mem-modal-card{background:var(--bg-card);border-radius:var(--radius-large);border:1px solid #e0c98a;box-shadow:0 10px 50px #0003;width:100%;max-width:700px;max-height:calc(100vh - 32px);display:flex;flex-direction:column;overflow:hidden;position:relative}.mem-modal-topbar{display:flex;align-items:center;justify-content:space-between;padding:12px 18px;border-bottom:1px solid rgba(224,201,138,.45);flex-shrink:0}.mem-modal-title{display:flex;align-items:center;gap:8px;font-family:var(--font-primary);font-weight:700;font-size:14px;color:var(--text-dark)}.mem-modal-close-btn{background:#0000000f;border:1px solid rgba(0,0,0,.08);cursor:pointer;color:#2a1f128c;width:28px;height:28px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0;padding:0;transition:color .15s,background .15s}.mem-modal-close-btn:hover{color:var(--text-dark);background:#0000001f}.mem-modal-page-count{font-family:"Source Sans 3",sans-serif;font-size:11px;font-weight:600;color:#2a1f1273;background:#e0c98a4d;border:1px solid rgba(224,201,138,.55);border-radius:5px;padding:1px 7px;margin-right:4px;letter-spacing:.02em}.mem-modal-topbar-actions{display:flex;align-items:center;gap:10px;flex-shrink:0;margin-right:4px}.mem-modal-pdf-btn{display:flex;align-items:center;justify-content:center;gap:6px;padding:5px 28px;height:30px;border-radius:var(--radius-medium);border:1px solid var(--primary-gold);background:var(--gold-light);color:#1a1a1a;font-family:"Source Sans 3",sans-serif;font-size:13px;font-weight:400;cursor:pointer;position:relative;overflow:hidden;box-shadow:inset 0 1px #fff9,var(--shadow-button);transition:transform .15s,box-shadow .15s}.mem-modal-pdf-btn:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:url(/assets/white%20pattern-qop3YNpn.png) center/360px auto repeat;opacity:.1;pointer-events:none}.mem-modal-pdf-btn>*{position:relative;z-index:1}.mem-modal-pdf-btn:hover{transform:translateY(-1px);box-shadow:0 12px 25px #00000014,inset 0 1px #fff9}.mem-modal-body{flex:1;overflow-y:auto;padding:10px;scrollbar-width:thin;scrollbar-color:transparent transparent}.mem-modal-body:hover{scrollbar-color:rgba(0,0,0,.15) transparent}.mem-modal-body::-webkit-scrollbar{width:4px}.mem-modal-body::-webkit-scrollbar-thumb{background:transparent;border-radius:4px}.mem-modal-body:hover::-webkit-scrollbar-thumb{background:#00000026}.mem-modal-body .output-btns{display:none}.mem-modal-body .output-card{max-width:100%;box-sizing:border-box;margin:0;border-radius:20px;background:#fdf8f0;border:1px solid rgba(224,201,138,.6)}.mem-modal-body .output-card .ps-body{width:100%}.mm-bundle-sheet+.mm-bundle-sheet{margin-top:14px}.mem-no-name{color:#2a1f1261;font-style:italic}.mem-bundle-badge{flex-shrink:0;display:inline-flex;align-items:center;margin-left:6px;padding:1px 6px;border-radius:5px;background:#e0c98a59;border:1px solid rgba(224,201,138,.6);font-family:"Source Sans 3",sans-serif;font-size:10px;font-weight:400;color:#7a5c28;text-transform:uppercase;letter-spacing:.04em;vertical-align:middle}.crm-v2,.crm-v2 *{font-family:"Source Sans 3",Source Sans Pro,Segoe UI,sans-serif}.crm-v2{--crm-border: rgba(224, 201, 138, .92);--crm-cream-1: #fbf7ef;--crm-cream-2: #f5ede0;--crm-cream-3: #fffdf8;--crm-cream-accent: #f4e5bf;--crm-text: #2b2320;--crm-sub: #8c7a63;--crm-accent: #6b1e2a}.crm-route-shell.crm-v2 .crm-v2-card{position:relative}.crm-loading-overlay{position:absolute;top:16px;right:18px;bottom:12px;left:18px;z-index:20;display:flex;align-items:center;justify-content:center;border:1px solid #e0c98a;border-radius:18px;background:var(--bg-card);opacity:1;pointer-events:auto;transition:opacity .34s ease,transform .34s ease}.crm-route-shell.crm-v2 .leads-loading-state,.crm-route-shell.crm-v2 .leads-loading-state *{font-family:var(--font-primary)}.crm-route-shell.crm-v2 .crm-v2-grid{opacity:0;transform:translateY(10px) scale(.992);filter:blur(2px);transition:opacity .46s cubic-bezier(.2,.75,.22,1),transform .46s cubic-bezier(.2,.75,.22,1),filter .46s cubic-bezier(.2,.75,.22,1)}.crm-route-shell.crm-v2.is-content-ready .crm-loading-overlay{opacity:0;transform:scale(.995);pointer-events:none}.crm-route-shell.crm-v2.is-content-ready .crm-v2-grid{opacity:1;transform:translateY(0) scale(1);filter:blur(0)}@media (prefers-reduced-motion: reduce){.crm-loading-overlay,.crm-route-shell.crm-v2 .crm-v2-grid{transition:none}}.crm-v2-card{padding:16px 18px 12px;min-height:calc(100% - 8px)}.crm-v2-grid{display:grid;grid-template-columns:286px 1fr;gap:16px;height:100%;min-height:calc(100vh - 120px)}.crm-v2-left{border:1px solid var(--crm-border);border-radius:18px;padding:16px;background:linear-gradient(#fbf7efe0,#fbf7efe0),url(/assets/background2-mXjhOr4z.jpg) center/220px auto repeat;box-shadow:none;display:flex;flex-direction:column;align-items:center;gap:0}.crm-v2-selectWrap{border:1px solid var(--crm-border);border-radius:18px;padding:14px;background:var(--crm-cream-2);width:100%;align-self:stretch;position:relative}.crm-v2-selectLabel{font-size:.74rem;color:var(--crm-sub);margin-bottom:6px}.crm-v2-select{width:100%;border:none;background:transparent;font-weight:700;font-size:1.02rem;color:var(--crm-text);outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;padding-right:18px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238c7a63' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 4px center}.crm-v2-custBtn{width:100%;border:0;background:transparent;padding:0;margin:0;display:flex;align-items:center;justify-content:space-between;gap:10px;cursor:pointer;font-family:"Source Sans 3",Source Sans Pro,Segoe UI,sans-serif;font-weight:500;font-size:1.02rem;color:var(--crm-text)}.crm-v2-custBtn:focus-visible{outline:2px solid rgba(224,201,138,.95);outline-offset:3px;border-radius:12px}.crm-v2-custChev{display:grid;place-items:center;color:var(--crm-sub);flex:0 0 auto}.crm-v2-custChev svg{width:18px;height:18px}.crm-v2-custMenu{position:absolute;left:0;right:0;top:calc(100% + 10px);z-index:50;border:1px solid var(--crm-border);border-radius:14px;background:#fffdf8;box-shadow:0 14px 34px #00000024;overflow:auto;max-height:320px;padding:6px}.crm-v2-custOpt{width:100%;text-align:left;border:1px solid transparent;background:transparent;border-radius:12px;padding:10px;cursor:pointer;font-family:"Source Sans 3",Source Sans Pro,Segoe UI,sans-serif;font-weight:500;color:var(--crm-text);font-size:.94rem}.crm-v2-custOpt:hover{background:#f4e5bf8c;border-color:#e0c98abf}.crm-v2-custOpt.is-selected{background:#f4e5bfb3;border-color:#e0c98af2}.crm-v2-custOpt:focus-visible{outline:2px solid rgba(224,201,138,.95);outline-offset:2px}.crm-v2-avatar{width:64px;height:64px;border-radius:999px;margin:16px auto 10px;display:grid;place-items:center;font-weight:500;color:#5a4033;background:#d9c19a59;border:1px solid var(--crm-border)}.crm-v2-info{margin:20px 0 0;display:flex;flex-direction:column;gap:16px;width:100%;max-width:214px;align-items:center}.crm-v2-row{display:grid;grid-template-columns:18px 1fr;gap:13px;align-items:center;width:min(204px,100%)}.crm-v2-row--button{border:1px solid rgba(196,169,106,.42);border-radius:12px;padding:8px 10px;background:#fffaf38c;color:inherit;font:inherit;text-align:left;cursor:pointer;transition:background .14s ease,border-color .14s ease,transform .14s ease,box-shadow .14s ease}.crm-v2-row--button:hover .crm-v2-ico{color:#5c1f30}.crm-v2-row--button:hover{background:#fffaf1;border-color:#7c283947;box-shadow:0 10px 24px #37261314;transform:translateY(-1px)}.crm-v2-row--button .crm-v2-v{color:var(--crm-accent);font-size:.88rem;font-weight:700}.crm-v2-ico{width:18px;height:18px;display:grid;place-items:center;color:var(--crm-accent)}.crm-v2-ico svg{width:18px;height:18px}.crm-v2-k{font-weight:500;color:var(--crm-text);font-size:.94rem}.crm-v2-v{color:#5a4033;font-size:.99rem;line-height:1.35;margin-top:2px}.crm-v2-main{border:1px solid var(--crm-border);border-radius:18px;padding:16px;background:var(--crm-cream-1);display:flex;flex-direction:column;min-height:0}.crm-v2-stageTop{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-shrink:0;margin-bottom:12px}.crm-v2-stageTabs{display:flex;gap:0;align-items:center;justify-content:flex-start;flex-shrink:0;margin-bottom:0}.crm-v2-templateBtn{min-height:34px;padding:0 14px;border:1px solid var(--crm-border);border-radius:999px;background:var(--crm-cream-accent);color:var(--crm-text);display:inline-flex;align-items:center;justify-content:center;gap:7px;font-family:"Source Sans 3",Source Sans Pro,Segoe UI,sans-serif;font-size:12.5px;font-weight:600;cursor:pointer;white-space:nowrap}.crm-v2-templateBtnIcon{width:15px;height:15px;display:inline-grid;place-items:center}.crm-v2-templateBtnIcon svg{width:15px;height:15px}.crm-v2-stageTab{display:inline-flex;align-items:center;justify-content:center;gap:7px;font-family:"Source Sans 3",Source Sans Pro,Segoe UI,sans-serif;font-size:12.5px;font-weight:600;padding:0 14px;height:34px;border:1px solid var(--crm-border);border-right:none;border-radius:0;background:#ede6da;color:#6f5f49;cursor:pointer;position:relative;transition:background .14s ease,color .14s ease,border-color .14s ease}.crm-v2-stageIcon{width:24px;height:24px;display:inline-grid;place-items:center;flex:0 0 auto;border-radius:50%;color:#8b6f43}.crm-v2-stageIcon svg{width:17px;height:17px}.crm-v2-stageIcon--done{color:#1f7a4d;background:#3592601f}.crm-v2-stageIcon--pending,.crm-v2-stageIcon--doc{color:#6f5f49;background:transparent}.crm-v2-stageText{white-space:nowrap}.crm-v2-stageTab:first-child{border-radius:8px 0 0 8px}.crm-v2-stageTab:last-child{border-radius:0 8px 8px 0;border-right:1px solid var(--crm-border)}.crm-v2-stageTab:hover{background:#f0e8d8;color:var(--crm-text)}.crm-v2-stageTab.active{background:#fff;color:var(--crm-text);border-color:var(--crm-border);z-index:1}.crm-v2-stageTab.active:last-child{border-right:1px solid var(--crm-border)}.crm-v2-actions{margin-top:12px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.crm-v2-actions--sidebar{width:min(220px,100%);grid-template-columns:1fr;margin-top:auto;margin-bottom:auto;gap:14px}.crm-v2-actionBtn{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:5px 10px;min-height:30px;border-radius:999px;border:1px solid var(--crm-border);background:var(--crm-cream-accent);color:var(--crm-text);font-weight:500;font-size:.86rem;cursor:pointer;min-width:0}.crm-v2-actionIco{display:grid;place-items:center;flex:0 0 auto}.crm-v2-actionIco svg{width:16px;height:16px;color:var(--crm-accent)}.crm-v2-actionTxt{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.crm-v2-actionBtn:hover{filter:brightness(1.01)}.crm-v2-actions--sidebar .crm-v2-actionBtn{justify-content:flex-start;padding:8px 12px;min-height:38px}.crm-v2-work{margin-top:0;border:1px solid var(--crm-border);border-radius:30px;background:#fff;padding:20px 16px 16px;min-height:clamp(680px,78vh,940px);display:flex;flex-direction:column;flex:1 1 auto;overflow:hidden;box-shadow:none}.crm-v2-work--calc{border:0;border-radius:0;background:transparent;padding:0 0 4px;overflow:visible}.crm-v2-work--calc .crm-v2-stageTabs{padding:0 16px;margin-bottom:10px}.crm-v2-work--calc .crm-v2-carousel{margin-top:0;padding-top:0}.crm-v2-work--calc .crm-v2-footer{margin-top:14px;padding:0 8px 0 0}.crm-v2-workTop{display:none}.crm-v2-workTitle{display:inline-flex;align-items:center;gap:10px;font-weight:900;color:var(--crm-text);letter-spacing:.2px}.crm-v2-workTitleDot{width:20px;height:20px;border-radius:999px;display:grid;place-items:center;font-size:.78rem;font-weight:800;background:var(--crm-text);color:#fff;flex:0 0 auto}.crm-v2-workTitleTxt{font-size:.96rem;font-weight:900}.crm-v2-plusBtn{width:34px;height:34px;border-radius:999px;border:1px solid var(--crm-border);background:var(--crm-cream-accent);color:var(--crm-text);cursor:pointer}.crm-v2-plusBtn svg{width:18px;height:18px}.crm-v2-plusBtn:disabled{opacity:.45;cursor:not-allowed}.crm-v2-plusBtn.is-locked{opacity:.52;cursor:pointer}.crm-v2-plusBtn--inline{width:42px;height:42px;display:grid;place-items:center}.crm-v2-plusBtn--between{position:absolute;top:50%;right:-21px;transform:translateY(-50%);width:42px;height:42px;display:grid;place-items:center;z-index:4}.crm-v2-carousel{margin-top:12px;display:flex;gap:0;overflow:hidden;padding:6px 0;flex:1 1 auto;align-items:flex-start;justify-content:center;min-height:0}.crm-v2-carousel.is-calc-stage{align-items:center;justify-content:center}.crm-v2-carousel.is-schedule-stage,.crm-v2-carousel.is-doc-stage,.crm-v2-carousel.is-generate-stage{align-items:stretch;justify-content:stretch;padding-top:8px;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin}.crm-v2-carousel.is-generate-stage{align-items:center;justify-content:center}.crm-v2-calcItem{flex:0 1 100%;padding:0;display:flex;min-height:0;height:100%;position:relative;overflow:hidden}.crm-v2-calcItem--single{justify-content:center}.crm-v2-calcMount{width:100%;display:flex;min-height:0;height:100%;align-items:center;justify-content:center}.crm-ecalc{width:100%;display:flex;flex-direction:column;min-height:0;height:100%;align-items:center}.crm-ecalc .main-card{width:100%;max-width:1120px;left:0;transform:none;border-radius:18px;min-height:auto;height:auto;zoom:.82;background:#fffaf0;box-shadow:none}.crm-ecalc-card{box-shadow:none;border-radius:20px;overflow:hidden;background:#fffaf0;border:1px solid var(--crm-border)}.crm-ecalc-card--full{display:block}.crm-ecalc-left{flex:0 0 224px;min-width:224px}.crm-ecalc-leftCard{height:100%;margin:0;display:flex;align-items:center;justify-content:center;background:#fff}.crm-ecalc-reset{top:14px;left:14px}.crm-ecalc-reset--inline{position:static;inset:auto;flex:0 0 auto}.crm-ecalc-right{padding:10px 10px 0;display:flex;flex-direction:column;overflow-y:auto;overflow-x:hidden;min-height:0;height:100%;max-height:none;scrollbar-width:thin;scrollbar-color:transparent transparent;background:#fffaf0}.crm-ecalc-right--full{width:100%;padding:12px 16px 0}.crm-ecalc-right::-webkit-scrollbar{width:4px}.crm-ecalc-right::-webkit-scrollbar-track{background:transparent}.crm-ecalc-right::-webkit-scrollbar-thumb{background:#0000001f;border-radius:999px}.crm-ecalc-formCard{margin:0 auto;padding-top:18px;flex:0 0 auto;background:#fffaf0}.crm-ecalc-formCard--full{width:min(100%,1040px)}.crm-ecalc-headRow{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}.crm-ecalc-right .calc-heading{margin-bottom:0}.crm-ecalc-projectSelector{margin-top:0}.crm-ecalc-left .calc-left-panel-main{justify-content:center;min-height:auto}.crm-ecalc-left .calc-left-rates-toggle-wrap{margin-top:8px;margin-bottom:0;justify-content:center}.crm-ecalc-left .calc-left-rates-toggle{width:28px;height:28px}.crm-ecalc-left .calc-left-rates-toggle svg{width:20px;height:20px}.crm-ecalc-right .form-row input,.crm-ecalc-right .form-row select{font-size:16px}.crm-ecalc-right .form-row label{width:160px;font-size:16px}.crm-ecalc-right .calc-select-wrap select{font-size:16px;width:100%;max-width:none;flex:1 1 auto;display:block;box-sizing:border-box}.crm-ecalc-right .calc-select-wrap{width:min(100%,40rem);max-width:40rem;flex:1 1 auto;min-width:0;display:block;box-sizing:border-box}.crm-ecalc-right .form-row input{width:min(100%,22rem);max-width:22rem;flex:0 1 22rem}.crm-ecalc-right .pill-group,.crm-ecalc-right .circle-group{flex:0 1 18rem;max-width:18rem}.crm-ecalc-right .pill-group .option-pill,.crm-ecalc-right .circle-btn{font-size:15px}.crm-ecalc-right .calc-heading{font-size:17px}.crm-ecalc-right .advanced-toggle{font-size:15px}.crm-doc-overlay{align-items:center;justify-content:center;padding:14px 18px;opacity:0;transition:opacity .18s ease}.crm-doc-overlay.crm-doc-overlay--open{opacity:1}.crm-doc-shell{width:min(980px,calc(100vw - 32px));height:calc(100vh - 56px);max-width:100%;max-height:100%;border-radius:28px;background:radial-gradient(circle at top,#ffffffdb,#ffffffa6),linear-gradient(180deg,#f7efe1,#efe0c2);border:1px solid rgba(224,201,138,.92);box-shadow:0 24px 80px #2a1f122e;display:flex;flex-direction:column;overflow:hidden}.crm-doc-shell__topbar{position:sticky;top:0;z-index:2;padding:18px 24px;display:flex;align-items:center;justify-content:space-between;gap:18px;background:#fcf7eeeb;border-bottom:1px solid rgba(224,201,138,.8);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.crm-doc-shell__titleWrap{min-width:0}.crm-doc-shell__eyebrow{font-size:.74rem;text-transform:uppercase;letter-spacing:.12em;color:#9a8058;font-weight:700}.crm-doc-shell__title{margin:4px 0 0;font-size:1.18rem;line-height:1.2;color:#2b2320}.crm-doc-shell__actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}.crm-doc-shell__status{min-width:110px;padding:7px 12px;border-radius:999px;background:#f8eed7f2;border:1px solid rgba(224,201,138,.9);color:#6b5a43;font-size:.84rem;font-weight:600;text-align:center}.crm-doc-shell__btn{border:1px solid rgba(224,201,138,.92);border-radius:999px;padding:10px 16px;font:inherit;font-weight:700;cursor:pointer}.crm-doc-shell__btn--ghost{background:#fffaf0;color:#2b2320}.crm-doc-shell__btn--primary{background:#6b1e2a;color:#fff;border-color:#6b1e2af5}.crm-doc-shell__btn:disabled{cursor:wait;opacity:.75}.crm-doc-shell__body{flex:1 1 auto;min-height:0;overflow:auto;padding:18px 6px 24px}.crm-doc-shell__stack{width:max-content;margin:0 auto;display:flex;flex-direction:column;gap:18px}.crm-doc-generatedFrame{position:relative;margin:18px auto 28px}.crm-doc-generatedPages{margin:0;transform:none}.crm-doc-generatedPages .crm-template-pageStack{pointer-events:none}.crm-doc-page{background:#fff;border-radius:8px;box-shadow:0 8px 22px #2a1f121a;overflow:hidden;display:flex;flex-direction:column}.crm-doc-page__header{padding:10px 18px 6px;border-bottom:1px solid rgba(44,32,24,.08);display:flex;flex-direction:column;justify-content:center;gap:0}.crm-doc-page__headerImg{width:100%;height:100%;max-height:none;object-fit:contain;object-position:center center;display:block}.crm-doc-page__body{flex:1 1 auto;overflow:hidden}.crm-doc-page__content{min-height:0}.crm-doc-page__footer{display:grid;place-items:center;font-size:12px;color:#65574b}.crm-doc-block{color:#1f1916;line-height:1.68;font-size:14.5px;outline:none;padding:2px 0;border-radius:4px}.crm-doc-block+.crm-doc-block{margin-top:8px}.crm-doc-block[data-doc-editable=true]:focus{background:#f8eed759;box-shadow:0 0 0 2px #e0c98a80}.crm-doc-block[data-doc-editable=true]{cursor:text}.crm-doc-block__heading{text-align:center;font-size:18px;font-weight:800;letter-spacing:.03em}.crm-doc-block__meta{display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:13.5px;font-weight:700}.crm-doc-block__paragraph{white-space:normal;line-height:1.74}.crm-doc-block__sectionTitle{margin-bottom:8px;font-size:13px;font-weight:800;text-transform:uppercase;letter-spacing:.06em;color:#6b1e2a}.crm-doc-table{width:100%;border-collapse:collapse;font-size:14.5px;line-height:1.72;color:#000}.crm-doc-table th,.crm-doc-table td{border:1px solid #000;padding:10px 12px;vertical-align:top;background:#fff;color:#000}.crm-doc-table th{text-align:left;font-weight:700}.crm-doc-bankGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px}.crm-doc-bankCard{padding:0;background:transparent}.crm-doc-bankCard>div+div{margin-top:6px}.crm-doc-signatures{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;margin-top:10px;padding-top:26px}.crm-doc-signature{min-height:92px;display:flex;flex-direction:column;justify-content:flex-end;gap:8px}.crm-doc-signature__line{border-top:1px solid rgba(44,32,24,.48)}.crm-doc-signature__title{font-size:13px;font-weight:700;color:#6b5a43}.crm-doc-annexure{border-top:1px dashed rgba(44,32,24,.18);margin-top:8px;padding-top:14px}.crm-doc-fill,.crm-doc-label,.crm-doc-value{font-weight:700}.crm-doc-block--annexureTitle{margin-top:6px}.crm-doc-block--docTitle{margin-top:-2px;margin-bottom:10px}.crm-doc-block--annexureTitle .crm-doc-block__heading,.crm-doc-block--docTitle .crm-doc-block__heading{font-size:16px;letter-spacing:.02em}.crm-doc-block--metaRow{margin-bottom:18px}.crm-doc-block--intro{margin-bottom:12px}.crm-doc-block--intro .crm-doc-block__paragraph{line-height:1.8}.crm-doc-block--subject{margin-bottom:16px}.crm-doc-block--greeting{margin-bottom:10px}.crm-doc-clause__head{display:grid;grid-template-columns:22px 1fr;gap:8px;align-items:start;font-weight:700}.crm-doc-clause__num{text-align:right}.crm-doc-clause__title{font-weight:700}.crm-doc-clause__body{margin-top:6px;padding-left:30px;text-align:left;line-height:1.74}.crm-doc-subclause{display:grid;grid-template-columns:28px 1fr;gap:8px;align-items:start;padding-left:30px}.crm-doc-subclause__num{text-align:right;font-weight:700}.crm-doc-subclause__body{min-width:0;line-height:1.74}.crm-doc-romanList{padding-left:30px;display:grid;gap:7px}.crm-doc-romanList__item{display:grid;grid-template-columns:26px 1fr;gap:8px;align-items:start}.crm-doc-romanList__num{text-align:right;font-weight:700}.crm-doc-block--note{padding-left:30px;font-size:12.6px;line-height:1.42}.crm-doc-block--continuation{padding-left:30px}.crm-doc-block--scheduleHeading{margin-top:10px;margin-bottom:4px}.crm-doc-block--scheduleHeading .crm-doc-block__heading{font-size:15px}.crm-doc-block--scheduleColumns .crm-doc-bankCard{font-size:14.5px;line-height:1.74;color:#000}.crm-doc-block--scheduleColumns .crm-doc-block__sectionTitle{margin-bottom:10px;color:#000;text-transform:none;letter-spacing:0;font-size:14.5px}.crm-doc-block--scheduleColumns .crm-doc-bankCard>div{display:grid;grid-template-columns:108px 1fr;gap:10px;align-items:start}.crm-doc-block--tableLegal .crm-doc-table th,.crm-doc-block--tableLegal .crm-doc-table td,.crm-doc-block--tableAnnexure .crm-doc-table th,.crm-doc-block--tableAnnexure .crm-doc-table td{padding:10px 12px}.crm-doc-block--tableLegal .crm-doc-table td:first-child{width:54px}.crm-doc-block--tableLegal .crm-doc-table td:last-child{width:168px}.crm-doc-block--signatureMeta{margin-top:10px;line-height:1.6}.crm-doc-block--confirmationHeading{margin-top:26px;margin-bottom:14px}.crm-doc-block--confirmationHeading .crm-doc-block__heading{font-size:15px}.crm-doc-block--confirmationIntro{text-align:left;margin-bottom:18px}.crm-doc-block--annexureA{margin-top:22px}.crm-doc-block--annexureA .crm-doc-block__heading{font-size:15px}.crm-doc-block--annexureASub{text-align:center;margin-bottom:10px}.crm-doc-block--tableAnnexure .crm-doc-table td:first-child{width:46px}.crm-doc-block--tableAnnexure .crm-doc-table td:last-child{width:110px}.crm-doc-block--directorSign{margin-top:18px;padding-left:8px}.crm-doc-missing{position:relative;width:min(760px,calc(100% - 40px));max-height:calc(100vh - 56px);overflow:auto;border-radius:24px;background:#fffdf8;border:1px solid rgba(224,201,138,.92);box-shadow:0 20px 64px #2a1f122e;padding:28px 28px 24px}.crm-doc-missing__eyebrow{font-size:.78rem;text-transform:uppercase;letter-spacing:.12em;color:#9a8058;font-weight:700}.crm-doc-missing__title{margin:10px 0 6px;font-size:1.5rem;color:#2b2320}.crm-doc-missing__sub{margin:0;color:#6b5a43;line-height:1.5}.crm-doc-missing__groups{margin-top:20px;display:grid;gap:14px}.crm-doc-missing__group{border:1px solid rgba(224,201,138,.75);border-radius:18px;padding:16px;background:#fff9ef}.crm-doc-missing__groupHead{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.crm-doc-missing__groupStage{font-size:.76rem;text-transform:uppercase;letter-spacing:.08em;color:#9a8058;font-weight:700}.crm-doc-missing__groupSection{margin-top:2px;font-size:1rem;font-weight:800;color:#2b2320}.crm-doc-missing__jump{border:1px solid rgba(224,201,138,.92);background:#6b1e2a;color:#fff;border-radius:999px;padding:9px 14px;font:inherit;font-weight:700;cursor:pointer;white-space:nowrap}.crm-doc-missing__list{margin:14px 0 0;padding-left:18px;display:grid;gap:8px}.crm-doc-missing__list li{color:#5b4936}.crm-doc-missing__list span{display:block;color:#7f6c58;margin-top:2px}.crm-doc-missing__list strong{color:#2b2320}.crm-doc-missing-overlay{align-items:center;justify-content:center;padding:20px}@media (max-width: 960px){.crm-doc-overlay{padding:10px}.crm-doc-shell{border-radius:20px}.crm-doc-shell__topbar{padding:16px;align-items:flex-start;flex-direction:column}.crm-doc-shell__actions{width:100%;justify-content:flex-start}.crm-doc-shell__body{padding:18px 10px 26px}.crm-doc-shell__stack{transform-origin:top center;transform:scale(.86);margin-top:-44px;margin-bottom:-90px}.crm-doc-bankGrid,.crm-doc-signatures{grid-template-columns:1fr}.crm-doc-missing{width:calc(100% - 20px);padding:22px 18px 18px}.crm-doc-missing__groupHead{flex-direction:column;align-items:stretch}}.crm-ecalc-right .calc-output-placeholder,.crm-ecalc-right .calc-output-placeholder span{font-size:14px}.crm-ecalc-right .calc-rr-total-row{display:contents}.crm-ecalc-right .generate-btn{display:none!important}.crm-ecalc-placeholder{margin:10px 16px 0;text-align:center;font-size:13px}.crm-ecalc-output .output-card{margin-top:0;background:#fffaf0!important;border:1px solid var(--crm-border);box-shadow:none!important}.crm-ecalc-output{margin:18px auto 0;padding-bottom:18px;flex:0 0 auto;width:min(100%,1040px)}.crm-ecalc .calc-output-placeholder{margin:0 auto;width:min(100%,1040px)}.crm-ecalc-placeholder[hidden]{display:none!important}.crm-ecalc-output .calc-output-placeholder{margin-top:0;padding-top:18px;padding-bottom:8px}.crm-ecalc-output .ps-title{font-size:21px}.crm-ecalc-output .ps-subtitle{font-size:13px}.crm-ecalc-output .ps-meta{font-size:12px}.crm-ecalc-output .ps-section{font-size:13px}.crm-ecalc-output .ps-table{font-size:14px}.crm-ecalc-output .ps-table thead th{font-size:13px}.crm-ecalc-output .ps-table tbody td,.crm-ecalc-output .ps-table--2col .ps-key,.crm-ecalc-output .ps-table--2col .ps-val,.crm-ecalc-output .ps-grand-label,.crm-ecalc-output .ps-grand-value{font-size:14px}.crm-v2-footer{display:flex;align-items:center;gap:10px;margin-top:12px;justify-content:flex-end}.crm-v2-primaryBtn{padding:10px 14px;border-radius:999px}.crm-v2-empty{padding:20px 8px;color:#8c7a63;font-weight:700}.crm-v2-schedule{width:100%;max-width:1040px;margin:0 auto;display:flex;flex-direction:column;gap:0;min-height:0;flex:0 0 auto}.crm-v2-scheduleTop{display:flex;align-items:center;justify-content:space-between;gap:12px}.crm-v2-scheduleMeta{display:flex;flex-direction:column;gap:4px}.crm-v2-scheduleLabel{font-size:.84rem;font-weight:800;color:var(--crm-sub)}.crm-v2-schedulePrice{font-size:.94rem;color:var(--crm-text)}.crm-v2-tableAction{border:1px solid var(--crm-border);background:var(--crm-cream-accent);color:var(--crm-text);border-radius:999px;padding:8px 14px;font-weight:800;cursor:pointer}.crm-v2-scheduleTableWrap{border:1px solid rgba(224,201,138,.9);border-radius:8px;overflow:visible;background:#fffdf8;min-height:0;flex:0 0 auto;max-height:none;height:auto;padding-bottom:0;scroll-padding-bottom:0}.crm-v2-scheduleTable{width:100%;border-collapse:separate;border-spacing:0;min-width:740px;table-layout:fixed;font-family:var(--font-primary);font-size:13px}.crm-v2-scheduleTable th,.crm-v2-scheduleTable td{border-bottom:1px solid var(--border-light);padding:8px 10px;vertical-align:middle}.crm-v2-scheduleTable th:nth-child(1),.crm-v2-scheduleTable td:nth-child(1){width:34px}.crm-v2-scheduleTable th:nth-child(2),.crm-v2-scheduleTable td:nth-child(2){width:102px}.crm-v2-scheduleTable th:nth-child(3),.crm-v2-scheduleTable td:nth-child(3){width:auto}.crm-v2-scheduleTable th:nth-child(4),.crm-v2-scheduleTable td:nth-child(4){width:104px}.crm-v2-scheduleTable th:nth-child(5),.crm-v2-scheduleTable td:nth-child(5){width:82px}.crm-v2-scheduleTable th:nth-child(6),.crm-v2-scheduleTable td:nth-child(6){width:122px}.crm-v2-scheduleTable th:nth-child(7),.crm-v2-scheduleTable td:nth-child(7){width:70px}.crm-v2-scheduleTable th{position:sticky;top:0;background:#f0e8d8;color:var(--text-dark);font-size:12px;text-transform:none;letter-spacing:0;font-weight:700;border-bottom:2px solid var(--primary-gold);z-index:1}.crm-v2-scheduleTable thead tr th:first-child{border-radius:7px 0 0}.crm-v2-scheduleTable thead tr th:last-child{border-radius:0 7px 0 0}.crm-v2-scheduleRow.is-dragging{opacity:.55}.crm-v2-dragCell{width:44px;text-align:center}.crm-v2-dragHandle{border:0;background:transparent;color:var(--crm-sub);cursor:grab;font-size:1rem;letter-spacing:1px}.crm-v2-cellInput,.crm-v2-cellSelect{width:100%;height:28px;background:transparent;border:1px solid transparent;border-radius:4px;color:#3a2a10;padding:2px 7px;font-family:inherit;font-size:13px;line-height:1.2;box-sizing:border-box;display:block;transition:border-color .1s,background .1s,box-shadow .1s}.crm-v2-inputSuffixWrap{position:relative;width:100%;display:block}.crm-v2-inputSuffixWrap .crm-v2-cellInput{padding-right:28px}.crm-v2-inputSuffix{position:absolute;right:12px;top:50%;transform:translateY(-50%);font-size:13px;font-weight:500;color:var(--crm-sub);pointer-events:none;line-height:1;z-index:1}.crm-v2-cellInput:focus,.crm-v2-cellSelect:focus{outline:none;border-color:#b09060;background:#fff;box-shadow:0 0 0 2px #b090602e}.crm-v2-cellInput:hover,.crm-v2-cellSelect:hover{border-color:#b09060;background:#ffffff8c}.crm-v2-cellInput--date{min-width:104px}.crm-v2-cellInput--num{min-width:82px}.crm-v2-statusSelect{font-weight:600;cursor:pointer;border-color:#d9c19a;border-radius:6px;height:22px;padding:0 6px;margin:0 4px;width:calc(100% - 8px)}.crm-v2-statusSelect--completed{background:#e7f4e7;color:#3a6b3a;border-color:#8fbc8f}.crm-v2-statusSelect--pending{background:#f0e9d8;color:#7a5c28;border-color:#d9c19a}.crm-v2-rowActions{width:78px;text-align:center;white-space:nowrap}.crm-v2-iconBtn{width:27px;height:27px;border-radius:999px;border:1px solid rgba(160,120,64,.44);background:#fffaf059;color:var(--text-brown);cursor:pointer;font-weight:700}.crm-v2-iconBtn--danger{color:#8b3340}.crm-v2-totalRow td{background:#fbf7ef;font-weight:400;color:var(--text-brown);position:static;box-shadow:none}.crm-v2-totalRow.is-invalid td{background:#fff0f0;color:#8b2e2e}.crm-v2-docStage{width:100%;min-height:0;height:100%;display:block;overflow-y:auto;overflow-x:hidden;padding:4px 0 10px;scrollbar-width:thin}.crm-v2-generateStage{width:min(100%,760px);margin:0 auto;display:flex;flex-direction:column;gap:16px;align-self:flex-start}.crm-v2-generateTop{width:100%;display:flex;justify-content:flex-end}.crm-v2-createTemplateBtn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:34px;padding:0 13px;border-radius:9px;border:1px solid var(--crm-border);background:#fffaf1;color:var(--crm-text);font-family:"Source Sans 3",Source Sans Pro,Segoe UI,sans-serif;font-size:.9rem;font-weight:700;cursor:pointer;box-shadow:0 8px 20px #3726130f}.crm-v2-createTemplateBtn span:first-child{width:17px;height:17px;display:inline-grid;place-items:center;color:var(--crm-accent)}.crm-v2-createTemplateBtn svg{width:16px;height:16px}.crm-v2-createTemplateBtn:hover{background:#fff;border-color:#7c283947}.crm-v2-actions--documents{width:min(100%,460px);grid-template-columns:1fr;gap:12px;margin-top:0;align-self:center}.crm-v2-actions--documents .crm-v2-actionBtn{min-height:50px;border-radius:10px;background:linear-gradient(180deg,#fffaf1,#f7eddd);justify-content:flex-start;padding:10px 14px;box-shadow:0 10px 26px #37261314}.crm-v2-actions--documents .crm-v2-actionIco{width:28px;height:28px;border-radius:8px;background:#7c283914}.crm-v2-actions--documents .crm-v2-actionIco svg{width:17px;height:17px}.crm-v2-remarksBubble{position:fixed;z-index:1400;max-height:min(70vh,520px);min-width:280px;border-radius:18px;border:1px solid rgba(196,169,106,.55);background:linear-gradient(#fffaf3f7,#fffaf3f7),url(../assets/background2.jpg) center/220px auto repeat;box-shadow:0 24px 60px #2a1f0e2e;overflow:hidden}.crm-v2-remarksBubble:before{content:"";position:absolute;left:-10px;top:28px;width:18px;height:18px;background:#fff9f0;border-left:1px solid rgba(196,169,106,.55);border-bottom:1px solid rgba(196,169,106,.55);transform:rotate(45deg)}.crm-v2-remarksBubble--left:before{left:auto;right:-10px;border-left:none;border-bottom:none;border-right:1px solid rgba(196,169,106,.55);border-top:1px solid rgba(196,169,106,.55)}.crm-v2-remarksBubble__toolbar{min-height:28px;padding:10px 12px 0}.crm-v2-remarksBubble__title{font-family:var(--font-primary);font-size:.96rem;font-weight:600;color:#3a2512;line-height:1.15}.crm-v2-remarksBubble__title span{display:block;margin-top:2px;font-size:.84rem;font-weight:400;color:#7f6546}.crm-v2-remarksBubble__body{max-height:min(60vh,440px);overflow-y:auto;padding:8px 12px 12px;display:flex;flex-direction:column;gap:10px;overscroll-behavior:contain}.crm-v2-remarksBubble__loading,.crm-v2-remarksBubble__empty{padding:10px 8px;font-family:"Source Sans 3",sans-serif;font-size:.88rem;color:#8b7659}.crm-v2-remarksNote{border:1px solid rgba(196,169,106,.28);border-radius:12px;background:#ffffffc7;padding:9px 10px}.crm-v2-remarksNote__time{color:#8b7659;font-size:.76rem;line-height:1.2;margin-bottom:5px}.crm-v2-remarksNote__body{color:#3e2a18;font-size:.9rem;line-height:1.35;white-space:pre-wrap}.crm-v2-docForm{min-height:0;overflow:visible}.crm-v2-docForm{display:flex;flex-direction:column;gap:14px;width:min(100%,940px);margin:0 auto}.crm-v2-docWizard{width:min(100%,980px);margin:0 auto;display:grid;grid-template-columns:220px minmax(0,1fr);gap:18px;align-items:start}.crm-v2-docRail{display:flex;flex-direction:column;gap:10px;position:sticky;top:0}.crm-v2-docRailItem{border:1px solid rgba(224,201,138,.7);border-radius:16px;background:#fffdf8;padding:12px 14px;display:grid;grid-template-columns:28px 1fr;gap:12px;align-items:center;text-align:left;cursor:pointer;transition:border-color .16s ease,background .16s ease,transform .16s ease}.crm-v2-docRailItem:hover{border-color:#e0c98af2;background:#fdf8ed}.crm-v2-docRailItem.is-active{background:var(--crm-cream-2);border-color:var(--crm-border);box-shadow:0 8px 20px #b69b5f14}.crm-v2-docRailItem.is-done .crm-v2-docRailDot{background:#84b08a;border-color:#84b08a;color:#fff}.crm-v2-docRailDot{width:28px;height:28px;border-radius:999px;border:1px solid var(--crm-border);display:grid;place-items:center;font-size:.86rem;font-weight:800;color:var(--crm-sub);background:#fffdfa}.crm-v2-docRailBody{display:flex;flex-direction:column;gap:2px;min-width:0}.crm-v2-docRailTitle{font-size:.9rem;font-weight:400;color:var(--crm-text)}.crm-v2-docRailSub{font-size:.74rem;color:var(--crm-sub);line-height:1.3}.crm-v2-docPane{min-width:0}.crm-v2-docSection{border:1px solid var(--crm-border);border-radius:18px;background:#fffdf8;padding:16px}.crm-v2-docSection--wizard{min-height:100%}.crm-v2-docSectionHead{font-family:Playfair Display,Georgia,serif;font-size:1rem;font-weight:700;color:var(--crm-text);margin-bottom:4px}.crm-v2-docSectionSub{font-size:.82rem;color:var(--crm-sub);margin-bottom:14px}.crm-v2-docGrid{display:grid;gap:12px}.crm-v2-docGrid--two,.crm-v2-docGrid--three{grid-template-columns:1fr}.crm-v2-docField{display:grid;grid-template-columns:156px minmax(0,1fr);gap:8px;align-items:center;min-width:0}.crm-v2-docField--full{grid-column:1 / -1}.crm-v2-docField span{font-size:.9rem;font-weight:500;color:var(--crm-text);letter-spacing:0;text-transform:none}.crm-v2-docField input,.crm-v2-docField textarea{width:100%;border:1px solid rgba(224,201,138,.9);border-radius:14px;background:#fffdfa;color:var(--crm-text);padding:10px 12px;font-size:.94rem;line-height:1.35;resize:vertical}.crm-v2-docField textarea{min-height:92px}.crm-v2-docField:has(textarea){align-items:start}.crm-v2-docField input[readonly]{background:#f8f2e5;color:#6f5d49}.crm-v2-docField input:focus,.crm-v2-docField textarea:focus{outline:2px solid rgba(224,201,138,.45);outline-offset:1px}@media (max-width: 980px){.crm-v2-grid{grid-template-columns:1fr}.crm-v2-actions{grid-template-columns:1fr 1fr}.crm-v2-stageTabs{overflow-x:auto;justify-content:flex-start;scrollbar-width:none}.crm-v2-stageTabs::-webkit-scrollbar{display:none}.crm-v2-stageTab{flex:0 0 auto;white-space:nowrap}.crm-v2-docWizard{grid-template-columns:1fr}.crm-v2-docRail{position:static}}@media (max-width: 560px){.crm-v2-actions,.crm-v2-docGrid--two,.crm-v2-docGrid--three{grid-template-columns:1fr}.crm-v2-docField{grid-template-columns:1fr;gap:6px}}.crm-table-wrap{overflow-x:auto;overflow-y:visible;padding:0 4px 12px}.crm-table{width:100%;border-collapse:separate;border-spacing:0;font-size:.875rem}.crm-th{position:sticky;top:0;z-index:10;background:#f5ede0;font-family:var(--font-primary);font-size:.78rem;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:#7a6048;padding:10px 14px;text-align:left;border-bottom:1px solid #e0c98a;white-space:nowrap}.crm-th:first-child{padding-left:18px}.crm-row{cursor:pointer;transition:background .12s}.crm-row:hover{background:#faf5eb}.crm-row:nth-child(2n){background:#fdfaf6}.crm-row:nth-child(2n):hover{background:#faf5eb}.crm-td{padding:12px 14px;border-bottom:1px solid #f0e6d2;vertical-align:middle;color:#3d2e1e}.crm-td:first-child{padding-left:18px}.crm-td--name{min-width:160px}.crm-td--amount{font-weight:600;color:#5a3e28}.crm-name{font-weight:600;font-family:var(--font-primary);color:#3d2e1e;font-size:.9rem}.crm-phone{font-size:.8rem;color:#9b8770;margin-top:2px}.crm-sub{font-size:.78rem;color:#9b8770}.crm-status{display:inline-block;font-size:.75rem;padding:3px 8px;border-radius:20px;font-weight:600;white-space:nowrap}.crm-status--ok{background:#e2f0e2;color:#3b7a3b;border:1px solid #b8d9b8}.crm-status--pending{background:#fef3e2;color:#a06a20;border:1px solid #f0d5a0}.crm-detail-topbar{display:flex;align-items:center;gap:14px;padding:18px 22px 14px;border-bottom:1px solid #ede3ce;flex-shrink:0}.crm-back-btn{display:flex;align-items:center;gap:5px;font-size:.82rem;padding:7px 13px;white-space:nowrap}.crm-detail-title{margin:0;font-family:var(--font-primary);font-size:1.2rem;color:#3d2e1e;font-weight:700}.crm-tabs{display:flex;gap:0;padding:0 18px;border-bottom:1px solid #ede3ce;background:#fdfaf6;overflow-x:auto}.crm-tab{background:none;border:none;border-bottom:2px solid transparent;padding:11px 18px;font-family:var(--font-primary);font-size:.85rem;color:#9b8770;cursor:pointer;white-space:nowrap;transition:color .15s,border-color .15s;margin-bottom:-1px}.crm-tab:hover{color:#5a3e28}.crm-tab--active{color:#5a3e28;border-bottom-color:#c8962a;font-weight:600}.crm-template-page{padding:calc(85px - var(--space-lg)) 0 0;box-sizing:border-box}body:has(.crm-template-page){overflow-y:auto}body.app-focus-route .top-banner{display:none}body.app-focus-route{--crm-template-shell-gap: clamp(10px, 1vw, 14px);overflow:hidden}body.app-focus-route #app{height:100dvh;overflow:hidden;position:relative;overscroll-behavior:none}body.app-focus-route .crm-template-page{height:100dvh;min-height:100dvh;padding:0;display:block;box-sizing:border-box;overflow:hidden}.crm-template-shell{width:min(100vw - 64px,1500px);margin:0 auto;border:1px solid #e0c98a;border-radius:18px;background:#f8fafd;box-shadow:var(--shadow-elevated),var(--shadow-soft);overflow:hidden}body.app-focus-route .crm-template-shell{position:fixed;inset:var(--crm-template-shell-gap);width:auto;max-width:none;height:auto;min-height:0;margin:0;box-sizing:border-box;border:1px solid #e0c98a;border-radius:30px;box-shadow:var(--shadow-elevated),var(--shadow-soft);display:flex;flex-direction:column}.crm-template-topbar{min-height:44px;padding:6px 18px 2px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;border-bottom:0;background:#f8fafd}.crm-template-back,.crm-template-save{border:1px solid transparent;border-radius:999px;background:#c2e7ff;color:#2b2320;font-family:"Source Sans 3",Source Sans Pro,Segoe UI,sans-serif;font-size:13px;font-weight:600;min-height:36px;padding:0 18px;cursor:pointer}.crm-template-back{width:34px;min-height:34px;padding:0;background:#e8eef7;font-size:22px}.crm-template-titleBlock{display:flex;align-items:center;gap:10px;min-width:0}.crm-template-name{width:min(380px,42vw);height:30px;border:1px solid transparent;border-radius:4px;background:transparent;padding:0 8px;font:500 18px "Source Sans 3",Source Sans Pro,Segoe UI,sans-serif}.crm-template-name:hover,.crm-template-name:focus{border-color:#c6cbd3;background:#fff;outline:none}.crm-template-menubar{display:flex;align-items:center;gap:4px;padding:0;background:#f8fafd}.crm-template-menubar button{border:0;background:transparent;border-radius:4px;padding:4px 8px;color:#202124;font:13px "Source Sans 3",Source Sans Pro,Segoe UI,sans-serif;cursor:pointer}.crm-template-menubar button:hover{background:#e8eef7}.crm-template-menubar .crm-template-toolGroup button{min-width:28px;min-height:28px;border:0;border-radius:10px;padding:0 8px;display:inline-flex;align-items:center;justify-content:center;color:#202124;font:700 13px "Source Sans 3",Source Sans Pro,Segoe UI,sans-serif;cursor:pointer}.crm-template-menubar .crm-template-toolGroup button:hover{background:#dfe6f1}.crm-template-menuDropdown{position:fixed;z-index:10030;min-width:190px;padding:7px;border:1px solid rgba(193,202,214,.92);border-radius:12px;background:#fffffffa;box-shadow:0 18px 44px #1f293733}.crm-template-menuDropdown button{position:relative;display:grid;grid-template-columns:22px 1fr auto;align-items:center;gap:9px;width:100%;min-height:34px;border:0;border-radius:9px;background:transparent;color:#202124;font:700 13px "Source Sans 3",Source Sans Pro,Segoe UI,sans-serif;text-align:left;cursor:pointer;padding:0 10px}.crm-template-menuDropdown button:hover{background:#edf2fa}.crm-template-menuDropdown .crm-template-icon{width:16px;height:16px;stroke-width:1.45}.crm-template-menuItem--submenu i{color:#6f7885;font-style:normal}.crm-template-toolbar{--template-toolbar-radius: 14px;--template-toolbar-inner-radius: 12px;width:calc(100% - 28px);min-height:44px;margin:0 14px 6px;padding:5px 10px;display:flex;align-items:center;gap:5px;flex-wrap:wrap;border:0;border-radius:24px;background:#edf2fa}.crm-template-toolGroup{display:inline-flex;align-items:center;gap:2px;min-height:34px;padding:2px;border-radius:var(--template-toolbar-radius);background:#ffffff7a;box-shadow:inset 0 0 0 1px #bec9d8b3}.crm-template-toolGroup button,.crm-template-toolGroup .crm-template-fontSize,.crm-template-toolGroup .crm-template-colorButton{flex:0 0 auto}.crm-template-typeControls{gap:1px}.crm-template-typeControls button{padding-left:7px;padding-right:7px}.crm-template-toolbar button,.crm-template-toolbar select,.crm-template-fontButton,.crm-template-fontSize{min-height:30px;border:0;border-radius:var(--template-toolbar-inner-radius);background:transparent;color:#202124;font:600 13px "Source Sans 3",Source Sans Pro,Segoe UI,sans-serif;padding:0 8px}.crm-template-toolbar button{display:inline-flex;align-items:center;justify-content:center;min-width:30px;cursor:pointer;position:relative}.crm-template-toolGroup button{border-radius:var(--template-toolbar-inner-radius)}.crm-template-toolbar button:hover,.crm-template-toolbar select:hover,.crm-template-fontButton:hover{background:#dfe6f1}.crm-template-toolbar button:disabled{opacity:.4;cursor:default}.crm-template-toolbar button:disabled:hover{background:transparent}.crm-template-toolbar button.crm-template-toolbarActive{border-radius:var(--template-toolbar-inner-radius);background:#d4e3f7;color:#111827}.crm-template-toolbar [data-action=variableHighlighter]{margin-left:auto;white-space:nowrap;gap:6px;padding-inline:10px}.crm-template-toolbar [data-tooltip]:after{content:attr(data-tooltip);position:absolute;left:50%;top:calc(100% + 7px);z-index:10040;transform:translate(-50%);white-space:nowrap;border-radius:7px;background:#202124f0;color:#fff;font:700 11px "Source Sans 3",Source Sans Pro,Segoe UI,sans-serif;padding:4px 7px;opacity:0;pointer-events:none;transition:opacity .04s linear}.crm-template-toolbar [data-tooltip]:hover:after,.crm-template-toolbar [data-tooltip]:focus-visible:after{opacity:1}.crm-template-toolbar select{border-left:0;border-radius:var(--template-toolbar-inner-radius)}.crm-template-toolbar select:focus,.crm-template-fontButton:focus-visible,.crm-template-fontSize:focus{outline:1.25px solid #1a73e8;outline-offset:1px}.crm-template-toolbar select option{font-size:14px}.crm-template-fontPicker{position:relative;display:inline-flex;align-items:center;flex:0 0 202px;width:202px;min-height:34px;padding:2px;border-radius:var(--template-toolbar-radius);background:#ffffff7a;box-shadow:inset 0 0 0 1px #bec9d8b3}.crm-template-fontButton{width:100%;min-width:0;justify-content:space-between;gap:12px;border-left:0;border-radius:var(--template-toolbar-inner-radius);text-align:left}#templateFontLabel{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left}#templatePageSize{min-height:34px;padding:0 11px;border-radius:var(--template-toolbar-radius);background:#ffffff7a;box-shadow:inset 0 0 0 1px #bec9d8b3}.crm-template-fontMenu{position:absolute;left:0;top:calc(100% + 8px);z-index:30;width:205px;max-height:min(420px,52vh);overflow:auto;padding:6px;border:1px solid rgba(167,176,190,.78);border-radius:13px;background:#363a3adb;box-shadow:0 18px 46px #00000047;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);scrollbar-width:thin;scrollbar-color:rgba(220,224,228,.56) transparent}.crm-template-fontMenu::-webkit-scrollbar{width:7px;height:7px;background:transparent}.crm-template-fontMenu::-webkit-scrollbar-track{background:transparent}.crm-template-fontMenu::-webkit-scrollbar-thumb{border-radius:999px;background:#dce0e48f}.crm-template-fontMenu::-webkit-scrollbar-corner{background:transparent}.crm-template-fontMenu[hidden]{display:none}.crm-template-fontMenu button{width:100%;min-height:27px;justify-content:flex-start;border-radius:8px;color:#fff;font-size:13.5px;font-weight:500;text-align:left;padding:0 9px}.crm-template-fontMenu button:hover,.crm-template-fontMenu button.is-selected{background:#5c99e7f2}.crm-template-fontSize{width:32px;text-align:center;background:#fff;border:1px solid #c6cbd3;border-radius:var(--template-toolbar-inner-radius);padding:0 4px}.crm-template-colorInput{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.crm-template-colorButton{flex-direction:column;gap:0;min-width:30px;font-weight:700;line-height:1}.crm-template-colorButton span{font-size:15px;line-height:.9}.crm-template-colorButton i{width:18px;height:3px;margin-top:0;border-radius:999px;background:#181512}.crm-template-zoomGroup{min-height:30px;display:inline-flex;align-items:center;gap:5px;margin-left:6px;padding:0;border-radius:0;background:transparent;box-shadow:none}.crm-template-zoomSlider{width:74px;accent-color:#9fbce3}.crm-template-zoomLabel{min-width:32px;color:#465468;font:700 12px "Source Sans 3",Source Sans Pro,Segoe UI,sans-serif}.crm-template-icon{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.55;stroke-linecap:round;stroke-linejoin:round}.crm-template-toolbar [data-action=formatPainter] .crm-template-icon,.crm-template-toolbar [data-action=table] .crm-template-icon{width:20px;height:20px;stroke-width:1.65}.crm-template-fileInput{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.crm-template-tableWrap{position:relative;display:inline-flex}.crm-template-tablePicker{position:absolute;top:calc(100% + 8px);left:0;z-index:10050;display:none;min-width:max-content;padding:10px;border:1px solid #cbd3df;border-radius:10px;background:#fff;box-shadow:0 10px 28px #1e283229;will-change:width,height;transition:width .2s cubic-bezier(.2,.8,.2,1),height .2s cubic-bezier(.2,.8,.2,1)}.crm-template-tablePicker--open{display:block}.crm-template-tablePicker--menu{left:calc(100% + 8px);top:-7px}.crm-template-tablePickerGrid{display:grid;grid-template-columns:repeat(var(--table-picker-cols, 6),18px);gap:4px}.crm-template-tablePicker button{width:18px;min-width:18px;height:18px;min-height:18px;border:1px solid #cbd3df;border-radius:3px;background:#f8fafd;padding:0}.crm-template-tablePicker button:hover,.crm-template-tablePicker button.is-active{border-color:#c8962a;background:#f4e5bf}.crm-template-tablePickerLabel{display:block;margin-top:8px;border-radius:7px;background:#202124;color:#fff;font:800 12px "Source Sans 3",Source Sans Pro,Segoe UI,sans-serif;text-align:center;padding:3px 8px}.crm-template-separator{width:1px;height:24px;background:#cbd3df;margin:0 4px}.crm-template-modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:10020;display:grid;place-items:center;background:#231e166b;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.crm-template-modal[hidden]{display:none}.crm-template-modalCard{position:relative;width:min(410px,calc(100vw - 36px));border:1px solid rgba(196,169,106,.72);border-radius:26px;background:#fdf8f0;box-shadow:var(--shadow-elevated, 0 26px 80px rgba(34, 28, 18, .28));padding:11px;overflow:hidden}.crm-template-modalCard--compact{width:min(360px,calc(100vw - 36px))}.crm-template-modalCard--headerBuilder{width:min(1040px,calc(100vw - 36px));max-height:calc(100vh - 28px);overflow-y:auto}.crm-template-modalCard:before{content:"";position:absolute;top:10px;right:10px;bottom:10px;left:10px;border:1px solid rgba(224,201,138,.76);border-radius:20px;pointer-events:none;z-index:1}.crm-template-modalCard:after{content:"";position:absolute;top:11px;right:11px;bottom:11px;left:11px;border-radius:19px;background:linear-gradient(#fdf8f0db,#fdf8f0db),url(/assets/background2-mXjhOr4z.jpg) center/220px auto repeat;z-index:0}.crm-template-modalCard>*{position:relative;z-index:2}.crm-template-modalTitle{margin:22px 28px 16px;color:#1a1208;font-family:Playfair Display,Georgia,Times New Roman,serif;font-size:20px;font-weight:400;line-height:1.12;letter-spacing:0}.crm-template-modalGrid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px 12px;padding:0 26px}.crm-template-modalGrid label{display:grid;min-width:0;gap:8px;color:#2a1f0e;font-family:Playfair Display,Georgia,Times New Roman,serif;font-size:14px;font-weight:400;line-height:1.1;letter-spacing:0}.crm-template-modalGrid label:last-child{grid-column:1 / -1}.crm-template-modalGrid input,.crm-template-modalGrid select{width:100%;min-width:0;box-sizing:border-box;height:42px;border:1px solid rgba(196,169,106,.6);border-radius:13px;background:#faf8f3eb;color:var(--text-brown, #2a1f0e);font-family:"Source Sans 3",Source Sans Pro,Segoe UI,sans-serif;font-size:15px;font-weight:500;line-height:1;padding:0 13px;outline:none;box-shadow:inset 0 1px #ffffff9e;transition:border-color .15s ease,background .15s ease,box-shadow .15s ease}.crm-template-modalGrid input:focus,.crm-template-modalGrid select:focus{border-color:var(--primary-gold, #c9a34f);background:#fffdf8;box-shadow:0 0 0 3px #e0c98a38,inset 0 1px #ffffffb3}.crm-template-modalActions{margin:20px 26px 24px auto;width:min(320px,calc(100% - 52px));display:grid;grid-template-columns:repeat(auto-fit,minmax(86px,1fr));gap:8px}.crm-template-modalActions button{width:100%;min-height:36px;border:1px solid rgba(196,169,106,.62);border-radius:14px;background:#fffbf2db;color:#2a1f0e;font-family:Playfair Display,Georgia,Times New Roman,serif;font-size:14px;font-weight:400;line-height:1;padding:0 12px;cursor:pointer;box-shadow:inset 0 1px #ffffff94,var(--shadow-button, 0 6px 16px rgba(54, 38, 18, .08));transition:transform .15s ease,background .15s ease,box-shadow .15s ease}.crm-template-modalActions button:hover{transform:translateY(-1px);background:#f6ead1f0}.crm-template-modalActions button:last-child{border-color:var(--primary-gold, #c9a34f);background:linear-gradient(#ecd29ae0,#ecd29ae0),url(/assets/white%20pattern-qop3YNpn.png) center/360px auto repeat;color:#1a1208}.crm-template-headerBuilder{display:grid;grid-template-columns:minmax(280px,360px) minmax(0,1fr);gap:26px;align-items:start;padding:0 28px 6px}.crm-template-headerBuilderControls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;align-content:start}.crm-template-headerBuilderControls label{display:grid;gap:6px;color:#4c3821;font:850 11px/1.2 "Source Sans 3",Source Sans Pro,Segoe UI,sans-serif;text-transform:uppercase;letter-spacing:.045em}.crm-template-headerBuilderControls label:has(textarea),.crm-template-headerBuilderControls label:first-child,.crm-template-headerBuilderControls .crm-template-headerBuilderLibrary,.crm-template-headerBuilderControls .crm-template-headerBuilderLibraryActions,.crm-template-headerBuilderControls .crm-template-headerBuilderFileRow{grid-column:1 / -1}.crm-template-headerBuilderControls .crm-template-headerBuilderCheck{display:flex;align-items:center;gap:9px;min-height:34px;border:1px solid rgba(196,169,106,.36);border-radius:8px;background:#fffcf6bd;padding:0 10px;grid-column:1 / -1;color:#4c3821;text-transform:none;letter-spacing:0}.crm-template-headerBuilderControls input,.crm-template-headerBuilderControls textarea,.crm-template-headerBuilderControls select{width:100%;min-width:0;box-sizing:border-box;border:1px solid rgba(196,169,106,.58);border-radius:9px;background:#fffcf6f0;color:#24180d;font:650 13px/1.25 "Source Sans 3",Source Sans Pro,Segoe UI,sans-serif;padding:9px 10px;outline:none;box-shadow:inset 0 1px #ffffffb8;transition:border-color .14s ease,background .14s ease,box-shadow .14s ease}.crm-template-headerBuilderControls input:focus,.crm-template-headerBuilderControls textarea:focus,.crm-template-headerBuilderControls select:focus{border-color:#bc8f2ae6;background:#fffdf9;box-shadow:0 0 0 3px #d2b2652e,inset 0 1px #ffffffdb}.crm-template-headerBuilderControls .crm-template-headerBuilderCheck input{width:16px;min-width:16px;height:16px;padding:0;box-shadow:none;accent-color:#c69b35}.crm-template-headerBuilderControls input[type=color]{height:38px;padding:4px}.crm-template-headerBuilderControls textarea{min-height:68px;resize:vertical}.crm-template-headerBuilderFileRow{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.crm-template-headerBuilderLibraryActions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.crm-template-headerBuilderFileRow button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:34px;border:1px solid rgba(196,169,106,.58);border-radius:9px;background:#fffcf6f0;color:#51381f;font:800 13px/1 "Source Sans 3",Source Sans Pro,Segoe UI,sans-serif;padding:0 12px;cursor:pointer;transition:border-color .14s ease,background .14s ease,box-shadow .14s ease,transform .14s ease}.crm-template-headerBuilderLibraryActions button{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:32px;border:1px solid rgba(196,169,106,.48);border-radius:9px;background:#fffcf6e6;color:#51381f;font:850 11px/1 "Source Sans 3",Source Sans Pro,Segoe UI,sans-serif;padding:0 7px;cursor:pointer;transition:border-color .14s ease,background .14s ease,box-shadow .14s ease,transform .14s ease}.crm-template-headerBuilderLibraryActions button svg,.crm-template-headerBuilderFileRow button svg{width:14px;height:14px;stroke-width:2.1;flex:0 0 auto}.crm-template-headerBuilderLibraryActions button:hover,.crm-template-headerBuilderFileRow button:hover{border-color:#bc8f2ad1;background:#fff8e8f5;box-shadow:0 7px 16px #43351f17;transform:translateY(-1px)}.crm-template-headerBuilderLibrary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:150px;overflow:auto;padding:2px 2px 3px;scrollbar-width:thin}.crm-template-headerBuilderLibraryCard{min-width:0;border:1px solid rgba(196,169,106,.34);border-radius:8px;background:#fffdf8f0;color:#4b3928;cursor:pointer;padding:8px;text-align:left;transition:border-color .14s ease,box-shadow .14s ease,transform .14s ease,background .14s ease}.crm-template-headerBuilderLibraryCard:hover{border-color:#c4a96ac2;box-shadow:0 8px 18px #43351f1a;transform:translateY(-1px)}.crm-template-headerBuilderLibraryCard.is-selected{border-color:#bc8f2af2;background:#fff8e6fc;box-shadow:inset 0 0 0 1px #bc8f2a38,0 8px 18px #43351f14}.crm-template-headerBuilderLibraryPreview{display:block;overflow:hidden;border:1px solid rgba(67,53,31,.1);border-radius:6px;background:linear-gradient(180deg,#fffaf3,#fff);padding:5px 8px}.crm-template-headerBuilderLibraryName{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:6px;font:800 12px/1.1 "Source Sans 3",Source Sans Pro,Segoe UI,sans-serif}.crm-template-headerBuilderThumbCanvas{position:relative;width:100%;overflow:hidden}.crm-template-headerBuilderThumbBlock{position:absolute;overflow:hidden;box-sizing:border-box;line-height:1.12;white-space:nowrap}.crm-template-headerBuilderThumbBlock img{display:block;width:100%;height:100%;object-fit:contain}.crm-template-headerBuilderPreviewWrap{display:flex;justify-content:center;min-width:0;border:1px solid rgba(196,169,106,.32);border-radius:16px;background:linear-gradient(180deg,#f6f1e7bd,#eef1f2c7),repeating-linear-gradient(0deg,rgba(117,96,62,.045) 0 1px,transparent 1px 18px),repeating-linear-gradient(90deg,rgba(117,96,62,.035) 0 1px,transparent 1px 18px);padding:22px}.crm-template-headerBuilderPage{width:min(100%,560px);min-height:360px;border:1px solid rgba(143,122,86,.18);background:#fff;box-shadow:0 22px 48px #231e1629}.crm-template-headerBuilderPreview{overflow:hidden;border-bottom:1px solid rgba(196,169,106,.34);background:linear-gradient(180deg,#fffaf3f5,#fff 78%),repeating-linear-gradient(90deg,rgba(188,143,42,.08) 0 1px,transparent 1px 36px);padding:18px 34px 12px;box-sizing:border-box}.crm-template-headerBuilderCanvas{position:relative;width:100%;overflow:hidden}.crm-template-headerBuilderGuide{position:absolute;pointer-events:none;opacity:0;z-index:1;transition:opacity .12s ease}.crm-template-headerBuilderGuide--v{top:0;bottom:0;left:50%;border-left:1px dashed rgba(188,143,42,.58)}.crm-template-headerBuilderGuide--h{left:0;right:0;top:50%;border-top:1px dashed rgba(188,143,42,.58)}.crm-template-headerBuilderPreview.is-guiding .crm-template-headerBuilderGuide{opacity:1}.crm-template-headerBuilderBlock{position:absolute;box-sizing:border-box;overflow:hidden;border:1px solid transparent;border-radius:6px;cursor:move;line-height:1.18;-webkit-user-select:none;user-select:none;touch-action:none;z-index:2}.crm-template-headerBuilderBlock:hover{border-color:#bc8f2abd;background:#fff8ea75;box-shadow:0 0 0 2px #d2b26524}.crm-template-headerBuilderBlock img{width:100%;height:100%;object-fit:contain;display:block}.crm-template-headerBuilderResize{position:absolute;right:2px;bottom:2px;width:11px;height:11px;border-radius:3px;border-right:2px solid rgba(116,82,38,.9);border-bottom:2px solid rgba(116,82,38,.9);background:#fffdf8db;cursor:nwse-resize;opacity:0;box-shadow:0 2px 6px #261c0e24}.crm-template-headerBuilderBlock:hover .crm-template-headerBuilderResize{opacity:1}.crm-template-headerBuilderPreview p{margin:0}.crm-template-headerBuilderPreview img{max-height:54px;object-fit:contain}@media (max-width: 560px){.crm-template-modalCard{width:min(380px,calc(100vw - 24px))}.crm-template-headerBuilder{grid-template-columns:1fr}.crm-template-modalTitle,.crm-template-modalActions{margin-left:22px;margin-right:22px}.crm-template-modalActions{width:auto}.crm-template-modalGrid{grid-template-columns:1fr;padding:0 22px}}.crm-template-layout{--template-side-width: 560px;display:grid;grid-template-columns:minmax(0,1fr) 8px var(--template-side-width);min-height:calc(100vh - 230px);min-height:0}body.app-focus-route .crm-template-layout{flex:1;min-height:0;overflow:hidden}.crm-template-workspace{padding:28px;overflow:auto;overflow-anchor:none;background:#eef3f8}body.app-focus-route .crm-template-workspace{padding:34px 42px 14px;overscroll-behavior:contain}.crm-template-pagesFrame{position:relative;margin:0 auto;width:var(--template-frame-width, 794px);height:var(--template-frame-height, 1123px);overflow:visible;overflow-anchor:none}.crm-template-pages{--template-page-width: 794px;--template-page-height: 1123px;--template-header-height: 128px;--template-footer-height: 88px;--template-page-scale: 1;--template-page-gap: 28px;--template-margin-left: 64px;--template-margin-right: 64px;--template-margin-top: 64px;--template-margin-bottom: 64px;--template-margin-right-x: 730px;--template-margin-bottom-y: 1059px;position:relative;width:var(--template-page-width);min-height:var(--template-page-height);margin:0;transform:scale(var(--template-page-scale));transform-origin:top left;overflow-anchor:none}.crm-template-ruler{position:absolute;z-index:8;pointer-events:auto;-webkit-user-select:none;user-select:none}.crm-template-ruler--top{left:0;top:-18px;width:var(--template-page-width);height:12px;border-bottom:1px solid rgba(104,112,124,.28);background:repeating-linear-gradient(to right,rgba(104,112,124,.28) 0,rgba(104,112,124,.28) 1px,transparent 1px,transparent 28px)}.crm-template-ruler--left{left:-20px;top:0;width:12px;height:var(--template-page-height);border-right:1px solid rgba(104,112,124,.28);background:repeating-linear-gradient(to bottom,rgba(104,112,124,.28) 0,rgba(104,112,124,.28) 1px,transparent 1px,transparent 28px)}.crm-template-marginMarker{position:absolute;width:22px;height:22px;border:0;padding:0;background:transparent;cursor:grab;transform:translate(-50%)}.crm-template-marginMarker:before{content:"";position:absolute;top:3px;right:3px;bottom:3px;left:3px;background:#e5bd5b;border:1px solid #b98b25;box-shadow:0 1px 4px #50370a2e}.crm-template-marginMarker--dragging{cursor:grabbing}.crm-template-marginMarker--left,.crm-template-marginMarker--right{top:-4px}.crm-template-marginMarker--left{left:var(--template-margin-left)}.crm-template-marginMarker--right{left:var(--template-margin-right-x)}.crm-template-marginMarker--left:before,.crm-template-marginMarker--right:before{clip-path:polygon(50% 100%,0 8%,100% 8%)}.crm-template-marginMarker--top,.crm-template-marginMarker--bottom{left:-2px;transform:translateY(-50%)}.crm-template-marginMarker--top{top:var(--template-margin-top)}.crm-template-marginMarker--bottom{top:var(--template-margin-bottom-y)}.crm-template-marginMarker--top:before,.crm-template-marginMarker--bottom:before{clip-path:polygon(100% 50%,8% 0,8% 100%)}.crm-template-marginMenu{position:fixed;z-index:10000;min-width:170px;padding:5px;border:1px solid rgba(193,202,214,.92);border-radius:12px;background:#fffffffa;box-shadow:0 14px 34px #1f29372e}.crm-template-marginMenu button{width:100%;min-height:34px;border:0;border-radius:9px;background:transparent;color:#202124;font:700 13px "Source Sans 3",Source Sans Pro,Segoe UI,sans-serif;text-align:left;cursor:pointer;padding:0 10px}.crm-template-marginMenu button:hover{background:#edf2fa}.crm-template-contextMenu{position:fixed;z-index:10010;min-width:206px;max-height:min(72vh,560px);overflow:auto;scrollbar-width:thin;scrollbar-color:rgba(143,150,160,.62) transparent;padding:6px;border:1px solid rgba(193,202,214,.92);border-radius:12px;background:#fffffffa;box-shadow:0 18px 44px #1f293733}.crm-template-contextMenu::-webkit-scrollbar{width:7px;height:7px;background:transparent}.crm-template-contextMenu::-webkit-scrollbar-track{background:transparent}.crm-template-contextMenu::-webkit-scrollbar-thumb{border-radius:999px;background:#8f96a09e}.crm-template-contextMenu::-webkit-scrollbar-corner{background:transparent}.crm-template-contextMenu button{display:block;width:100%;min-height:32px;border:0;border-radius:9px;background:transparent;color:#202124;font:400 13px "Source Sans 3",Source Sans Pro,Segoe UI,sans-serif;text-align:left;padding:0 10px;cursor:pointer}.crm-template-contextMenu button:hover:not(:disabled){background:#edf2fa}.crm-template-contextMenu button:disabled{opacity:.42;cursor:default}.crm-template-contextMenuDivider{display:block;height:1px;margin:5px 4px;background:#e0e6ef}.crm-template-cellColorMenu{position:fixed;z-index:10060;width:190px;padding:10px;border:1px solid rgba(193,202,214,.92);border-radius:12px;background:#fffffffa;box-shadow:0 18px 44px #1f293733}.crm-template-cellColorTitle{margin:0 0 8px;color:#202124;font:600 12px "Source Sans 3",Source Sans Pro,Segoe UI,sans-serif}.crm-template-cellColorGrid{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin-bottom:9px}.crm-template-cellColorGrid button{width:100%;min-width:0;height:28px;border:1px solid rgba(193,202,214,.92);border-radius:7px;background:var(--cell-color);cursor:pointer}.crm-template-cellColorGrid button:hover{box-shadow:0 0 0 2px #4a90e23d}.crm-template-cellColorCustom{display:grid;grid-template-columns:1fr 34px 50px;align-items:center;gap:7px;color:#5f6368;font:500 12px "Source Sans 3",Source Sans Pro,Segoe UI,sans-serif}.crm-template-cellColorCustom input{width:34px;height:28px;border:1px solid rgba(193,202,214,.92);border-radius:7px;padding:2px;background:#fff}.crm-template-cellColorCustom button{height:28px;border:1px solid rgba(196,169,106,.68);border-radius:8px;background:#fffdf8;color:#2a1f0e;font:600 12px "Source Sans 3",Source Sans Pro,Segoe UI,sans-serif;cursor:pointer}.crm-template-cellColorCustom button:hover{background:#f4e5bf}.crm-template-pageStack{position:relative;width:var(--template-page-width);min-height:var(--template-page-height);pointer-events:none}.crm-template-paperFrame{position:relative;width:var(--template-page-width);height:var(--template-page-height);margin:0 auto}.crm-template-paperFrame+.crm-template-paperFrame{margin-top:var(--template-page-gap)}.crm-template-paperVisualRuler{position:absolute;z-index:2;pointer-events:none;-webkit-user-select:none;user-select:none}.crm-template-paperVisualRuler--left{left:-20px;top:0;width:12px;height:var(--template-page-height);border-right:1px solid rgba(104,112,124,.22);background:repeating-linear-gradient(to bottom,rgba(104,112,124,.22) 0,rgba(104,112,124,.22) 1px,transparent 1px,transparent 28px)}.crm-template-paperLayer{position:relative;width:var(--template-page-width);height:var(--template-page-height);box-sizing:border-box;margin:0 auto;background:#fff;border:1px solid rgba(0,0,0,.08);box-shadow:0 12px 36px #0000001f;overflow:hidden}.crm-template-pageNumber{position:absolute;left:64px;right:64px;z-index:3;color:#181512;font:12px/1.2 "Source Sans 3",Source Sans Pro,Segoe UI,sans-serif;pointer-events:none}.crm-template-pageNumber--header{top:24px}.crm-template-pageNumber--footer{bottom:22px}.crm-template-pageNumber--left{text-align:left}.crm-template-pageNumber--center{text-align:center}.crm-template-pageNumber--right{text-align:right}.crm-template-paperLayerHeader{display:none;min-height:var(--template-header-height);height:var(--template-header-height);padding:32px 64px 18px;box-sizing:border-box;overflow:hidden}.crm-template-pages--has-header .crm-template-paperLayerHeader{display:block}.crm-template-paperLayerBody{height:calc(var(--template-page-height) - var(--template-header-height) - var(--template-footer-height))}.crm-template-paperLayerFooter{display:none;position:absolute;left:0;bottom:0;width:var(--template-page-width);min-height:var(--template-footer-height);height:var(--template-footer-height);padding:14px 64px 24px;box-sizing:border-box;overflow:hidden}.crm-template-pages--has-footer .crm-template-paperLayerFooter{display:block}.crm-template-editorOverlay{position:absolute;top:0;right:0;bottom:0;left:0;width:var(--template-page-width);z-index:2;pointer-events:auto}.crm-template-headerSurface{position:absolute;top:0;left:0;width:var(--template-page-width);min-height:var(--template-header-height);padding:32px 64px 18px;box-sizing:border-box;z-index:4;pointer-events:auto}.crm-template-headerSurface:after{content:"";position:absolute;left:64px;right:64px;bottom:3px;height:5px;border-radius:99px;background:#c8962a38;opacity:0;cursor:row-resize;transition:opacity .12s ease}.crm-template-pages--editing-header .crm-template-headerSurface:after,.crm-template-headerSurface:hover:after{opacity:1}.crm-template-pages--header-template-preview .crm-template-headerSurface{pointer-events:none}.crm-template-pages--header-template-preview .crm-template-headerSurface:after{display:none}.crm-template-pages--header-template-preview .crm-template-unifiedHeaderEditor{user-select:none;-webkit-user-select:none}.crm-template-headerPreview,.crm-template-footerPreview{position:relative;width:100%;height:100%;overflow:hidden}.crm-template-footerSurface{position:absolute;left:0;width:var(--template-page-width);min-height:var(--template-footer-height);padding:14px 64px 24px;box-sizing:border-box;z-index:4;pointer-events:auto}.crm-template-footerSurface:before{content:"";position:absolute;left:64px;right:64px;top:3px;height:5px;border-radius:99px;background:#c8962a38;opacity:0;cursor:row-resize;transition:opacity .12s ease}.crm-template-pages--editing-footer .crm-template-footerSurface:before,.crm-template-footerSurface:hover:before{opacity:1}.crm-template-pages--footer-template-preview .crm-template-footerSurface{pointer-events:none}.crm-template-pages--footer-template-preview .crm-template-footerSurface:before{display:none}.crm-template-pages--footer-template-preview .crm-template-unifiedFooterEditor{user-select:none;-webkit-user-select:none}body.crm-template-resizingHeaderFooter,body.crm-template-resizingHeaderFooter *{cursor:row-resize!important}.crm-template-bodySurface{position:absolute;z-index:3;pointer-events:auto;cursor:text}#templateBodyEditor,#templateHeaderEditor,#templateFooterEditor{min-height:100%}#templateBodyEditor{height:100%}#templateBodyEditor .ProseMirror,#templateHeaderEditor .ProseMirror,#templateFooterEditor .ProseMirror{min-height:100%;outline:none;cursor:text;user-select:text;-webkit-user-select:text}#templateBodyEditor .ProseMirror{height:auto;min-height:1.55em;overflow-anchor:none}.crm-template-pageGap{display:block;pointer-events:none;list-style:none;margin:0;padding:0}.crm-template-pageGap--inline{display:inline-block;width:100%;max-width:100%;line-height:0;font-size:0;vertical-align:top}.crm-template-manualPageBreak{display:flex;align-items:center;gap:10px;margin:18px 0;color:#695536ad;font:600 11px/1.2 "Source Sans 3",Source Sans Pro,Segoe UI,sans-serif;letter-spacing:.08em;text-transform:uppercase;-webkit-user-select:none;user-select:none}.crm-template-manualPageBreak:before,.crm-template-manualPageBreak:after{content:"";height:1px;flex:1;background:repeating-linear-gradient(to right,rgba(173,139,75,.42) 0,rgba(173,139,75,.42) 8px,transparent 8px,transparent 14px)}.crm-template-manualPageBreak__label{flex:0 0 auto}.crm-template-paper{width:var(--template-page-width);height:var(--template-page-height);margin:0 auto;background:#fff;border:1px solid rgba(0,0,0,.08);box-shadow:0 12px 36px #0000001f;overflow:hidden}.crm-template-header{display:none;min-height:var(--template-header-height);height:var(--template-header-height);padding:32px 64px 18px;box-sizing:border-box;position:relative;border-bottom:0;outline:none;overflow:hidden}.crm-template-paper--has-header .crm-template-header{display:block}.crm-template-header--primary:after{content:"";position:absolute;left:50%;bottom:6px;width:86px;height:4px;transform:translate(-50%);border-radius:999px;background:#c8962a52;cursor:row-resize}.crm-template-headerSizing,.crm-template-headerSizing *{cursor:row-resize!important}.crm-template-header:empty:before{content:attr(data-placeholder);color:#9aa0a6}.crm-template-editor{height:var(--template-page-height);overflow:hidden;padding:42px 64px 64px;outline:none;font:14px/1.55 "Source Sans 3",Source Sans Pro,Segoe UI,sans-serif;color:#181512}.crm-template-editor--tiptap{cursor:text}.crm-template-editor--tiptap .ProseMirror{min-height:100%;outline:none}.crm-template-paper--has-header .crm-template-editor{height:calc(var(--template-page-height) - var(--template-header-height))}.crm-template-editor--dropReady,.crm-template-header.crm-template-editor--dropReady{box-shadow:inset 0 0 0 2px #c8962a8c;background:#f4e5bf2e}.crm-template-imageBlock{position:relative;display:table;margin:10px 0;max-width:100%;cursor:default}.crm-template-imageBlock img{max-width:100%;max-height:260px;object-fit:contain;display:block;-webkit-user-select:none;user-select:none;-webkit-user-drag:none}.crm-template-imageBlock--selected{outline:1px solid #1a73e8;outline-offset:4px}.crm-template-imageHandle{position:absolute;width:10px;height:10px;border:1px solid #1a73e8;border-radius:50%;background:#fff;box-shadow:0 1px 4px #0000002e;display:none}.crm-template-imageBlock--selected .crm-template-imageHandle{display:block}.crm-template-imageHandle--nw{top:-8px;left:-8px;cursor:nwse-resize}.crm-template-imageHandle--ne{top:-8px;right:-8px;cursor:nesw-resize}.crm-template-imageHandle--sw{bottom:-8px;left:-8px;cursor:nesw-resize}.crm-template-imageHandle--se{bottom:-8px;right:-8px;cursor:nwse-resize}.crm-template-header .crm-template-imageBlock{margin-left:auto;margin-right:auto}.crm-template-table{width:100%;border-collapse:collapse;margin:10px 0;table-layout:fixed}.crm-template-table td{min-height:28px;border:1px solid #b7b7b7;padding:6px 8px;vertical-align:top}.crm-template-token{display:inline;padding:1px 5px;border-radius:5px;background:#f4e5bf;border:1px solid #d4bb87;color:#5b3b16;font-weight:600}.crm-template-variableMark{border-radius:5px;background:#e2b84c4d;box-shadow:inset 0 -1px #ac7b188c;cursor:pointer;margin:0 2px;padding:1px 7px}.crm-template-variableMark:hover{background:#e2b84c6b}.crm-template-variableMark--focus{background:#e2b84c8f;box-shadow:0 0 0 2px #d4b1596b,inset 0 -1px #ac7b18a6}.crm-template-pages--variableHighlighter,.crm-template-pages--variableHighlighter .ProseMirror,.crm-template-pages--variableHighlighter .ProseMirror *{cursor:crosshair!important}.crm-template-tiptap-editor{min-height:100%;outline:none}.crm-template-unifiedHeaderEditor,.crm-template-unifiedFooterEditor,.crm-template-unifiedBodyEditor{min-height:1.55em;outline:none;max-width:100%;overflow-wrap:break-word}.crm-template-unifiedHeaderEditor.ProseMirror,.crm-template-unifiedFooterEditor.ProseMirror{position:relative}.crm-template-unifiedHeaderEditor{font:14px/1.5 "Source Sans 3",Source Sans Pro,Segoe UI,sans-serif;color:#181512}.crm-template-unifiedFooterEditor{font:13px/1.45 "Source Sans 3",Source Sans Pro,Segoe UI,sans-serif;color:#181512}.crm-template-unifiedBodyEditor{font:14px/1.55 "Source Sans 3",Source Sans Pro,Segoe UI,sans-serif;color:#181512}.crm-template-unifiedHeaderEditor *,.crm-template-unifiedFooterEditor *,.crm-template-unifiedBodyEditor *{max-width:100%;box-sizing:border-box}.crm-template-unifiedHeaderEditor p,.crm-template-unifiedFooterEditor p,.crm-template-unifiedBodyEditor p{margin:0 0 .75em;margin-left:0!important;padding-left:0!important;text-indent:0!important;overflow-wrap:break-word;word-break:normal}.crm-template-unifiedHeaderEditor pre,.crm-template-unifiedFooterEditor pre,.crm-template-unifiedBodyEditor pre,.crm-template-unifiedHeaderEditor code,.crm-template-unifiedFooterEditor code,.crm-template-unifiedBodyEditor code{white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word}.crm-template-unifiedHeaderEditor a,.crm-template-unifiedFooterEditor a,.crm-template-unifiedBodyEditor a,.crm-template-tiptap-editor a{overflow-wrap:anywhere;word-break:break-all}.crm-template-unifiedHeaderEditor h1,.crm-template-unifiedHeaderEditor h2,.crm-template-unifiedHeaderEditor h3,.crm-template-unifiedHeaderEditor h4,.crm-template-unifiedHeaderEditor h5,.crm-template-unifiedHeaderEditor h6,.crm-template-unifiedFooterEditor h1,.crm-template-unifiedFooterEditor h2,.crm-template-unifiedFooterEditor h3,.crm-template-unifiedFooterEditor h4,.crm-template-unifiedFooterEditor h5,.crm-template-unifiedFooterEditor h6,.crm-template-unifiedBodyEditor h1,.crm-template-unifiedBodyEditor h2,.crm-template-unifiedBodyEditor h3,.crm-template-unifiedBodyEditor h4,.crm-template-unifiedBodyEditor h5,.crm-template-unifiedBodyEditor h6{margin-left:0!important;padding-left:0!important;text-indent:0!important}.crm-template-unifiedBodyEditor>p:only-child:has(>br.ProseMirror-trailingBreak:last-child){margin-bottom:0}.crm-template-unifiedHeaderEditor table,.crm-template-unifiedFooterEditor table,.crm-template-unifiedBodyEditor table{width:100%;min-width:100%;border-collapse:collapse;table-layout:fixed}.crm-template-unifiedHeaderEditor .tableWrapper,.crm-template-unifiedFooterEditor .tableWrapper,.crm-template-unifiedBodyEditor .tableWrapper{position:relative;display:block;width:100%;min-width:100%;margin:10px 0}.crm-template-unifiedHeaderEditor .tableWrapper:before,.crm-template-unifiedFooterEditor .tableWrapper:before,.crm-template-unifiedBodyEditor .tableWrapper:before{content:"⋮⋮";position:absolute;top:-24px;left:-32px;width:26px;height:20px;display:grid;place-items:center;border:1px solid rgba(187,197,211,.85);border-radius:7px;background:#fffffff5;color:#6f7885;font:700 14px/1 "Source Sans 3",Source Sans Pro,Segoe UI,sans-serif;opacity:0;cursor:grab;box-shadow:0 6px 16px #1f29371f;transition:opacity .1s ease}.crm-template-unifiedHeaderEditor .tableWrapper:hover:before,.crm-template-unifiedFooterEditor .tableWrapper:hover:before,.crm-template-unifiedBodyEditor .tableWrapper:hover:before{opacity:1}.crm-template-unifiedHeaderEditor td,.crm-template-unifiedHeaderEditor th,.crm-template-unifiedFooterEditor td,.crm-template-unifiedFooterEditor th,.crm-template-unifiedBodyEditor td,.crm-template-unifiedBodyEditor th{border:1px solid #b7b7b7;padding:6px 8px;vertical-align:top;position:relative}.crm-template-unifiedHeaderEditor .column-resize-handle,.crm-template-unifiedFooterEditor .column-resize-handle,.crm-template-unifiedBodyEditor .column-resize-handle{width:14px;right:-7px;cursor:col-resize;background:#4a90e21f}.crm-template-unifiedHeaderEditor.resize-cursor,.crm-template-unifiedFooterEditor.resize-cursor,.crm-template-unifiedBodyEditor.resize-cursor,.crm-template-unifiedHeaderEditor.resize-cursor *,.crm-template-unifiedFooterEditor.resize-cursor *,.crm-template-unifiedBodyEditor.resize-cursor *{cursor:col-resize!important}.crm-template-unifiedHeaderEditor.crm-template-rowResizeCursor,.crm-template-unifiedFooterEditor.crm-template-rowResizeCursor,.crm-template-unifiedBodyEditor.crm-template-rowResizeCursor,body.crm-template-globalRowResize,.crm-template-unifiedHeaderEditor.crm-template-rowResizeCursor *,.crm-template-unifiedFooterEditor.crm-template-rowResizeCursor *,.crm-template-unifiedBodyEditor.crm-template-rowResizeCursor *{cursor:row-resize!important}.crm-template-unifiedHeaderEditor .selectedCell:after,.crm-template-unifiedFooterEditor .selectedCell:after,.crm-template-unifiedBodyEditor .selectedCell:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;background:#d4e3f780}.crm-template-tableRowInsert{position:fixed;z-index:10045;width:22px;height:22px;border:1px solid rgba(200,150,42,.7);border-radius:50%;background:#fffdf8;color:#6a4c13;box-shadow:0 6px 16px #1f293724;font:700 16px/1 "Source Sans 3",Source Sans Pro,Segoe UI,sans-serif;display:grid;place-items:center;cursor:pointer}.crm-template-tableRowInsert:hover{background:#f4e5bf}.crm-template-tableRowInsert[hidden]{display:none}.crm-template-tableFloatingToolbar{position:fixed;z-index:10044;display:inline-flex;align-items:center;gap:3px;padding:4px;border:1px solid rgba(193,202,214,.9);border-radius:12px;background:#fffffff5;box-shadow:0 12px 26px #1f293729}.crm-template-tableFloatingToolbar[hidden]{display:none}.crm-template-tableFloatingToolbar button{min-height:26px;border:0;border-radius:8px;background:transparent;color:#202124;font:500 12px "Source Sans 3",Source Sans Pro,Segoe UI,sans-serif;padding:0 9px;cursor:pointer}.crm-template-tableFloatingToolbar button:hover{background:#edf2fa}.crm-template-unifiedHeaderEditor img,.crm-template-unifiedFooterEditor img,.crm-template-unifiedBodyEditor img{display:block;max-width:100%;height:auto;margin:10px 0;border-radius:2px}.crm-template-tiptapImage--free{z-index:3;cursor:grab}.crm-template-tiptapImage--moving{cursor:grabbing}.crm-template-headerSurface .crm-template-tiptapImage--free img,.crm-template-footerSurface .crm-template-tiptapImage--free img{margin:0;max-width:none}.crm-template-tiptap-editor p{margin:0 0 .75em}.crm-template-tiptap-editor table{width:100%;border-collapse:collapse}.crm-template-tiptap-editor td,.crm-template-tiptap-editor th{border:1px solid #b7b7b7;padding:6px 8px;vertical-align:top}.crm-template-tiptap-editor img{display:block;max-width:100%;height:auto;margin:10px 0;border-radius:2px}.crm-template-tiptapImage{position:relative;display:table;max-width:100%;margin:10px 0;line-height:0}.crm-template-tiptapImage img{display:block;max-width:100%;height:auto;margin:0}.crm-template-tiptapImage--selected{outline:1px solid #1a73e8;outline-offset:4px}.crm-template-tiptapImageHandle{position:absolute;width:10px;height:10px;border:1px solid #1a73e8;border-radius:50%;background:#fff;box-shadow:0 1px 4px #0000002e;display:none}.crm-template-tiptapImage--selected .crm-template-tiptapImageHandle{display:block}.crm-template-tiptapImageHandle--nw{top:-8px;left:-8px;cursor:nwse-resize}.crm-template-tiptapImageHandle--ne{top:-8px;right:-8px;cursor:nesw-resize}.crm-template-tiptapImageHandle--sw{bottom:-8px;left:-8px;cursor:nesw-resize}.crm-template-tiptapImageHandle--se{bottom:-8px;right:-8px;cursor:nwse-resize}.crm-template-side{border-left:1px solid rgba(224,201,138,.65);background:#fffdf8;padding:20px 18px;min-width:0}body.app-focus-route .crm-template-side{min-height:0;overflow:auto;overscroll-behavior:contain}.crm-template-sideResizer{width:8px;background:linear-gradient(90deg,transparent 0 3px,rgba(224,201,138,.85) 3px 5px,transparent 5px);cursor:col-resize;touch-action:none}.crm-template-sideResizer:hover,.crm-template-sideResizer.is-dragging{background:linear-gradient(90deg,transparent 0 2px,rgba(212,177,89,.95) 2px 6px,transparent 6px)}body.crm-template-side-resizing{cursor:col-resize;-webkit-user-select:none;user-select:none}.crm-template-sideTitle{font-size:16px;font-weight:700}.crm-template-sideSub{margin-top:4px;font-size:12px;color:#8c7a63}.crm-template-varList{margin-top:16px;display:grid;gap:10px}.crm-template-creator{margin-top:16px}.crm-template-creatorTitle{font-weight:700;font-size:14px;margin-bottom:10px}.crm-template-creator label{display:grid;gap:5px;margin-bottom:10px;font:600 12px "Source Sans 3",Source Sans Pro,Segoe UI,sans-serif;color:#5f4f39}.crm-template-creator input,.crm-template-creator select{min-height:34px;border:1px solid #d4bb87;border-radius:10px;background:#fff;padding:0 10px;font:500 13px "Source Sans 3",Source Sans Pro,Segoe UI,sans-serif}.crm-template-creatorActions{display:flex;gap:8px}.crm-template-creatorActions button{flex:1;min-height:34px;border-radius:999px;border:1px solid #d4bb87;background:#f4e5bf;font-weight:700;cursor:pointer}.crm-template-creatorHint{border:1px dashed #d4bb87;border-radius:12px;color:#8c7a63;padding:12px;font-size:13px}.crm-template-creatorHint.is-active{border-style:solid;background:#f4e5bf;color:#5b3b16}.crm-template-emptyHint{color:#8c7a63;font-size:12px;line-height:1.35}.crm-template-var,.crm-template-empty{border:1px solid #e8d9b5;border-radius:12px;background:#fbf7ef;padding:11px 12px}.crm-template-var{display:grid;gap:9px}.crm-template-varTop{display:grid;grid-template-columns:minmax(0,1fr) 24px;align-items:center;gap:8px}.crm-template-varDeleteCircle{display:inline-grid;place-items:center;width:24px;height:24px;border:1px solid #dcc693;border-radius:50%;background:#fffdf8;color:#7b2333;font:800 14px "Source Sans 3",Source Sans Pro,Segoe UI,sans-serif;line-height:1;cursor:pointer}.crm-template-varDeleteCircle:hover{background:#f6e7e7}.crm-template-varJump{display:grid;grid-template-columns:26px minmax(0,1fr);gap:8px;align-items:center;width:100%;border:0;background:transparent;text-align:left;padding:0;cursor:pointer}.crm-template-varJump span{display:inline-grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#f4e5bf;color:#6d521d;font:800 12px "Source Sans 3",Source Sans Pro,Segoe UI,sans-serif}.crm-template-varJump strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#181512;font-size:13px}.crm-template-varLabel,.crm-template-varControls label{display:grid;gap:4px;color:#715f44;font:700 11px "Source Sans 3",Source Sans Pro,Segoe UI,sans-serif}.crm-template-varLabel input,.crm-template-varControls select{min-height:31px;border:1px solid #dcc693;border-radius:9px;background:#fffdf8;color:#181512;padding:0 9px;font:600 12px "Source Sans 3",Source Sans Pro,Segoe UI,sans-serif}.crm-template-varLabelField{position:relative;display:block}.crm-template-varLabelField input{width:100%;padding-right:36px}.crm-template-varSuggestInline{position:absolute;top:50%;right:5px;transform:translateY(-50%);display:inline-grid;place-items:center;width:24px;height:22px;border:1px solid #d4bb87;border-radius:7px;background:#f4e5bf;color:#654a18;font:900 12px "Source Sans 3",Source Sans Pro,Segoe UI,sans-serif;cursor:pointer}.crm-template-varSuggestInline:hover{background:#ead49c}.crm-template-varLabel input::placeholder{color:#b29a66;font-style:italic}.crm-template-varControls{display:grid;grid-template-columns:minmax(0,1fr);gap:8px}.crm-template-varDuplicate,.crm-template-varDelete{min-height:30px;border:1px solid #d4bb87;border-radius:9px;background:#fffdf8;color:#654a18;padding:0 10px;font:700 12px "Source Sans 3",Source Sans Pro,Segoe UI,sans-serif;text-align:left;cursor:pointer}.crm-template-varDuplicate{background:#f4e5bf}.crm-template-varDelete{color:#7b2333}.crm-profile-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:16px}.crm-section-card{background:#fdfaf6;border:1px solid #e8d9b5;border-radius:12px;padding:16px 18px}.crm-section-head{font-family:var(--font-primary);font-size:.78rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:#9b8770;margin-bottom:12px}.crm-field-row{display:flex;align-items:baseline;gap:8px;padding:5px 0;border-bottom:1px solid #f0e6d2}.crm-field-row:last-child{border-bottom:none}.crm-field-label{font-size:.78rem;color:#9b8770;min-width:100px;flex-shrink:0;font-weight:500}.crm-field-value{font-size:.85rem;color:#3d2e1e;word-break:break-word}.crm-field-input{flex:1;font-size:.85rem;color:#3d2e1e;background:#fffdf8;border:1px solid #ddd0b0;border-radius:6px;padding:4px 8px;font-family:inherit;transition:border-color .15s;min-width:0}.crm-field-input:focus{outline:none;border-color:#c8962a;box-shadow:var(--shadow-focus)}.crm-toggle-label{font-size:.82rem;color:#7a6048;display:flex;align-items:center;gap:6px;cursor:pointer;margin-top:6px}.crm-empty-note{font-size:.82rem;color:#9b8770;font-style:italic;margin:0}.crm-no-profile{text-align:center;padding:48px 24px;color:#9b8770}.crm-no-profile p{margin:0 0 18px;font-size:.95rem}.crm-coming-soon{text-align:center;padding:40px 24px;background:#fdfaf6;border-radius:12px;border:1px dashed #d8c898;color:#9b8770}.crm-summary-strip{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:16px}.crm-summary-chip{display:flex;flex-direction:column;gap:3px;min-width:120px;padding:10px 14px;background:#fdfaf6;border:1px solid #e8d9b5;border-radius:10px}.crm-summary-label{font-size:.7rem;text-transform:uppercase;letter-spacing:.05em;color:#9b8770}.crm-summary-chip strong{font-size:.95rem;color:#3d2e1e}.crm-unit-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px}.crm-unit-card{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:1px solid #e8d9b5;background:#fffdf8;border-radius:10px;padding:12px 14px;text-align:left;cursor:pointer;transition:border-color .15s,transform .12s,box-shadow .15s,background .15s}.crm-unit-card:hover{transform:translateY(-1px);border-color:#d3b05e;box-shadow:0 6px 18px #c9962a14}.crm-unit-card--active{border-color:#c8962a;background:#fff7e8;box-shadow:0 0 0 1px #c8962a1f inset}.crm-unit-card-title{font-weight:700;color:#3d2e1e;font-size:.88rem;margin-bottom:6px}.crm-unit-card-meta{display:flex;flex-wrap:wrap;gap:6px 10px;font-size:.74rem;color:#9b8770}.crm-unit-card-amt{margin-top:10px;font-weight:700;color:#5a3e28}.crm-unit-switcher{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}.crm-unit-switcher-btn{border:1px solid #e0c98a;background:#fdfaf6;color:#7a6048;border-radius:999px;padding:7px 12px;font-size:.78rem;cursor:pointer}.crm-unit-switcher-btn--active{background:#c8962a;border-color:#c8962a;color:#fff}.crm-payment-preview{display:flex;justify-content:center;align-items:center;gap:10px;margin-top:14px;padding:10px 20px;background:#f5ede0;border-radius:8px;border:1px solid #e8d9b5}.crm-pay-label{font-size:.82rem;color:#9b8770}.crm-pay-val{font-size:1rem;font-weight:700;color:#5a3e28}.crm-doc-list{display:flex;flex-direction:column;gap:10px}.crm-doc-card{display:flex;align-items:center;gap:14px;padding:14px 18px;background:#fdfaf6;border:1px solid #e8d9b5;border-radius:10px}.crm-doc-icon{font-size:1.4rem;flex-shrink:0}.crm-doc-info{flex:1}.crm-doc-name{font-weight:600;font-size:.9rem;color:#3d2e1e}.crm-doc-meta{font-size:.78rem;color:#9b8770;margin-top:2px}.crm-doc-btn{flex-shrink:0}.crm-history-list{display:flex;flex-direction:column;gap:12px}.crm-hist-item{display:flex;gap:12px;padding:12px 14px;background:#fdfaf6;border:1px solid #f0e6d2;border-radius:10px}.crm-hist-icon{font-size:1.1rem;flex-shrink:0;padding-top:1px}.crm-hist-body{flex:1;min-width:0}.crm-hist-header{display:flex;justify-content:space-between;align-items:baseline;gap:8px;flex-wrap:wrap}.crm-hist-type{font-weight:600;font-size:.85rem;color:#3d2e1e}.crm-hist-meta{font-size:.75rem;color:#9b8770;white-space:nowrap}.crm-hist-remark{font-size:.85rem;color:#5a4030;margin-top:4px;line-height:1.4}.crm-hist-stage{font-size:.78rem;color:#7a6048;margin-top:4px;font-style:italic}.crm-hist-followup{font-size:.78rem;color:#c8962a;margin-top:3px}.pay-summary-bar{display:flex;gap:12px;margin-bottom:20px;flex-wrap:wrap}.pay-summary-card{flex:1;min-width:110px;background:#fdfaf6;border:1px solid #e8d9b5;border-radius:10px;padding:14px 16px;text-align:center}.pay-summary-label{font-size:.72rem;color:#9b8770;text-transform:uppercase;letter-spacing:.05em}.pay-summary-value{font-size:1.05rem;font-weight:700;color:#3d2e1e;margin-top:4px}.pay-summary-value--green{color:#2e6e2e}.pay-summary-value--red{color:#a02828}.pay-table-wrap{overflow-x:auto;margin-bottom:8px}.pay-table{width:100%;border-collapse:collapse;font-size:.85rem}.pay-th{text-align:left;padding:8px 10px;background:#f5ede0;color:#7a6048;font-size:.73rem;font-weight:600;text-transform:uppercase;letter-spacing:.04em;border-bottom:1px solid #e8d9b5;white-space:nowrap}.pay-td{padding:10px;border-bottom:1px solid #f0e6d2;color:#3d2e1e;vertical-align:middle}.pay-tr:hover{background:#faf5ee}.pay-badge{display:inline-block;padding:3px 8px;border-radius:20px;font-size:.72rem;font-weight:600;white-space:nowrap}.pay-badge--paid{background:#e0f0e0;color:#2a6a2a}.pay-badge--partial{background:#fff0d0;color:#8a5010}.pay-badge--overdue{background:#fde8e8;color:#9a2020}.pay-badge--pending{background:#f0ece4;color:#7a6048}.pay-add-row-btn{font-size:.8rem;padding:6px 14px;margin-top:8px}.pay-record-btn{position:sticky;bottom:16px;float:right;background:#c8962a;color:#fff;border:none;border-radius:24px;padding:11px 22px;font-family:var(--font-primary);font-size:.88rem;font-weight:600;cursor:pointer;box-shadow:0 3px 14px #b4822859;transition:background .15s,transform .1s}.pay-record-btn:hover{background:#b07820;transform:translateY(-1px)}.pay-gen-cta{text-align:center;padding:32px 24px;background:#fdfaf6;border:1px dashed #d8c898;border-radius:12px;margin-bottom:20px}.pay-gen-cta p{margin:0 0 14px;color:#7a6048;font-size:.9rem}.pay-receipts-head{font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:#9b8770;margin:24px 0 10px}.pay-receipt-row{display:flex;align-items:center;gap:10px;padding:10px 14px;background:#fdfaf6;border:1px solid #f0e6d2;border-radius:8px;margin-bottom:6px;flex-wrap:wrap}.pay-rcpt-amount{font-weight:700;color:#2e6e2e;font-size:.95rem}.pay-rcpt-mode{font-size:.75rem;background:#f0e6d2;padding:2px 8px;border-radius:10px;color:#7a6048;flex-shrink:0}.pay-rcpt-meta{font-size:.75rem;color:#9b8770;margin-left:auto}.pay-rcpt-ref{font-size:.75rem;color:#9b8770;font-style:italic}.pay-modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0000007a;z-index:2000;display:flex;align-items:center;justify-content:center;padding:16px}.pay-modal{background:#fff;border-radius:16px;padding:28px 28px 24px;width:100%;max-width:420px;box-shadow:0 8px 40px #0003}.pay-modal-title{font-family:var(--font-primary);font-size:1.1rem;font-weight:700;color:#3d2e1e;margin:0 0 20px}.pay-modal-field{margin-bottom:14px}.pay-modal-label{display:block;font-size:.75rem;font-weight:600;color:#7a6048;margin-bottom:5px;text-transform:uppercase;letter-spacing:.04em}.pay-modal-input,.pay-modal-select{width:100%;padding:9px 12px;border:1px solid #ddd0b0;border-radius:8px;font-family:inherit;font-size:.9rem;color:#3d2e1e;background:#fffdf8;box-sizing:border-box;transition:border-color .15s}.pay-modal-input:focus,.pay-modal-select:focus{outline:none;border-color:#c8962a;box-shadow:var(--shadow-focus)}.pay-modal-row{display:flex;gap:10px}.pay-modal-row .pay-modal-field{flex:1}.pay-modal-actions{display:flex;gap:10px;margin-top:20px;justify-content:flex-end}.ms-project-row{margin-bottom:14px}.ms-proj-select{width:100%;max-width:320px}.ms-table{width:100%;border-collapse:collapse;font-size:.85rem;margin-bottom:8px}.ms-th{text-align:left;padding:7px 10px;background:#f5ede0;color:#7a6048;font-size:.73rem;font-weight:600;text-transform:uppercase;border-bottom:1px solid #e8d9b5}.ms-td{padding:9px 10px;border-bottom:1px solid #f0e6d2;color:#3d2e1e}.ms-add-row{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:10px}.ms-add-row input{flex:1;min-width:80px}.ms-pct-input{max-width:80px!important;flex:none!important}.ms-del-btn{background:none;border:none;color:#c05050;cursor:pointer;font-size:1rem;padding:2px 6px}.ms-del-btn:hover{color:#901010}.ms-total-bar{font-size:.82rem;color:#9b8770;padding:6px 10px}.ms-total-bar strong{color:#3d2e1e}.ms-empty{font-size:.85rem;color:#9b8770;font-style:italic;padding:12px 10px}
