@charset "UTF-8";@import"https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap";.rbc-btn{color:inherit;font:inherit;margin:0}button.rbc-btn{overflow:visible;text-transform:none;-webkit-appearance:button;-moz-appearance:button;appearance:button;cursor:pointer}button[disabled].rbc-btn{cursor:not-allowed}button.rbc-input::-moz-focus-inner{border:0;padding:0}.rbc-calendar{box-sizing:border-box;height:100%;display:flex;flex-direction:column;align-items:stretch}.rbc-m-b-negative-3{margin-bottom:-3px}.rbc-h-full{height:100%}.rbc-calendar *,.rbc-calendar *:before,.rbc-calendar *:after{box-sizing:inherit}.rbc-abs-full,.rbc-row-bg{overflow:hidden;position:absolute;top:0;left:0;right:0;bottom:0}.rbc-ellipsis,.rbc-show-more,.rbc-row-segment .rbc-event-content,.rbc-event-label{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rbc-rtl{direction:rtl}.rbc-off-range{color:#999}.rbc-off-range-bg{background:#e6e6e6}.rbc-header{overflow:hidden;flex:1 0 0%;text-overflow:ellipsis;white-space:nowrap;padding:0 3px;text-align:center;vertical-align:middle;font-weight:700;font-size:90%;min-height:0;border-bottom:1px solid #ddd}.rbc-header+.rbc-header{border-left:1px solid #ddd}.rbc-rtl .rbc-header+.rbc-header{border-left-width:0;border-right:1px solid #ddd}.rbc-header>a,.rbc-header>a:active,.rbc-header>a:visited{color:inherit;text-decoration:none}.rbc-button-link{color:inherit;background:none;margin:0;padding:0;border:none;cursor:pointer;-webkit-user-select:text;user-select:text}.rbc-row-content{position:relative;user-select:none;-webkit-user-select:none;z-index:4}.rbc-row-content-scrollable{display:flex;flex-direction:column;height:100%}.rbc-row-content-scrollable .rbc-row-content-scroll-container{height:100%;overflow-y:scroll;-ms-overflow-style:none;scrollbar-width:none}.rbc-row-content-scrollable .rbc-row-content-scroll-container::-webkit-scrollbar{display:none}.rbc-today{background-color:#eaf6ff}.rbc-toolbar{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;margin-bottom:10px;font-size:16px}.rbc-toolbar .rbc-toolbar-label{flex-grow:1;padding:0 10px;text-align:center}.rbc-toolbar button{color:#373a3c;display:inline-block;margin:0;text-align:center;vertical-align:middle;background:none;background-image:none;border:1px solid #ccc;padding:.375rem 1rem;border-radius:4px;line-height:normal;white-space:nowrap}.rbc-toolbar button:active,.rbc-toolbar button.rbc-active{background-image:none;box-shadow:inset 0 3px 5px #00000020;background-color:#e6e6e6;border-color:#adadad}.rbc-toolbar button:active:hover,.rbc-toolbar button:active:focus,.rbc-toolbar button.rbc-active:hover,.rbc-toolbar button.rbc-active:focus{color:#373a3c;background-color:#d4d4d4;border-color:#8c8c8c}.rbc-toolbar button:focus{color:#373a3c;background-color:#e6e6e6;border-color:#adadad}.rbc-toolbar button:hover{color:#373a3c;cursor:pointer;background-color:#e6e6e6;border-color:#adadad}.rbc-btn-group{display:inline-block;white-space:nowrap}.rbc-btn-group>button:first-child:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.rbc-btn-group>button:last-child:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.rbc-rtl .rbc-btn-group>button:first-child:not(:last-child){border-radius:0 4px 4px 0}.rbc-rtl .rbc-btn-group>button:last-child:not(:first-child){border-radius:4px 0 0 4px}.rbc-btn-group>button:not(:first-child):not(:last-child){border-radius:0}.rbc-btn-group button+button{margin-left:-1px}.rbc-rtl .rbc-btn-group button+button{margin-left:0;margin-right:-1px}.rbc-btn-group+.rbc-btn-group,.rbc-btn-group+button{margin-left:10px}@media (max-width: 767px){.rbc-toolbar{flex-direction:column}}.rbc-event,.rbc-day-slot .rbc-background-event{border:none;box-sizing:border-box;box-shadow:none;margin:0;padding:2px 5px;background-color:#3174ad;border-radius:5px;color:#fff;cursor:pointer;width:100%;text-align:left}.rbc-slot-selecting .rbc-event,.rbc-slot-selecting .rbc-day-slot .rbc-background-event,.rbc-day-slot .rbc-slot-selecting .rbc-background-event{cursor:inherit;pointer-events:none}.rbc-event.rbc-selected,.rbc-day-slot .rbc-selected.rbc-background-event{background-color:#265985}.rbc-event:focus,.rbc-day-slot .rbc-background-event:focus{outline:5px auto #3b99fc}.rbc-event-label{font-size:80%}.rbc-event-overlaps{box-shadow:-1px 1px 5px #33333380}.rbc-event-continues-prior{border-top-left-radius:0;border-bottom-left-radius:0}.rbc-event-continues-after{border-top-right-radius:0;border-bottom-right-radius:0}.rbc-event-continues-earlier{border-top-left-radius:0;border-top-right-radius:0}.rbc-event-continues-later{border-bottom-left-radius:0;border-bottom-right-radius:0}.rbc-row{display:flex;flex-direction:row}.rbc-row-segment{padding:0 1px 1px}.rbc-selected-cell{background-color:#0000001a}.rbc-show-more{background-color:#ffffff4d;z-index:4;font-weight:700;font-size:85%;height:auto;line-height:normal;color:#3174ad}.rbc-show-more:hover,.rbc-show-more:focus{color:#265985}.rbc-month-view{position:relative;border:1px solid #ddd;display:flex;flex-direction:column;flex:1 0 0;width:100%;user-select:none;-webkit-user-select:none;height:100%}.rbc-month-header{display:flex;flex-direction:row}.rbc-month-row{display:flex;position:relative;flex-direction:column;flex:1 0 0;flex-basis:0px;overflow:hidden;height:100%}.rbc-month-row+.rbc-month-row{border-top:1px solid #ddd}.rbc-date-cell{flex:1 1 0;min-width:0;padding-right:5px;text-align:right}.rbc-date-cell.rbc-now{font-weight:700}.rbc-date-cell>a,.rbc-date-cell>a:active,.rbc-date-cell>a:visited{color:inherit;text-decoration:none}.rbc-row-bg{display:flex;flex-direction:row;flex:1 0 0;overflow:hidden;right:1px}.rbc-day-bg{flex:1 0 0%}.rbc-day-bg+.rbc-day-bg{border-left:1px solid #ddd}.rbc-rtl .rbc-day-bg+.rbc-day-bg{border-left-width:0;border-right:1px solid #ddd}.rbc-overlay{position:absolute;z-index:5;border:1px solid #e5e5e5;background-color:#fff;box-shadow:0 5px 15px #00000040;padding:10px}.rbc-overlay>*+*{margin-top:1px}.rbc-overlay-header{border-bottom:1px solid #e5e5e5;margin:-10px -10px 5px;padding:2px 10px}.rbc-agenda-view{display:flex;flex-direction:column;flex:1 0 0;overflow:auto}.rbc-agenda-view table.rbc-agenda-table{width:100%;border:1px solid #ddd;border-spacing:0;border-collapse:collapse}.rbc-agenda-view table.rbc-agenda-table tbody>tr>td{padding:5px 10px;vertical-align:top}.rbc-agenda-view table.rbc-agenda-table .rbc-agenda-time-cell{padding-left:15px;padding-right:15px;text-transform:lowercase}.rbc-agenda-view table.rbc-agenda-table tbody>tr>td+td{border-left:1px solid #ddd}.rbc-rtl .rbc-agenda-view table.rbc-agenda-table tbody>tr>td+td{border-left-width:0;border-right:1px solid #ddd}.rbc-agenda-view table.rbc-agenda-table tbody>tr+tr{border-top:1px solid #ddd}.rbc-agenda-view table.rbc-agenda-table thead>tr>th{padding:3px 5px;text-align:left;border-bottom:1px solid #ddd}.rbc-rtl .rbc-agenda-view table.rbc-agenda-table thead>tr>th{text-align:right}.rbc-agenda-time-cell{text-transform:lowercase}.rbc-agenda-time-cell .rbc-continues-after:after{content:" »"}.rbc-agenda-time-cell .rbc-continues-prior:before{content:"« "}.rbc-agenda-date-cell,.rbc-agenda-time-cell{white-space:nowrap}.rbc-agenda-event-cell{width:100%}.rbc-time-column{display:flex;flex-direction:column;min-height:100%}.rbc-time-column .rbc-timeslot-group{flex:1}.rbc-timeslot-group{border-bottom:1px solid #ddd;min-height:40px;display:flex;flex-flow:column nowrap}.rbc-time-gutter,.rbc-header-gutter{flex:none}.rbc-label{padding:0 5px}.rbc-day-slot{position:relative}.rbc-day-slot .rbc-events-container{bottom:0;left:0;position:absolute;right:0;margin-right:10px;top:0}.rbc-day-slot .rbc-events-container.rbc-rtl{left:10px;right:0}.rbc-day-slot .rbc-event,.rbc-day-slot .rbc-background-event{border:1px solid #265985;display:flex;max-height:100%;min-height:20px;flex-flow:column wrap;align-items:flex-start;overflow:hidden;position:absolute}.rbc-day-slot .rbc-background-event{opacity:.75}.rbc-day-slot .rbc-event-label{flex:none;padding-right:5px;width:auto}.rbc-day-slot .rbc-event-content{width:100%;flex:1 1 0;word-wrap:break-word;line-height:1;height:100%;min-height:1em}.rbc-day-slot .rbc-time-slot{border-top:1px solid #f7f7f7}.rbc-time-view-resources .rbc-time-gutter,.rbc-time-view-resources .rbc-time-header-gutter{position:-webkit-sticky;position:sticky;left:0;background-color:#fff;border-right:1px solid #ddd;z-index:10;margin-right:-1px}.rbc-time-view-resources .rbc-time-header{overflow:hidden}.rbc-time-view-resources .rbc-time-header-content{min-width:auto;flex:1 0 0;flex-basis:0px}.rbc-time-view-resources .rbc-time-header-cell-single-day{display:none}.rbc-time-view-resources .rbc-day-slot{min-width:140px}.rbc-time-view-resources .rbc-header,.rbc-time-view-resources .rbc-day-bg{width:140px;flex:1 1 0;flex-basis:0 px}.rbc-time-header-content+.rbc-time-header-content{margin-left:-1px}.rbc-time-slot{flex:1 0 0}.rbc-time-slot.rbc-now{font-weight:700}.rbc-day-header{text-align:center}.rbc-slot-selection{z-index:10;position:absolute;background-color:#00000080;color:#fff;font-size:75%;width:100%;padding:3px}.rbc-slot-selecting{cursor:move}.rbc-time-view{display:flex;flex-direction:column;flex:1;width:100%;border:1px solid #ddd;min-height:0}.rbc-time-view .rbc-time-gutter{white-space:nowrap;text-align:right}.rbc-time-view .rbc-allday-cell{box-sizing:content-box;width:100%;height:100%;position:relative}.rbc-time-view .rbc-allday-cell+.rbc-allday-cell{border-left:1px solid #ddd}.rbc-time-view .rbc-allday-events{position:relative;z-index:4}.rbc-time-view .rbc-row{box-sizing:border-box;min-height:20px}.rbc-time-header{display:flex;flex:0 0 auto;flex-direction:row}.rbc-time-header.rbc-overflowing{border-right:1px solid #ddd}.rbc-rtl .rbc-time-header.rbc-overflowing{border-right-width:0;border-left:1px solid #ddd}.rbc-time-header>.rbc-row:first-child{border-bottom:1px solid #ddd}.rbc-time-header>.rbc-row.rbc-row-resource{border-bottom:1px solid #ddd}.rbc-time-header-cell-single-day{display:none}.rbc-time-header-content{flex:1;display:flex;min-width:0;flex-direction:column;border-left:1px solid #ddd}.rbc-rtl .rbc-time-header-content{border-left-width:0;border-right:1px solid #ddd}.rbc-time-header-content>.rbc-row.rbc-row-resource{border-bottom:1px solid #ddd;flex-shrink:0}.rbc-time-content{display:flex;flex:1 0 0%;align-items:flex-start;width:100%;border-top:2px solid #ddd;overflow-y:auto;position:relative}.rbc-time-content>.rbc-time-gutter{flex:none}.rbc-time-content>*+*>*{border-left:1px solid #ddd}.rbc-rtl .rbc-time-content>*+*>*{border-left-width:0;border-right:1px solid #ddd}.rbc-time-content>.rbc-day-slot{width:100%;user-select:none;-webkit-user-select:none}.rbc-current-time-indicator{position:absolute;z-index:3;left:0;right:0;height:1px;background-color:#74ad31;pointer-events:none}.rbc-resource-grouping.rbc-time-header-content{display:flex;flex-direction:column}.rbc-resource-grouping .rbc-row .rbc-header{width:141px}.dmbj-logo{--dmbj-slate: #243041;--dmbj-cyan: #1f8fff;--dmbj-cyan-bright: #2aa3ff;--dmbj-green: #3f8f6b;--dmbj-cream: #eef3f8;display:inline-flex;align-items:center;gap:.75rem;color:var(--dmbj-slate);text-decoration:none}.dmbj-logo--clickable{cursor:pointer}.dmbj-logo__icon{flex-shrink:0;display:block}.dmbj-logo__wordmark{display:inline-flex;align-items:baseline;gap:0;font-size:1.5rem;font-weight:700;letter-spacing:-.04em;line-height:1;white-space:nowrap}.dmbj-logo__wordmark-do{color:var(--dmbj-slate)}.dmbj-logo__wordmark-job{color:var(--dmbj-cyan)}.dmbj-logo--dark .dmbj-logo__wordmark-do,.dmbj-logo--mono-dark .dmbj-logo__wordmark-do,.dmbj-logo--mono-dark .dmbj-logo__wordmark-job{color:var(--dmbj-cream)}.dmbj-logo--dark .dmbj-logo__wordmark-job{color:var(--dmbj-cyan-bright)}.dmbj-logo--small .dmbj-logo__wordmark{font-size:1.125rem}.dmbj-logo--small{gap:.625rem}.dmbj-logo--large .dmbj-logo__wordmark{font-size:1.75rem}.dmbj-logo--badge-only{gap:0}@media (max-width: 480px){.dmbj-logo__wordmark{font-size:1.25rem}.dmbj-logo--small .dmbj-logo__wordmark{font-size:1rem}}.custom-fields-renderer{margin-top:24px;padding-top:24px;border-top:1px solid #e5e7eb}.custom-fields-renderer.loading{display:flex;justify-content:center;padding:20px}.custom-fields-renderer .loading-spinner{width:24px;height:24px;border:2px solid #e5e7eb;border-top-color:#6366f1;border-radius:50%;animation:spin .6s linear infinite}.custom-fields-renderer.error{padding:12px;background:#fef2f2;border-radius:6px}.custom-fields-renderer .error-message{color:#dc2626;font-size:.875rem}.custom-fields-header{margin-bottom:16px}.custom-fields-header h4{font-size:.9375rem;font-weight:600;color:#374151;margin:0}.custom-fields-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}@media (max-width: 640px){.custom-fields-grid{grid-template-columns:1fr}}.custom-field-group{display:flex;flex-direction:column;gap:6px}.custom-field-group.full-width{grid-column:1 / -1}.custom-field-label{font-size:.875rem;font-weight:500;color:#374151}.required-indicator{color:#ef4444;margin-left:2px}.custom-field-input,.custom-field-select,.custom-field-textarea{padding:10px 12px;border:1px solid #d1d5db;border-radius:6px;font-size:.875rem;transition:border-color .15s,box-shadow .15s;width:100%;box-sizing:border-box}.custom-field-input:focus,.custom-field-select:focus,.custom-field-textarea:focus{outline:none;border-color:#6366f1;box-shadow:0 0 0 3px #6366f11a}.custom-field-input:disabled,.custom-field-select:disabled,.custom-field-textarea:disabled{background:#f3f4f6;color:#6b7280;cursor:not-allowed}.custom-field-textarea{resize:vertical;min-height:80px}.custom-field-description{font-size:.75rem;color:#6b7280}.currency-input-wrapper{position:relative;display:flex;align-items:center}.currency-symbol{position:absolute;left:12px;color:#6b7280;font-size:.875rem;pointer-events:none}.custom-field-input.currency{padding-left:28px}.checkbox-wrapper{display:flex;align-items:center;gap:8px;cursor:pointer;font-size:.875rem;color:#374151}.checkbox-wrapper input[type=checkbox]{width:18px;height:18px;accent-color:#6366f1;cursor:pointer}.radio-group{display:flex;flex-direction:column;gap:8px}.radio-option{display:flex;align-items:center;gap:8px;cursor:pointer;font-size:.875rem;color:#374151}.radio-option input[type=radio]{width:18px;height:18px;accent-color:#6366f1;cursor:pointer}.multiselect-wrapper{display:flex;flex-wrap:wrap;gap:12px;padding:12px;background:#f9fafb;border:1px solid #e5e7eb;border-radius:6px}.multiselect-option{display:flex;align-items:center;gap:6px;cursor:pointer;font-size:.875rem;color:#374151}.multiselect-option input[type=checkbox]{width:16px;height:16px;accent-color:#6366f1;cursor:pointer}.custom-fields-renderer.compact{margin-top:12px;padding-top:12px}.custom-fields-renderer.compact .custom-fields-header{display:none}.custom-fields-renderer.compact .custom-fields-grid{gap:8px}.custom-fields-renderer.compact .custom-field-group{gap:4px}.custom-fields-renderer.compact .custom-field-label{font-size:.8125rem}.custom-fields-renderer.compact .custom-field-input,.custom-fields-renderer.compact .custom-field-select{padding:6px 10px;font-size:.8125rem}.custom-fields-display{width:100%}.custom-fields-display.full{margin-top:16px;padding-top:16px;border-top:1px solid #e5e7eb}.custom-fields-display.compact{margin-top:8px}.custom-fields-display-header{margin-bottom:12px}.custom-fields-display-header h4{font-size:.875rem;font-weight:600;color:#374151;margin:0}.custom-fields-display-grid{display:flex;flex-wrap:wrap;gap:8px}.custom-fields-display-grid.full{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}@media (max-width: 640px){.custom-fields-display-grid.full{grid-template-columns:1fr}}.custom-field-display-item{display:flex;flex-direction:column;gap:2px}.custom-field-display-item.compact{flex-direction:row;align-items:center;gap:6px;background:#f3f4f6;padding:4px 8px;border-radius:4px;font-size:.75rem}.custom-field-display-item.full{padding:8px 0}.custom-field-display-label{font-weight:500;color:#6b7280}.custom-field-display-item.compact .custom-field-display-label{font-size:.75rem}.custom-field-display-item.compact .custom-field-display-label:after{content:":"}.custom-field-display-item.full .custom-field-display-label{font-size:.8125rem;margin-bottom:2px}.custom-field-display-value{color:#111827}.custom-field-display-item.compact .custom-field-display-value{font-size:.75rem;font-weight:500}.custom-field-display-item.full .custom-field-display-value{font-size:.875rem}.custom-field-display-value.link{color:#6366f1;text-decoration:none}.custom-field-display-value.link:hover{text-decoration:underline}.custom-fields-display.badge-style .custom-field-display-item.compact{background:#e0e7ff;color:#4338ca}.custom-fields-display.badge-style .custom-field-display-label,.custom-fields-display.badge-style .custom-field-display-value{color:#4338ca}.custom-fields-display.list-inline .custom-fields-display-grid{display:flex;flex-wrap:wrap;gap:4px 12px}.custom-fields-display.list-inline .custom-field-display-item{flex-direction:row;align-items:baseline;gap:4px;background:transparent;padding:0}.custom-fields-display.list-inline .custom-field-display-label{font-size:.75rem;color:#9ca3af}.custom-fields-display.list-inline .custom-field-display-value{font-size:.75rem;color:#6b7280}@media (prefers-color-scheme: dark){.custom-field-display-item.compact{background:#374151}.custom-field-display-label{color:#9ca3af}.custom-field-display-value{color:#f3f4f6}}/*! tailwindcss v4.1.7 | MIT License | https://tailwindcss.com */@layer properties{@supports ((-webkit-hyphens:none) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial}}}.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:-webkit-sticky;position:sticky}.isolate{isolation:isolate}.z-10{z-index:10}.z-20{z-index:20}.col-span-1{grid-column:span 1/span 1}.col-span-2{grid-column:span 2/span 2}.col-span-6{grid-column:span 6/span 6}.container{width:100%}.mx-auto{margin-inline:auto}.mt-auto{margin-top:auto}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.list-item{display:list-item}.table{display:table}.h-\[60vh\]{height:60vh}.h-full{height:100%}.h-px{height:1px}.min-h-\[100px\]{min-height:100px}.min-h-\[600px\]{min-height:600px}.min-h-screen{min-height:100vh}.w-\[42\%\]{width:42%}.w-\[85\%\]{width:85%}.w-\[300px\]{width:300px}.w-full{width:100%}.w-px{width:1px}.max-w-\[90\%\]{max-width:90%}.min-w-full{min-width:100%}.flex-1{flex:1}.flex-shrink{flex-shrink:1}.flex-shrink-0{flex-shrink:0}.shrink{flex-shrink:1}.flex-grow,.grow{flex-grow:1}.border-collapse{border-collapse:collapse}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.cursor-grab{cursor:grab}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.resize{resize:both}.resize-none{resize:none}.resize-y{resize:vertical}.appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.\[gap\:1\.5rem\]{gap:1.5rem}.\[gap\:1rem\]{gap:1rem}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px*var(--tw-divide-y-reverse));border-bottom-width:calc(1px*calc(1 - var(--tw-divide-y-reverse)))}.self-end{align-self:flex-end}.self-start{align-self:flex-start}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.rounded-full{border-radius:3.40282e38px}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-2{border-style:var(--tw-border-style);border-width:2px}.border-4{border-style:var(--tw-border-style);border-width:4px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-b-2{border-bottom-style:var(--tw-border-style);border-bottom-width:2px}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.border-l-2{border-left-style:var(--tw-border-style);border-left-width:2px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-none{--tw-border-style:none;border-style:none}.border-\[--border-light\]{border-color:--border-light}.border-\[--border-med\]{border-color:--border-med}.border-transparent{border-color:#0000}.bg-\[--bg-body\]{background-color:--bg-body}.bg-\[--bg-subtle\]{background-color:--bg-subtle}.bg-transparent{background-color:#0000}.bg-gradient-to-br{--tw-gradient-position:to bottom right in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.bg-gradient-to-r{--tw-gradient-position:to right in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.object-cover{object-fit:cover}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.align-middle{vertical-align:middle}.text-\[10px\]{font-size:10px}.text-\[11px\]{font-size:11px}.break-all{word-break:break-all}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.text-\[--text-secondary\]{color:--text-secondary}.text-\[--text-tertiary\]{color:--text-tertiary}.capitalize{text-transform:capitalize}.lowercase{text-transform:lowercase}.uppercase{text-transform:uppercase}.italic{font-style:italic}.ordinal{--tw-ordinal:ordinal;font-variant-numeric:var(--tw-ordinal,)var(--tw-slashed-zero,)var(--tw-numeric-figure,)var(--tw-numeric-spacing,)var(--tw-numeric-fraction,)}.line-through{-webkit-text-decoration-line:line-through;text-decoration-line:line-through}.underline{-webkit-text-decoration-line:underline;text-decoration-line:underline}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.opacity-0{opacity:0}.opacity-90{opacity:.9}.shadow-\[0_-4px_6px_-1px_rgba\(0\,0\,0\,0\.02\)\]{--tw-shadow:0 -4px 6px -1px var(--tw-shadow-color,#00000005);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring,.ring-1{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(1px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring-2{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.grayscale{--tw-grayscale:grayscale(100%);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.invert{--tw-invert:invert(100%);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.backdrop-blur-\[1px\]{--tw-backdrop-blur:blur(1px);-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,visibility,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,ease);transition-duration:var(--tw-duration,0s)}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,ease);transition-duration:var(--tw-duration,0s)}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,ease);transition-duration:var(--tw-duration,0s)}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,ease);transition-duration:var(--tw-duration,0s)}.duration-200{--tw-duration:.2s;transition-duration:.2s}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}.\[theme\:dark\]{theme:dark}.\[theme\:professional\]{theme:professional}.ring-inset{--tw-ring-inset:inset}@media (hover:hover){.group-hover\:opacity-100:is(:where(.group):hover *){opacity:1}}.file\:rounded-full::-webkit-file-upload-button{border-radius:3.40282e38px}.file\:rounded-full::file-selector-button{border-radius:3.40282e38px}.file\:border-0::-webkit-file-upload-button{border-style:var(--tw-border-style);border-width:0}.file\:border-0::file-selector-button{border-style:var(--tw-border-style);border-width:0}.last\:border-b-0:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}.focus-within\:ring-2:focus-within{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus-within\:ring-inset:focus-within{--tw-ring-inset:inset}@media (hover:hover){.hover\:underline:hover{-webkit-text-decoration-line:underline;text-decoration-line:underline}}.focus\:ring-0:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(0px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus\:ring-1:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(1px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus\:ring-2:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus\:ring-offset-2:focus{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color)}.focus\:outline-none:focus{--tw-outline-style:none;outline-style:none}.disabled\:opacity-50:disabled{opacity:.5}.disabled\:opacity-60:disabled{opacity:.6}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}.dynamic-form-container{background:#fff;border:1px solid #e5e7eb;border-radius:12px;width:100%;min-width:0;max-width:none;overflow:hidden visible}.dynamic-form-container,.dynamic-form-container *{box-sizing:border-box}.dynamic-form-container>form{box-sizing:border-box;background:#fff;border-radius:12px;width:100%;min-width:0;max-width:none;padding:0;overflow:visible}.form-header{color:#fff;background:linear-gradient(135deg,#2563eb,#06b6d4);border-radius:12px 12px 0 0;margin:0;padding:24px 32px}.form-header h3{color:#fff;margin:0;font-size:20px;font-weight:600}.form-row{grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:16px;width:100%;min-width:0;margin-bottom:20px;padding:0 32px;display:grid;overflow-x:hidden}.form-row:first-of-type{padding-top:32px}.form-group{flex-direction:column;gap:8px;width:100%;min-width:0;display:flex;overflow:hidden}.form-group label{color:#374151;margin-bottom:4px;font-size:14px;font-weight:600}.form-group input,.form-group select,.form-group textarea{box-sizing:border-box;word-wrap:break-word;overflow-wrap:break-word;border:2px solid #e5e7eb;border-radius:8px;width:100%;min-width:0;padding:12px 16px;font-size:14px;transition:border-color .2s,box-shadow .2s}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{border-color:#2563eb;outline:none;box-shadow:0 0 0 3px #2563eb1a}.line-items-section{background:#fff;border:1px solid #e5e7eb;border-radius:12px;width:100%;min-width:0;margin:24px 0;padding:24px;overflow:hidden visible}.line-items-section h4{color:#1f2937;margin:0 0 16px;font-size:16px;font-weight:600}.line-items-section button[onclick*=addLineItem]{color:#fff;cursor:pointer;background:#059669;border:none;border-radius:8px;margin-top:16px;padding:12px 20px;font-weight:600;transition:background-color .2s}.line-items-section button[onclick*=addLineItem]:hover{background:#047857}.line-item{box-sizing:border-box;background:#fff;border:1px solid #e5e7eb;border-radius:8px;grid-template-columns:minmax(0,2fr) minmax(0,1.5fr) minmax(0,100px) minmax(0,120px) auto;align-items:center;gap:12px;width:100%;min-width:0;margin-bottom:12px;padding:16px;display:grid;overflow-x:hidden}.line-item select,.line-item input{box-sizing:border-box;word-wrap:break-word;overflow-wrap:break-word;border:1px solid #d1d5db;border-radius:6px;width:100%;min-width:0;padding:8px 12px;font-size:13px}.line-item button{color:#fff;cursor:pointer;white-space:nowrap;background:#ef4444;border:none;border-radius:6px;padding:8px 12px;font-size:12px;font-weight:600}.line-item button:hover{background:#dc2626}.form-actions{border-top:2px solid #e5e7eb;justify-content:flex-end;gap:12px;width:100%;min-width:0;margin-top:32px;padding:24px 32px 32px;display:flex;overflow-x:hidden}.btn-primary{color:#fff;cursor:pointer;background:linear-gradient(135deg,#2563eb,#1d4ed8);border:none;border-radius:8px;min-width:120px;padding:14px 28px;font-size:14px;font-weight:600;transition:all .2s}.btn-primary:hover{transform:translateY(-1px);box-shadow:0 4px 12px #2563eb66}.btn-primary:disabled{opacity:.6;cursor:not-allowed;transform:none}.btn-secondary{color:#fff;cursor:pointer;background:#6b7280;border:none;border-radius:8px;min-width:120px;padding:14px 28px;font-size:14px;font-weight:600;transition:all .2s}.btn-secondary:hover{background:#4b5563}.form-renderer .dynamic-form-container,.form-renderer .line-items-section,.form-renderer .line-item{overflow-y:visible!important}.modal-content{width:100%!important;max-width:none!important;overflow-y:visible!important}.form-renderer{width:100%!important;max-width:none!important}.modal-content .form-renderer .form-header,.data-modal .form-renderer .form-header{display:none!important}.data-modal{max-height:90vh!important;overflow-y:auto!important}.modal-content .form-renderer .dynamic-form-container,.data-modal .form-renderer .dynamic-form-container,.form-renderer .dynamic-form-container,.modal-content .form-renderer .dynamic-form-container>form,.data-modal .form-renderer .dynamic-form-container>form,.form-renderer .dynamic-form-container>form{width:100%!important;min-width:0!important;max-width:none!important}.dynamic-form-container,.dynamic-form-container>form{width:100%!important;max-width:100%!important}.modal-header{color:#fff!important;background:linear-gradient(135deg,#667eea,#764ba2)!important;border-bottom:1px solid #e5e7eb!important;border-radius:12px 12px 0 0!important;justify-content:space-between!important;align-items:center!important;padding:24px 32px 20px!important;display:flex!important}.modal-header h2,.modal-header h3,.modal-header .modal-title{color:#fff!important;margin:0!important;font-size:24px!important;font-weight:700!important}.modal-header button,.modal-header .close-btn{color:#fff!important;cursor:pointer!important;background:#fff3!important;border:none!important;border-radius:50%!important;justify-content:center!important;align-items:center!important;width:40px!important;height:40px!important;font-size:24px!important;font-weight:700!important;line-height:1!important;transition:all .2s!important;display:flex!important}.modal-header button:hover,.modal-header .close-btn:hover{background:#ffffff4d!important;transform:scale(1.1)!important}.data-modal .dynamic-form-container,.data-modal .dynamic-form-wrapper,.data-modal .form-renderer,.data-modal form,.modal-content .dynamic-form-container,.modal-content .dynamic-form-wrapper,.modal-content .form-renderer,.modal-content form,.data-modal .line-items-section,.modal-content .line-items-section{background:#fff!important}@media (max-width:1024px){.line-item{grid-template-columns:1fr 80px 100px auto;gap:8px}.modal-container{width:95%!important;max-width:95vw!important;margin:20px auto!important}}@media (max-width:768px){.modal-overlay{padding:10px!important}.modal-container{border-radius:12px!important;width:100vw!important;max-width:100vw!important;max-height:95vh!important;margin:0!important}.modal-content{grid-template-columns:1fr!important;padding:16px!important}.form-row{gap:12px;grid-template-columns:1fr!important}.line-item{gap:8px;padding:12px;grid-template-columns:1fr!important}.line-item select,.line-item input{width:100%!important}.form-actions{gap:8px;flex-direction:column!important}.dynamic-form-container .btn-primary,.dynamic-form-container .btn-secondary,.form-actions .btn-primary,.form-actions .btn-secondary,.modal-actions .btn-primary,.modal-actions .btn-secondary{width:100%!important;min-height:44px!important;padding:12px 16px!important}.dynamic-form-container>form{padding:20px 16px!important}button,input[type=button],input[type=submit],a.button,.action-button{min-width:44px;min-height:44px!important}input[type=text],input[type=email],input[type=tel],input[type=number],input[type=date],input[type=datetime-local],select,textarea{min-height:44px!important;padding:12px!important;font-size:16px!important}}@media (max-width:480px){.modal-overlay{padding:5px!important}.modal-container{border-radius:8px!important}.modal-content{padding:12px!important}.dynamic-form-container>form{padding:16px 12px!important}.modal-header{padding:16px!important;font-size:18px!important}.table-wrapper{-webkit-overflow-scrolling:touch;overflow-x:auto!important}}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}.profile-page{max-width:1120px;margin:0 auto;padding:1.5rem 1rem 2rem}.profile-page.profile-page-settings{max-width:980px;padding:.5rem .25rem 8rem}.profile-stack{display:flex;flex-direction:column;gap:1rem}.profile-section-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;overflow:hidden;box-shadow:0 1px 2px #0f172a08}.profile-section-body{padding:1rem 1.25rem}.profile-section-header{padding:1rem 1.25rem;border-bottom:1px solid #f1f5f9;background:#fafafa}.profile-section-header h2{margin:0;font-size:.95rem;font-weight:600;color:#111827}.profile-section-header p{margin:.25rem 0 0;font-size:.75rem;color:#6b7280}.label-style{display:block;font-size:.75rem;font-weight:500;color:#374151;margin-bottom:.35rem}.input-style{width:100%;border:1px solid #e5e7eb;background:#fff;border-radius:8px;padding:.55rem .7rem;font-size:.82rem;color:#111827;transition:border-color .15s ease,box-shadow .15s ease}.input-style:focus{outline:none;border-color:#6366f1;box-shadow:0 0 0 3px #6366f11f}.profile-slug-group{display:flex;border:1px solid #e5e7eb;border-radius:8px;overflow:hidden;background:#f9fafb}.profile-slug-prefix{padding:.55rem .7rem;font-size:.8rem;color:#6b7280;border-right:1px solid #e5e7eb;background:#f9fafb;white-space:nowrap}.profile-slug-input{border:0;border-radius:0;background:#fff}.profile-slug-input:focus{box-shadow:none}.profile-details-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.profile-details-wide{grid-column:span 2}.profile-highlights-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.profile-highlight-card .profile-section-body{display:flex;flex-direction:column;gap:.6rem}.profile-highlight-header{display:flex;align-items:center;justify-content:space-between}.profile-mini-add{border:1px solid #d1d5db;border-radius:8px;background:#fff;color:#374151;font-size:.75rem;font-weight:600;padding:.4rem .65rem;cursor:pointer}.profile-mini-add:hover{background:#f9fafb}.profile-chip-row{display:flex;gap:.5rem;align-items:center}.profile-chip-row-stack{flex-direction:column;align-items:stretch}.profile-chip-card{border:1px solid #e5e7eb;border-radius:8px;padding:.65rem;background:#fff}.profile-empty-hint{font-size:.75rem;color:#6b7280;border:1px dashed #d1d5db;border-radius:8px;padding:.75rem;text-align:center}.profile-visibility-toggle{display:inline-flex;align-items:center;gap:.45rem;font-size:.75rem;color:#374151}.profile-visibility-toggle input[type=checkbox]{width:14px;height:14px}.profile-service-image-row{display:flex;gap:.6rem;align-items:flex-start}.profile-service-image-preview{width:88px;height:68px;border:1px dashed #d1d5db;border-radius:8px;background:#f8fafc;display:flex;align-items:center;justify-content:center;overflow:hidden;color:#9ca3af;font-size:.7rem;flex-shrink:0}.profile-service-image-preview img{width:100%;height:100%;object-fit:cover}.profile-service-image-controls{display:flex;flex-direction:column;gap:.4rem;width:100%}.profile-remove-link{border:0;background:transparent;color:#dc2626;font-size:.75rem;font-weight:600;cursor:pointer;white-space:nowrap}.profile-remove-link:hover{text-decoration:underline}.profile-file-input{width:100%;font-size:.75rem;color:#6b7280}.profile-leader-upload{display:flex;gap:.5rem;align-items:center}.profile-leader-avatar{width:48px;height:48px;border-radius:9999px;border:1px solid #d1d5db;background:#f8fafc;display:flex;align-items:center;justify-content:center;overflow:hidden;flex-shrink:0}.profile-leader-avatar img{width:100%;height:100%;object-fit:cover}.profile-media-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.profile-logo-preview{width:100%;max-width:280px;height:170px;border:1px dashed #d1d5db;border-radius:10px;background:#f8fafc;display:flex;align-items:center;justify-content:center;color:#9ca3af;margin-bottom:.6rem;overflow:hidden}.profile-logo-image{width:100%;height:100%;object-fit:contain}.profile-demo-grid{margin-top:.75rem;display:grid;grid-template-columns:repeat(auto-fill,minmax(86px,1fr));gap:.5rem}.profile-demo-item{border:1px solid #e5e7eb;border-radius:8px;padding:.3rem;display:flex;flex-direction:column;gap:.3rem}.profile-demo-item img{width:100%;height:64px;object-fit:cover;border-radius:6px}.profile-hours-table-wrap{overflow-x:auto}.profile-hours-table{width:100%;border-collapse:collapse}.profile-hours-table thead th{text-align:left;font-size:.7rem;letter-spacing:.05em;text-transform:uppercase;color:#6b7280;border-bottom:1px solid #e5e7eb;padding:.7rem 1.25rem}.profile-hours-table tbody td{border-bottom:1px solid #f3f4f6;padding:.65rem 1.25rem;font-size:.8rem;color:#374151}.profile-hours-status{display:inline-flex;gap:.45rem;align-items:center;font-size:.75rem;color:#6b7280}.profile-actions{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-top:1.5rem;padding-top:1rem;border-top:1px solid #e5e7eb}.profile-actions-sticky{position:-webkit-sticky;position:sticky;bottom:0;z-index:20;background:#fffffff5;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);padding:.9rem 1rem;border:1px solid #e5e7eb;border-radius:10px}.profile-actions-status{font-size:.75rem;color:#6b7280}.profile-actions-status span{color:#111827;font-weight:500}.profile-actions-buttons{display:flex;align-items:center;gap:.6rem}.profile-btn{border:1px solid transparent;border-radius:8px;font-size:.78rem;font-weight:600;line-height:1;padding:.62rem .92rem;cursor:pointer}.profile-btn-secondary{border-color:#d1d5db;background:#fff;color:#374151}.profile-btn-secondary:hover{background:#f9fafb}.profile-btn-primary{background:#4f46e5;color:#fff}.profile-btn-primary:hover{background:#4338ca}.profile-btn-warning{background:#f59e0b;color:#fff}.profile-btn-warning:hover{background:#d97706}.profile-public-link{font-size:.8rem;color:#4f46e5;text-decoration:none;font-weight:600}.profile-public-link:hover{text-decoration:underline}@media (max-width: 1024px){.profile-highlights-grid,.profile-media-grid{grid-template-columns:1fr}}@media (max-width: 640px){.profile-details-grid{grid-template-columns:1fr}.profile-details-wide{grid-column:span 1}.profile-actions,.profile-actions-buttons{flex-direction:column;align-items:stretch}.profile-actions-sticky{padding:.75rem}}.organization-settings{max-width:800px;margin:0 auto;padding:32px;background:#fff;border-radius:16px;box-shadow:0 1px 3px #0000001a}.settings-header{margin-bottom:32px;padding-bottom:24px;border-bottom:1px solid #e5e7eb}.settings-section h3{margin:0 0 16px;font-size:20px;font-weight:600;color:#1f2937}.section-description{margin:0 0 24px;color:#6b7280;font-size:14px;line-height:1.5}.form-group textarea{resize:vertical;min-height:80px}.entity-preferences{display:flex;flex-direction:column;gap:16px}.checkbox-option{display:flex;align-items:flex-start;gap:12px;padding:16px;border:1px solid #d1d5db;border-radius:8px;background:#fff;cursor:pointer;transition:all .2s ease}.checkbox-option:hover{border-color:#2563eb;background:#f8fafc}.checkbox-option input[type=checkbox]{width:18px;height:18px;border:2px solid #d1d5db;border-radius:4px;background:#fff;cursor:pointer;transition:all .2s ease;-webkit-appearance:none;-moz-appearance:none;appearance:none;position:relative;margin:0;flex-shrink:0}.checkbox-option input[type=checkbox]:checked{background:linear-gradient(135deg,#2563eb,#1d4ed8);border-color:#2563eb}.checkbox-option input[type=checkbox]:checked:after{content:"✓";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);color:#fff;font-size:12px;font-weight:700}.checkbox-label{display:flex;flex-direction:column;gap:4px;flex:1}.checkbox-label strong{color:#1f2937;font-weight:600;font-size:15px}.toggle-option-container{display:flex;flex-direction:column;gap:0}.config-section{padding:20px;margin-top:12px;background:#f0fdf4;border:1px solid #bbf7d0;border-radius:0 0 8px 8px}.config-row{display:flex;align-items:center;gap:16px;margin-bottom:16px}.config-row:last-of-type{margin-bottom:0}.config-row label{flex:0 0 200px;font-weight:500;color:#1f2937;font-size:14px}.input-with-unit{display:flex;align-items:center;gap:8px;flex:1}.input-with-unit input[type=number]{width:100px;padding:8px 12px;border:1px solid #d1d5db;border-radius:6px;font-size:14px;color:#1f2937;background:#fff;transition:all .2s ease}.input-with-unit input[type=number]:focus{outline:none;border-color:#10b981;box-shadow:0 0 0 3px #10b9811a}.input-with-unit .unit{color:#6b7280;font-size:13px;white-space:nowrap}.config-note{background:#fffbeb;border:1px solid #fde68a;border-radius:6px;padding:12px;margin-top:16px;margin-bottom:0;font-size:13px;color:#78350f;line-height:1.5}.config-note strong{color:#78350f}@media (max-width: 768px){.organization-settings{padding:20px;margin:10px}.form-grid{grid-template-columns:1fr;gap:16px}.settings-header h2{font-size:24px}.settings-section{padding:16px}.checkbox-option,.toggle-option{padding:12px}.save-btn{width:100%}}.csv-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#0009;display:flex;align-items:center;justify-content:center;z-index:2000;padding:20px;animation:fadeIn .2s ease-out}.csv-modal-container{background:#fff;border-radius:16px;max-width:900px;width:100%;max-height:90vh;overflow-y:auto;overflow-x:hidden;box-shadow:0 24px 60px #0000004d;animation:slideUp .3s ease-out}.csv-modal-container,.csv-modal-container *{box-sizing:border-box}.csv-modal-header{display:flex;align-items:center;justify-content:space-between;padding:24px 32px;border-bottom:2px solid #e2e8f0;background:linear-gradient(135deg,#10b981,#059669)}.csv-modal-header h2{margin:0;font-size:1.5rem;font-weight:700;color:#fff}.csv-modal-close{width:32px;height:32px;border-radius:8px;background:#fff3;border:none;color:#fff;font-size:20px;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;justify-content:center}.csv-modal-close:hover{background:#ffffff4d;transform:scale(1.1)}.csv-step-indicator{display:flex;align-items:center;justify-content:space-between;padding:32px;background:#f8fafc;border-bottom:1px solid #e2e8f0;position:relative}.csv-step-indicator:before{content:"";position:absolute;top:50%;left:80px;right:80px;height:2px;background:#e2e8f0;z-index:0}.csv-step{display:flex;flex-direction:column;align-items:center;gap:8px;position:relative;z-index:1}.csv-step-number{width:48px;height:48px;border-radius:50%;background:#fff;border:3px solid #e2e8f0;display:flex;align-items:center;justify-content:center;font-weight:700;color:#94a3b8;transition:all .3s ease;font-size:1.125rem}.csv-step.active .csv-step-number{border-color:#10b981;background:#10b981;color:#fff;transform:scale(1.1)}.csv-step.completed .csv-step-number{border-color:#10b981;background:#10b981;color:#fff}.csv-step.completed .csv-step-number:before{content:"✓"}.csv-step-label{font-size:.875rem;font-weight:600;color:#64748b;text-align:center}.csv-step.active .csv-step-label{color:#10b981}.csv-modal-content{padding:32px;min-height:400px}.csv-step-content,.csv-upload-section{display:flex;flex-direction:column;gap:24px}.csv-dropzone{border:3px dashed #cbd5e1;border-radius:16px;padding:64px 32px;text-align:center;cursor:pointer;transition:all .3s ease;background:#f8fafc}.csv-dropzone:hover{border-color:#10b981;background:#f0fdf4}.csv-dropzone.dragging{border-color:#10b981;background:#dcfce7;transform:scale(1.02)}.csv-dropzone-icon{font-size:64px;margin-bottom:16px;animation:float 3s ease-in-out infinite}@keyframes float{0%,to{transform:translateY(0)}50%{transform:translateY(-10px)}}.csv-dropzone h3{margin:0 0 8px;font-size:1.25rem;font-weight:600;color:#1e293b}.csv-dropzone p{margin:0;color:#64748b;font-size:.875rem}.csv-template-section{text-align:center;padding:24px;background:#fffbeb;border:1px solid #fde68a;border-radius:12px}.csv-template-section h4{margin:0 0 12px;font-size:1rem;font-weight:600;color:#92400e}.csv-mapping-section h3{margin:0 0 8px;font-size:1.25rem;font-weight:600;color:#1e293b}.csv-hint{margin:0 0 24px;color:#64748b;font-size:.875rem}.csv-mapping-table{border:1px solid #e2e8f0;border-radius:12px;overflow:hidden}.csv-mapping-header{display:grid;grid-template-columns:1fr 1fr 1fr;gap:16px;padding:16px;background:#f8fafc;border-bottom:2px solid #e2e8f0;font-weight:600;color:#475569;font-size:.875rem}.csv-mapping-row{display:grid;grid-template-columns:1fr 1fr 1fr;gap:16px;padding:16px;border-bottom:1px solid #e2e8f0;align-items:center}.csv-mapping-row:last-child{border-bottom:none}.csv-mapping-row:hover{background:#f8fafc}.csv-mapping-col{font-size:.875rem;color:#1e293b}.csv-sample-data{color:#64748b;font-style:italic}.csv-field-select{width:100%;padding:8px 12px;border:1px solid #cbd5e1;border-radius:8px;font-size:.875rem;background:#fff;cursor:pointer;transition:all .2s ease}.csv-field-select:hover{border-color:#10b981}.csv-field-select:focus{outline:none;border-color:#10b981;box-shadow:0 0 0 3px #10b9811a}.csv-preview-section h3{margin:0 0 24px;font-size:1.25rem;font-weight:600;color:#1e293b}.csv-preview-table-wrapper{overflow-x:auto;border:1px solid #e2e8f0;border-radius:12px}.csv-preview-table{width:100%;border-collapse:collapse}.csv-preview-table thead{background:#f8fafc}.csv-preview-table th{padding:12px 16px;text-align:left;font-size:.875rem;font-weight:600;color:#475569;border-bottom:2px solid #e2e8f0;white-space:nowrap}.csv-preview-table td{padding:12px 16px;text-align:left;font-size:.875rem;color:#1e293b;border-bottom:1px solid #f1f5f9}.csv-preview-table tbody tr:hover{background:#f8fafc}.csv-preview-note{margin:16px 0 0;text-align:center;color:#64748b;font-size:.875rem;font-style:italic}.csv-errors-section{background:#fef2f2;border:2px solid #fca5a5;border-radius:12px;padding:24px}.csv-error-header{display:flex;align-items:center;gap:12px;margin-bottom:16px}.csv-error-icon{font-size:32px}.csv-error-header h4{margin:0;font-size:1.125rem;font-weight:600;color:#dc2626}.csv-error-list{background:#fff;border:1px solid #fca5a5;border-radius:8px;padding:16px;margin-bottom:16px;max-height:300px;overflow-y:auto}.csv-error-item{padding:8px 0;font-size:.875rem;color:#991b1b;border-bottom:1px solid #fee2e2}.csv-error-item:last-child{border-bottom:none}.csv-error-item strong{color:#dc2626}.csv-error-more{padding:8px 0;font-size:.875rem;color:#991b1b;font-style:italic;text-align:center}.csv-importing-section{text-align:center;padding:48px 32px}.csv-progress-icon{font-size:72px;margin-bottom:24px;animation:spin 2s linear infinite}.csv-importing-section h3{margin:0 0 32px;font-size:1.5rem;font-weight:600;color:#1e293b}.csv-progress-bar{width:100%;height:12px;background:#e2e8f0;border-radius:6px;overflow:hidden;margin-bottom:16px}.csv-progress-fill{height:100%;background:linear-gradient(90deg,#10b981,#059669);transition:width .3s ease;border-radius:6px}.csv-progress-text{margin:0;font-size:1.125rem;font-weight:600;color:#10b981}.csv-complete-section{text-align:center;padding:48px 32px}.csv-success-icon{font-size:72px;margin-bottom:24px;animation:checkmark .5s ease-out}@keyframes checkmark{0%{transform:scale(0);opacity:0}50%{transform:scale(1.2)}to{transform:scale(1);opacity:1}}.csv-complete-section h3{margin:0 0 32px;font-size:1.5rem;font-weight:600;color:#1e293b}.csv-stats{display:flex;gap:24px;justify-content:center}.csv-stat-card{padding:24px 32px;border-radius:12px;min-width:180px}.csv-stat-card.success{background:linear-gradient(135deg,#dcfce7,#bbf7d0);border:2px solid #86efac}.csv-stat-card.failed{background:linear-gradient(135deg,#fef2f2,#fee2e2);border:2px solid #fca5a5}.csv-stat-number{font-size:2.5rem;font-weight:700;margin-bottom:8px}.csv-stat-card.success .csv-stat-number{color:#16a34a}.csv-stat-card.failed .csv-stat-number{color:#dc2626}.csv-stat-label{font-size:.875rem;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.05em}.csv-modal-actions{display:flex;align-items:center;justify-content:flex-end;gap:16px;padding-top:24px;border-top:1px solid #e2e8f0;margin-top:24px}.csv-btn-primary{padding:12px 24px;background:linear-gradient(135deg,#10b981,#059669);color:#fff;border:none;border-radius:8px;font-size:.9375rem;font-weight:600;cursor:pointer;transition:all .2s ease;box-shadow:0 2px 8px #10b98133}.csv-btn-primary:hover{transform:translateY(-2px);box-shadow:0 4px 12px #10b9814d}.csv-btn-primary:active{transform:translateY(0)}.csv-btn-secondary{padding:12px 24px;background:#fff;color:#64748b;border:2px solid #e2e8f0;border-radius:8px;font-size:.9375rem;font-weight:600;cursor:pointer;transition:all .2s ease}.csv-btn-secondary:hover{background:#f8fafc;border-color:#cbd5e1;color:#475569}@media (max-width: 768px){.csv-modal-container{max-width:100%;max-height:100vh;border-radius:0}.csv-modal-overlay{padding:0}.csv-modal-header,.csv-modal-content{padding:20px}.csv-step-indicator{padding:20px 16px}.csv-step-indicator:before{left:50px;right:50px}.csv-step-number{width:40px;height:40px;font-size:1rem}.csv-step-label{font-size:.75rem}.csv-mapping-header,.csv-mapping-row{grid-template-columns:1fr;gap:8px}.csv-mapping-col{padding:8px 0}.csv-stats{flex-direction:column;gap:16px}.csv-stat-card{min-width:100%}.csv-dropzone{padding:40px 20px}.csv-dropzone-icon{font-size:48px}.csv-modal-actions{flex-direction:column-reverse;gap:12px}.csv-btn-primary,.csv-btn-secondary{width:100%}}@media (max-width: 480px){.csv-modal-header h2{font-size:1.25rem}.csv-step-indicator{overflow-x:auto;justify-content:flex-start;gap:32px;padding:16px}.csv-step-indicator:before{display:none}.csv-progress-icon,.csv-success-icon{font-size:56px}.csv-complete-section h3,.csv-importing-section h3{font-size:1.25rem}.csv-stat-number{font-size:2rem}}.qb-connection-container{margin-bottom:3rem}.qb-connection-card{background:#fff;border-radius:16px;padding:2rem;box-shadow:0 1px 3px #0000001a;border:2px solid #e2e8f0;transition:all .3s ease}.qb-connection-card:hover{border-color:#10b981;box-shadow:0 8px 16px #10b9811a}.qb-header{display:flex;align-items:flex-start;gap:1rem;margin-bottom:1.5rem;padding-bottom:1.5rem;border-bottom:2px solid #f1f5f9}.qb-logo{flex-shrink:0}.qb-title{flex:1}.qb-title h3{font-size:1.5rem;font-weight:700;color:#1e293b;margin-bottom:.5rem;background:linear-gradient(135deg,#10b981,#059669);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.qb-title p{font-size:.9375rem;color:#64748b;line-height:1.5;margin:0}.qb-not-connected{display:flex;flex-direction:column;gap:1.5rem}.qb-features{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem;padding:1.5rem;background:linear-gradient(135deg,#f0fdf4,#dcfce7);border-radius:12px;border:1px solid #bbf7d0}.qb-feature{display:flex;align-items:center;gap:.75rem;font-size:.9375rem;color:#15803d;font-weight:600}.qb-checkmark{color:#059669;font-weight:700;font-size:1.5rem;line-height:1;flex-shrink:0}.qb-connect-btn{background:linear-gradient(135deg,#10b981,#059669);color:#fff;border:none;padding:1rem 2rem;border-radius:10px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .3s ease;box-shadow:0 4px 12px #10b9814d;align-self:flex-start;position:relative;overflow:hidden}.qb-connect-btn:before{content:"";position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.2),transparent);transition:left .5s}.qb-connect-btn:hover:before{left:100%}.qb-connect-btn:hover:not(:disabled){background:linear-gradient(135deg,#059669,#047857);transform:translateY(-2px);box-shadow:0 6px 16px #10b98166}.qb-connect-btn:active:not(:disabled){transform:translateY(0)}.qb-connect-btn:disabled{opacity:.6;cursor:not-allowed;transform:none}.qb-note{font-size:.8125rem;color:#94a3b8;font-style:italic;margin:0;padding:.75rem 1rem;background:#f8fafc;border-left:3px solid #cbd5e1;border-radius:6px}.qb-connected{display:flex;flex-direction:column;gap:1.5rem}.qb-status{display:flex;align-items:center;gap:1rem;flex-wrap:wrap}.qb-status-badge{background:linear-gradient(135deg,#d1fae5,#a7f3d0);color:#065f46;padding:.5rem 1rem;border-radius:999px;font-size:.9375rem;font-weight:700;display:inline-flex;align-items:center;gap:.5rem;box-shadow:0 2px 8px #05966933;border:1px solid #6ee7b7}.qb-last-sync{font-size:.875rem;color:#64748b;font-weight:500}.qb-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:1.25rem;padding:1.75rem;background:linear-gradient(135deg,#f8fafc,#f1f5f9);border-radius:12px;border:1px solid #e2e8f0}.qb-stat{display:flex;flex-direction:column;gap:.375rem;padding:1rem;background:#fff;border-radius:8px;text-align:center;box-shadow:0 1px 3px #0000000d;transition:all .3s ease}.qb-stat:hover{transform:translateY(-2px);box-shadow:0 4px 12px #10b98126}.qb-stat-value{font-size:2rem;font-weight:700;color:#059669;line-height:1;background:linear-gradient(135deg,#10b981,#059669);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.qb-stat-label{font-size:.75rem;color:#64748b;text-transform:uppercase;letter-spacing:.05em;font-weight:600}.qb-actions{display:flex;gap:.75rem;flex-wrap:wrap;padding-top:.5rem}.qb-action-btn{padding:.75rem 1.5rem;border-radius:8px;font-size:.9375rem;font-weight:600;cursor:pointer;transition:all .3s ease;border:none;position:relative;overflow:hidden}.qb-sync-btn{background:linear-gradient(135deg,#10b981,#059669);color:#fff;box-shadow:0 2px 8px #10b9814d}.qb-sync-btn:before{content:"";position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.2),transparent);transition:left .5s}.qb-sync-btn:hover:before{left:100%}.qb-sync-btn:hover:not(:disabled){background:linear-gradient(135deg,#059669,#047857);transform:translateY(-2px);box-shadow:0 4px 12px #10b98166}.qb-disconnect-btn{background:#fff;color:#dc2626;border:2px solid #fecaca;box-shadow:0 1px 3px #0000000d}.qb-disconnect-btn:hover:not(:disabled){background:#fef2f2;border-color:#fca5a5;transform:translateY(-2px);box-shadow:0 4px 12px #dc262626}.qb-action-btn:active:not(:disabled){transform:translateY(0)}.qb-action-btn:disabled{opacity:.5;cursor:not-allowed;transform:none}.qb-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#0009;display:flex;align-items:center;justify-content:center;z-index:10000;animation:fadeIn .2s ease-out}.qb-modal{background:#fff;border-radius:16px;padding:2rem;max-width:440px;width:90%;box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a;animation:slideUp .3s ease-out}.qb-modal h3{font-size:1.375rem;font-weight:700;color:#1e293b;margin-bottom:.75rem}.qb-modal p{font-size:.9375rem;color:#64748b;line-height:1.6;margin-bottom:1.75rem}.qb-modal-actions{display:flex;gap:.75rem;justify-content:flex-end}.qb-modal-btn{padding:.75rem 1.5rem;border-radius:8px;font-size:.9375rem;font-weight:600;cursor:pointer;transition:all .2s ease;border:none}.qb-cancel-btn{background:#f1f5f9;color:#475569;border:1px solid #e2e8f0}.qb-cancel-btn:hover{background:#e2e8f0;border-color:#cbd5e1}.qb-confirm-btn{background:linear-gradient(135deg,#dc2626,#b91c1c);color:#fff;box-shadow:0 2px 8px #dc26264d}.qb-confirm-btn:hover:not(:disabled){background:linear-gradient(135deg,#b91c1c,#991b1b);transform:translateY(-1px);box-shadow:0 4px 12px #dc262666}.qb-confirm-btn:disabled{opacity:.5;cursor:not-allowed;transform:none}@media (max-width: 768px){.qb-connection-card{padding:1.5rem}.qb-header{flex-direction:column;gap:1rem}.qb-title h3{font-size:1.25rem}.qb-title p{font-size:.875rem}.qb-features{grid-template-columns:1fr;gap:.75rem;padding:1.25rem}.qb-connect-btn{width:100%;justify-content:center}.qb-stats{grid-template-columns:1fr;gap:1rem;padding:1.5rem}.qb-actions{flex-direction:column}.qb-action-btn{width:100%;justify-content:center}.qb-modal{padding:1.5rem}.qb-modal h3{font-size:1.25rem}.qb-modal p{font-size:.875rem}.qb-modal-actions{flex-direction:column}.qb-modal-btn{width:100%;justify-content:center}}@media (max-width: 480px){.qb-connection-container{margin-bottom:2rem}.qb-connection-card{padding:1.25rem}.qb-header{padding-bottom:1rem}.qb-title h3{font-size:1.125rem}.qb-features{padding:1rem}.qb-feature{font-size:.875rem}.qb-checkmark{font-size:1.25rem}.qb-connect-btn{padding:.875rem 1.5rem;font-size:.9375rem}.qb-stats{padding:1.25rem}.qb-stat{padding:.875rem}.qb-stat-value{font-size:1.75rem}.qb-action-btn{padding:.75rem 1.25rem;font-size:.875rem}}.qb-connection-card{animation:fadeInUp .5s ease-out}.qb-import-btn,.qb-export-btn{background:#fff;color:#10b981;border:2px solid #d1fae5;box-shadow:0 1px 3px #0000000d}.qb-import-btn:hover:not(:disabled),.qb-export-btn:hover:not(:disabled){background:#f0fdf4;border-color:#a7f3d0;transform:translateY(-2px);box-shadow:0 4px 12px #10b98126}.qb-items-modal{max-width:700px;max-height:85vh;display:flex;flex-direction:column}.qb-items-modal h3{margin-bottom:.5rem}.qb-items-modal>p{margin-bottom:1.5rem}.qb-loading{text-align:center;padding:3rem 1rem;color:#64748b;font-size:1rem}.qb-items-list{flex:1;overflow-y:auto;max-height:50vh;margin-bottom:1.5rem;border:1px solid #e2e8f0;border-radius:8px;padding:.5rem;background:#f8fafc}.qb-no-items{text-align:center;padding:2rem 1rem;color:#94a3b8;font-style:italic}.qb-item{background:#fff;border:1px solid #e2e8f0;border-radius:8px;margin-bottom:.5rem;transition:all .2s ease}.qb-item:hover:not(.qb-item-synced){border-color:#10b981;box-shadow:0 2px 8px #10b9811a}.qb-item-synced{background:#f8fafc;border-color:#cbd5e1;opacity:.7}.qb-item-label{display:flex;align-items:flex-start;gap:1rem;padding:1rem;cursor:pointer;width:100%}.qb-item-label input[type=checkbox]{margin-top:.25rem;width:18px;height:18px;cursor:pointer;flex-shrink:0}.qb-item-label input[type=checkbox]:disabled{cursor:not-allowed;opacity:.5}.qb-item-info{flex:1;min-width:0}.qb-item-name{font-size:.9375rem;font-weight:600;color:#1e293b;margin-bottom:.5rem;display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}.qb-item-details{display:flex;gap:1rem;flex-wrap:wrap;font-size:.875rem;color:#64748b}.qb-item-type{background:#f1f5f9;padding:.125rem .5rem;border-radius:4px;font-size:.75rem;font-weight:600;color:#475569;text-transform:uppercase}.qb-item-price{font-weight:600;color:#059669}.qb-status-badge{font-size:.6875rem;padding:.25rem .5rem;border-radius:999px;font-weight:600;text-transform:uppercase;letter-spacing:.025em}.qb-badge-exists{background:#fef3c7;color:#92400e;border:1px solid #fde68a}.qb-badge-synced{background:#dbeafe;color:#1e40af;border:1px solid #bfdbfe}@media (max-width: 768px){.qb-items-modal{max-width:95%}.qb-items-list{max-height:60vh}.qb-item-label{padding:.75rem}.qb-item-details{flex-direction:column;gap:.375rem}.qb-modal-actions{flex-direction:column-reverse}}@media (max-width: 480px){.qb-items-modal{padding:1.25rem}.qb-item-name{font-size:.875rem}.qb-item-details{font-size:.8125rem}}.stripe-connect-container{margin-bottom:3rem}.stripe-connect-card{background:#fff;border-radius:16px;padding:2rem;box-shadow:0 1px 3px #0000001a;border:2px solid #e2e8f0;transition:all .3s ease}.stripe-connect-card:hover{border-color:#635bff;box-shadow:0 8px 16px #635bff1a}.stripe-header{display:flex;align-items:flex-start;gap:1rem;margin-bottom:1.5rem;padding-bottom:1.5rem;border-bottom:2px solid #f1f5f9}.stripe-logo{flex-shrink:0}.stripe-title{flex:1}.stripe-title h3{font-size:1.5rem;font-weight:700;color:#1e293b;margin-bottom:.5rem;background:linear-gradient(135deg,#635bff,#0a2540);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.stripe-title p{font-size:.9375rem;color:#64748b;line-height:1.5;margin:0}.stripe-status-badge{padding:.5rem 1rem;border-radius:20px;font-size:.875rem;font-weight:600;flex-shrink:0}.stripe-status-badge.connected{background:linear-gradient(135deg,#d1fae5,#a7f3d0);color:#065f46;border:1px solid #6ee7b7}.stripe-not-connected{display:flex;flex-direction:column;gap:1.5rem}.stripe-features{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem;padding:1.5rem;background:linear-gradient(135deg,#f6f5ff,#edebfe);border-radius:12px;border:1px solid #C4B5FD}.stripe-feature{display:flex;align-items:center;gap:.75rem;font-size:.9375rem;color:#5b21b6;font-weight:600}.stripe-checkmark{color:#635bff;font-weight:700;font-size:1.5rem;line-height:1;flex-shrink:0}.stripe-connect-btn{background:linear-gradient(135deg,#635bff,#0a2540);color:#fff;border:none;padding:1rem 2rem;border-radius:10px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .3s ease;box-shadow:0 4px 12px #635bff4d;align-self:flex-start;position:relative;overflow:hidden}.stripe-connect-btn:before{content:"";position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.2),transparent);transition:left .5s}.stripe-connect-btn:hover:before{left:100%}.stripe-connect-btn:hover:not(:disabled){background:linear-gradient(135deg,#4b3fd9,#0a2540);transform:translateY(-2px);box-shadow:0 6px 16px #635bff66}.stripe-connect-btn:active:not(:disabled){transform:translateY(0)}.stripe-connect-btn:disabled{opacity:.6;cursor:not-allowed;transform:none}.stripe-note{font-size:.8125rem;color:#94a3b8;font-style:italic;margin:0;padding:.75rem 1rem;background:#f8fafc;border-left:3px solid #cbd5e1;border-radius:6px}.stripe-connected{display:flex;flex-direction:column;gap:1.5rem}.stripe-info-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem}.stripe-info-item{display:flex;flex-direction:column;gap:.5rem}.stripe-info-item label{font-size:.8125rem;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.025em}.stripe-value{font-size:1rem;font-weight:600;color:#1e293b;font-family:Courier New,monospace}.stripe-status-indicator{display:inline-flex;align-items:center;gap:.5rem;padding:.375rem .75rem;border-radius:6px;font-size:.875rem;font-weight:600;width:-webkit-fit-content;width:fit-content}.stripe-status-indicator.active{background:#d1fae5;color:#065f46}.stripe-status-indicator.inactive{background:#fee2e2;color:#991b1b}.stripe-capabilities{padding:1.5rem;background:#f8fafc;border-radius:12px;border:1px solid #e2e8f0}.stripe-capabilities h4{font-size:1rem;font-weight:600;color:#1e293b;margin:0 0 1rem}.capabilities-grid{display:flex;flex-direction:column;gap:.75rem}.capability-item{display:flex;justify-content:space-between;align-items:center;padding:.75rem;background:#fff;border-radius:8px;border:1px solid #e2e8f0}.capability-label{font-size:.9375rem;font-weight:500;color:#475569}.capability-status{padding:.25rem .75rem;border-radius:12px;font-size:.8125rem;font-weight:600}.capability-status.green{background:#d1fae5;color:#065f46}.capability-status.orange{background:#fed7aa;color:#9a3412}.capability-status.red{background:#fee2e2;color:#991b1b}.capability-status.gray{background:#f1f5f9;color:#64748b}.stripe-requirements-warning{padding:1.5rem;background:linear-gradient(135deg,#fff7ed,#ffedd5);border:2px solid #fb923c;border-radius:12px}.warning-header{display:flex;align-items:center;gap:.75rem;margin-bottom:.75rem}.warning-icon{font-size:1.5rem;line-height:1}.stripe-requirements-warning h4{font-size:1.125rem;font-weight:700;color:#9a3412;margin:0}.stripe-requirements-warning p{font-size:.9375rem;color:#7c2d12;margin:.5rem 0;line-height:1.5}.stripe-requirements-warning ul{list-style:none;padding:0;margin:1rem 0}.stripe-requirements-warning li{padding:.5rem 0 .5rem 1.5rem;position:relative;color:#9a3412;font-size:.875rem}.stripe-requirements-warning li:before{content:"•";position:absolute;left:.5rem;font-weight:700}.stripe-requirements-warning li.requirement-past-due{color:#991b1b;font-weight:600}.stripe-requirements-warning li.requirement-past-due:before{content:"⚠"}.stripe-complete-onboarding-btn{background:#ea580c;color:#fff;border:none;padding:.75rem 1.5rem;border-radius:8px;font-size:.9375rem;font-weight:600;cursor:pointer;transition:all .2s;margin-top:1rem}.stripe-complete-onboarding-btn:hover:not(:disabled){background:#c2410c;transform:translateY(-1px)}.stripe-complete-onboarding-btn:disabled{opacity:.6;cursor:not-allowed}.stripe-last-payout{padding:1.5rem;background:linear-gradient(135deg,#eff6ff,#dbeafe);border-radius:12px;border:1px solid #93c5fd}.stripe-last-payout h4{font-size:1rem;font-weight:600;color:#1e40af;margin:0 0 1rem}.payout-info{display:flex;gap:1.5rem;align-items:center}.payout-amount{font-size:1.875rem;font-weight:700;color:#1e40af}.payout-details{display:flex;flex-direction:column;gap:.5rem}.payout-date{font-size:.875rem;color:#3b82f6}.payout-status{padding:.25rem .75rem;border-radius:12px;font-size:.8125rem;font-weight:600;width:-webkit-fit-content;width:fit-content;text-transform:capitalize}.payout-status.paid{background:#d1fae5;color:#065f46}.payout-status.in_transit{background:#fef3c7;color:#92400e}.payout-status.pending{background:#e0e7ff;color:#3730a3}.stripe-actions{display:flex;gap:1rem;padding-top:1rem;border-top:1px solid #e2e8f0}.stripe-refresh-btn{background:linear-gradient(135deg,#635bff,#0a2540);color:#fff;border:none;padding:.75rem 1.5rem;border-radius:8px;font-size:.9375rem;font-weight:600;cursor:pointer;transition:all .2s}.stripe-refresh-btn:hover:not(:disabled){background:linear-gradient(135deg,#4b3fd9,#0a2540);transform:translateY(-1px)}.stripe-refresh-btn:disabled{opacity:.6;cursor:not-allowed}.stripe-disconnect-btn{background:#fff;color:#dc2626;border:2px solid #dc2626;padding:.75rem 1.5rem;border-radius:8px;font-size:.9375rem;font-weight:600;cursor:pointer;transition:all .2s}.stripe-disconnect-btn:hover:not(:disabled){background:#dc2626;color:#fff}.stripe-disconnect-btn:disabled{opacity:.6;cursor:not-allowed}.stripe-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:9999}.stripe-modal{background:#fff;border-radius:16px;padding:2rem;max-width:500px;width:90%;box-shadow:0 20px 25px -5px #0000001a}.stripe-modal h3{font-size:1.5rem;font-weight:700;color:#1e293b;margin:0 0 1rem}.stripe-modal p{font-size:.9375rem;color:#64748b;line-height:1.6;margin-bottom:1.5rem}.stripe-modal-actions{display:flex;gap:1rem;justify-content:flex-end}.stripe-modal-btn{padding:.75rem 1.5rem;border-radius:8px;font-size:.9375rem;font-weight:600;cursor:pointer;transition:all .2s;border:none}.stripe-modal-btn.cancel{background:#f1f5f9;color:#475569}.stripe-modal-btn.cancel:hover:not(:disabled){background:#e2e8f0}.stripe-modal-btn.confirm{background:#dc2626;color:#fff}.stripe-modal-btn.confirm:hover:not(:disabled){background:#b91c1c}.stripe-modal-btn:disabled{opacity:.6;cursor:not-allowed}.stripe-setup-checklist{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:1.25rem}.stripe-setup-checklist h4{margin:0 0 .75rem;font-size:1rem;color:#1e293b}.stripe-setup-checklist ul{margin:0 0 .75rem;padding-left:1.25rem}.stripe-setup-checklist li{margin-bottom:.5rem;color:#475569}.stripe-setup-checklist li.setup-ok{color:#065f46}.stripe-setup-checklist li.setup-warn{color:#92400e}.stripe-setup-error{color:#b91c1c;margin:0 0 .75rem}.stripe-setup-code{display:block;margin-top:.35rem;padding:.5rem .75rem;background:#fff;border:1px solid #cbd5e1;border-radius:6px;font-size:.75rem;word-break:break-all}.stripe-setup-note{margin:0;font-size:.875rem;color:#64748b;line-height:1.5}@media (max-width: 768px){.stripe-connect-card{padding:1.5rem}.stripe-header{flex-direction:column;align-items:flex-start}.stripe-features,.stripe-info-grid{grid-template-columns:1fr}.payout-info{flex-direction:column;align-items:flex-start}.stripe-modal{padding:1.5rem}.stripe-modal-actions{flex-direction:column}.stripe-modal-btn{width:100%}}.google-calendar-container{margin-bottom:24px}.google-calendar-card{background:linear-gradient(180deg,#fff,#f8fbff);border:1px solid #d6e3f5;border-radius:20px;padding:24px;box-shadow:0 18px 40px #0f172a14}.google-calendar-header{display:flex;align-items:center;gap:16px}.google-calendar-logo{width:52px;height:52px;border-radius:16px;background:#eef6ff;display:grid;grid-template-columns:repeat(2,1fr);gap:5px;padding:10px;flex:0 0 auto}.google-calendar-logo .dot{border-radius:999px}.google-calendar-logo .dot-blue{background:#1a73e8}.google-calendar-logo .dot-green{background:#34a853}.google-calendar-logo .dot-yellow{background:#fbbc04}.google-calendar-logo .dot-red{background:#ea4335}.google-calendar-title{flex:1 1 auto}.google-calendar-title h3{margin:0;font-size:1.2rem;color:#142033}.google-calendar-title p{margin:6px 0 0;color:#516076;line-height:1.45}.google-calendar-badge{border-radius:999px;padding:8px 12px;font-size:.82rem;font-weight:700;white-space:nowrap}.google-calendar-badge.connected{background:#dcfce7;color:#166534}.google-calendar-badge.pending{background:#fef3c7;color:#92400e}.google-calendar-badge.error{background:#fee2e2;color:#991b1b}.google-calendar-badge.idle{background:#e2e8f0;color:#334155}.google-calendar-badge.rollout{background:#dbeafe;color:#1d4ed8}.google-calendar-note{margin-top:16px;padding:12px 14px;border-radius:14px;font-size:.95rem}.google-calendar-note.rollout{background:#eff6ff;color:#1d4ed8}.google-calendar-note.error{background:#fff1f2;color:#b91c1c}.google-calendar-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:18px}.google-calendar-meta>div{background:#ffffffe0;border:1px solid #e2e8f0;border-radius:16px;padding:14px}.google-calendar-meta .label{display:block;font-size:.78rem;font-weight:700;color:#64748b;margin-bottom:6px;text-transform:uppercase;letter-spacing:.04em}.google-calendar-meta strong{color:#172033}.google-calendar-picker{margin-top:18px;border-top:1px solid #e2e8f0;padding-top:18px}.google-calendar-actions{margin-top:20px;display:flex;gap:12px;flex-wrap:wrap}.google-btn{border:0;border-radius:12px;padding:12px 16px;font:inherit;font-weight:700;cursor:pointer;transition:transform .16s ease,box-shadow .16s ease,opacity .16s ease}.google-btn:hover:not(:disabled){transform:translateY(-1px)}.google-btn:disabled{cursor:not-allowed;opacity:.65}.google-btn-primary{background:linear-gradient(135deg,#1a73e8,#1967d2);color:#fff;box-shadow:0 14px 28px #1a73e833}.google-btn-secondary{background:#e2ecfb;color:#163a70}.google-btn-danger{background:#fee2e2;color:#991b1b}@media (max-width: 800px){.google-calendar-header{flex-wrap:wrap}.google-calendar-meta{grid-template-columns:1fr}}.outlook-calendar-container{margin-bottom:24px}.outlook-calendar-card{background:linear-gradient(180deg,#fff,#f7fbff);border:1px solid #d7e4f3;border-radius:20px;padding:24px;box-shadow:0 18px 40px #0f172a14}.outlook-calendar-header{display:flex;align-items:center;gap:16px}.outlook-calendar-logo{width:52px;height:52px;border-radius:16px;background:#eef5fb;display:grid;grid-template-columns:repeat(2,1fr);gap:5px;padding:10px;flex:0 0 auto}.outlook-calendar-logo .tile{border-radius:8px}.outlook-calendar-logo .tile-blue{background:#0078d4}.outlook-calendar-logo .tile-navy{background:#0f4ea8}.outlook-calendar-logo .tile-cyan{background:#50b0ff}.outlook-calendar-logo .tile-light{background:#cfe8ff}.outlook-calendar-title{flex:1 1 auto}.outlook-calendar-title h3{margin:0;font-size:1.2rem;color:#142033}.outlook-calendar-title p{margin:6px 0 0;color:#516076;line-height:1.45}.outlook-calendar-badge{border-radius:999px;padding:8px 12px;font-size:.82rem;font-weight:700;white-space:nowrap}.outlook-calendar-badge.connected{background:#dcfce7;color:#166534}.outlook-calendar-badge.pending{background:#fef3c7;color:#92400e}.outlook-calendar-badge.error{background:#fee2e2;color:#991b1b}.outlook-calendar-badge.idle{background:#e2e8f0;color:#334155}.outlook-calendar-badge.rollout{background:#dbeafe;color:#1d4ed8}.outlook-calendar-note{margin-top:16px;padding:12px 14px;border-radius:14px;font-size:.95rem}.outlook-calendar-note.rollout{background:#eff6ff;color:#1d4ed8}.outlook-calendar-note.error{background:#fff1f2;color:#b91c1c}.outlook-calendar-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:18px}.outlook-calendar-meta>div{background:#ffffffe0;border:1px solid #e2e8f0;border-radius:16px;padding:14px}.outlook-calendar-meta .label{display:block;font-size:.78rem;font-weight:700;color:#64748b;margin-bottom:6px;text-transform:uppercase;letter-spacing:.04em}.outlook-calendar-meta strong{color:#172033}.outlook-calendar-picker{margin-top:18px;border-top:1px solid #e2e8f0;padding-top:18px}.outlook-calendar-actions{margin-top:20px;display:flex;gap:12px;flex-wrap:wrap}.outlook-btn{border:0;border-radius:12px;padding:12px 16px;font:inherit;font-weight:700;cursor:pointer;transition:transform .16s ease,box-shadow .16s ease,opacity .16s ease}.outlook-btn:hover:not(:disabled){transform:translateY(-1px)}.outlook-btn:disabled{cursor:not-allowed;opacity:.65}.outlook-btn-primary{background:linear-gradient(135deg,#0078d4,#0f4ea8);color:#fff;box-shadow:0 14px 28px #0078d433}.outlook-btn-secondary{background:#e7f1fb;color:#17426f}.outlook-btn-danger{background:#fee2e2;color:#991b1b}@media (max-width: 800px){.outlook-calendar-header{flex-wrap:wrap}.outlook-calendar-meta{grid-template-columns:1fr}}.mailbox-connection-container{margin-bottom:24px}.mailbox-connection-card{background:linear-gradient(180deg,#fff,#f8fbff);border:1px solid #d7e4f3;border-radius:20px;padding:24px;box-shadow:0 18px 40px #0f172a14}.mailbox-connection-header{display:flex;align-items:center;gap:16px}.mailbox-connection-logo{width:52px;height:52px;border-radius:16px;display:grid;place-items:center;flex:0 0 auto}.mailbox-connection-logo.gmail{background:#eef6ff}.mailbox-connection-logo.outlook{background:#eef5fb}.mailbox-connection-logo.gmail .grid{width:28px;height:28px;display:grid;grid-template-columns:repeat(2,1fr);gap:5px}.mailbox-connection-logo.gmail .grid span{border-radius:999px}.mailbox-connection-logo.gmail .grid span:nth-child(1){background:#1a73e8}.mailbox-connection-logo.gmail .grid span:nth-child(2){background:#34a853}.mailbox-connection-logo.gmail .grid span:nth-child(3){background:#fbbc04}.mailbox-connection-logo.gmail .grid span:nth-child(4){background:#ea4335}.mailbox-connection-logo.outlook .grid{width:28px;height:28px;display:grid;grid-template-columns:repeat(2,1fr);gap:5px}.mailbox-connection-logo.outlook .grid span{border-radius:8px}.mailbox-connection-logo.outlook .grid span:nth-child(1){background:#0078d4}.mailbox-connection-logo.outlook .grid span:nth-child(2){background:#0f4ea8}.mailbox-connection-logo.outlook .grid span:nth-child(3){background:#50b0ff}.mailbox-connection-logo.outlook .grid span:nth-child(4){background:#cfe8ff}.mailbox-connection-title{flex:1 1 auto}.mailbox-connection-title h3{margin:0;font-size:1.2rem;color:#142033}.mailbox-connection-title p{margin:6px 0 0;color:#516076;line-height:1.45}.mailbox-connection-badge{border-radius:999px;padding:8px 12px;font-size:.82rem;font-weight:700;white-space:nowrap}.mailbox-connection-badge.connected{background:#dcfce7;color:#166534}.mailbox-connection-badge.error{background:#fee2e2;color:#991b1b}.mailbox-connection-badge.idle{background:#e2e8f0;color:#334155}.mailbox-connection-badge.rollout{background:#dbeafe;color:#1d4ed8}.mailbox-connection-note{margin-top:16px;padding:12px 14px;border-radius:14px;font-size:.95rem}.mailbox-connection-note.rollout{background:#eff6ff;color:#1d4ed8}.mailbox-connection-note.error{background:#fff1f2;color:#b91c1c}.mailbox-connection-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:18px}.mailbox-connection-meta>div{background:#ffffffe0;border:1px solid #e2e8f0;border-radius:16px;padding:14px}.mailbox-connection-meta .label{display:block;font-size:.78rem;font-weight:700;color:#64748b;margin-bottom:6px;text-transform:uppercase;letter-spacing:.04em}.mailbox-connection-meta strong{color:#172033}.mailbox-connection-actions{margin-top:20px;display:flex;gap:12px;flex-wrap:wrap}.mailbox-provider-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:18px}.mailbox-account-list{margin-top:20px;display:grid;gap:14px}.mailbox-account-row{display:flex;justify-content:space-between;gap:18px;border:1px solid #dbe6f2;border-radius:18px;padding:16px;background:#ffffffe0}.mailbox-account-main{display:flex;gap:14px;align-items:flex-start}.mailbox-account-copy{display:grid;gap:4px;color:#516076}.mailbox-account-copy strong{color:#172033}.mailbox-account-error{color:#b91c1c}.mailbox-account-side{display:grid;gap:10px;justify-items:end}.mailbox-account-scopes{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.mailbox-scope-pill{border-radius:999px;padding:6px 10px;background:#e0f2fe;color:#0f4a6e;font-size:.78rem;font-weight:700}.mailbox-scope-pill.unbound{background:#e2e8f0;color:#475569}.mailbox-scope-grid{display:grid;gap:14px;margin-top:20px}.mailbox-scope-row{display:grid;gap:6px;border:1px solid #dbe6f2;border-radius:16px;padding:14px;background:#ffffffe0}.mailbox-scope-row small{color:#516076}.mailbox-scope-row select{border:1px solid #c7d3e1;border-radius:12px;padding:10px 12px;font:inherit;color:#172033;background:#fff}.mailbox-empty-state{border:1px dashed #c7d3e1;border-radius:16px;padding:18px;color:#64748b;background:#ffffffc7}.mailbox-btn{border:0;border-radius:12px;padding:12px 16px;font:inherit;font-weight:700;cursor:pointer;transition:transform .16s ease,box-shadow .16s ease,opacity .16s ease}.mailbox-btn:hover:not(:disabled){transform:translateY(-1px)}.mailbox-btn:disabled{cursor:not-allowed;opacity:.65}.mailbox-btn.gmail-primary{background:linear-gradient(135deg,#1a73e8,#1967d2);color:#fff;box-shadow:0 14px 28px #1a73e833}.mailbox-btn.outlook-primary{background:linear-gradient(135deg,#0078d4,#0f4ea8);color:#fff;box-shadow:0 14px 28px #0078d433}.mailbox-btn.secondary{background:#e5eef9;color:#1f3b64}.mailbox-btn.danger{background:#fee2e2;color:#991b1b}@media (max-width: 800px){.mailbox-connection-header{flex-wrap:wrap}.mailbox-connection-meta{grid-template-columns:1fr}.mailbox-account-row{flex-direction:column}.mailbox-account-side{justify-items:start}.mailbox-account-scopes{justify-content:flex-start}}.tenant-sendgrid-container{margin-bottom:28px}.tenant-sendgrid-card{background:#fff;border:1px solid #e2e8f0;border-radius:20px;padding:24px;box-shadow:0 18px 44px #0f172a0f}.tenant-sendgrid-header{display:flex;align-items:flex-start;gap:16px}.tenant-sendgrid-logo{width:56px;height:56px;border-radius:18px;background:linear-gradient(135deg,#fff7ed,#ffedd5);border:1px solid #fdba74;display:flex;align-items:center;justify-content:center;position:relative;flex-shrink:0}.tenant-sendgrid-ring{position:absolute;top:10px;right:10px;bottom:10px;left:10px;border-radius:14px;border:2px solid rgba(249,115,22,.2)}.tenant-sendgrid-mark{position:relative;z-index:1;font-size:1.15rem;font-weight:800;color:#ea580c}.tenant-sendgrid-title{flex:1;min-width:0}.tenant-sendgrid-title h3{margin:0;font-size:1.2rem;color:#0f172a}.tenant-sendgrid-title p{margin:8px 0 0;color:#475569;line-height:1.55}.tenant-sendgrid-badge{padding:8px 12px;border-radius:999px;font-size:.82rem;font-weight:700;white-space:nowrap}.tenant-sendgrid-badge.connected{background:#dcfce7;color:#166534}.tenant-sendgrid-badge.pending{background:#fef3c7;color:#92400e}.tenant-sendgrid-badge.error{background:#fee2e2;color:#b91c1c}.tenant-sendgrid-badge.idle{background:#e2e8f0;color:#475569}.tenant-sendgrid-meta{margin-top:22px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.tenant-sendgrid-meta>div{background:#f8fafc;border:1px solid #e2e8f0;border-radius:14px;padding:14px 16px}.tenant-sendgrid-meta .label,.tenant-sendgrid-webhook-copy .label,.tenant-sendgrid-form-grid span,.tenant-sendgrid-test span{display:block;font-size:.72rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#64748b;margin-bottom:6px}.tenant-sendgrid-meta strong{color:#0f172a;font-size:.95rem;word-break:break-word}.tenant-sendgrid-note{margin-top:18px;border-radius:14px;padding:14px 16px;font-size:.94rem;line-height:1.5}.tenant-sendgrid-note.rollout{background:#eff6ff;color:#1e3a8a;border:1px solid #bfdbfe}.tenant-sendgrid-note.error{background:#fef2f2;color:#991b1b;border:1px solid #fecaca}.tenant-sendgrid-form-grid{margin-top:20px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.tenant-sendgrid-form-grid label,.tenant-sendgrid-test label{display:block}.tenant-sendgrid-form-grid input,.tenant-sendgrid-test input{width:100%;border:1px solid #cbd5e1;border-radius:12px;padding:12px 14px;font-size:.95rem;color:#0f172a;background:#fff}.tenant-sendgrid-form-grid input:focus,.tenant-sendgrid-test input:focus{outline:none;border-color:#fb923c;box-shadow:0 0 0 3px #fb923c26}.tenant-sendgrid-full{grid-column:1 / -1}.tenant-sendgrid-actions{margin-top:18px;display:flex;gap:10px}.tenant-sendgrid-btn{border:none;border-radius:12px;padding:11px 16px;font-size:.92rem;font-weight:700;cursor:pointer;transition:transform .18s ease,box-shadow .18s ease,opacity .18s ease}.tenant-sendgrid-btn:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 10px 22px #0f172a1f}.tenant-sendgrid-btn:disabled{opacity:.55;cursor:not-allowed;box-shadow:none}.tenant-sendgrid-btn.primary{background:linear-gradient(135deg,#f97316,#ea580c);color:#fff}.tenant-sendgrid-btn.secondary{background:#e2e8f0;color:#334155}.tenant-sendgrid-btn.danger{background:#fee2e2;color:#b91c1c}.tenant-sendgrid-divider{height:1px;background:linear-gradient(90deg,#e2e8f000,#e2e8f0 12%,#e2e8f0 88%,#e2e8f000);margin:22px 0}.tenant-sendgrid-webhook{display:grid;gap:12px}.tenant-sendgrid-copy-row{display:flex;gap:10px;align-items:center}.tenant-sendgrid-copy-row code{display:block;flex:1;background:#0f172a;color:#f8fafc;border-radius:12px;padding:12px 14px;font-size:.82rem;overflow-wrap:anywhere}.tenant-sendgrid-webhook small,.tenant-sendgrid-test small{color:#64748b;line-height:1.45}.tenant-sendgrid-checkbox{display:flex;align-items:center;gap:10px;color:#334155}.tenant-sendgrid-checkbox input{width:16px;height:16px;accent-color:#ea580c}.tenant-sendgrid-test{display:grid;gap:12px}@media (max-width: 900px){.tenant-sendgrid-header{flex-direction:column}.tenant-sendgrid-meta,.tenant-sendgrid-form-grid{grid-template-columns:1fr}.tenant-sendgrid-copy-row,.tenant-sendgrid-actions{flex-direction:column}.tenant-sendgrid-btn{width:100%}}.xero-container{margin-bottom:24px}.xero-card{background:linear-gradient(180deg,#fff,#f7fcfe);border:1px solid #d8ebee;border-radius:20px;padding:24px;box-shadow:0 18px 40px #0f172a14}.xero-header{display:flex;align-items:center;gap:16px}.xero-logo{width:52px;height:52px;border-radius:16px;background:linear-gradient(135deg,#14b8a6,#0f766e);display:grid;place-items:center;position:relative;flex:0 0 auto;box-shadow:inset 0 1px #ffffff2e}.xero-ring{position:absolute;top:10px;right:10px;bottom:10px;left:10px;border:2px solid rgba(255,255,255,.55);border-radius:999px}.xero-mark{position:relative;z-index:1;color:#fff;font-weight:800;font-size:1rem;letter-spacing:.02em}.xero-title{flex:1 1 auto}.xero-title h3{margin:0;font-size:1.2rem;color:#142033}.xero-title p{margin:6px 0 0;color:#516076;line-height:1.45}.xero-badge{border-radius:999px;padding:8px 12px;font-size:.82rem;font-weight:700;white-space:nowrap}.xero-badge.connected{background:#dcfce7;color:#166534}.xero-badge.pending{background:#fef3c7;color:#92400e}.xero-badge.error{background:#fee2e2;color:#991b1b}.xero-badge.idle{background:#e2e8f0;color:#334155}.xero-badge.rollout{background:#dbeafe;color:#1d4ed8}.xero-note{margin-top:16px;padding:12px 14px;border-radius:14px;font-size:.95rem}.xero-note.rollout{background:#eff6ff;color:#1d4ed8}.xero-note.error{background:#fff1f2;color:#b91c1c}.xero-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:18px}.xero-meta>div{background:#ffffffe0;border:1px solid #e2e8f0;border-radius:16px;padding:14px}.xero-meta .label{display:block;font-size:.78rem;font-weight:700;color:#64748b;margin-bottom:6px;text-transform:uppercase;letter-spacing:.04em}.xero-meta strong{color:#172033}.xero-picker{margin-top:18px;border-top:1px solid #e2e8f0;padding-top:18px}.picker-row,.picker-actions{display:flex;gap:12px;flex-wrap:wrap}.picker-label{display:block;margin-top:14px;color:#334155;font-weight:600}.picker-label select{width:100%;margin-top:8px;border:1px solid #cbd5e1;border-radius:12px;background:#fff;padding:12px 14px;font:inherit}.toggle-row{margin:14px 0;display:flex;gap:10px;align-items:flex-start;color:#475569}.toggle-row input{margin-top:3px}.xero-actions{margin-top:20px;display:flex;gap:12px;flex-wrap:wrap}.xero-btn{border:0;border-radius:12px;padding:12px 16px;font:inherit;font-weight:700;cursor:pointer;transition:transform .16s ease,box-shadow .16s ease,opacity .16s ease}.xero-btn:hover:not(:disabled){transform:translateY(-1px)}.xero-btn:disabled{cursor:not-allowed;opacity:.65}.xero-btn-primary{background:linear-gradient(135deg,#14b8a6,#0f766e);color:#fff;box-shadow:0 14px 28px #14b8a638}.xero-btn-secondary{background:#dff7f3;color:#0f5c57}.xero-btn-danger{background:#fee2e2;color:#991b1b}@media (max-width: 800px){.xero-header{flex-wrap:wrap}.xero-meta{grid-template-columns:1fr}}.lead-ingest-container{margin-bottom:24px}.lead-ingest-card{background:linear-gradient(180deg,#fff,#f7fbfa);border:1px solid #d7e7e3;border-radius:20px;padding:24px;box-shadow:0 18px 40px #0f172a12}.lead-ingest-header{display:flex;align-items:center;gap:16px}.lead-ingest-header-actions{display:flex;align-items:center;gap:10px;margin-left:auto}.lead-ingest-logo{width:52px;height:52px;border-radius:16px;background:radial-gradient(circle at 35% 35%,#ecfeff,#dcfce7);display:grid;place-items:center;position:relative;flex:0 0 auto}.lead-ingest-logo-orbit{position:absolute;border-radius:999px;border:2px solid rgba(15,118,110,.35)}.lead-ingest-logo-orbit-a{width:30px;height:18px;transform:rotate(28deg)}.lead-ingest-logo-orbit-b{width:30px;height:18px;transform:rotate(-28deg)}.lead-ingest-logo-core{width:10px;height:10px;border-radius:999px;background:#0f766e;box-shadow:0 0 0 6px #0f766e1f}.lead-ingest-title{flex:1 1 auto}.lead-ingest-title h3{margin:0;font-size:1.2rem;color:#142033}.lead-ingest-title p{margin:6px 0 0;color:#516076;line-height:1.45}.lead-ingest-badge{border-radius:999px;padding:8px 12px;font-size:.82rem;font-weight:700;white-space:nowrap}.lead-ingest-info-btn{width:34px;height:34px;border:1px solid #cfe4df;border-radius:999px;background:#fff;color:#0f766e;font-size:.95rem;font-weight:800;cursor:pointer;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}.lead-ingest-info-btn:hover{transform:translateY(-1px);border-color:#0ea5a4;box-shadow:0 12px 24px #0f766e24}.lead-ingest-badge.connected{background:#dcfce7;color:#166534}.lead-ingest-badge.error{background:#fee2e2;color:#991b1b}.lead-ingest-badge.idle{background:#e2e8f0;color:#334155}.lead-ingest-note{margin-top:16px;padding:12px 14px;border-radius:14px;font-size:.95rem}.lead-ingest-note.error{background:#fff1f2;color:#b91c1c}.lead-ingest-note.idle{background:#eff6ff;color:#1d4ed8}.lead-ingest-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:18px}.lead-ingest-meta>div,.lead-ingest-panel{background:#ffffffeb;border:1px solid #e2e8f0;border-radius:16px;padding:14px}.lead-ingest-meta .label,.lead-ingest-mini-metrics .label,.lead-ingest-field span{display:block;font-size:.78rem;font-weight:700;color:#64748b;margin-bottom:6px;text-transform:uppercase;letter-spacing:.04em}.lead-ingest-meta strong,.lead-ingest-mini-metrics strong{color:#172033;word-break:break-word}.lead-ingest-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;margin-top:18px}.lead-ingest-grid-secondary{margin-top:16px}.lead-ingest-panel h4{margin:0 0 10px;color:#132235}.lead-ingest-panel p,.lead-ingest-panel li,.lead-ingest-helper{color:#475569;line-height:1.55}.lead-ingest-panel ul{margin:0;padding-left:18px}.lead-ingest-panel code{background:#eef6f4;color:#0f5257;border-radius:8px;padding:2px 6px;font-size:.92em}.lead-ingest-panel pre{margin:12px 0 0;background:#0f172a;color:#dbeafe;border-radius:16px;padding:16px;overflow-x:auto;font-size:.88rem;line-height:1.5;white-space:pre-wrap}.lead-ingest-field{display:block;margin-bottom:14px}.lead-ingest-field input,.lead-ingest-field select{width:100%;margin-top:8px;border:1px solid #cbd5e1;border-radius:12px;background:#fff;padding:12px 14px;font:inherit;color:#172033}.lead-ingest-field input:disabled,.lead-ingest-field select:disabled{background:#f8fafc;color:#64748b}.lead-ingest-toggle-group{display:grid;gap:10px}.lead-ingest-toggle{display:flex;align-items:center;gap:10px;color:#334155;font-weight:600}.lead-ingest-actions{margin-top:18px;display:flex;gap:12px;flex-wrap:wrap}.lead-ingest-btn{border:0;border-radius:12px;padding:12px 16px;font:inherit;font-weight:700;cursor:pointer;transition:transform .16s ease,box-shadow .16s ease,opacity .16s ease}.lead-ingest-btn:hover:not(:disabled){transform:translateY(-1px)}.lead-ingest-btn:disabled{cursor:not-allowed;opacity:.65}.lead-ingest-btn-primary{background:linear-gradient(135deg,#0f766e,#0ea5a4);color:#fff;box-shadow:0 14px 28px #0f766e2e}.lead-ingest-btn-secondary{background:#e6f4f1;color:#0f5257}.lead-ingest-btn-danger{background:#fee2e2;color:#991b1b}.lead-ingest-source-tags{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.lead-ingest-source-tags span{border-radius:999px;padding:6px 10px;background:#ecfeff;color:#0f766e;font-size:.82rem;font-weight:700}.lead-ingest-code-row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.lead-ingest-code-row code{flex:1 1 320px;padding:10px 12px}.lead-ingest-mini-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.lead-ingest-mini-metrics>div{background:#f8fafc;border:1px solid #e2e8f0;border-radius:14px;padding:12px}.lead-ingest-modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a94;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);display:flex;align-items:center;justify-content:center;padding:24px;z-index:1100}.lead-ingest-modal{width:min(860px,100%);max-height:min(88vh,960px);overflow:auto;background:linear-gradient(180deg,#fff,#f8fbff);border:1px solid #d7e7e3;border-radius:24px;box-shadow:0 28px 70px #0f172a38}.lead-ingest-modal-header{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;padding:24px 24px 18px;border-bottom:1px solid #e2e8f0}.lead-ingest-modal-eyebrow{margin:0 0 8px;color:#0f766e;font-size:.8rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.lead-ingest-modal-header h4{margin:0;font-size:1.35rem;color:#132235}.lead-ingest-modal-close{border:0;background:transparent;color:#64748b;font-size:1.8rem;line-height:1;cursor:pointer;padding:0}.lead-ingest-modal-body{padding:22px 24px 24px;display:grid;gap:16px}.lead-ingest-modal-section{background:#fff;border:1px solid #e2e8f0;border-radius:18px;padding:18px}.lead-ingest-modal-section h5{margin:0 0 10px;color:#132235;font-size:1rem}.lead-ingest-modal-section ol,.lead-ingest-modal-section ul{margin:0;padding-left:20px;color:#475569;line-height:1.6}.lead-ingest-modal-section li+li{margin-top:8px}.lead-ingest-modal-section code{background:#eef6f4;color:#0f5257;border-radius:8px;padding:2px 6px;font-size:.92em}@media (max-width: 960px){.lead-ingest-meta,.lead-ingest-grid,.lead-ingest-mini-metrics{grid-template-columns:1fr}}@media (max-width: 800px){.lead-ingest-header{flex-wrap:wrap}.lead-ingest-header-actions{margin-left:0}.lead-ingest-modal-overlay{padding:12px}.lead-ingest-modal-header,.lead-ingest-modal-body{padding-left:18px;padding-right:18px}}.facebook-connection-container{margin-bottom:24px}.facebook-connection-card{background:linear-gradient(180deg,#fff,#f5f8ff);border:1px solid #d6e0f5;border-radius:20px;padding:24px;box-shadow:0 18px 40px #0f172a14}.facebook-connection-header{display:flex;align-items:center;gap:16px}.facebook-connection-logo{width:52px;height:52px;border-radius:16px;background:#1877f2;color:#fff;display:flex;align-items:center;justify-content:center;font-size:1.8rem;font-weight:800;flex:0 0 auto}.facebook-connection-title{flex:1 1 auto}.facebook-connection-title h3{margin:0;font-size:1.2rem;color:#142033}.facebook-connection-title p{margin:6px 0 0;color:#516076;line-height:1.45}.facebook-connection-badge{border-radius:999px;padding:8px 12px;font-size:.82rem;font-weight:700;white-space:nowrap}.facebook-connection-badge.connected{background:#dcfce7;color:#166534}.facebook-connection-badge.pending{background:#fef3c7;color:#92400e}.facebook-connection-badge.error{background:#fee2e2;color:#991b1b}.facebook-connection-badge.idle{background:#e2e8f0;color:#334155}.facebook-connection-note{margin-top:16px;padding:12px 14px;border-radius:14px;font-size:.95rem}.facebook-connection-note.error{background:#fff1f2;color:#b91c1c}.facebook-connection-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:18px}.facebook-connection-meta>div{background:#ffffffe0;border:1px solid #e2e8f0;border-radius:16px;padding:14px}.facebook-connection-meta .label{display:block;font-size:.78rem;font-weight:700;color:#64748b;margin-bottom:6px;text-transform:uppercase;letter-spacing:.04em}.facebook-connection-meta strong{color:#172033}.facebook-connection-picker{margin-top:18px;border-top:1px solid #e2e8f0;padding-top:18px}.facebook-connection-picker .picker-row,.facebook-connection-picker .picker-actions{display:flex;gap:12px;flex-wrap:wrap}.facebook-connection-picker .picker-label{display:block;margin-top:14px;color:#334155;font-weight:600}.facebook-connection-picker .picker-label select{width:100%;margin-top:8px;border:1px solid #cbd5e1;border-radius:12px;background:#fff;padding:12px 14px;font:inherit}.facebook-connection-actions{margin-top:20px;display:flex;gap:12px;flex-wrap:wrap}.facebook-btn{border:0;border-radius:12px;padding:12px 16px;font:inherit;font-weight:700;cursor:pointer}.facebook-btn:disabled{cursor:not-allowed;opacity:.65}.facebook-btn-primary{background:#1877f2;color:#fff}.facebook-btn-secondary{background:#e8eefb;color:#163a70}.facebook-btn-danger{background:#fee2e2;color:#991b1b}@media (max-width: 800px){.facebook-connection-header{flex-wrap:wrap}.facebook-connection-meta{grid-template-columns:1fr}}.integration-settings{padding:32px;max-width:1200px;margin:0 auto}.integration-header{margin-bottom:32px;text-align:center}.integration-header h2{margin:0 0 8px;font-size:2rem;font-weight:700;color:#1e293b;background:linear-gradient(135deg,#10b981,#059669);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.integration-header p{margin:0;font-size:1rem;color:#64748b}.import-cards-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:24px;margin-bottom:48px}.import-card{background:#fff;border:2px solid #e2e8f0;border-radius:16px;padding:24px;cursor:pointer;transition:all .3s ease;display:flex;flex-direction:column;gap:16px;position:relative;overflow:hidden}.import-card:before{content:"";position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(135deg,#10b981,#059669);transform:scaleX(0);transform-origin:left;transition:transform .3s ease}.import-card:hover:before{transform:scaleX(1)}.import-card:hover{border-color:#10b981;transform:translateY(-4px);box-shadow:0 12px 24px #10b98126}.import-card-blue:before{background:linear-gradient(135deg,#3b82f6,#2563eb)}.import-card-blue:hover{border-color:#3b82f6;box-shadow:0 12px 24px #3b82f626}.import-card-purple:before{background:linear-gradient(135deg,#8b5cf6,#7c3aed)}.import-card-purple:hover{border-color:#8b5cf6;box-shadow:0 12px 24px #8b5cf626}.import-card-green:before{background:linear-gradient(135deg,#10b981,#059669)}.import-card-green:hover{border-color:#10b981;box-shadow:0 12px 24px #10b98126}.import-card-orange:before{background:linear-gradient(135deg,#f59e0b,#d97706)}.import-card-orange:hover{border-color:#f59e0b;box-shadow:0 12px 24px #f59e0b26}.import-card-red:before{background:linear-gradient(135deg,#ef4444,#dc2626)}.import-card-red:hover{border-color:#ef4444;box-shadow:0 12px 24px #ef444426}.import-card-icon{width:56px;height:56px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:28px;background:linear-gradient(135deg,#f0fdf4,#dcfce7);transition:all .3s ease}.import-card-blue .import-card-icon{background:linear-gradient(135deg,#eff6ff,#dbeafe)}.import-card-purple .import-card-icon{background:linear-gradient(135deg,#faf5ff,#f3e8ff)}.import-card-orange .import-card-icon{background:linear-gradient(135deg,#fffbeb,#fef3c7)}.import-card-red .import-card-icon{background:linear-gradient(135deg,#fef2f2,#fee2e2)}.import-card:hover .import-card-icon{transform:scale(1.1) rotate(5deg)}.import-card-content{flex:1}.import-card-content h3{margin:0 0 8px;font-size:1.25rem;font-weight:700;color:#1e293b}.import-card-content p{margin:0;font-size:.9375rem;color:#64748b;line-height:1.5}.import-card-action{display:flex;justify-content:flex-end}.import-btn{display:flex;align-items:center;gap:8px;padding:10px 20px;background:linear-gradient(135deg,#10b981,#059669);color:#fff;border:none;border-radius:8px;font-size:.9375rem;font-weight:600;cursor:pointer;transition:all .2s ease;box-shadow:0 2px 8px #10b98133}.import-card-blue .import-btn{background:linear-gradient(135deg,#3b82f6,#2563eb);box-shadow:0 2px 8px #3b82f633}.import-card-purple .import-btn{background:linear-gradient(135deg,#8b5cf6,#7c3aed);box-shadow:0 2px 8px #8b5cf633}.import-card-orange .import-btn{background:linear-gradient(135deg,#f59e0b,#d97706);box-shadow:0 2px 8px #f59e0b33}.import-card-red .import-btn{background:linear-gradient(135deg,#ef4444,#dc2626);box-shadow:0 2px 8px #ef444433}.import-btn:hover{transform:translateY(-2px);box-shadow:0 4px 12px #10b9814d}.import-card-blue .import-btn:hover{box-shadow:0 4px 12px #3b82f64d}.import-card-purple .import-btn:hover{box-shadow:0 4px 12px #8b5cf64d}.import-card-orange .import-btn:hover{box-shadow:0 4px 12px #f59e0b4d}.import-card-red .import-btn:hover{box-shadow:0 4px 12px #ef44444d}.import-btn:active{transform:translateY(0)}.import-btn-icon{font-size:18px;line-height:1}.integration-info-section{display:grid;grid-template-columns:repeat(auto-fit,minmax(400px,1fr));gap:24px;margin-bottom:32px}.info-card{background:linear-gradient(135deg,#f8fafc,#f1f5f9);border:1px solid #e2e8f0;border-radius:16px;padding:24px;display:flex;gap:20px}.info-icon{font-size:40px;line-height:1;flex-shrink:0}.info-content h4{margin:0 0 16px;font-size:1.125rem;font-weight:700;color:#1e293b}.info-content ol,.info-content ul{margin:0;padding-left:20px}.info-content li{margin-bottom:8px;font-size:.9375rem;color:#475569;line-height:1.6}.info-content li:last-child{margin-bottom:0}.integration-footer{text-align:center;padding:24px;background:linear-gradient(135deg,#f0fdf4,#dcfce7);border:2px solid #bbf7d0;border-radius:16px}.footer-note{display:flex;align-items:center;justify-content:center;gap:12px}.footer-icon{font-size:24px;line-height:1}.footer-note p{margin:0;font-size:.9375rem;font-weight:600;color:#15803d}@media (max-width: 1024px){.import-cards-grid{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:20px}.integration-info-section{grid-template-columns:1fr}}@media (max-width: 768px){.integration-settings{padding:20px}.integration-header h2{font-size:1.75rem}.import-cards-grid{grid-template-columns:1fr;gap:16px}.import-card{padding:20px}.import-card-icon{width:48px;height:48px;font-size:24px}.import-card-content h3{font-size:1.125rem}.info-card{flex-direction:column;align-items:center;text-align:center}.info-content{width:100%}.info-content ol,.info-content ul{text-align:left}.footer-note{flex-direction:column;gap:8px}}@media (max-width: 480px){.integration-settings{padding:16px}.integration-header{margin-bottom:24px}.integration-header h2{font-size:1.5rem}.integration-header p{font-size:.875rem}.import-card{padding:16px}.import-card-content h3{font-size:1rem}.import-card-content p{font-size:.875rem}.import-btn{width:100%;justify-content:center;padding:12px 16px}.info-card{padding:20px}.info-icon{font-size:32px}.info-content h4{font-size:1rem}.info-content li{font-size:.875rem}.integration-footer{padding:20px}.footer-icon{font-size:20px}.footer-note p{font-size:.875rem}}@keyframes fadeInUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.import-card{animation:fadeInUp .5s ease-out backwards}.import-card:nth-child(1){animation-delay:.1s}.import-card:nth-child(2){animation-delay:.2s}.import-card:nth-child(3){animation-delay:.3s}.import-card:nth-child(4){animation-delay:.4s}.import-card:nth-child(5){animation-delay:.5s}.email-template-editor{width:100%;max-width:1200px;margin:0 auto;padding:24px;box-sizing:border-box}.email-template-editor h2{margin-bottom:8px;font-size:24px;font-weight:600}.email-template-editor>p{color:#666;margin-bottom:24px}.email-template-editor.loading{display:flex;justify-content:center;align-items:center;padding:60px;color:#666;font-size:16px}.form-group label{display:block;margin-bottom:8px;font-weight:600;color:#333}.form-control{width:100%;padding:10px 12px;border:1px solid #d1d5db;border-radius:6px;font-size:14px;font-family:inherit;transition:border-color .2s}.form-control:focus{outline:none;border-color:#4f46e5;box-shadow:0 0 0 3px #4f46e51a}.form-control:disabled{background-color:#f3f4f6;cursor:not-allowed;opacity:.6}.code-textarea{font-family:Courier New,Courier,monospace;font-size:13px;line-height:1.5}.template-list-section{margin:24px 0;border:1px solid #e0e0e0;border-radius:8px;padding:16px;background:#f9f9f9}.template-list-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.template-list-header h3{margin:0;font-size:18px;font-weight:600}.template-list{display:flex;flex-direction:column;gap:8px}.template-list-item{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;background:#fff;border:2px solid #e0e0e0;border-radius:6px;cursor:pointer;transition:all .2s}.template-list-item:hover{border-color:#4f46e5;box-shadow:0 2px 4px #0000001a}.template-list-item.active{border-color:#4f46e5;background:#f0f4ff}.template-list-item.is-active-template{border-left:4px solid #10b981}.template-item-content{flex:1}.template-item-name{font-weight:600;margin-bottom:4px;display:flex;align-items:center;gap:8px;flex-wrap:wrap}.template-item-date{font-size:12px;color:#666}.badge{display:inline-block;padding:2px 8px;border-radius:12px;font-size:11px;font-weight:600;text-transform:uppercase}.badge-default{background:#6b7280;color:#fff}.badge-success{background:#10b981;color:#fff}.template-editor{margin-top:24px;padding-top:24px;border-top:2px solid #e0e0e0}.template-editor h3{margin-bottom:16px;font-size:20px;font-weight:600}.template-editor h4{margin-bottom:12px;font-size:16px;font-weight:600}.alert{padding:12px 16px;border-radius:6px;margin-bottom:16px}.alert-info{background:#e0f2fe;border-left:4px solid #0284c7;color:#075985}.variables-section{margin:24px 0;padding:16px;background:#f9fafb;border:1px solid #e5e7eb;border-radius:6px}.variables-list{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}.variable-btn{font-family:Courier New,Courier,monospace;font-size:13px;white-space:nowrap}.help-text{margin:0;font-size:13px;color:#6b7280}.button-group{display:flex;gap:12px;margin-top:24px;flex-wrap:wrap}.btn{padding:10px 20px;border-radius:6px;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s;border:none;font-family:inherit}.btn:disabled{opacity:.5;cursor:not-allowed}.btn-primary{background:#4f46e5;color:#fff}.btn-primary:hover:not(:disabled){background:#4338ca}.btn-secondary{background:#f3f4f6;color:#374151;border:1px solid #d1d5db}.btn-secondary:hover:not(:disabled){background:#e5e7eb}.btn-danger{background:#ef4444;color:#fff}.btn-danger:hover:not(:disabled){background:#dc2626}.btn-sm{padding:6px 12px;font-size:13px}.btn-link{background:none;border:none;color:#4f46e5;text-decoration:underline;cursor:pointer;padding:4px 8px;font-weight:500}.btn-link:hover{color:#3730a3}.preview-section{margin-top:24px;padding:16px;background:#fffbeb;border:1px solid #f59e0b;border-radius:6px}.preview-content{margin-top:12px}.email-preview-iframe{width:100%;min-height:400px;border:1px solid #e5e7eb;border-radius:4px;background:#fff}.empty-state{text-align:center;padding:40px;color:#666}.empty-state p{margin-bottom:16px;font-size:16px}.billing-dashboard{max-width:1120px;margin:0 auto;padding:36px 28px 80px}.billing-dashboard h1{font-size:32px;font-weight:600;margin-bottom:32px;color:#1f2937}.loading-state{display:flex;align-items:center;justify-content:center;min-height:400px;font-size:18px;color:#6b7280}.no-subscription-card{background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000001a;padding:48px;text-align:center}.no-subscription-card h2{font-size:28px;font-weight:600;margin-bottom:16px;color:#1f2937}.no-subscription-card p{font-size:16px;color:#6b7280;margin-bottom:32px}.billing-card{background:#fff;border:1px solid #e5e7eb;border-radius:16px;box-shadow:0 10px 30px #0f172a0d;padding:32px 32px 30px;margin-bottom:24px}.billing-card .card-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px;padding-bottom:16px;border-bottom:1px solid #e5e7eb}.billing-card .card-header h2{font-size:22px;font-weight:600;color:#1f2937;margin:0}.card-subtitle{margin:6px 0 0;font-size:14px;color:#6b7280}.section-title-row{display:inline-flex;align-items:center;gap:12px;flex-wrap:wrap}.status-badge{display:inline-block;padding:4px 12px;border-radius:9999px;font-size:14px;font-weight:500}.status-trial{background-color:#dbeafe;color:#1e40af}.status-warning{background-color:#fed7aa;color:#92400e}.status-canceled{background-color:#fee2e2;color:#991b1b}.unlimited-badge{background-color:#f3e8ff;color:#6b21a8;padding:4px 12px;border-radius:9999px;font-size:14px;font-weight:500}.plan-details h3{font-size:28px;font-weight:600;margin-bottom:20px;color:#1f2937}.current-plan-card .card-header{margin-bottom:28px;justify-content:flex-start}.plan-summary-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:16px;align-items:stretch}.plan-summary-item{display:flex;flex-direction:column;justify-content:center;gap:8px;min-height:104px;padding:18px 18px 16px;background:linear-gradient(180deg,#fff,#f8fafc);border:1px solid #e5e7eb;border-radius:12px;box-shadow:inset 0 1px #ffffffd9}.plan-summary-item .summary-label{font-size:12px;font-weight:700;color:#6b7280;text-transform:uppercase;letter-spacing:.04em}.plan-summary-item .summary-value{font-size:18px;font-weight:600;line-height:1.4;color:#111827}.trial-info{background-color:#eff6ff;border-color:#bfdbfe}.cancellation-notice{background-color:#fef3c7;border-color:#fcd34d}.cancellation-notice .summary-value{color:#92400e;font-weight:600}.card-actions{display:flex;gap:12px;margin-top:28px;padding-top:24px;border-top:1px solid #e5e7eb}.btn-primary,.btn-secondary{padding:10px 20px;border-radius:8px;font-size:14px;font-weight:500;border:none;cursor:pointer;transition:all .2s}.btn-primary{background-color:#8b5cf6;color:#fff}.btn-primary:hover:not(:disabled){background-color:#7c3aed}.btn-secondary{background-color:#f3f4f6;color:#374151}.btn-secondary:hover:not(:disabled){background-color:#e5e7eb}.btn-primary:disabled,.btn-secondary:disabled{opacity:.5;cursor:not-allowed}.usage-count{font-size:15px;font-weight:600;color:#6b7280}.usage-card-header{align-items:flex-end}.usage-card-title{display:flex;flex-direction:column;gap:6px}.usage-count-label{font-size:13px;color:#6b7280}.usage-count-prominent{font-size:20px;font-weight:700;color:#111827;letter-spacing:-.01em}.usage-bar-container{width:100%;height:14px;background-color:#f3f4f6;border-radius:9999px;overflow:hidden;margin:18px 0 20px}.usage-bar{height:100%;border-radius:9999px;transition:width .3s ease}.usage-normal{background-color:#34d399}.usage-warning{background-color:#fbbf24}.usage-critical{background-color:#f87171}.usage-details{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:8px}.usage-stat{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:92px;padding:16px;background-color:#f9fafb;border:1px solid #e5e7eb;border-radius:12px}.usage-stat .stat-label{font-size:12px;color:#6b7280;margin-bottom:4px}.usage-stat .stat-value{font-size:22px;font-weight:600;color:#1f2937}.usage-warning{display:flex;align-items:flex-start;gap:12px;padding:16px;background-color:#fef3c7;border-radius:8px;margin-top:16px;border-left:4px solid #f59e0b}.usage-warning svg{flex-shrink:0;color:#d97706}.usage-warning span{font-size:14px;color:#92400e;line-height:1.5}.usage-view-toggle{display:inline-flex;gap:8px;background:#f3f4f6;border-radius:9999px;padding:4px}.usage-toggle-button{border:none;background:transparent;color:#6b7280;font-size:13px;font-weight:600;padding:8px 14px;border-radius:9999px;cursor:pointer}.usage-toggle-button.active{background:#fff;color:#111827;box-shadow:0 1px 2px #00000014}.usage-insights-content{display:grid;gap:20px}.usage-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.usage-kpi-card{background:linear-gradient(180deg,#fff,#f8fafc);border:1px solid #e5e7eb;border-radius:12px;min-height:104px;padding:18px;display:flex;flex-direction:column;justify-content:center;gap:10px}.kpi-label{font-size:12px;color:#6b7280;text-transform:uppercase;letter-spacing:.04em}.usage-kpi-card strong{font-size:28px;color:#111827}.usage-trend-card{border:1px solid #e5e7eb;border-radius:14px;padding:24px;background:linear-gradient(180deg,#fff,#fbfdff)}.usage-section-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.usage-section-header h3{margin:0;font-size:16px;color:#111827}.usage-section-header span{font-size:13px;color:#6b7280}.usage-trend-chart{display:grid;grid-template-columns:repeat(30,minmax(0,1fr));gap:8px;align-items:end;min-height:220px}.trend-bar-group{display:flex;flex-direction:column;align-items:center;justify-content:end;gap:8px;min-width:0}.trend-bar{width:100%;min-width:10px;border-radius:9999px;background:linear-gradient(180deg,#8b5cf6,#22c55e)}.trend-bar-label{font-size:11px;color:#6b7280;text-align:center;min-height:30px}.usage-users-table{border:1px solid #e5e7eb;border-radius:12px;overflow:hidden}.usage-users-header,.usage-user-row{display:grid;grid-template-columns:minmax(220px,2fr) minmax(180px,1.5fr) 100px 100px 120px;gap:16px;align-items:center;padding:14px 18px}.usage-users-header{background:#f9fafb;border-bottom:1px solid #e5e7eb;font-size:12px;font-weight:700;color:#6b7280;text-transform:uppercase;letter-spacing:.04em}.usage-user-row+.usage-user-row{border-top:1px solid #f3f4f6}.usage-user-identity{display:flex;flex-direction:column;gap:4px;min-width:0}.usage-user-identity strong{color:#111827;font-size:14px}.usage-user-identity span{color:#6b7280;font-size:12px;overflow:hidden;text-overflow:ellipsis}.usage-user-total{display:flex;flex-direction:column;gap:8px}.usage-user-total span{font-weight:600;color:#111827}.usage-user-bar-track{width:100%;height:8px;border-radius:9999px;background:#e5e7eb;overflow:hidden}.usage-user-bar-fill{height:100%;border-radius:9999px;background:#8b5cf6}.usage-empty-state{border:1px dashed #d1d5db;border-radius:12px;padding:24px;color:#6b7280;font-size:14px;text-align:center}.usage-attribution-note{margin:0;font-size:13px;color:#6b7280}.features-list{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 24px}.features-list li{display:flex;align-items:flex-start;gap:12px;font-size:14px;line-height:1.5;color:#374151}.features-list svg{flex-shrink:0;margin-top:1px;color:#10b981}.features-card h2,.usage-card h2,.usage-insights-card h2{margin:0 0 20px;font-size:22px;font-weight:600;color:#111827}@media (max-width: 768px){.billing-dashboard{padding:24px 16px}.billing-dashboard h1{font-size:24px;margin-bottom:24px}.billing-card{padding:24px 16px}.card-actions{flex-direction:column}.section-title-row,.usage-card-header{align-items:flex-start}.plan-summary-grid,.usage-details,.usage-kpi-grid,.features-list{grid-template-columns:1fr}.usage-trend-chart{gap:4px}.usage-users-header{display:none}.usage-user-row{grid-template-columns:1fr;gap:10px}.no-subscription-card{padding:32px 24px}}.checkout-modal{background:#fff;border-radius:16px;max-width:1000px;width:95%;max-height:90vh;overflow-y:auto;box-shadow:0 20px 25px -5px #0000001a}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:24px 32px;border-bottom:1px solid #e5e7eb}.modal-header h2{font-size:24px;font-weight:600;color:#1f2937;margin:0}.close-button{background:none;border:none;cursor:pointer;color:#6b7280;padding:4px;transition:color .2s}.close-button:hover{color:#1f2937}.modal-content{padding:32px}.billing-period-toggle{display:flex;gap:8px;margin-bottom:32px;background-color:#f3f4f6;padding:4px;border-radius:8px}.billing-period-toggle button{flex:1;padding:10px 16px;border:none;background:transparent;border-radius:6px;font-size:14px;font-weight:500;color:#6b7280;cursor:pointer;transition:all .2s;position:relative}.billing-period-toggle button.active{background:#fff;color:#8b5cf6;box-shadow:0 1px 3px #0000001a}.discount-badge{display:inline-block;margin-left:8px;padding:2px 8px;background-color:#10b981;color:#fff;font-size:11px;border-radius:9999px}.plans-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;margin-bottom:32px}.plan-card{border:2px solid #e5e7eb;border-radius:12px;padding:20px;cursor:pointer;transition:all .2s;position:relative}.plan-card:hover{border-color:#8b5cf6;box-shadow:0 4px 6px -1px #0000001a}.plan-card.selected{border-color:#8b5cf6;background-color:#faf5ff}.plan-card input[type=radio]{position:absolute;top:16px;right:16px}.plan-card h3{font-size:18px;font-weight:600;margin:0 0 8px;color:#1f2937}.plan-description{font-size:13px;color:#6b7280;margin:0 0 16px}.plan-price{margin-bottom:16px;padding-bottom:16px;border-bottom:1px solid #e5e7eb}.plan-price .price{font-size:24px;font-weight:700;color:#1f2937}.plan-price .period{font-size:13px;color:#6b7280;margin-left:4px}.plan-features{list-style:none;padding:0;margin:0;font-size:13px;color:#374151}.plan-features li{padding:4px 0;display:flex;align-items:flex-start}.plan-features li:before{content:"✓";color:#10b981;font-weight:700;margin-right:8px}.user-count-section{margin-bottom:24px}.user-count-section label{display:block;font-size:14px;font-weight:500;color:#374151;margin-bottom:12px}.user-count-controls{display:flex;align-items:center;gap:12px}.user-count-controls button{width:40px;height:40px;border:1px solid #d1d5db;background:#fff;border-radius:8px;font-size:18px;cursor:pointer;transition:all .2s}.user-count-controls button:hover:not(:disabled){background-color:#f3f4f6;border-color:#9ca3af}.user-count-controls button:disabled{opacity:.4;cursor:not-allowed}.user-count-controls input{width:100px;height:40px;border:1px solid #d1d5db;border-radius:8px;text-align:center;font-size:16px;font-weight:500}.user-count-hint{display:block;font-size:12px;color:#6b7280;margin-top:8px}.price-summary{background-color:#f9fafb;border-radius:12px;padding:20px;margin-bottom:24px}.summary-row{display:flex;justify-content:space-between;align-items:center;padding:8px 0;font-size:14px;color:#374151}.summary-row.discount{color:#10b981}.summary-row.total{margin-top:12px;padding-top:12px;border-top:2px solid #e5e7eb;font-size:16px;font-weight:600}.total-amount{font-size:24px;color:#8b5cf6}.trial-notice{display:flex;align-items:flex-start;gap:12px;padding:16px;background-color:#eff6ff;border-radius:8px;margin-bottom:24px}.trial-notice svg{flex-shrink:0;color:#3b82f6}.trial-notice span{font-size:14px;color:#1e40af}.modal-actions{display:flex;justify-content:flex-end;gap:12px}@media (max-width: 768px){.plans-grid{grid-template-columns:1fr}.modal-content{padding:24px 16px}}.company-profile-settings{max-width:1200px;margin:0 auto;padding:24px;background:#f8f9fa;min-height:100vh}.settings-header{background:#fff;padding:32px;border-radius:12px;box-shadow:0 2px 8px #0000001a;margin-bottom:32px;text-align:center}.settings-header h1{font-size:2rem;font-weight:700;color:#1a1a1a;margin:0 0 12px;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.settings-header p{font-size:1.1rem;color:#666;margin:0;line-height:1.5}.profile-settings-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:80px 20px;background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000001a}.spinner{width:40px;height:40px;border:4px solid #e3e7eb;border-top:4px solid #667eea;border-radius:50%;animation:spin 1s linear infinite;margin-bottom:16px}.profile-settings-loading p{color:#666;font-size:1.1rem;margin:0}.settings-tabs{display:flex;background:#fff;border-radius:12px;padding:8px;margin-bottom:32px;box-shadow:0 2px 8px #0000001a;gap:4px;overflow-x:auto}.settings-tabs button{flex:1;min-width:140px;padding:16px 20px;border:none;background:transparent;color:#666;font-size:.95rem;font-weight:500;border-radius:8px;cursor:pointer;transition:all .2s ease;white-space:nowrap}.settings-tabs button:hover{background:#f3f4f6;color:#333}.settings-tabs button.active{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;box-shadow:0 2px 8px #667eea4d}.settings-content{background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000001a;overflow:hidden}.tab-content{padding:40px}.tab-content h2{font-size:1.75rem;font-weight:600;color:#1a1a1a;margin:0 0 32px;padding-bottom:16px;border-bottom:2px solid #e5e7eb}.form-section{margin-bottom:48px}.form-section:last-child{margin-bottom:0}.form-section h3{font-size:1.25rem;font-weight:600;color:#333;margin:0 0 24px;padding-left:16px;border-left:4px solid #667eea}.form-section h4{font-size:1.1rem;font-weight:500;color:#555;margin:24px 0 16px}.form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:24px;margin-bottom:24px}.form-group{display:flex;flex-direction:column}.form-group label{font-size:.95rem;font-weight:500;color:#374151;margin-bottom:8px;display:flex;align-items:center;gap:4px}.form-group input,.form-group select,.form-group textarea{padding:12px 16px;border:2px solid #e5e7eb;border-radius:8px;font-size:.95rem;transition:all .2s ease;background:#fff}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.form-group input::placeholder,.form-group textarea::placeholder{color:#9ca3af}.checkbox-group{margin-top:16px}.checkbox-group label{flex-direction:row;align-items:center;cursor:pointer;font-weight:400;margin-bottom:0}.checkbox-group input[type=checkbox]{width:18px;height:18px;margin-right:12px;margin-bottom:0;cursor:pointer;accent-color:#667eea}.settings-actions{margin-top:32px;padding:32px 40px;background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000001a;text-align:center}.btn-save{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;padding:16px 48px;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .2s ease;box-shadow:0 4px 12px #667eea4d}.btn-save:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 6px 16px #667eea66}.btn-save:disabled{opacity:.6;cursor:not-allowed;transform:none}@media (max-width: 768px){.company-profile-settings{padding:16px}.settings-header{padding:24px 20px}.settings-header h1{font-size:1.5rem}.settings-tabs{padding:4px}.settings-tabs button{padding:12px 16px;font-size:.9rem;min-width:120px}.tab-content{padding:24px 20px}.tab-content h2{font-size:1.5rem}.form-grid{grid-template-columns:1fr;gap:20px}.settings-actions{padding:24px 20px}.btn-save{padding:14px 32px;width:100%}}@media (max-width: 480px){.settings-tabs{flex-direction:column}.settings-tabs button{min-width:auto;width:100%}.form-section h3{font-size:1.1rem}.form-group input,.form-group select,.form-group textarea{padding:10px 14px;font-size:.9rem}}.form-group.error input,.form-group.error select,.form-group.error textarea{border-color:#ef4444}.form-group.success input,.form-group.success select,.form-group.success textarea{border-color:#10b981}.form-group label:after{content:""}.form-group.required label:after{content:" *";color:#ef4444;font-weight:700}.form-group .info-tooltip{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;background:#667eea;color:#fff;border-radius:50%;font-size:.7rem;font-weight:700;margin-left:8px;cursor:help}.form-section.loading{opacity:.6;pointer-events:none}.form-section.loading:after{content:"";position:absolute;top:50%;left:50%;width:20px;height:20px;border:2px solid #667eea;border-top:2px solid transparent;border-radius:50%;animation:spin 1s linear infinite;transform:translate(-50%,-50%)}.general-preferences-settings{width:100%;max-width:800px;margin:0 auto;box-sizing:border-box}.generated-custom-fields-settings{width:100%;max-width:none;margin-top:1.5rem;box-sizing:border-box}.generated-forms-preferences-card{width:100%;max-width:800px;margin-left:auto;margin-right:auto;box-sizing:border-box}.generated-custom-fields-table-card{width:100%;max-width:none;box-sizing:border-box}.generated-custom-fields-heading{max-width:800px;margin:0 auto 1rem;text-align:center}.generated-custom-fields-search{width:100%;max-width:16rem;margin:0 auto 1rem}.admin-settings-page{display:flex;flex-direction:column;gap:1rem;padding:1rem}.admin-section-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:1rem}.admin-settings-loading{padding:1rem;color:#374151}.admin-settings-error{padding:.75rem 1rem;background:#fef2f2;border:1px solid #fecaca;color:#991b1b;border-radius:8px}.admin-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.75rem}.admin-summary-card{background:#fff;border:1px solid #e5e7eb;border-radius:10px;padding:.75rem 1rem;display:flex;flex-direction:column;gap:.25rem}.admin-summary-label{font-size:12px;color:#6b7280}.admin-summary-value{font-size:24px;line-height:1;font-weight:700;color:#111827}.admin-user-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:.75rem}.admin-user-title{margin:0;font-size:1.25rem;font-weight:700;color:#111827}.admin-primary-btn{padding:.5rem .875rem;border:none;border-radius:8px;background:#4f46e5;color:#fff;font-size:13px;font-weight:600;cursor:pointer}.admin-primary-btn:hover{background:#4338ca}.admin-user-table-wrap{overflow-x:auto;border:1px solid #e5e7eb;border-radius:10px}.admin-user-table{width:100%;border-collapse:collapse;min-width:880px}.admin-user-table thead th{text-align:left;font-size:12px;font-weight:600;color:#6b7280;background:#f9fafb;padding:.65rem .75rem;border-bottom:1px solid #e5e7eb}.admin-user-table tbody td{padding:.75rem;border-bottom:1px solid #f3f4f6;vertical-align:top;font-size:13px;color:#374151}.admin-user-table tbody tr:last-child td{border-bottom:none}.admin-user-primary{display:flex;flex-direction:column;gap:2px}.admin-user-name{color:#111827;font-weight:600}.admin-user-email{color:#4b5563;font-size:12px}.admin-user-uid{color:#9ca3af;font-size:11px;font-family:monospace}.admin-role-badge,.admin-status-badge{display:inline-flex;align-items:center;padding:.2rem .5rem;border-radius:999px;font-size:11px;font-weight:600}.admin-role-badge-admin{background:#ede9fe;color:#5b21b6}.admin-role-badge-user{background:#e5e7eb;color:#374151}.admin-status-active{background:#dcfce7;color:#166534}.admin-status-disabled{background:#fee2e2;color:#991b1b}.admin-telegram-badge{display:inline-flex;align-items:center;padding:.2rem .5rem;border-radius:999px;font-size:11px;font-weight:600}.admin-telegram-active{background:#dcfce7;color:#166534}.admin-telegram-disabled{background:#fee2e2;color:#991b1b}.admin-telegram-none{background:#e5e7eb;color:#374151}.admin-row-actions{display:flex;flex-wrap:wrap;gap:.4rem}.admin-action-btn{border:1px solid #d1d5db;background:#fff;color:#374151;border-radius:6px;padding:.25rem .5rem;font-size:12px;cursor:pointer}.admin-action-btn:hover{background:#f9fafb}.admin-action-enable{border-color:#86efac;color:#166534}.admin-action-disable{border-color:#fca5a5;color:#991b1b}.admin-api-keys-none{font-size:12px;color:#9ca3af}.admin-user-empty,.admin-user-note{margin:.75rem 0 0;font-size:12px;color:#6b7280}@media (max-width: 1024px){.admin-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width: 640px){.admin-summary-grid{grid-template-columns:1fr}}.admin-user-api-keys{margin-top:8px}.admin-api-keys-badge{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;background:#f3f4f6;border:1px solid #e5e7eb;border-radius:6px;font-size:12px;color:#374151;cursor:pointer;transition:all .15s}.admin-api-keys-badge:hover{background:#e5e7eb;border-color:#d1d5db}.admin-api-keys-badge svg{flex-shrink:0}.admin-expand-icon{transition:transform .2s}.admin-expand-icon.expanded{transform:rotate(180deg)}.admin-api-keys-expanded{margin-top:12px;padding:12px;background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px}.admin-keys-group{margin-bottom:12px}.admin-keys-group:last-child{margin-bottom:0}.admin-keys-group h5{margin:0 0 8px;font-size:12px;font-weight:600;color:#374151}.admin-keys-group ul{list-style:none;margin:0;padding:0}.admin-key-item{display:flex;align-items:center;gap:8px;padding:6px 8px;background:#fff;border:1px solid #e5e7eb;border-radius:4px;margin-bottom:4px;font-size:11px}.admin-key-item:last-child{margin-bottom:0}.admin-key-item.revoked{opacity:.6;background:#fef2f2}.admin-key-item code{font-family:monospace;font-size:11px;color:#6b7280;background:#f3f4f6;padding:2px 4px;border-radius:3px}.admin-key-type{padding:2px 6px;border-radius:3px;font-size:10px;font-weight:500}.admin-key-type.form-submission{background:#dbeafe;color:#1d4ed8}.admin-key-type.widget-embed{background:#fef3c7;color:#b45309}.admin-key-status{padding:2px 6px;border-radius:3px;font-size:10px;font-weight:500}.admin-key-status.active{background:#d1fae5;color:#065f46}.admin-key-status.revoked{background:#fee2e2;color:#991b1b}.admin-key-status.inactive{background:#f3f4f6;color:#6b7280}.admin-key-restricted{padding:2px 6px;background:#fef3c7;color:#92400e;border-radius:3px;font-size:10px;font-weight:500}.admin-keys-warning{display:flex;align-items:center;gap:8px;margin:12px 0 0;padding:10px 12px;background:#fef3c7;border-left:3px solid #f59e0b;border-radius:4px;font-size:12px;color:#92400e}.admin-keys-warning svg{flex-shrink:0;color:#f59e0b}.react-flow{direction:ltr}.react-flow__container{position:absolute;width:100%;height:100%;top:0;left:0}.react-flow__pane{z-index:1;cursor:grab}.react-flow__pane.selection{cursor:pointer}.react-flow__pane.dragging{cursor:grabbing}.react-flow__viewport{transform-origin:0 0;z-index:2;pointer-events:none}.react-flow__renderer{z-index:4}.react-flow__selection{z-index:6}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible{outline:none}.react-flow .react-flow__edges{pointer-events:none;overflow:visible}.react-flow__edge-path,.react-flow__connection-path{stroke:#b1b1b7;stroke-width:1;fill:none}.react-flow__edge{pointer-events:visibleStroke;cursor:pointer}.react-flow__edge.animated path{stroke-dasharray:5;animation:dashdraw .5s linear infinite}.react-flow__edge.animated path.react-flow__edge-interaction{stroke-dasharray:none;animation:none}.react-flow__edge.inactive{pointer-events:none}.react-flow__edge.selected,.react-flow__edge:focus,.react-flow__edge:focus-visible{outline:none}.react-flow__edge.selected .react-flow__edge-path,.react-flow__edge:focus .react-flow__edge-path,.react-flow__edge:focus-visible .react-flow__edge-path{stroke:#555}.react-flow__edge-textwrapper{pointer-events:all}.react-flow__edge-textbg{fill:#fff}.react-flow__edge .react-flow__edge-text{pointer-events:none;-webkit-user-select:none;user-select:none}.react-flow__connection{pointer-events:none}.react-flow__connection .animated{stroke-dasharray:5;animation:dashdraw .5s linear infinite}.react-flow__connectionline{z-index:1001}.react-flow__nodes{pointer-events:none;transform-origin:0 0}.react-flow__node{position:absolute;-webkit-user-select:none;user-select:none;pointer-events:all;transform-origin:0 0;box-sizing:border-box;cursor:grab}.react-flow__node.dragging{cursor:grabbing}.react-flow__nodesselection{z-index:3;transform-origin:left top;pointer-events:none}.react-flow__nodesselection-rect{position:absolute;pointer-events:all;cursor:grab}.react-flow__handle{position:absolute;pointer-events:none;min-width:5px;min-height:5px;width:6px;height:6px;background:#1a192b;border:1px solid white;border-radius:100%}.react-flow__handle.connectionindicator{pointer-events:all;cursor:crosshair}.react-flow__handle-bottom{top:auto;left:50%;bottom:-4px;transform:translate(-50%)}.react-flow__handle-top{left:50%;top:-4px;transform:translate(-50%)}.react-flow__handle-left{top:50%;left:-4px;transform:translateY(-50%)}.react-flow__handle-right{right:-4px;top:50%;transform:translateY(-50%)}.react-flow__edgeupdater{cursor:move;pointer-events:all}.react-flow__panel{position:absolute;z-index:5;margin:15px}.react-flow__panel.top{top:0}.react-flow__panel.bottom{bottom:0}.react-flow__panel.left{left:0}.react-flow__panel.right{right:0}.react-flow__panel.center{left:50%;transform:translate(-50%)}.react-flow__attribution{font-size:10px;background:#ffffff80;padding:2px 3px;margin:0}.react-flow__attribution a{text-decoration:none;color:#999}@keyframes dashdraw{0%{stroke-dashoffset:10}}.react-flow__edgelabel-renderer{position:absolute;width:100%;height:100%;pointer-events:none;-webkit-user-select:none;user-select:none}.react-flow__edge.updating .react-flow__edge-path{stroke:#777}.react-flow__edge-text{font-size:10px}.react-flow__node.selectable:focus,.react-flow__node.selectable:focus-visible{outline:none}.react-flow__node-default,.react-flow__node-input,.react-flow__node-output,.react-flow__node-group{padding:10px;border-radius:3px;width:150px;font-size:12px;color:#222;text-align:center;border-width:1px;border-style:solid;border-color:#1a192b;background-color:#fff}.react-flow__node-default.selectable:hover,.react-flow__node-input.selectable:hover,.react-flow__node-output.selectable:hover,.react-flow__node-group.selectable:hover{box-shadow:0 1px 4px 1px #00000014}.react-flow__node-default.selectable.selected,.react-flow__node-default.selectable:focus,.react-flow__node-default.selectable:focus-visible,.react-flow__node-input.selectable.selected,.react-flow__node-input.selectable:focus,.react-flow__node-input.selectable:focus-visible,.react-flow__node-output.selectable.selected,.react-flow__node-output.selectable:focus,.react-flow__node-output.selectable:focus-visible,.react-flow__node-group.selectable.selected,.react-flow__node-group.selectable:focus,.react-flow__node-group.selectable:focus-visible{box-shadow:0 0 0 .5px #1a192b}.react-flow__node-group{background-color:#f0f0f040}.react-flow__nodesselection-rect,.react-flow__selection{background:#0059dc14;border:1px dotted rgba(0,89,220,.8)}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible,.react-flow__selection:focus,.react-flow__selection:focus-visible{outline:none}.react-flow__controls{box-shadow:0 0 2px 1px #00000014}.react-flow__controls-button{border:none;background:#fefefe;border-bottom:1px solid #eee;box-sizing:content-box;display:flex;justify-content:center;align-items:center;width:16px;height:16px;cursor:pointer;-webkit-user-select:none;user-select:none;padding:5px}.react-flow__controls-button:hover{background:#f4f4f4}.react-flow__controls-button svg{width:100%;max-width:12px;max-height:12px}.react-flow__controls-button:disabled{pointer-events:none}.react-flow__controls-button:disabled svg{fill-opacity:.4}.react-flow__minimap{background-color:#fff}.react-flow__minimap svg{display:block}.react-flow__resize-control{position:absolute}.react-flow__resize-control.left,.react-flow__resize-control.right{cursor:ew-resize}.react-flow__resize-control.top,.react-flow__resize-control.bottom{cursor:ns-resize}.react-flow__resize-control.top.left,.react-flow__resize-control.bottom.right{cursor:nwse-resize}.react-flow__resize-control.bottom.left,.react-flow__resize-control.top.right{cursor:nesw-resize}.react-flow__resize-control.handle{width:4px;height:4px;border:1px solid #fff;border-radius:1px;background-color:#3367d9;transform:translate(-50%,-50%)}.react-flow__resize-control.handle.left{left:0;top:50%}.react-flow__resize-control.handle.right{left:100%;top:50%}.react-flow__resize-control.handle.top{left:50%;top:0}.react-flow__resize-control.handle.bottom{left:50%;top:100%}.react-flow__resize-control.handle.top.left,.react-flow__resize-control.handle.bottom.left{left:0}.react-flow__resize-control.handle.top.right,.react-flow__resize-control.handle.bottom.right{left:100%}.react-flow__resize-control.line{border-color:#3367d9;border-width:0;border-style:solid}.react-flow__resize-control.line.left,.react-flow__resize-control.line.right{width:1px;transform:translate(-50%);top:0;height:100%}.react-flow__resize-control.line.left{left:0;border-left-width:1px}.react-flow__resize-control.line.right{left:100%;border-right-width:1px}.react-flow__resize-control.line.top,.react-flow__resize-control.line.bottom{height:1px;transform:translateY(-50%);left:0;width:100%}.react-flow__resize-control.line.top{top:0;border-top-width:1px}.react-flow__resize-control.line.bottom{border-bottom-width:1px;top:100%}.voice-receptionist-settings{width:100%;max-width:none;margin:0;padding:0;min-width:0;box-sizing:border-box;background:transparent;border-radius:0;box-shadow:none}.voice-receptionist-settings .settings-header,.voice-receptionist-settings .settings-section,.voice-receptionist-settings .settings-actions{width:100%;max-width:800px;margin-left:auto;margin-right:auto;box-sizing:border-box}.voice-receptionist-settings .settings-section:has(.flow-builder-fullwidth-wrapper){max-width:none}.voice-receptionist-settings .settings-section:has(.flow-builder-fullwidth-wrapper)>h3,.voice-receptionist-settings .settings-section:has(.flow-builder-fullwidth-wrapper)>.form-group,.voice-receptionist-settings .settings-section:has(.flow-builder-fullwidth-wrapper)>.form-grid,.voice-receptionist-settings .settings-section:has(.flow-builder-fullwidth-wrapper)>.toggle-option,.voice-receptionist-settings .settings-section:has(.flow-builder-fullwidth-wrapper)>details>summary{max-width:800px;margin-left:auto;margin-right:auto}.voice-receptionist-settings .flow-builder-fullwidth-wrapper,.voice-receptionist-settings .flow-builder-constrained-content{width:100%;max-width:none}.settings-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:32px;padding-bottom:24px;border-bottom:1px solid #e5e7eb}.header-title{display:flex;gap:16px;align-items:flex-start}.header-icon{width:32px;height:32px;color:#2563eb;flex-shrink:0}.settings-header h2{margin:0 0 8px;font-size:28px;font-weight:700;color:#1f2937}.settings-header p{margin:0;color:#6b7280;font-size:16px}.history-button{display:flex;align-items:center;gap:8px;padding:10px 20px;background:#f3f4f6;border:1px solid #d1d5db;border-radius:8px;font-weight:600;font-size:14px;color:#374151;cursor:pointer;transition:all .2s ease}.history-button:hover{background:#e5e7eb;border-color:#9ca3af}.settings-content{display:flex;flex-direction:column;gap:32px}.settings-section{padding:24px;border:1px solid #e5e7eb;border-radius:12px;background:#f9fafb}.settings-section h3{display:flex;align-items:center;gap:8px;margin:0 0 20px;font-size:20px;font-weight:600;color:#1f2937}.info-banner{display:flex;align-items:center;gap:12px;padding:12px 16px;background:#eff6ff;border:1px solid #bfdbfe;border-radius:8px;margin-bottom:20px;color:#1e40af;font-size:14px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.form-group{display:flex;flex-direction:column;gap:8px}.form-group.full-width{grid-column:1 / -1}.form-group label{font-weight:600;color:#374151;font-size:14px}.required{color:#dc2626}.form-group input,.form-group select,.form-group textarea{padding:12px 16px;border:2px solid #e5e7eb;border-radius:8px;font-size:14px;transition:border-color .2s,box-shadow .2s;box-sizing:border-box}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1a}.form-group textarea{resize:vertical;min-height:100px;font-family:inherit;line-height:1.5}.field-hint{font-size:12px;color:#6b7280;font-style:italic}.feature-toggles{display:flex;flex-direction:column;gap:16px}.toggle-option{display:flex;align-items:flex-start;gap:12px;padding:16px;border:1px solid #d1d5db;border-radius:8px;background:#fff;cursor:pointer;transition:all .2s ease}.toggle-option:hover{border-color:#10b981;background:#f0fdf4}.toggle-option input[type=checkbox]{width:18px;height:18px;border:2px solid #d1d5db;border-radius:4px;background:#fff;cursor:pointer;transition:all .2s ease;-webkit-appearance:none;-moz-appearance:none;appearance:none;position:relative;margin:0;flex-shrink:0}.toggle-option input[type=checkbox]:checked{background:linear-gradient(135deg,#10b981,#059669);border-color:#10b981}.toggle-option input[type=checkbox]:checked:after{content:"✓";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);color:#fff;font-size:12px;font-weight:700}.toggle-label{display:flex;flex-direction:column;gap:4px;flex:1}.toggle-label strong{color:#1f2937;font-weight:600;font-size:15px}.option-description{color:#6b7280;font-size:13px;line-height:1.4}.settings-actions{display:flex;justify-content:flex-end;padding-top:24px;border-top:1px solid #e5e7eb;margin-top:32px}.save-btn{display:flex;align-items:center;gap:8px;padding:12px 32px;background:linear-gradient(135deg,#2563eb,#1d4ed8);color:#fff;border:none;border-radius:8px;font-weight:600;font-size:14px;cursor:pointer;transition:all .2s ease;min-width:140px;justify-content:center}.save-btn:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 4px 12px #2563eb66}.save-btn:disabled{opacity:.6;cursor:not-allowed;transform:none}.loading-state{text-align:center;padding:48px 24px;color:#6b7280;font-size:16px}.modal-overlay.call-history-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;padding:20px}.call-history-modal{background:#fff;border-radius:12px;width:100%;max-width:800px;max-height:90vh;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a}.call-history-modal .modal-header{display:flex;justify-content:space-between;align-items:center;padding:24px 32px;border-bottom:1px solid #e5e7eb}.call-history-modal .header-content{display:flex;align-items:center;gap:12px}.call-history-modal .header-content .header-icon{width:24px;height:24px;color:#2563eb}.call-history-modal .header-content h2{margin:0;font-size:24px;font-weight:700;color:#1f2937}.call-history-modal .close-button{background:none;border:none;font-size:32px;color:#6b7280;cursor:pointer;line-height:1;padding:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:6px;transition:all .2s ease}.call-history-modal .close-button:hover{background:#f3f4f6;color:#111827}.call-history-modal .modal-body{flex:1;overflow-y:auto;padding:24px 32px}.call-logs-list{display:flex;flex-direction:column;gap:16px}.call-log-item{padding:16px;border:1px solid #e5e7eb;border-radius:8px;background:#f9fafb;transition:all .2s ease}.call-log-item:hover{box-shadow:0 2px 8px #0000000d}.call-log-item.completed{border-left:4px solid #10b981}.call-log-item.in-progress{border-left:4px solid #f59e0b}.call-log-item.failed{border-left:4px solid #ef4444}.call-log-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;padding-bottom:12px;border-bottom:1px solid #e5e7eb}.call-info{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.phone-number{font-weight:600;color:#1f2937;font-size:15px}.customer-badge{display:flex;align-items:center;gap:4px;padding:4px 10px;background:#dcfce7;border:1px solid #86efac;border-radius:6px;color:#15803d;font-size:13px;font-weight:500}.call-meta{display:flex;align-items:center;gap:12px}.status-badge{padding:4px 10px;border-radius:6px;font-size:12px;font-weight:600;text-transform:capitalize}.status-badge.completed{background:#d1fae5;color:#065f46}.status-badge.in-progress{background:#fed7aa;color:#92400e}.status-badge.failed{background:#fee2e2;color:#991b1b}.status-badge.no-answer{background:#e5e7eb;color:#374151}.call-duration{font-weight:600;color:#6b7280;font-size:14px}.call-log-details{display:flex;flex-direction:column;gap:8px}.detail-row{display:flex;gap:8px;font-size:14px}.detail-row.transcript{flex-direction:column}.detail-label{font-weight:600;color:#6b7280;min-width:100px}.detail-value{color:#1f2937}.detail-value.ticket-link{color:#2563eb;cursor:pointer;text-decoration:underline}.detail-value.ticket-link:hover{color:#1d4ed8}.detail-row.voicemail-section{flex-direction:column;padding:12px;background:#f0fdf4;border:1px solid #86efac;border-radius:8px;margin-top:8px}.voicemail-player{display:flex;flex-direction:column;gap:8px;width:100%}.voicemail-player audio{width:100%;height:36px;border-radius:6px;outline:none}.voicemail-player audio:focus{box-shadow:0 0 0 3px #10b98133}.recording-duration{font-size:13px;color:#059669;font-weight:600}.recording-status{display:inline-block;padding:4px 8px;border-radius:4px;font-size:12px;font-weight:600;text-transform:capitalize;background:#d1fae5;color:#065f46}.recording-status.failed{background:#fee2e2;color:#991b1b}.recording-status.processing{background:#fed7aa;color:#92400e}.detail-row.voicemail-transcript{flex-direction:column;padding:12px;background:#eff6ff;border:1px solid #bfdbfe;border-radius:8px;margin-top:8px}.detail-row.voicemail-transcript .detail-label{margin-bottom:4px;color:#1e40af}.detail-row.voicemail-transcript .detail-value{color:#1e3a8a;line-height:1.6;white-space:pre-wrap}.transcription-status{display:inline-block;padding:3px 8px;border-radius:4px;font-size:11px;font-weight:600;margin-top:8px;text-transform:capitalize;background:#dbeafe;color:#1e40af}.transcription-status.failed{background:#fee2e2;color:#991b1b}.transcription-status.processing{background:#fed7aa;color:#92400e}.empty-state{display:flex;flex-direction:column;align-items:center;gap:16px;padding:48px 24px;color:#6b7280}.empty-state svg{color:#9ca3af}.empty-state p{margin:0;font-size:16px;font-weight:500}.flow-builder-fullwidth-wrapper{width:100%;background:linear-gradient(135deg,#f0f9ff,#e0f2fe);padding:2rem 1rem;margin-top:32px}.flow-builder-constrained-content{width:100%;max-width:none;margin:0}@media (max-width: 768px){.voice-receptionist-settings{padding:20px;margin:10px}.settings-header{flex-direction:column;gap:16px}.history-button{width:100%;justify-content:center}.form-grid{grid-template-columns:1fr;gap:16px}.settings-header h2{font-size:24px}.settings-section{padding:16px}.toggle-option{padding:12px}.save-btn{width:100%}.call-history-modal{max-height:95vh}.call-history-modal .modal-header,.call-history-modal .modal-body{padding:20px}.call-log-header{flex-direction:column;align-items:flex-start;gap:12px}.call-meta{width:100%;justify-content:space-between}.flow-builder-fullwidth-wrapper{padding:1.5rem .75rem}}.api-keys-settings{max-width:1000px;margin:0 auto}.api-keys-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:2rem;padding-bottom:1rem;border-bottom:1px solid #e5e7eb}.api-keys-header h2{font-size:1.5rem;font-weight:700;color:#111827;margin:0 0 .5rem}.api-keys-header p{font-size:.875rem;color:#6b7280;margin:0}.btn-generate-key{background-color:#4f46e5;color:#fff;border:none;border-radius:.375rem;padding:.625rem 1.25rem;font-size:.875rem;font-weight:500;cursor:pointer;transition:background-color .2s}.btn-generate-key:hover{background-color:#4338ca}.api-keys-info{background-color:#eff6ff;border:1px solid #bfdbfe;border-radius:.5rem;padding:1.25rem;margin-bottom:2rem}.api-keys-info h3{font-size:1rem;font-weight:600;color:#1e40af;margin:0 0 .75rem}.api-keys-info p{font-size:.875rem;color:#1e3a8a;margin:0 0 .75rem;line-height:1.5}.api-keys-info ul{margin:0;padding-left:1.5rem}.api-keys-info li{font-size:.875rem;color:#1e3a8a;margin-bottom:.5rem;line-height:1.5}.api-keys-info code{background-color:#dbeafe;padding:.125rem .375rem;border-radius:.25rem;font-family:monospace;font-size:.813rem}.api-keys-loading,.api-keys-empty{text-align:center;padding:3rem 1rem;color:#6b7280}.api-keys-list{display:flex;flex-direction:column;gap:1.5rem;margin-bottom:2rem}.api-key-card{background-color:#fff;border:1px solid #e5e7eb;border-radius:.5rem;padding:1.5rem;transition:box-shadow .2s}.api-key-card.revoked{opacity:.6;background-color:#f9fafb}.api-key-card:hover{box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f}.api-key-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.api-key-status-badge span{display:inline-block;padding:.25rem .75rem;border-radius:9999px;font-size:.75rem;font-weight:600;text-transform:uppercase}.status-active{background-color:#d1fae5;color:#065f46}.status-revoked{background-color:#fee2e2;color:#991b1b}.status-inactive{background-color:#f3f4f6;color:#374151}.api-key-actions{display:flex;gap:.5rem}.btn-edit,.btn-revoke{padding:.375rem .875rem;font-size:.813rem;font-weight:500;border-radius:.375rem;border:1px solid;cursor:pointer;transition:all .2s}.btn-edit{background-color:#fff;color:#4f46e5;border-color:#4f46e5}.btn-edit:hover{background-color:#4f46e5;color:#fff}.btn-revoke{background-color:#fff;color:#dc2626;border-color:#dc2626}.btn-revoke:hover{background-color:#dc2626;color:#fff}.api-key-value{margin-bottom:1rem}.api-key-label{font-size:.75rem;font-weight:600;color:#6b7280;text-transform:uppercase;letter-spacing:.05em;margin-bottom:.5rem}.api-key-display{display:flex;align-items:center;gap:.75rem;background-color:#f9fafb;padding:.75rem;border-radius:.375rem;border:1px solid #e5e7eb}.api-key-display code{flex:1;font-family:monospace;font-size:.875rem;color:#374151;word-break:break-all}.btn-copy{background-color:#4f46e5;color:#fff;border:none;border-radius:.25rem;padding:.375rem .75rem;font-size:.75rem;font-weight:500;cursor:pointer;white-space:nowrap;transition:background-color .2s}.btn-copy:hover{background-color:#4338ca}.api-key-meta{display:flex;gap:2rem;padding:.75rem 0;border-top:1px solid #f3f4f6;border-bottom:1px solid #f3f4f6;margin-bottom:1rem}.meta-item{display:flex;gap:.5rem}.meta-label{font-size:.813rem;font-weight:500;color:#6b7280}.meta-value{font-size:.813rem;color:#111827}.api-key-domains{margin-bottom:1rem}.domains-header{margin-bottom:.75rem}.domains-label{font-size:.75rem;font-weight:600;color:#6b7280;text-transform:uppercase;letter-spacing:.05em}.domains-list{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:.75rem}.domain-tag{display:inline-flex;align-items:center;gap:.375rem;background-color:#f3f4f6;padding:.375rem .75rem;border-radius:.375rem;font-size:.813rem;color:#374151}.btn-remove-domain{background:none;border:none;color:#6b7280;font-size:1.25rem;line-height:1;cursor:pointer;padding:0;margin-left:.25rem;transition:color .2s}.btn-remove-domain:hover{color:#dc2626}.add-domain-form{display:flex;gap:.5rem;margin-top:.75rem}.input-domain{flex:1;padding:.5rem .75rem;border:1px solid #d1d5db;border-radius:.375rem;font-size:.875rem}.input-domain:focus{outline:none;border-color:#4f46e5;box-shadow:0 0 0 3px #4f46e51a}.btn-add-domain{background-color:#10b981;color:#fff;border:none;border-radius:.375rem;padding:.5rem 1rem;font-size:.875rem;font-weight:500;cursor:pointer;white-space:nowrap;transition:background-color .2s}.btn-add-domain:hover{background-color:#059669}.api-key-endpoints{margin-top:1rem;padding-top:1rem;border-top:1px solid #f3f4f6}.endpoints-header{font-size:.75rem;font-weight:600;color:#6b7280;text-transform:uppercase;letter-spacing:.05em;margin-bottom:.75rem}.endpoints-list{display:flex;flex-wrap:wrap;gap:.5rem}.endpoints-list code{background-color:#f3f4f6;padding:.375rem .75rem;border-radius:.375rem;font-family:monospace;font-size:.813rem;color:#374151}.api-keys-documentation{background-color:#f9fafb;border:1px solid #e5e7eb;border-radius:.5rem;padding:1.5rem;margin-top:2rem}.api-keys-documentation h3{font-size:1rem;font-weight:600;color:#111827;margin:0 0 1rem}.code-example{background-color:#1f2937;color:#f9fafb;padding:1rem;border-radius:.375rem;font-family:monospace;font-size:.813rem;line-height:1.6;overflow-x:auto;margin:0}.api-keys-generate-buttons{display:flex;gap:.5rem}.btn-generate-key{display:inline-flex;align-items:center;gap:.5rem}.btn-generate-widget{background-color:#7c3aed}.btn-generate-widget:hover{background-color:#6d28d9}.api-keys-filter-tabs{display:flex;gap:.5rem;margin-bottom:1.5rem;border-bottom:1px solid #e5e7eb;padding-bottom:0}.filter-tab{display:inline-flex;align-items:center;gap:.5rem;padding:.75rem 1rem;background:none;border:none;border-bottom:2px solid transparent;color:#6b7280;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s;margin-bottom:-1px}.filter-tab:hover{color:#4f46e5}.filter-tab.active{color:#4f46e5;border-bottom-color:#4f46e5}.tab-count{display:inline-flex;align-items:center;justify-content:center;min-width:1.25rem;height:1.25rem;padding:0 .375rem;background-color:#f3f4f6;color:#6b7280;border-radius:9999px;font-size:.75rem;font-weight:600}.filter-tab.active .tab-count{background-color:#eef2ff;color:#4f46e5}.info-columns{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem;margin-top:1rem}.info-column h4{font-size:.875rem;font-weight:600;color:#1e40af;margin:0 0 .5rem}.info-column ul{margin:0;padding-left:1.25rem}.info-column li{font-size:.813rem;margin-bottom:.25rem}.api-key-badges{display:flex;align-items:center;gap:.5rem}.type-badge{display:inline-block;padding:.25rem .625rem;border-radius:.25rem;font-size:.75rem;font-weight:600;text-transform:uppercase}.type-badge.form-submission{background-color:#dbeafe;color:#1e40af}.type-badge.widget-embed{background-color:#ede9fe;color:#6d28d9}.api-key-usage{margin-top:1rem;padding-top:1rem;border-top:1px solid #f3f4f6}.usage-header{font-size:.75rem;font-weight:600;color:#6b7280;text-transform:uppercase;letter-spacing:.05em;margin-bottom:.5rem}.usage-code{display:block;background-color:#f9fafb;padding:.75rem;border-radius:.375rem;font-family:monospace;font-size:.813rem;color:#374151;word-break:break-all;border:1px solid #e5e7eb}.doc-section{margin-bottom:1.5rem}.doc-section:last-child{margin-bottom:0}.doc-section h4{font-size:.875rem;font-weight:600;color:#374151;margin:0 0 .75rem}.meta-value.usage-count{font-weight:600;color:#4f46e5}.meta-value.expired{color:#dc2626;font-weight:600}.meta-value.expiring-soon{color:#d97706;font-weight:600}.api-key-card.expired{border-color:#fecaca;background-color:#fef2f2}.api-key-card.expiring-soon{border-color:#fed7aa}.meta-value.access-badge{display:inline-flex;align-items:center;padding:2px 8px;border-radius:4px;font-size:.75rem;font-weight:500}.meta-value.access-badge.shared{background-color:#d1fae5;color:#065f46}.meta-value.access-badge.restricted{background-color:#fef3c7;color:#92400e}.meta-value.revoked-reason{color:#dc2626;font-style:italic}.btn-access{background-color:#6366f1;color:#fff;border:none;border-radius:.25rem;padding:.375rem .75rem;font-size:.75rem;cursor:pointer;transition:background-color .2s}.btn-access:hover{background-color:#4f46e5}.access-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;padding:20px}.access-modal{background:#fff;border-radius:12px;width:100%;max-width:500px;max-height:90vh;overflow-y:auto;box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a}.access-modal-header{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;border-bottom:1px solid #e5e7eb}.access-modal-header h3{margin:0;font-size:18px;font-weight:600;color:#111827}.btn-close-modal{background:none;border:none;cursor:pointer;padding:4px;color:#6b7280;transition:color .2s}.btn-close-modal:hover{color:#111827}.access-modal-body{padding:20px}.access-key-info{display:flex;align-items:center;gap:8px;padding:12px;background:#f3f4f6;border-radius:8px;margin-bottom:20px}.access-key-label{font-size:13px;color:#6b7280}.access-key-value{font-family:monospace;font-size:12px;background:#e5e7eb;padding:4px 8px;border-radius:4px;color:#374151}.access-mode-section h4,.user-selection-section h4,.permission-history-section h4{margin:0 0 12px;font-size:14px;font-weight:600;color:#374151}.access-mode-options{display:flex;flex-direction:column;gap:8px;margin-bottom:20px}.access-mode-option{display:flex;align-items:flex-start;gap:12px;padding:12px;border:1px solid #e5e7eb;border-radius:8px;cursor:pointer;transition:all .2s}.access-mode-option:hover{border-color:#6366f1}.access-mode-option.selected{border-color:#6366f1;background:#eef2ff}.access-mode-option input[type=radio]{margin-top:2px;accent-color:#6366f1}.access-mode-content{display:flex;flex-direction:column;gap:2px}.access-mode-title{font-size:14px;font-weight:500;color:#111827}.access-mode-desc{font-size:12px;color:#6b7280}.user-selection-section{margin-bottom:20px}.loading-users,.no-users{padding:16px;text-align:center;color:#6b7280;font-size:13px}.user-list{display:flex;flex-direction:column;gap:6px;max-height:200px;overflow-y:auto;border:1px solid #e5e7eb;border-radius:8px;padding:8px}.user-item{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:6px;cursor:pointer;transition:background-color .2s}.user-item:hover{background:#f3f4f6}.user-item.selected{background:#eef2ff}.user-item input[type=checkbox]{accent-color:#6366f1}.user-item-info{display:flex;flex-direction:column;gap:2px}.user-item-name{font-size:13px;font-weight:500;color:#111827}.user-item-email{font-size:11px;color:#6b7280}.user-item-role{display:inline-block;font-size:10px;padding:2px 6px;border-radius:4px;background:#e5e7eb;color:#374151;margin-top:2px;width:-webkit-fit-content;width:fit-content}.user-item-role.admin{background:#fef3c7;color:#92400e}.user-selection-warning{display:flex;align-items:center;gap:8px;margin-top:10px;padding:10px 12px;background:#fef3c7;border-left:3px solid #f59e0b;border-radius:4px;font-size:12px;color:#92400e}.user-selection-warning svg{flex-shrink:0;color:#f59e0b}.permission-history-section{margin-top:16px;padding-top:16px;border-top:1px solid #e5e7eb}.permission-history-list{display:flex;flex-direction:column;gap:6px}.permission-history-item{display:flex;align-items:center;gap:8px;font-size:12px;padding:6px 10px;background:#f9fafb;border-radius:4px}.history-action{font-weight:500;color:#6366f1;text-transform:capitalize}.history-by{color:#6b7280}.history-date{margin-left:auto;color:#9ca3af}.access-modal-footer{display:flex;justify-content:flex-end;gap:12px;padding:16px 20px;border-top:1px solid #e5e7eb}.btn-cancel{background:#f3f4f6;color:#374151;border:none;border-radius:6px;padding:10px 16px;font-size:14px;font-weight:500;cursor:pointer;transition:background-color .2s}.btn-cancel:hover{background:#e5e7eb}.btn-save{background:#6366f1;color:#fff;border:none;border-radius:6px;padding:10px 16px;font-size:14px;font-weight:500;cursor:pointer;transition:background-color .2s}.btn-save:hover{background:#4f46e5}@media (max-width: 768px){.api-keys-header{flex-direction:column;gap:1rem}.api-keys-generate-buttons{width:100%;flex-direction:column}.btn-generate-key{width:100%;justify-content:center}.api-keys-filter-tabs{flex-wrap:wrap}.filter-tab{flex:1;min-width:0;justify-content:center;padding:.625rem .5rem;font-size:.813rem}.info-columns{grid-template-columns:1fr}.api-key-meta{flex-direction:column;gap:.5rem}.add-domain-form{flex-direction:column}.btn-add-domain{width:100%}}.custom-entity-settings{padding:24px}.custom-entity-settings__section{background:#fff;border-radius:8px;box-shadow:0 1px 3px #0000001a;padding:24px;margin-bottom:24px}.custom-entity-settings__header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:20px}.custom-entity-settings__title{font-size:18px;font-weight:600;color:#111827;margin:0 0 8px}.custom-entity-settings__description{font-size:14px;color:#6b7280;margin:0}.custom-entity-settings__add-btn{display:flex;align-items:center;gap:8px;padding:10px 16px;background:#4f46e5;color:#fff;border:none;border-radius:6px;font-size:14px;font-weight:500;cursor:pointer;transition:background .2s}.custom-entity-settings__add-btn:hover{background:#4338ca}.custom-entity-settings__add-btn svg{width:16px;height:16px}.custom-entity-settings__table-wrapper{overflow-x:auto;border:1px solid #e5e7eb;border-radius:8px}.custom-entity-settings__table{width:100%;border-collapse:collapse}.custom-entity-settings__table th{background:#f9fafb;padding:12px 16px;text-align:left;font-size:12px;font-weight:600;color:#6b7280;text-transform:uppercase;letter-spacing:.05em;border-bottom:1px solid #e5e7eb}.custom-entity-settings__table td{padding:16px;border-bottom:1px solid #e5e7eb;font-size:14px;color:#374151}.custom-entity-settings__table tbody tr:last-child td{border-bottom:none}.custom-entity-settings__table tbody tr:hover{background:#f9fafb}.custom-entity-settings__entity-name{display:flex;align-items:center;gap:10px}.custom-entity-settings__entity-icon{width:32px;height:32px;border-radius:6px;display:flex;align-items:center;justify-content:center;font-size:14px}.custom-entity-settings__entity-text{font-weight:500;color:#111827}.custom-entity-settings__entity-slug{font-size:12px;color:#9ca3af;font-family:monospace}.custom-entity-settings__actions{display:flex;gap:12px}.custom-entity-settings__action-btn{background:none;border:none;padding:4px 8px;font-size:14px;font-weight:500;cursor:pointer;border-radius:4px;transition:background .2s}.custom-entity-settings__action-btn--edit{color:#4f46e5}.custom-entity-settings__action-btn--edit:hover{background:#eef2ff}.custom-entity-settings__action-btn--delete{color:#dc2626}.custom-entity-settings__action-btn--delete:hover{background:#fef2f2}.custom-entity-settings__empty{text-align:center;padding:48px 24px;color:#6b7280}.custom-entity-settings__empty-icon{font-size:48px;margin-bottom:16px;opacity:.5}.custom-entity-settings__empty-text{font-size:14px;margin-bottom:16px}.custom-entity-settings__loading{text-align:center;padding:48px;color:#6b7280}.custom-entity-settings__modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;padding:20px}.custom-entity-settings__modal{background:#fff;border-radius:12px;width:100%;max-width:500px;max-height:90vh;overflow-y:auto;box-shadow:0 20px 25px -5px #0000001a}.custom-entity-settings__modal-header{padding:20px 24px;border-bottom:1px solid #e5e7eb;display:flex;justify-content:space-between;align-items:center}.custom-entity-settings__modal-title{font-size:18px;font-weight:600;color:#111827;margin:0}.custom-entity-settings__modal-close{background:none;border:none;font-size:24px;color:#6b7280;cursor:pointer;padding:4px;line-height:1}.custom-entity-settings__modal-close:hover{color:#374151}.custom-entity-settings__modal-body{padding:24px}.custom-entity-settings__form-group{margin-bottom:20px}.custom-entity-settings__form-label{display:block;font-size:14px;font-weight:500;color:#374151;margin-bottom:6px}.custom-entity-settings__form-label--required:after{content:" *";color:#dc2626}.custom-entity-settings__form-input{width:100%;padding:10px 12px;border:1px solid #d1d5db;border-radius:6px;font-size:14px;color:#111827;box-sizing:border-box}.custom-entity-settings__form-input:focus{outline:none;border-color:#4f46e5;box-shadow:0 0 0 3px #4f46e51a}.custom-entity-settings__form-textarea{resize:vertical;min-height:80px}.custom-entity-settings__form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}.custom-entity-settings__color-preview{display:flex;align-items:center;gap:12px}.custom-entity-settings__color-swatch{width:40px;height:40px;border-radius:6px;border:2px solid #e5e7eb;cursor:pointer}.custom-entity-settings__modal-footer{padding:16px 24px;border-top:1px solid #e5e7eb;display:flex;justify-content:flex-end;gap:12px}.custom-entity-settings__btn{padding:10px 20px;border-radius:6px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s}.custom-entity-settings__btn--secondary{background:#fff;border:1px solid #d1d5db;color:#374151}.custom-entity-settings__btn--secondary:hover{background:#f9fafb}.custom-entity-settings__btn--primary{background:#4f46e5;border:1px solid #4f46e5;color:#fff}.custom-entity-settings__btn--primary:hover{background:#4338ca}.custom-entity-settings__btn--primary:disabled{background:#9ca3af;border-color:#9ca3af;cursor:not-allowed}.custom-entity-settings__builtin-section{margin-top:24px;padding-top:24px;border-top:1px solid #e5e7eb}.custom-entity-settings__builtin-title{font-size:14px;font-weight:600;color:#6b7280;margin-bottom:12px}.custom-entity-settings__builtin-list{display:flex;flex-wrap:wrap;gap:8px}.custom-entity-settings__builtin-badge{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:6px;font-size:13px;font-weight:500;background:#f3f4f6;color:#374151}.custom-entity-settings__builtin-dot{width:8px;height:8px;border-radius:50%}.custom-fields-manager{max-width:1000px;width:100%;margin:0 auto;box-sizing:border-box}.custom-fields-manager .manager-header{margin-bottom:24px}.custom-fields-manager .header-content h2{font-size:1.5rem;font-weight:600;color:#111827;margin:0 0 8px}.custom-fields-manager .header-content p{color:#6b7280;margin:0;font-size:.875rem}.custom-fields-manager .entity-selector{display:flex;gap:8px;margin-bottom:24px;flex-wrap:wrap}.custom-fields-manager .entity-tab{display:flex;align-items:center;gap:8px;padding:10px 16px;border:1px solid #e5e7eb;border-radius:8px;background:#fff;color:#6b7280;cursor:pointer;transition:all .2s ease;font-size:.875rem;font-weight:500}.custom-fields-manager .entity-tab:hover{border-color:var(--entity-color, #6366f1);color:var(--entity-color, #6366f1);background:#6366f10d}.custom-fields-manager .entity-tab.active{border-color:var(--entity-color, #6366f1);background:var(--entity-color, #6366f1);color:#fff}.custom-fields-manager .entity-tab i{font-size:1rem}.custom-fields-manager .entity-tab .field-count{background:#fff3;padding:2px 8px;border-radius:12px;font-size:.75rem}.custom-fields-manager .fields-section{background:#fff;border:1px solid #e5e7eb;border-radius:12px;overflow:hidden}.custom-fields-manager .section-header{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;border-bottom:1px solid #e5e7eb;background:#f9fafb}.custom-fields-manager .section-title{display:flex;align-items:center;gap:10px}.custom-fields-manager .section-title i{font-size:1.25rem}.custom-fields-manager .section-title h3{font-size:1rem;font-weight:600;color:#111827;margin:0}.custom-fields-manager .add-field-btn{display:flex;align-items:center;gap:6px;padding:8px 16px;background:#6366f1;color:#fff;border:none;border-radius:6px;font-size:.875rem;font-weight:500;cursor:pointer;transition:background .2s}.custom-fields-manager .add-field-btn:hover:not(:disabled){background:#4f46e5}.custom-fields-manager .add-field-btn:disabled{opacity:.6;cursor:not-allowed}.custom-fields-manager .loading-state{display:flex;flex-direction:column;align-items:center;gap:12px;padding:48px 20px;color:#6b7280}.custom-fields-manager .spinner{width:32px;height:32px;border:3px solid #e5e7eb;border-top-color:#6366f1;border-radius:50%;animation:spin .8s linear infinite}.custom-fields-manager .empty-state{display:flex;flex-direction:column;align-items:center;gap:12px;padding:48px 20px;text-align:center}.custom-fields-manager .empty-state i{font-size:3rem;color:#d1d5db}.custom-fields-manager .empty-state h4{font-size:1.125rem;font-weight:600;color:#374151;margin:0}.custom-fields-manager .empty-state p{color:#6b7280;margin:0;max-width:300px}.custom-fields-manager .empty-state .add-field-btn.primary{margin-top:8px}.custom-fields-manager .fields-list{padding:8px}.custom-fields-manager .field-item{display:flex;align-items:center;gap:12px;padding:12px 16px;margin-bottom:8px;background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;transition:all .2s}.custom-fields-manager .field-item:last-child{margin-bottom:0}.custom-fields-manager .field-item:hover{border-color:#d1d5db;box-shadow:0 1px 3px #0000000d}.custom-fields-manager .field-item.inactive{opacity:.6;background:#f3f4f6}.custom-fields-manager .field-reorder{display:flex;flex-direction:column;gap:2px}.custom-fields-manager .reorder-btn{padding:4px;background:none;border:1px solid transparent;border-radius:4px;color:#9ca3af;cursor:pointer;transition:all .15s}.custom-fields-manager .reorder-btn:hover:not(:disabled){background:#fff;border-color:#e5e7eb;color:#374151}.custom-fields-manager .reorder-btn:disabled{opacity:.3;cursor:not-allowed}.custom-fields-manager .field-info{flex:1;min-width:0}.custom-fields-manager .field-header{display:flex;align-items:center;gap:8px;margin-bottom:4px}.custom-fields-manager .field-label{font-weight:600;color:#111827;font-size:.9375rem}.custom-fields-manager .required-badge{padding:2px 6px;background:#fef3c7;color:#92400e;font-size:.6875rem;font-weight:500;border-radius:4px}.custom-fields-manager .inactive-badge{padding:2px 6px;background:#f3f4f6;color:#6b7280;font-size:.6875rem;font-weight:500;border-radius:4px}.custom-fields-manager .field-meta{display:flex;align-items:center;gap:12px;font-size:.8125rem;color:#6b7280;flex-wrap:wrap}.custom-fields-manager .field-type{display:flex;align-items:center;gap:4px;color:#4b5563;font-weight:500}.custom-fields-manager .field-type i{font-size:.875rem}.custom-fields-manager .field-description{color:#9ca3af}.custom-fields-manager .field-key{font-family:monospace;font-size:.75rem;color:#9ca3af}.custom-fields-manager .field-badges{display:flex;gap:6px;margin-top:6px}.custom-fields-manager .display-badge{padding:2px 8px;background:#ede9fe;color:#6366f1;font-size:.6875rem;font-weight:500;border-radius:4px}.custom-fields-manager .field-actions{display:flex;gap:4px}.custom-fields-manager .action-btn{padding:8px;background:#fff;border:1px solid #e5e7eb;border-radius:6px;color:#6b7280;cursor:pointer;transition:all .15s}.custom-fields-manager .action-btn:hover:not(:disabled){border-color:#d1d5db}.custom-fields-manager .action-btn:disabled{opacity:.5;cursor:not-allowed}.custom-fields-manager .action-btn.edit:hover:not(:disabled){color:#6366f1;border-color:#6366f1;background:#f5f3ff}.custom-fields-manager .action-btn.toggle:hover:not(:disabled){color:#f59e0b;border-color:#f59e0b;background:#fffbeb}.custom-fields-manager .action-btn.delete:hover:not(:disabled){color:#ef4444;border-color:#ef4444;background:#fef2f2}.custom-fields-manager .editor-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;padding:20px}.field-editor{background:#fff;border-radius:12px;width:100%;max-width:600px;max-height:90vh;overflow-y:auto;box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a}.field-editor-header{display:flex;justify-content:space-between;align-items:center;padding:20px 24px;border-bottom:1px solid #e5e7eb}.field-editor-header h3{font-size:1.125rem;font-weight:600;color:#111827;margin:0}.field-editor-header .close-btn{padding:8px;background:none;border:none;color:#6b7280;cursor:pointer;border-radius:6px;transition:all .15s}.field-editor-header .close-btn:hover{background:#f3f4f6;color:#111827}.field-editor form{padding:24px}.field-editor .form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.field-editor .form-group{display:flex;flex-direction:column;gap:6px}.field-editor .form-group.full-width{grid-column:1 / -1}.field-editor .form-group label{font-size:.875rem;font-weight:500;color:#374151}.field-editor .form-group input[type=text],.field-editor .form-group input[type=number],.field-editor .form-group select{padding:10px 12px;border:1px solid #d1d5db;border-radius:6px;font-size:.875rem;transition:border-color .15s}.field-editor .form-group input:focus,.field-editor .form-group select:focus{outline:none;border-color:#6366f1;box-shadow:0 0 0 3px #6366f11a}.field-editor .options-section{margin-top:8px}.field-editor .options-list{display:flex;flex-direction:column;gap:8px;margin-bottom:12px}.field-editor .option-item{display:flex;align-items:center;gap:10px;padding:10px 12px;background:#f9fafb;border:1px solid #e5e7eb;border-radius:6px}.field-editor .option-item input[type=radio]{accent-color:#6366f1}.field-editor .option-label{flex:1;font-size:.875rem;color:#374151}.field-editor .remove-option-btn{padding:4px;background:none;border:none;color:#9ca3af;cursor:pointer;border-radius:4px;transition:all .15s}.field-editor .remove-option-btn:hover{color:#ef4444;background:#fef2f2}.field-editor .add-option-row{display:flex;gap:8px}.field-editor .add-option-row input{flex:1;padding:10px 12px;border:1px solid #d1d5db;border-radius:6px;font-size:.875rem}.field-editor .add-option-row input:focus{outline:none;border-color:#6366f1}.field-editor .add-option-btn{display:flex;align-items:center;gap:4px;padding:10px 16px;background:#f3f4f6;border:1px solid #e5e7eb;border-radius:6px;color:#374151;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .15s}.field-editor .add-option-btn:hover{background:#e5e7eb}.field-editor .validation-options,.field-editor .display-options{display:flex;flex-wrap:wrap;gap:16px}.field-editor .checkbox-label{display:flex;align-items:center;gap:8px;font-size:.875rem;color:#374151;cursor:pointer}.field-editor .checkbox-label input[type=checkbox]{width:16px;height:16px;accent-color:#6366f1}.field-editor-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:24px;padding-top:20px;border-top:1px solid #e5e7eb}.field-editor .cancel-btn{padding:10px 20px;background:#fff;border:1px solid #d1d5db;border-radius:6px;color:#374151;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .15s}.field-editor .cancel-btn:hover{background:#f9fafb;border-color:#9ca3af}.field-editor .save-btn{padding:10px 20px;background:#6366f1;border:none;border-radius:6px;color:#fff;font-size:.875rem;font-weight:500;cursor:pointer;transition:background .15s}.field-editor .save-btn:hover{background:#4f46e5}@media (max-width: 640px){.custom-fields-manager .entity-selector{gap:6px}.custom-fields-manager .entity-tab{padding:8px 12px;font-size:.8125rem}.custom-fields-manager .entity-tab .entity-name{display:none}.custom-fields-manager .field-item{flex-wrap:wrap}.custom-fields-manager .field-actions{width:100%;justify-content:flex-end;margin-top:8px;padding-top:8px;border-top:1px solid #e5e7eb}.field-editor .form-grid{grid-template-columns:1fr}.field-editor .form-group.full-width{grid-column:1}}.widget-analytics{max-width:1200px;margin:0 auto}.widget-analytics-loading{text-align:center;padding:3rem 1rem;color:#6b7280}.analytics-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:2rem;padding-bottom:1rem;border-bottom:1px solid #e5e7eb}.analytics-header h2{font-size:1.5rem;font-weight:700;color:#111827;margin:0 0 .5rem}.analytics-header p{font-size:.875rem;color:#6b7280;margin:0}.time-range-selector{display:flex;gap:.25rem;background:#f3f4f6;padding:.25rem;border-radius:.5rem}.range-btn{padding:.5rem 1rem;border:none;background:transparent;color:#6b7280;font-size:.813rem;font-weight:500;border-radius:.375rem;cursor:pointer;transition:all .2s}.range-btn:hover{color:#374151}.range-btn.active{background:#fff;color:#4f46e5;box-shadow:0 1px 3px #0000001a}.analytics-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:1.5rem;margin-bottom:2rem}.summary-card{display:flex;align-items:center;gap:1rem;background:#fff;border:1px solid #e5e7eb;border-radius:.75rem;padding:1.5rem;transition:box-shadow .2s}.summary-card:hover{box-shadow:0 4px 6px -1px #0000001a}.summary-icon{display:flex;align-items:center;justify-content:center;width:3rem;height:3rem;border-radius:.75rem;flex-shrink:0}.summary-icon svg{width:1.5rem;height:1.5rem}.summary-icon.requests{background:#dbeafe;color:#2563eb}.summary-icon.keys{background:#dcfce7;color:#16a34a}.summary-icon.widgets{background:#ede9fe;color:#7c3aed}.summary-icon.views{background:#fef3c7;color:#d97706}.summary-content{display:flex;flex-direction:column}.summary-value{font-size:1.75rem;font-weight:700;color:#111827;line-height:1.2}.summary-label{font-size:.813rem;color:#6b7280;margin-top:.25rem}.analytics-breakdown{margin-bottom:2rem}.breakdown-card{background:#fff;border:1px solid #e5e7eb;border-radius:.75rem;padding:1.5rem}.breakdown-card h3{font-size:1rem;font-weight:600;color:#111827;margin:0 0 1.25rem}.breakdown-chart{padding:.5rem 0}.breakdown-bar{display:flex;height:2.5rem;border-radius:.5rem;overflow:hidden;background:#f3f4f6}.bar-segment{display:flex;align-items:center;justify-content:center;min-width:2rem;transition:width .3s ease}.widget-segment{background:linear-gradient(135deg,#7c3aed,#a78bfa)}.form-segment{background:linear-gradient(135deg,#2563eb,#60a5fa)}.segment-label{color:#fff;font-size:.75rem;font-weight:600}.breakdown-legend{display:flex;gap:2rem;margin-top:1rem;justify-content:center}.legend-item{display:flex;align-items:center;gap:.5rem;font-size:.813rem;color:#6b7280}.legend-dot{width:.75rem;height:.75rem;border-radius:50%}.legend-dot.widget{background:#7c3aed}.legend-dot.form{background:#2563eb}.analytics-tables{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem;margin-bottom:2rem}.analytics-table-card{background:#fff;border:1px solid #e5e7eb;border-radius:.75rem;padding:1.5rem}.analytics-table-card h3{font-size:1rem;font-weight:600;color:#111827;margin:0 0 1rem}.table-empty{text-align:center;padding:2rem 1rem;color:#6b7280;background:#f9fafb;border-radius:.5rem}.table-empty p{margin:0;font-size:.875rem}.analytics-table{width:100%;border-collapse:collapse;font-size:.875rem}.analytics-table th,.analytics-table td{padding:.75rem;text-align:left;border-bottom:1px solid #f3f4f6}.analytics-table th{font-weight:600;color:#6b7280;font-size:.75rem;text-transform:uppercase;letter-spacing:.05em}.analytics-table tbody tr:hover{background:#f9fafb}.key-cell code{font-family:monospace;font-size:.75rem;background:#f3f4f6;padding:.25rem .5rem;border-radius:.25rem;color:#374151}.type-tag{display:inline-block;padding:.25rem .5rem;border-radius:.25rem;font-size:.688rem;font-weight:600;text-transform:uppercase}.type-tag.widget-embed{background:#ede9fe;color:#6d28d9}.type-tag.form-submission{background:#dbeafe;color:#1e40af}.count-cell{font-weight:600;color:#111827}.date-cell{color:#6b7280}.widget-name-cell{font-weight:500;color:#111827}.entity-cell{color:#6b7280}.analytics-info{background:#eff6ff;border:1px solid #bfdbfe;border-radius:.75rem;padding:1.5rem}.analytics-info h3{font-size:1rem;font-weight:600;color:#1e40af;margin:0 0 .75rem}.analytics-info p{font-size:.875rem;color:#1e3a8a;margin:0 0 .75rem;line-height:1.5}.analytics-info ul{margin:0;padding-left:1.25rem}.analytics-info li{font-size:.813rem;color:#1e3a8a;margin-bottom:.5rem;line-height:1.5}.analytics-info li:last-child{margin-bottom:0}@media (max-width: 1024px){.analytics-summary{grid-template-columns:repeat(2,1fr)}.analytics-tables{grid-template-columns:1fr}}@media (max-width: 768px){.analytics-header{flex-direction:column;gap:1rem}.time-range-selector{width:100%;justify-content:center}.analytics-summary{grid-template-columns:1fr}.summary-card{padding:1rem}.summary-value{font-size:1.5rem}.breakdown-legend{flex-direction:column;gap:.5rem}.analytics-table{font-size:.813rem}.analytics-table th,.analytics-table td{padding:.5rem}}.marketing-nav,.marketing-footer,.features-page,.pricing-page,.industries-page,.industry-detail-page,.legal-page,.page-wrapper{font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.marketing-nav{padding:1.5rem;background:var(--slate-900, #0f172a);color:#fff;border-bottom:1px solid var(--slate-800, #1e293b);position:-webkit-sticky;position:sticky;top:0;z-index:100}@media (max-width: 768px){html:has(.marketing-nav){scroll-padding-top:72px}}.marketing-nav__inner{max-width:1280px;margin:0 auto;display:flex;justify-content:space-between;align-items:center;padding:0 1.5rem}.marketing-nav__logo{display:inline-flex;align-items:center;min-height:44px;color:inherit;text-decoration:none;cursor:pointer}.marketing-nav__links{display:flex;gap:2rem;font-size:.9rem;align-items:center}.marketing-nav__links a{color:#fff;text-decoration:none;opacity:.8;transition:opacity .2s ease,color .2s ease}.marketing-nav__links a:hover{opacity:1}.marketing-nav__links a.active{color:var(--primary, #059669);opacity:1;font-weight:700}.marketing-nav__links button{border:0;border-radius:.5rem;background:var(--primary, #059669);color:#fff;padding:.5rem .9rem;cursor:pointer;font-weight:700}.marketing-nav__mobile-toggle{display:none;background:none;border:none;cursor:pointer;padding:8px;flex-direction:column;gap:4px}.marketing-nav__mobile-toggle span{width:24px;height:3px;background:#fff;border-radius:999px}.marketing-nav__mobile-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000080;z-index:1000}.marketing-nav__mobile-panel{position:fixed;top:0;right:0;bottom:0;width:82%;max-width:340px;background:#fff;padding:24px;box-shadow:-4px 0 12px #00000026;display:flex;flex-direction:column}.marketing-nav__mobile-close{align-self:flex-end;display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;background:none;border:none;font-size:36px;color:#2d3748;cursor:pointer;padding:0;margin-bottom:24px;line-height:1}.marketing-nav__mobile-links{display:flex;flex-direction:column;gap:24px;margin-bottom:32px}.marketing-nav__mobile-links a{color:#2d3748;text-decoration:none;font-size:18px;font-weight:600;padding:12px 0;border-bottom:1px solid #e2e8f0}.marketing-nav__mobile-cta{background:var(--primary, #059669);color:#fff;font-size:16px;font-weight:700;padding:14px 24px;border:none;border-radius:10px;cursor:pointer;margin-top:auto}@media (max-width: 768px){.marketing-nav{padding:max(.75rem,env(safe-area-inset-top)) 1rem .75rem}.marketing-nav__inner{padding:0}.marketing-nav__links{display:none}.marketing-nav__mobile-toggle{display:flex;min-width:44px;min-height:44px}}.marketing-footer{background:var(--slate-900, #0f172a);color:#fff;padding:3rem 20px;text-align:center;border-top:1px solid var(--slate-800, #1e293b)}.marketing-footer__content{max-width:1200px;margin:0 auto}.marketing-footer__links{margin-top:24px;display:flex;justify-content:center;gap:32px}.marketing-footer__links a{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:44px;padding:12px 8px;color:#fff;text-decoration:none;transition:opacity .2s ease}.marketing-footer__links a:hover{opacity:.8}@media (max-width: 768px){.marketing-footer__links{flex-direction:column;gap:16px}}:root{--primary: #059669;--primary-dark: #047857;--primary-light: #10B981;--accent: #0D9488;--shadow-glow: 0 0 15px rgba(16, 185, 129, .3)}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;background-color:#f8fafc;color:#1f2937;scroll-behavior:smooth}.header-custom{position:-webkit-sticky;position:sticky;top:0;z-index:20;background-color:#fffc;box-shadow:0 1px 3px #0000001a;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.header-container{max-width:1280px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;padding:1rem 1.5rem}.logo-container{display:flex;align-items:center;text-decoration:none}.logo-container:hover{text-decoration:none}.nav-links{display:none;align-items:center;gap:2rem}@media (min-width: 768px){.nav-links{display:flex}}.nav-link{font-size:.875rem;font-weight:500;color:#374151;text-decoration:none;transition:color .2s}.nav-link:hover{color:var(--primary)}.nav-actions{display:flex;align-items:center;gap:1rem}.sign-in-link{font-size:.875rem;font-weight:500;color:#374151;text-decoration:none;transition:color .2s;display:none}@media (min-width: 768px){.sign-in-link{display:block}}.sign-in-link:hover{color:var(--primary)}.btn-primary{padding:.5rem 1rem;background-color:var(--primary);color:#fff;border-radius:.375rem;font-size:.875rem;font-weight:500;text-decoration:none;transition:all .3s ease;border:none;cursor:pointer}.btn-primary:hover{background-color:var(--primary-dark);box-shadow:var(--shadow-glow);transform:translateY(-1px)}.hero-badge{display:inline-flex;align-items:center;gap:.5rem;background-color:#10b9811f;border:1px solid rgba(16,185,129,.24);padding:.375rem 1rem;border-radius:999px;font-size:.875rem;color:#d1fae5;margin-bottom:1.5rem;font-weight:500}.pulse-dot{width:8px;height:8px;border-radius:50%;background:#10b981;animation:pulse 2s infinite}.hero-section,.features-section,.home-operations-section,.home-industries-section,.pricing-section,.cta-section{scroll-margin-top:72px}.hero-section{position:relative;overflow:hidden;background:#0f172a}.hero-section:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;opacity:.1;background-image:radial-gradient(var(--primary) 1px,transparent 1px);background-size:32px 32px;pointer-events:none}.hero-container{max-width:1280px;margin:0 auto;padding:5.5rem 1.5rem 6.5rem;display:grid;grid-template-columns:1fr;gap:3rem;align-items:center;position:relative;z-index:10}@media (min-width: 768px){.hero-container{grid-template-columns:1fr 1fr;padding:5rem 2rem}}.hero-content h1{font-size:2.5rem;font-weight:600;letter-spacing:-.025em;line-height:1.1;color:#fff;margin-bottom:1.5rem}@media (min-width: 768px){.hero-content h1{font-size:3rem}}.hero-content p{font-size:1.125rem;color:#cbd5e1;margin-bottom:2rem}.hero-buttons{display:flex;flex-wrap:wrap;gap:1rem;align-items:center}.hero-tertiary-link{display:inline-flex;align-items:center;box-sizing:border-box;min-height:44px;padding:12px 0;font-size:.875rem;font-weight:500;color:#cbd5e1;text-decoration:none}.hero-tertiary-link:hover{color:var(--primary)}.trust-strip{display:flex;flex-wrap:wrap;gap:.35rem .5rem;margin-top:1.25rem;font-size:.875rem;color:#cbd5e1}.trust-strip span:not(:last-child):after{content:"·";margin-left:.5rem;color:#64748b}.industries-explore{text-align:center;margin-top:1.5rem}.industries-explore a{color:var(--primary);font-weight:600;text-decoration:none}.industries-explore a:hover{text-decoration:underline}.feature-card-link{text-decoration:none;color:inherit;display:block;height:100%}.hero-btn-ghost{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:44px;padding:.75rem 1.5rem;border:1px solid rgba(255,255,255,.18);color:#fff;border-radius:.75rem;font-size:.875rem;font-weight:500;text-decoration:none;transition:all .2s;background-color:#ffffff14}.hero-btn-ghost:hover{border-color:#ffffff47;background-color:#ffffff24}.btn-hero{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:44px;padding:.75rem 1.5rem;background-color:var(--primary);color:#fff;border-radius:.75rem;font-size:.875rem;font-weight:500;text-decoration:none;transition:all .3s ease;border:none}.btn-hero:hover{background-color:var(--primary-dark);box-shadow:var(--shadow-glow);transform:translateY(-1px)}.hero-image{position:relative}.hero-image img{width:100%;height:auto;border-radius:1rem;box-shadow:0 20px 25px -5px #0000002e,0 10px 10px -5px #00000014;object-fit:cover}.hero-image:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border-radius:1rem;border:1px solid rgba(255,255,255,.08);pointer-events:none}.features-section{border-top:1px solid #e5e7eb;background-color:#fff}.home-operations-section,.home-industries-section{border-top:1px solid #e5e7eb}.home-operations-section{background:linear-gradient(180deg,#eff6ff,#f8fafc)}.home-industries-section{background:#fff}.features-container{max-width:1280px;margin:0 auto;padding:5rem 1.5rem}@media (min-width: 1024px){.features-container{padding:5rem 2rem}}.features-title{font-size:1.875rem;font-weight:600;letter-spacing:-.025em;color:#111827;text-align:center;margin-bottom:1rem}.section-heading{max-width:760px;margin:0 auto 3.5rem;text-align:center}.section-heading-row{max-width:1280px;margin:0 auto 3.5rem;display:flex;flex-direction:column;gap:1.5rem;align-items:center}@media (min-width: 1024px){.section-heading-row{flex-direction:row;align-items:flex-end;justify-content:space-between}}.section-heading-left{max-width:760px;text-align:center}@media (min-width: 1024px){.section-heading-left{text-align:left}}.section-eyebrow{margin:0 0 .85rem;color:var(--primary);font-size:.82rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.section-lead{margin:0;color:#475569;font-size:1.05rem;line-height:1.7}.section-heading-link{display:inline-flex;align-items:center;box-sizing:border-box;gap:.55rem;min-height:44px;padding:12px 0;color:#0f172a;font-weight:700;text-decoration:none;white-space:nowrap}.section-heading-link svg{width:1rem;height:1rem}.section-heading-link:hover{color:var(--primary)}.home-capability-grid{display:grid;grid-template-columns:1fr;gap:1.5rem}@media (min-width: 640px){.home-capability-grid{grid-template-columns:repeat(2,1fr)}}@media (min-width: 1024px){.home-capability-grid{grid-template-columns:repeat(3,1fr)}}.home-capability-card{opacity:1;transform:none;transition:all .7s ease-out;background:linear-gradient(180deg,#fff,#f8fafc);border:1px solid #dbe4ee;border-radius:1.2rem;padding:1.75rem;box-shadow:0 12px 30px -24px #0f172a52}.home-capability-card.fade-in{opacity:1;transform:translateY(0)}.home-capability-card:hover{transform:translateY(-4px);box-shadow:0 24px 45px -26px #0f172a52}.home-capability-top{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;margin-bottom:1.15rem}.home-capability-copy{display:grid;gap:.55rem}.home-capability-label{display:inline-flex;align-items:center;width:-webkit-fit-content;width:fit-content;border-radius:999px;background:#ecfdf5;border:1px solid #a7f3d0;color:#047857;font-size:.74rem;font-weight:700;letter-spacing:.05em;text-transform:uppercase;padding:.35rem .7rem}.home-capability-icon{display:inline-flex;align-items:center;justify-content:center;width:3.25rem;height:3.25rem;border-radius:1rem;background:#0f172a;color:#d1fae5;box-shadow:inset 0 0 0 1px #94a3b833}.home-capability-icon svg{width:1.4rem;height:1.4rem}.home-capability-title{margin:0;font-size:1.18rem;line-height:1.3;font-weight:700;color:#0f172a}.home-capability-description{margin:0 0 1.35rem;color:#475569;line-height:1.7}.home-capability-rail{display:flex;flex-wrap:wrap;gap:.6rem}.home-capability-chip{display:inline-flex;align-items:center;gap:.45rem;border-radius:999px;background:#f8fafc;border:1px solid #dbe4ee;padding:.45rem .75rem;color:#334155;font-size:.82rem;font-weight:600}.home-capability-chip svg{width:.9rem;height:.9rem;color:var(--primary)}.home-operations-container{max-width:1280px;margin:0 auto;padding:5rem 1.5rem;display:grid;grid-template-columns:1fr;gap:2rem;align-items:center}@media (min-width: 768px){.home-operations-container{grid-template-columns:1fr 1fr;padding:5rem 2rem}}.home-operations-copy{display:grid;gap:1.4rem}.home-operations-copy h2{margin:0;font-size:2rem;line-height:1.15;font-weight:700;letter-spacing:-.035em;color:#0f172a}.home-operations-copy p{margin:0;color:#475569;line-height:1.8;font-size:1.02rem}.home-operations-points{display:grid;gap:1rem}.home-operations-point{display:grid;grid-template-columns:auto 1fr;gap:.9rem;align-items:start;background:#ffffffb8;border:1px solid rgba(219,228,238,.95);border-radius:1rem;padding:1rem 1.05rem;box-shadow:0 18px 35px -30px #0f172a52}.home-operations-point-icon{display:inline-flex;align-items:center;justify-content:center;width:2.65rem;height:2.65rem;border-radius:.85rem;background:#dcfce7;color:#047857}.home-operations-point-icon svg{width:1.15rem;height:1.15rem}.home-operations-point h3{margin:0 0 .3rem;color:#0f172a;font-size:1rem}.home-operations-point p{margin:0;color:#475569;font-size:.92rem}.home-operations-board{background:#0f172a;border-radius:1.5rem;border:1px solid rgba(148,163,184,.18);box-shadow:0 28px 60px -36px #0f172a8c;padding:1.4rem;display:grid;gap:1rem;color:#fff}.home-operations-board-top{display:flex;align-items:center;justify-content:space-between;gap:1rem}.home-operations-board-top h3{margin:0;font-size:1.1rem}.home-operations-badge{display:inline-flex;align-items:center;gap:.45rem;border-radius:999px;background:#10b98124;color:#d1fae5;border:1px solid rgba(52,211,153,.28);padding:.45rem .8rem;font-size:.78rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase}.home-operations-badge svg{width:.9rem;height:.9rem}.home-operations-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.9rem}.home-operations-metric{background:#0f172a6b;border:1px solid rgba(148,163,184,.18);border-radius:1rem;padding:1rem}.home-operations-metric-label{display:block;color:#93c5fd;font-size:.8rem;font-weight:700;letter-spacing:.05em;text-transform:uppercase;margin-bottom:.55rem}.home-operations-metric-value{display:block;font-size:1.8rem;font-weight:700;line-height:1.05;color:#fff}.home-operations-rail{display:grid;gap:.7rem}.home-operations-rail-item{display:flex;align-items:center;gap:.7rem;border-radius:1rem;background:#ffffff0a;border:1px solid rgba(148,163,184,.16);padding:.8rem .95rem;color:#e2e8f0;font-weight:600}.home-operations-rail-item svg{width:1rem;height:1rem;color:#34d399;flex-shrink:0}.home-terminal-card{border-radius:1.1rem;background:#ffffff0f;border:1px solid rgba(148,163,184,.18);padding:1rem;display:grid;gap:.85rem}.home-terminal-card-header{display:flex;justify-content:space-between;align-items:center;gap:1rem}.home-terminal-card-header h4{margin:0;color:#fff;font-size:1rem}.home-terminal-card-header span{font-size:.8rem;font-weight:700;color:#93c5fd;letter-spacing:.05em;text-transform:uppercase}.home-terminal-prompt,.home-terminal-response{margin:0;border-radius:1rem;padding:.9rem 1rem;line-height:1.65;font-size:.92rem}.home-terminal-prompt{background:#ffffff0f;color:#e2e8f0}.home-terminal-response{background:#10b98124;color:#d1fae5}.home-industry-grid{display:grid;grid-template-columns:1fr;gap:1.35rem}@media (min-width: 768px){.home-industry-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (min-width: 1024px){.home-industry-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}.home-industry-card{display:grid;gap:1.1rem;text-decoration:none;color:inherit;background:linear-gradient(180deg,#fff,#f8fafc);border:1px solid #dbe4ee;border-radius:1.25rem;padding:1.5rem;box-shadow:0 16px 36px -28px #0f172a4d;transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}.home-industry-card:hover{transform:translateY(-4px);box-shadow:0 28px 48px -30px #0f172a4d;border-color:#86efac}.home-industry-icon{display:inline-flex;align-items:center;justify-content:center;width:3rem;height:3rem;border-radius:1rem;background:#ecfdf5;color:#047857}.home-industry-icon svg{width:1.35rem;height:1.35rem}.home-industry-top{display:flex;align-items:center;justify-content:space-between;gap:1rem}.home-industry-top h3{margin:0;font-size:1.18rem;color:#0f172a}.home-industry-fit{display:inline-flex;align-items:center;border-radius:999px;background:#eff6ff;color:#1d4ed8;padding:.35rem .7rem;font-size:.76rem;font-weight:700}.home-industry-card p{margin:0;color:#475569;line-height:1.7}.home-industry-cta{display:inline-flex;align-items:center;gap:.5rem;color:#0f172a;font-weight:700}.home-industry-cta svg{width:.95rem;height:.95rem}.testimonials-section{background-color:#064e3b;color:#fff;position:relative;overflow:hidden}.testimonials-container{max-width:1280px;margin:0 auto;padding:5rem 1.5rem}@media (min-width: 1024px){.testimonials-container{padding:5rem 2rem}}.testimonials-title{font-size:1.875rem;font-weight:600;letter-spacing:-.025em;color:#fff;text-align:center;margin-bottom:4rem}.testimonials-grid{display:grid;grid-template-columns:1fr;gap:3rem}@media (min-width: 768px){.testimonials-grid{grid-template-columns:repeat(2,1fr)}}@media (min-width: 1024px){.testimonials-grid{grid-template-columns:repeat(3,1fr)}}.testimonial-card{opacity:1;transform:none;transition:all .7s ease-out;background:#ffffff1a;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.1);padding:2rem;border-radius:.75rem}.testimonial-card.fade-in{opacity:1;transform:translateY(0)}.testimonial-quote{background:transparent;border:none;margin-bottom:1rem;padding:0}.testimonial-quote p{font-size:.875rem;color:#ecfdf5;line-height:1.6;margin:0;font-style:italic}.testimonial-author{display:flex;align-items:center;gap:.75rem}.testimonial-author img{width:2.5rem;height:2.5rem;border-radius:50%;object-fit:cover}.testimonial-author-info{display:flex;flex-direction:column}.testimonial-author-name{font-size:.875rem;font-weight:500;letter-spacing:-.025em;color:#fff}.testimonial-author-title{font-size:.75rem;color:#6ee7b7}.cta-section{position:relative;background:linear-gradient(135deg,#0f172a,#1e293b)}.cta-container{max-width:1280px;margin:0 auto;padding:5rem 1.5rem;display:flex;flex-direction:column;align-items:center;text-align:center;gap:2rem}@media (min-width: 1024px){.cta-container{padding:5rem 2rem}}.cta-title{font-size:1.875rem;font-weight:600;letter-spacing:-.025em;color:#fff}.cta-description{color:#cbd5e1;max-width:42rem}.cta-buttons{display:flex;flex-wrap:wrap;gap:1rem}.footer-section{background-color:#f9fafb;border-top:1px solid #e5e7eb}.footer-container{max-width:1280px;margin:0 auto;padding:3rem 1.5rem;display:grid;grid-template-columns:1fr;gap:2.5rem;font-size:.875rem}@media (min-width: 768px){.footer-container{grid-template-columns:repeat(4,1fr)}}@media (min-width: 1024px){.footer-container{padding:3rem 2rem}}.footer-brand{grid-column:span 1}@media (min-width: 768px){.footer-brand{grid-column:span 2}}.footer-brand a{text-decoration:none;margin-bottom:1rem;display:inline-flex;align-items:center}.footer-brand p{color:#6b7280;margin:0}.footer-section-title{font-weight:500;letter-spacing:-.025em;color:#111827;margin-bottom:1rem}.footer-links{list-style:none;padding:0;margin:0}.footer-links li{margin-bottom:.5rem}.footer-links a{color:#6b7280;text-decoration:none;transition:color .2s}.footer-links a:hover{color:var(--primary)}.fade-in,.fade-in.visible{opacity:1;transform:none}.pricing-section{position:relative;background-color:#fff;border-top:1px solid #e5e7eb}.pricing-container{max-width:1280px;margin:0 auto;padding:5rem 1.5rem}@media (min-width: 1024px){.pricing-container{padding:5rem 2rem}}.pricing-title{font-size:1.875rem;font-weight:600;letter-spacing:-.025em;color:#111827;text-align:center;margin-bottom:1rem}.pricing-subtitle{text-align:center;color:#6b7280;margin-bottom:4rem;font-size:1.125rem}.pricing-grid{display:grid;grid-template-columns:1fr;gap:2rem}@media (min-width: 640px){.pricing-grid{grid-template-columns:repeat(2,1fr)}}@media (min-width: 1024px){.pricing-grid{grid-template-columns:repeat(4,1fr)}}.pricing-card{position:relative;background-color:#fff;border:1px solid #e5e7eb;border-radius:.5rem;padding:2rem;display:flex;flex-direction:column;box-shadow:0 1px 3px #0000001a;transition:all .2s}.pricing-card:hover{box-shadow:0 20px 25px -5px #0000001a,0 8px 10px -6px #0000001a;transform:translateY(-4px)}.pricing-card-featured{border-color:var(--primary);border-width:2px;box-shadow:0 10px 15px -3px #0596691a,0 4px 6px -2px #0596690d;transform:scale(1.05)}.pricing-badge{position:absolute;top:-12px;left:50%;transform:translate(-50%);background:linear-gradient(to right,var(--primary),var(--accent));color:#fff;padding:.25rem 1rem;border-radius:9999px;font-size:.75rem;font-weight:500}.pricing-card-header{text-align:center;margin-bottom:1.5rem}.pricing-card-title{font-size:1.5rem;font-weight:600;letter-spacing:-.025em;color:#111827;margin-bottom:.5rem}.pricing-card-description{font-size:.875rem;color:#6b7280;margin:0}.pricing-card-price{text-align:center;margin-bottom:2rem;padding-bottom:2rem;border-bottom:1px solid #e5e7eb}.pricing-amount{font-size:3rem;font-weight:600;letter-spacing:-.025em;color:#111827;display:block}.pricing-period{font-size:.875rem;color:#6b7280}.pricing-features{list-style:none;padding:0;margin:0 0 2rem;flex-grow:1}.pricing-features li{display:flex;align-items:center;gap:.75rem;margin-bottom:1rem;font-size:.875rem;color:#374151}.pricing-features i{color:var(--primary);width:1.25rem;height:1.25rem;flex-shrink:0}.btn-pricing{display:block;width:100%;box-sizing:border-box;min-height:44px;padding:.75rem 1.5rem;background-color:#fff;color:var(--primary);border:1px solid var(--primary);border-radius:.375rem;font-size:.875rem;font-weight:500;text-align:center;text-decoration:none;transition:all .2s}.btn-pricing:hover{background-color:var(--primary);color:#fff}.btn-pricing-featured{background-color:var(--primary);color:#fff;border-color:var(--primary)}.btn-pricing-featured:hover{background-color:var(--primary-dark);border-color:var(--primary-dark)}@media (max-width: 767px){.hero-container{padding:2rem 1.25rem 2.5rem;gap:1.5rem}.hero-content h1{font-size:2rem}.hero-content p{margin-bottom:1.25rem}.hero-buttons,.cta-buttons{flex-direction:column;align-items:stretch}.hero-tertiary-link{align-self:flex-start}.hero-buttons a:not(.hero-tertiary-link),.cta-buttons a{width:100%;text-align:center}.features-container,.home-operations-container,.testimonials-container,.cta-container,.pricing-container{padding:2.75rem 1.25rem}.pricing-subtitle{margin-bottom:2rem}}@media (max-width: 1023px){.pricing-card-featured{transform:none}}.dynamic-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#000000bf;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;z-index:1000;padding:20px;animation:modalFadeIn .2s ease-out}@keyframes modalFadeIn{0%{opacity:0}to{opacity:1}}.dynamic-modal-container{background:#fff;border-radius:16px;box-shadow:0 20px 40px #00000026;width:100%;max-height:90vh;overflow:hidden;animation:modalSlideIn .3s ease-out;position:relative}@keyframes modalSlideIn{0%{opacity:0;transform:scale(.95) translateY(-20px)}to{opacity:1;transform:scale(1) translateY(0)}}.dynamic-modal-header{display:flex;align-items:center;justify-content:space-between;padding:24px 32px 20px;border-bottom:1px solid #e5e7eb;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.dynamic-modal-title{font-size:24px;font-weight:700;margin:0;color:#fff}.dynamic-modal-close{background:#fff3;border:none;color:#fff;font-size:24px;font-weight:700;width:40px;height:40px;border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s ease;line-height:1}.dynamic-modal-close:hover{background:#ffffff4d;transform:scale(1.1)}.dynamic-modal-content{padding:32px 32px 24px;overflow-y:auto;max-height:calc(90vh - 120px);min-height:200px}.dynamic-modal-content::-webkit-scrollbar{width:8px}.dynamic-modal-content::-webkit-scrollbar-track{background:#f1f1f1;border-radius:4px}.dynamic-modal-content::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:4px}.dynamic-modal-content::-webkit-scrollbar-thumb:hover{background:#a8a8a8}.dynamic-modal-content .space-y-4>*+*{margin-top:16px}.dynamic-modal-content .grid{display:grid}.dynamic-modal-content .grid-cols-1,.dynamic-modal-content .md\:grid-cols-3{grid-template-columns:repeat(1,1fr)}@media (min-width: 768px){.dynamic-modal-content .md\:grid-cols-3{grid-template-columns:repeat(3,1fr)}}.dynamic-modal-content .sm\:grid-cols-2{grid-template-columns:repeat(1,1fr)}@media (min-width: 640px){.dynamic-modal-content .sm\:grid-cols-2{grid-template-columns:repeat(2,1fr)}}.dynamic-modal-content .lg\:grid-cols-3{grid-template-columns:repeat(1,1fr)}@media (min-width: 1024px){.dynamic-modal-content .lg\:grid-cols-3{grid-template-columns:repeat(3,1fr)}}.dynamic-modal-content .gap-2{gap:8px}.dynamic-modal-content .gap-4{gap:16px}.dynamic-modal-content label{display:block;font-size:14px;font-weight:500;color:#374151;margin-bottom:4px}.dynamic-modal-content input,.dynamic-modal-content select,.dynamic-modal-content textarea{width:100%;padding:12px 16px;border:1px solid #d1d5db;border-radius:8px;font-size:14px;transition:all .2s ease;background:#fff}.dynamic-modal-content input:focus,.dynamic-modal-content select:focus,.dynamic-modal-content textarea:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.dynamic-modal-content input[type=checkbox]{width:auto;margin-right:8px}.dynamic-modal-content .flex{display:flex}.dynamic-modal-content .items-center{align-items:center}.dynamic-modal-content .space-x-2>*+*{margin-left:8px}.dynamic-modal-content .justify-end{justify-content:flex-end}.dynamic-modal-content .pt-4{padding-top:16px}.dynamic-modal-content .form-buttons-container{position:-webkit-sticky;position:sticky;bottom:-24px;background:#fff;margin:16px -32px -24px;padding:16px 32px 0;border-top:1px solid #e5e7eb;z-index:10}.dynamic-modal-content .border-t{border-top:1px solid #e5e7eb}.dynamic-modal-content .bg-gray-50{background-color:#f9fafb}.dynamic-modal-content .rounded-md{border-radius:8px}.dynamic-modal-content .border{border:1px solid #e5e7eb}.dynamic-modal-content .p-4{padding:16px}.dynamic-modal-content .p-2{padding:8px}.dynamic-modal-content .mb-2{margin-bottom:8px}.dynamic-modal-content .mt-2{margin-top:8px}.dynamic-modal-content .text-lg{font-size:18px}.dynamic-modal-content .text-sm{font-size:14px}.dynamic-modal-content .font-medium{font-weight:500}.dynamic-modal-content .font-bold{font-weight:700}.dynamic-modal-content .text-gray-700{color:#374151}.dynamic-modal-content .text-gray-800{color:#1f2937}.dynamic-modal-content button{padding:12px 24px;border-radius:8px;font-weight:500;font-size:14px;cursor:pointer;transition:all .2s ease;border:1px solid transparent}.dynamic-modal-content button:disabled{opacity:.6;cursor:not-allowed}.dynamic-modal-content .bg-indigo-600{background:linear-gradient(45deg,#667eea,#764ba2);color:#fff}.dynamic-modal-content .bg-indigo-600:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 8px 24px #667eea4d}.dynamic-modal-content .bg-white{background:#fff;color:#374151;border:1px solid #d1d5db}.dynamic-modal-content .bg-white:hover:not(:disabled){background:#f9fafb;border-color:#9ca3af}@media (max-width: 768px){.dynamic-modal-overlay{padding:10px}.dynamic-modal-header{padding:20px 24px 16px}.dynamic-modal-title{font-size:20px}.dynamic-modal-content{padding:24px}.dynamic-modal-container{max-height:95vh}}.report-renderer{width:100%;height:100%;display:flex;flex-direction:column;background:#fff;border-radius:12px;overflow:hidden;box-shadow:0 4px 24px #0000001f}.report-renderer,.report-renderer *{box-sizing:border-box}.report-header{display:flex;justify-content:space-between;align-items:center;padding:24px 32px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border-bottom:1px solid rgba(255,255,255,.1)}.report-title-section{display:flex;flex-direction:column;gap:8px}.report-title{font-size:28px;font-weight:700;margin:0;line-height:1.2}.timeframe-badge{background:#fff3;padding:4px 12px;border-radius:16px;font-size:14px;font-weight:500;align-self:flex-start}.report-actions{display:flex;gap:12px;align-items:center}.action-btn{background:#fff3;border:1px solid rgba(255,255,255,.3);color:#fff;padding:8px 16px;border-radius:8px;cursor:pointer;font-size:14px;font-weight:500;transition:all .2s ease;display:flex;align-items:center;gap:6px}.action-btn:hover{background:#ffffff4d;transform:translateY(-1px)}.edit-btn{background:linear-gradient(135deg,#fff,#f0f0f0)!important;border:2px solid rgba(255,255,255,.8)!important;color:#667eea!important;font-weight:600}.edit-btn:hover{background:#fff!important;box-shadow:0 4px 12px #ffffff4d;border-color:#fff!important}.close-btn{width:32px;height:32px;padding:0;display:flex;align-items:center;justify-content:center;border-radius:50%}.report-content{flex:1;padding:32px;overflow-y:auto;display:flex;flex-direction:column;gap:32px}.report-section{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:24px;box-shadow:0 2px 8px #0000000a;width:100%}.section-title{font-size:20px;font-weight:600;color:#1f2937;margin:0 0 20px;display:flex;justify-content:space-between;align-items:center}.report-renderer .report-section .export-btn,.report-renderer .section-title .export-btn{background:#f3f4f6;color:#374151;border:1px solid #d1d5db;padding:6px 12px;border-radius:6px;font-size:12px;cursor:pointer;transition:all .2s ease}.report-renderer .report-section .export-btn:hover,.report-renderer .section-title .export-btn:hover{background:#e5e7eb;transform:translateY(-1px)}.kpi-section{border-left:4px solid #667eea}.kpi-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:20px;width:100%}.kpi-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:20px;text-align:center;transition:transform .2s ease,box-shadow .2s ease;min-width:0}.kpi-card:hover{transform:translateY(-2px);box-shadow:0 4px 12px #00000014}.kpi-label{font-size:14px;color:#64748b;font-weight:500;margin-bottom:8px;text-transform:uppercase;letter-spacing:.5px;word-wrap:break-word;overflow-wrap:break-word}.kpi-value{font-size:32px;font-weight:700;color:#1e293b;line-height:1}.chart-section{border-left:4px solid #764ba2}.chart-container{position:relative;height:400px;width:100%;background:#fafbfc;border-radius:8px;padding:16px}.table-section{border-left:4px solid #10b981}.table-wrapper{overflow-x:auto;border-radius:8px;border:1px solid #e5e7eb}.report-table{width:100%;border-collapse:collapse;font-size:14px}.report-table thead{background:#f9fafb}.report-table th{padding:12px 16px;text-align:left;font-weight:600;color:#374151;border-bottom:2px solid #e5e7eb;position:-webkit-sticky;position:sticky;top:0;background:#f9fafb}.report-table td{padding:12px 16px;border-bottom:1px solid #f3f4f6;color:#6b7280}.report-table tbody tr:hover{background:#f8fafc}.report-table tbody tr:last-child td{border-bottom:none}.report-table tfoot{background:#f9fafb;border-top:2px solid #667eea}.report-table tfoot .totals-row{background:linear-gradient(135deg,#667eea0d,#764ba20d)}.report-table tfoot .total-cell{padding:14px 16px;font-weight:600;color:#1f2937;border-bottom:none}.report-table tfoot .total-label{font-size:10px;font-weight:500;color:#667eea;text-transform:uppercase;letter-spacing:.5px;margin-bottom:2px}.insights-section{background:#fffbeb;border:1px solid #fed7aa;border-left:4px solid #f59e0b}.insights-list{display:flex;flex-direction:column;gap:12px}.insight-item{border-radius:8px;font-size:14px;line-height:1.5;position:relative;padding:12px 16px 12px 40px}.insight-item:before{content:"💡";position:absolute;left:12px;top:12px}.insight-item.info{background:#eff6ff;border:1px solid #dbeafe;color:#1e40af}.insight-item.warn{background:#fefce8;border:1px solid #fde047;color:#a16207}.insight-item.warn:before{content:"⚠️"}.insight-item.critical{background:#fef2f2;border:1px solid #fecaca;color:#dc2626}.insight-item.critical:before{content:"🚨"}@media (max-width: 1024px){.report-header{flex-wrap:wrap;gap:16px}.report-actions{flex-wrap:wrap;justify-content:flex-end}.report-content{padding:20px}.kpi-grid{gap:16px}.chart-container{height:300px}}@media (max-width: 768px){.report-renderer{border-radius:0;height:100vh}.report-header{flex-direction:column;text-align:center}.report-actions{justify-content:center;width:100%}.report-title{font-size:24px}.action-btn{padding:6px 12px;font-size:12px}.section-title{font-size:18px;flex-direction:column;align-items:flex-start;gap:8px}.kpi-grid{gap:12px}.kpi-value{font-size:24px}.chart-container{height:250px;padding:12px}}.filters-bar{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;margin:0 32px 16px}.filters-header{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;background:#f1f5f9;border-bottom:1px solid #e2e8f0;border-radius:8px 8px 0 0}.filters-title{display:flex;align-items:center;gap:8px;font-weight:600;color:#334155}.active-count{background:#667eea;color:#fff;padding:2px 6px;border-radius:10px;font-size:12px;min-width:18px;text-align:center}.filters-controls{display:flex;gap:8px;align-items:center}.clear-filters-btn,.toggle-filters-btn{background:#fff;border:1px solid #cbd5e1;color:#475569;padding:4px 12px;border-radius:4px;cursor:pointer;font-size:12px;transition:all .2s ease}.clear-filters-btn:hover,.toggle-filters-btn:hover{background:#f1f5f9}.filters-content{padding:16px}.filters-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:16px}.filter-item{display:flex;flex-direction:column;gap:4px}.filter-label{font-size:14px;font-weight:500;color:#374151}.filter-field{font-weight:400;color:#6b7280}.filter-input{padding:8px 12px;border:1px solid #d1d5db;border-radius:6px;font-size:14px;transition:border-color .2s ease}.filter-input:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.range-inputs,.date-range-inputs{display:flex;align-items:center;gap:8px}.range-separator{font-size:12px;color:#6b7280;padding:0 4px}.kpi-summary{font-size:12px;color:#64748b;font-weight:400}.kpi-field,.chart-info,.chart-summary{display:none}.no-data{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;color:#6b7280;text-align:center}.table-actions{display:flex;align-items:center;gap:12px}.table-count{font-size:12px;color:#64748b}.sortable{cursor:pointer;-webkit-user-select:none;user-select:none}.sortable:hover{background:#f3f4f6}.sorted{background:#f0f9ff;color:#0ea5e9}.sort-indicator{font-size:12px;margin-left:4px}.table-pagination{display:flex;justify-content:space-between;align-items:center;margin-top:16px;padding:12px 0;border-top:1px solid #e5e7eb}.pagination-btn{background:#f3f4f6;border:1px solid #d1d5db;color:#374151;padding:8px 16px;border-radius:6px;cursor:pointer;font-size:14px;transition:all .2s ease}.pagination-btn:hover:not(:disabled){background:#e5e7eb}.pagination-info{display:flex;flex-direction:column;align-items:center;gap:2px;font-size:14px;color:#374151}.pagination-info small{color:#6b7280;font-size:12px}.table-field-mappings{margin-top:16px;border-top:1px solid #e5e7eb;padding-top:16px}.table-field-mappings summary{font-size:12px;color:#6b7280;cursor:pointer;margin-bottom:8px}.field-mappings-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:8px;font-size:11px}.field-mapping{display:flex;align-items:center;gap:8px;padding:4px 8px;background:#f8fafc;border-radius:4px}.display-name{font-weight:500;color:#374151}.field-arrow{color:#9ca3af;font-size:10px}.field-name{font-family:monospace;color:#6366f1;background:#ede9fe;padding:2px 4px;border-radius:2px}.status-badge{display:inline-block}@media print{.report-renderer{box-shadow:none;border-radius:0}.report-header{background:#667eea!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}.report-actions,.filters-bar{display:none}.report-section{break-inside:avoid;page-break-inside:avoid}.chart-container{height:300px}.section-title .export-btn,.table-actions .export-btn,.table-pagination,.table-field-mappings{display:none}}.view-job-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#00000080;display:flex;align-items:center;justify-content:center;z-index:10000;padding:20px}.view-job-embedded-container{width:100%}.view-job-modal{background:#fff;border-radius:12px;width:100%;max-width:1200px;max-height:90vh;display:flex;flex-direction:column;box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a;overflow:hidden}.view-job-modal--embedded{max-width:none;max-height:none;height:auto;box-shadow:none}.view-job-modal,.view-job-modal *{box-sizing:border-box}.view-job-modal .modal-header{padding:24px 32px;border-bottom:1px solid #e5e7eb;display:flex;align-items:center;justify-content:space-between}.view-job-modal .header-content{flex:1}.view-job-modal .job-title{font-size:24px;font-weight:600;color:#1f2937;margin:0 0 8px}.view-job-modal .header-meta{font-size:13px;color:#6b7280;margin-bottom:10px}.view-job-modal .header-badges{display:flex;gap:8px;align-items:center}.view-job-modal .status-badge{display:inline-flex;align-items:center;padding:4px 12px;border-radius:20px;font-size:14px;font-weight:500;text-transform:capitalize}.view-job-modal .status-scheduled{background-color:#dbeafe;color:#1e40af}.view-job-modal .status-in-progress{background-color:#fef3c7;color:#92400e}.view-job-modal .status-completed{background-color:#d1fae5;color:#065f46}.view-job-modal .status-cancelled{background-color:#fee2e2;color:#991b1b}.view-job-modal .status-on-hold{background-color:#e5e7eb;color:#4b5563}.view-job-modal .status-needs-reschedule{background-color:#fce7f3;color:#9f1239}.view-job-modal .stage-badge{background-color:#f3f4f6;color:#374151;padding:4px 12px;border-radius:20px;font-size:14px;font-weight:500}.view-job-modal .close-btn{background:none;border:none;font-size:28px;color:#6b7280;cursor:pointer;padding:0;width:36px;height:36px;display:flex;align-items:center;justify-content:center;border-radius:6px;transition:all .2s}.view-job-modal .close-btn:hover{background-color:#f3f4f6;color:#374151}.view-job-modal .modal-content{flex:1 1 auto;overflow-y:auto;padding:28px 28px 20px;display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,380px);gap:20px;overflow-x:hidden;width:100%;max-width:none;background:#fafafa;min-height:0;overscroll-behavior:contain;max-height:calc(90vh - 190px)}.view-job-modal .content-column{display:flex;flex-direction:column;gap:16px;min-width:0;width:100%}.view-job-modal .full-width-expenses-card{grid-column:1 / -1;min-height:170px}.view-job-modal .left-column{overflow:hidden;min-width:0}.view-job-modal .info-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:20px;width:100%;overflow:hidden;box-shadow:0 1px 3px #0000000d}.view-job-modal .card-title{font-size:16px;font-weight:700;color:#111827;margin:0 0 14px;padding-bottom:10px;border-bottom:2px solid #f3f4f6}.view-job-modal .client-info{width:100%;overflow:hidden}.view-job-modal .info-row{display:flex;flex-direction:column;margin-bottom:14px;max-width:100%}.view-job-modal .info-row:last-child{margin-bottom:0}.view-job-modal .info-label{font-weight:600;color:#4b5563;font-size:12px;text-transform:uppercase;letter-spacing:.5px;margin-bottom:6px;display:block}.view-job-modal .info-value{color:#1f2937;font-size:15px;line-height:1.4;word-wrap:break-word;overflow-wrap:break-word;display:block}.view-job-modal .info-value.address{line-height:1.6}.view-job-modal .info-value.address div{margin-bottom:2px}.view-job-modal .info-link{color:#2563eb;text-decoration:none;font-size:15px;word-break:break-word;display:inline-block;max-width:100%;transition:color .2s}.view-job-modal .info-link:hover{color:#1d4ed8;text-decoration:underline}.view-job-modal .empty-state{color:#9ca3af;font-style:italic;margin:0}.view-job-modal .description{margin-bottom:16px}.view-job-modal .description-text{margin:8px 0 0;color:#1f2937;line-height:1.6;word-wrap:break-word;overflow-wrap:break-word}.view-job-modal .all-day-indicator{margin-top:12px}.view-job-modal .all-day-badge{background-color:#e0e7ff;color:#4338ca;padding:4px 12px;border-radius:4px;font-size:13px;font-weight:500}.view-job-modal .workers-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:16px}.view-job-modal .worker-item{display:flex;flex-direction:column;align-items:center;gap:8px}.view-job-modal .worker-avatar{width:48px;height:48px;border-radius:50%;background-color:#6366f1;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:16px;text-transform:uppercase}.view-job-modal .worker-name{font-size:14px;text-align:center;color:#1f2937}.view-job-modal .products-table{overflow-x:auto;width:100%}.view-job-modal .products-table table{width:100%;border-collapse:collapse}.view-job-modal .products-table th{text-align:left;padding:8px 12px;border-bottom:2px solid #e5e7eb;font-weight:600;color:#374151;font-size:14px;background-color:#f9fafb}.view-job-modal .products-table td{padding:12px;border-bottom:1px solid #e5e7eb;font-size:14px}.view-job-modal .products-table tbody tr:hover{background-color:#f9fafb}.view-job-modal .product-name{font-weight:500;color:#1f2937;word-wrap:break-word;overflow-wrap:break-word}.view-job-modal .product-description{font-size:13px;color:#6b7280;margin-top:4px;word-wrap:break-word;overflow-wrap:break-word}.view-job-modal .text-center{text-align:center}.view-job-modal .text-right{text-align:right}.view-job-modal .products-table tfoot td{border-top:2px solid #e5e7eb;border-bottom:none;padding-top:12px;font-weight:600}.view-job-modal .financial-summary{display:flex;flex-direction:column;gap:8px;margin-bottom:0;width:100%}.view-job-modal .invoice-card-header{display:flex;align-items:center;justify-content:flex-start;gap:12px;margin-bottom:10px}.view-job-modal .invoice-card-header .card-title{margin:0;padding-bottom:0;border-bottom:none}.view-job-modal .job-invoices-list{display:flex;flex-direction:column;gap:8px;max-height:none;overflow:visible;padding-right:2px}.view-job-modal .job-invoice-item{display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid #e5e7eb;border-radius:10px;padding:10px 12px;background:#f9fafb}.view-job-modal .job-invoice-meta{min-width:0}.view-job-modal .job-invoice-number{font-size:14px;font-weight:600;color:#1f2937}.view-job-modal .job-invoice-subtitle{font-size:12px;color:#64748b;margin-top:2px}.view-job-modal .job-invoice-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}.view-job-modal .job-invoice-amount{font-size:13px;font-weight:600;color:#1f2937}.view-job-modal .invoice-view-btn{padding:5px 10px;font-size:12px}.view-job-modal .summary-row{display:flex;justify-content:space-between;align-items:center;padding:9px 0;font-size:15px;color:#475569;border-bottom:1px solid #f1f5f9}.view-job-modal .summary-row span:last-child{color:#1f2937;font-weight:600}.view-job-modal .summary-row.total{border-top:2px solid #e5e7eb;border-bottom:none;padding-top:12px;font-weight:600;font-size:16px;color:#1f2937}.view-job-modal .expenses-list{display:block;margin-top:4px;max-height:220px;overflow-y:auto;width:100%;padding-right:4px}.view-job-modal .expenses-list h4{font-size:14px;font-weight:600;color:#374151;margin:0 0 12px}.view-job-modal .expense-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;padding:12px 0;border-bottom:1px solid #f1f5f9;font-size:14px;color:#6b7280;transition:background-color .15s ease}.view-job-modal .expense-item:last-child{border-bottom:none}.view-job-modal .expense-item:nth-child(odd){background-color:#fcfdff}.view-job-modal .expense-item:hover{background-color:#f8fafc}.view-job-modal .expense-item.clickable-expense{cursor:pointer}.view-job-modal .expense-item.clickable-expense:hover{background-color:#eef2ff}.view-job-modal .expense-desc{min-width:0;overflow-wrap:break-word;word-break:normal;line-height:1.4;color:#374151;padding-right:8px}.view-job-modal .expense-amount{display:block;white-space:nowrap;text-align:right;font-weight:500;color:#374151}.view-job-modal .expense-actions{display:flex;align-items:center;gap:10px}.view-job-modal .expense-view-chip{display:inline-flex;align-items:center;justify-content:center;padding:4px 8px;border-radius:999px;font-size:11px;font-weight:600;color:#4338ca;background:#e0e7ff;border:1px solid #c7d2fe}.view-job-modal .progress-section{display:flex;flex-direction:column;gap:10px}.view-job-modal .progress-header{display:flex;justify-content:space-between;align-items:center;font-size:15px}.view-job-modal .progress-bar{height:8px;background-color:#e5e7eb;border-radius:4px;overflow:hidden}.view-job-modal .progress-fill{height:100%;background-color:#10b981;transition:width .3s ease}.view-job-modal .checklist-summary{font-size:14px;color:#6b7280}.view-job-modal .checklist-items{margin-top:12px;display:flex;flex-direction:column;gap:8px;max-height:none;overflow:visible}.view-job-modal .checklist-item{display:flex;align-items:center;gap:8px;padding:8px;background-color:#fff;border-radius:4px;font-size:14px}.view-job-modal .checklist-item.completed{opacity:.7}.view-job-modal .checklist-item.completed .task-name{text-decoration:line-through;color:#6b7280}.view-job-modal .checkbox{border:none;background:transparent;padding:0;margin:0;cursor:pointer;color:#10b981;font-weight:600;min-width:20px}.view-job-modal .checkbox:disabled{opacity:.5;cursor:default}.view-job-modal .task-content{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;width:100%;gap:4px}.view-job-modal .task-name{width:100%;line-height:1.35}.view-job-modal .task-worker{display:flex;align-items:center;flex-wrap:wrap;gap:6px;font-size:12px;color:#6b7280;width:100%}.view-job-modal .worker-info{display:flex;align-items:center;gap:4px}.view-job-modal .worker-separator{margin:0 2px}.view-job-modal .worker-badge{width:24px;height:24px;border-radius:50%;background-color:#6366f1;color:#fff;display:flex;align-items:center;justify-content:center;font-size:10px;font-weight:600;text-transform:uppercase}.view-job-modal .worker-name{white-space:nowrap}.view-job-modal .task-unassigned{font-size:12px;color:#ef4444;font-style:italic}.view-job-modal .modal-footer{padding:16px 24px;border-top:1px solid #e5e7eb;display:flex;justify-content:flex-end;gap:12px;flex-shrink:0;background:#fff;position:relative;z-index:2}.view-job-modal .btn{padding:8px 20px;border-radius:6px;font-size:15px;font-weight:500;border:none;cursor:pointer;transition:all .2s}.view-job-modal .btn-primary{background-color:#2563eb;color:#fff}.view-job-modal .btn-primary:hover{background-color:#1d4ed8}.view-job-modal .btn-secondary{background-color:#f3f4f6;color:#374151;border:1px solid #e5e7eb}.view-job-modal .btn-secondary:hover{background-color:#e5e7eb}.view-job-modal .loading-state{text-align:center;color:#6b7280;padding:20px}@media (max-width: 1024px){.view-job-modal .modal-content{grid-template-columns:1fr;gap:24px}}@media (max-width: 768px){.view-job-modal{max-width:100%;margin:10px}.view-job-modal .modal-content{grid-template-columns:1fr;padding:16px}.view-job-modal .modal-header,.view-job-modal .modal-footer{padding:16px}.view-job-modal .info-label{min-width:80px}.view-job-modal .workers-grid{grid-template-columns:repeat(auto-fill,minmax(100px,1fr))}}@media print{.view-job-modal-overlay{position:static;background:none;padding:0}.view-job-modal{box-shadow:none;max-height:none;border:none}.view-job-modal .close-btn,.view-job-modal .modal-footer{display:none}.view-job-modal .modal-content{overflow:visible}.view-job-modal .info-card{break-inside:avoid;border:1px solid #ddd}.view-job-modal .checklist-items{max-height:none}}@keyframes fadeIn{0%{opacity:0;-webkit-backdrop-filter:blur(0px);backdrop-filter:blur(0px)}to{opacity:1;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}}.view-lead-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#17171780;z-index:10000;animation:fadeIn .2s ease-out}.view-lead-embedded-container{width:100%}.view-lead-modal{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);background:#fff;border-radius:.75rem;box-shadow:0 25px 50px -12px #00000040;width:90%;max-width:700px;height:min(90vh,820px);max-height:90vh;z-index:10001;overflow:hidden;display:flex;flex-direction:column;box-sizing:border-box}.view-lead-content{display:flex;flex-direction:column;gap:1.5rem;padding:2rem;height:100%;overflow:hidden;box-sizing:border-box;min-height:0}.view-lead-modal--embedded{position:static;top:auto;left:auto;transform:none;width:100%;max-width:none;height:auto;max-height:none;box-shadow:none}.view-lead-header{display:flex;align-items:flex-start;justify-content:space-between;flex-shrink:0}.view-lead-title{font-size:1.5rem;font-weight:600;line-height:1.25;letter-spacing:-.025em;color:#111827}.view-lead-subtitle{margin-top:.25rem;font-size:.875rem;color:#6b7280}.view-lead-close-btn{border-radius:.375rem;padding:.5rem;background:transparent;border:none;cursor:pointer;color:#6b7280;transition:background-color .15s ease}.view-lead-close-btn:hover{background:#f3f4f6}.view-lead-close-btn:focus{outline:2px solid rgb(2,132,199);outline-offset:2px}.view-lead-scroll-area{flex:1;overflow-y:auto;overflow-x:hidden;display:flex;flex-direction:column;gap:1.25rem;min-height:0;padding-right:.5rem}.view-lead-scroll-area::-webkit-scrollbar{width:6px}.view-lead-scroll-area::-webkit-scrollbar-track{background:#f3f4f6;border-radius:3px}.view-lead-scroll-area::-webkit-scrollbar-thumb{background:#9ca3af;border-radius:3px}.view-lead-scroll-area::-webkit-scrollbar-thumb:hover{background:#6b7280}.view-lead-section{display:flex;flex-direction:column;gap:1rem}.view-lead-section-title{font-size:.875rem;font-weight:500;color:#374151}.view-lead-grid{display:grid;grid-template-columns:1fr;gap:1rem}@media (min-width: 768px){.view-lead-grid{grid-template-columns:1fr 1fr;gap:1.5rem 1.5rem}.view-lead-grid-full{grid-column:1 / -1}}.view-lead-field dt{font-size:.75rem;text-transform:uppercase;letter-spacing:.05em;color:#6b7280}.view-lead-field dd{margin-top:.25rem;font-size:.875rem;color:#111827}.view-lead-status-badge{display:inline-flex;align-items:center;gap:.375rem;padding:.25rem .5rem;border-radius:.375rem;background:#dbeafe;color:#0369a1;margin-top:.25rem}.view-lead-status-icon{width:.75rem;height:.75rem;fill:#0284c7;color:#0284c7}.view-lead-separator{border:none!important;border-top:1px solid rgb(229,231,235)!important;height:0!important;margin:0!important;display:block!important;clear:both!important}.view-lead-notes{border-radius:.375rem;border:1px solid rgb(243,244,246);background:#f9fafb;padding:1rem;font-size:.875rem;line-height:1.625;color:#374151}.view-lead-icon{width:1.25rem;height:1.25rem}.view-lead-footer{display:flex;justify-content:flex-end;flex-shrink:0}.view-lead-footer-btn{border:1px solid rgb(209,213,219);background:#fff;color:#1f2937;border-radius:.5rem;padding:.625rem 1rem;font-size:.875rem;font-weight:500;cursor:pointer;transition:background-color .15s ease,border-color .15s ease}.view-lead-footer-btn:hover{background:#f9fafb;border-color:#9ca3af}.view-lead-footer-btn:focus{outline:2px solid rgb(2,132,199);outline-offset:2px}.invoice-payment-link-section{background:#fff;border-radius:12px;padding:1.5rem;box-shadow:0 1px 3px #0000001a;border:1px solid #e2e8f0;margin-bottom:1.5rem}.invoice-payment-link-section .section-title{font-size:1.125rem;font-weight:700;color:#1e293b;margin:0 0 1rem;padding-bottom:.75rem;border-bottom:2px solid #f1f5f9}.stripe-not-connected{display:flex;gap:1rem;padding:1.25rem;background:linear-gradient(135deg,#fff7ed,#ffedd5);border:2px solid #fb923c;border-radius:10px}.stripe-not-connected .warning-icon{font-size:2rem;line-height:1;flex-shrink:0}.stripe-not-connected .warning-content{flex:1}.stripe-not-connected h4{font-size:1rem;font-weight:700;color:#9a3412;margin:0 0 .5rem}.stripe-not-connected p{font-size:.875rem;color:#7c2d12;margin:0 0 1rem;line-height:1.5}.connect-stripe-btn{background:linear-gradient(135deg,#635bff,#0a2540);color:#fff;border:none;padding:.75rem 1.5rem;border-radius:8px;font-size:.9375rem;font-weight:600;cursor:pointer;transition:all .2s ease}.connect-stripe-btn:hover{background:linear-gradient(135deg,#4b3fd9,#0a2540);transform:translateY(-1px);box-shadow:0 4px 12px #635bff4d}.generate-link-section{text-align:center;padding:2rem 1rem;background:linear-gradient(135deg,#f6f5ff,#edebfe);border-radius:10px;border:1px solid #C4B5FD}.generate-link-section p{font-size:.9375rem;color:#5b21b6;margin:0 0 1rem}.generate-link-btn{background:#635bff;color:#fff;border:none;padding:.875rem 2rem;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .2s ease;box-shadow:0 2px 8px #635bff40}.generate-link-btn:hover:not(:disabled){background:#4b3fd9;transform:translateY(-1px);box-shadow:0 4px 12px #635bff4d}.generate-link-btn:disabled{opacity:.6;cursor:not-allowed;transform:none}.payment-link-display{padding:1.5rem;background:#fafbfc;border-radius:10px;border:1px solid #e2e8f0}.payment-link-display.status-expired{background:#f8f9fa;opacity:.85}.payment-link-display.status-paid{background:linear-gradient(135deg,#f0fdf4,#dcfce7);border-color:#bbf7d0}.link-status-header{margin-bottom:1.25rem}.status-badge{display:inline-flex;align-items:center;gap:.5rem;padding:.5rem 1rem;border-radius:20px;font-size:.875rem;font-weight:600;box-shadow:0 1px 3px #0000001a}.status-badge .badge-icon{font-size:1rem;line-height:1}.status-badge.active{background:linear-gradient(135deg,#d1fae5,#a7f3d0);color:#065f46;border:1px solid #6ee7b7}.status-badge.paid{background:linear-gradient(135deg,#dbeafe,#bfdbfe);color:#1e40af;border:1px solid #93c5fd}.status-badge.expired{background:linear-gradient(135deg,#fee2e2,#fecaca);color:#991b1b;border:1px solid #fca5a5}.payment-link-url{display:flex;gap:.75rem;margin-bottom:1rem}.link-input{flex:1;padding:.75rem 1rem;border:2px solid #e2e8f0;border-radius:8px;font-family:Courier New,monospace;font-size:.875rem;background:#fff;color:#1e293b;transition:border-color .2s}.link-input:focus{outline:none;border-color:#635bff}.copy-btn{padding:.75rem 1.5rem;background:#635bff;color:#fff;border:none;border-radius:8px;font-size:.875rem;font-weight:600;cursor:pointer;white-space:nowrap;transition:all .2s ease}.copy-btn:hover:not(:disabled){background:#4b3fd9;transform:translateY(-1px)}.copy-btn:disabled{opacity:.5;cursor:not-allowed}.regenerate-btn{width:100%;padding:.875rem 1.5rem;background:linear-gradient(135deg,#f59e0b,#d97706);color:#fff;border:none;border-radius:8px;font-size:.9375rem;font-weight:600;cursor:pointer;transition:all .2s ease;margin-bottom:1rem;box-shadow:0 2px 8px #f59e0b40}.regenerate-btn:hover:not(:disabled){background:linear-gradient(135deg,#d97706,#b45309);transform:translateY(-1px);box-shadow:0 4px 12px #f59e0b4d}.regenerate-btn:disabled{opacity:.6;cursor:not-allowed;transform:none}.link-info{margin-top:1rem;padding-top:1rem;border-top:1px solid #e2e8f0}.link-hint,.link-security{display:flex;align-items:center;gap:.5rem;font-size:.875rem;margin:.5rem 0;line-height:1.5}.link-hint{color:#64748b}.hint-icon{font-size:1.125rem;line-height:1}.link-security{color:#635bff;font-weight:600}.security-icon{font-size:1.125rem;line-height:1}.payment-error{display:flex;gap:1rem;padding:1rem;background:linear-gradient(135deg,#fef2f2,#fee2e2);border:2px solid #fca5a5;border-radius:8px;margin-top:1rem}.payment-error .error-icon{font-size:1.5rem;line-height:1;flex-shrink:0}.payment-error .error-content{flex:1}.payment-error h4{font-size:.9375rem;font-weight:700;color:#991b1b;margin:0 0 .5rem}.payment-error p{font-size:.875rem;color:#7f1d1d;margin:0;line-height:1.5}.payment-history{margin-top:1.5rem;padding-top:1.5rem;border-top:2px solid #e2e8f0}.payment-history h4{font-size:1rem;font-weight:700;color:#1e293b;margin:0 0 1rem}.attempts-list{display:flex;flex-direction:column;gap:.75rem}.attempt-item{display:flex;gap:1rem;padding:1rem;background:#fff;border-radius:8px;border-left:4px solid #e2e8f0;box-shadow:0 1px 3px #0000000d;transition:all .2s}.attempt-item:hover{box-shadow:0 2px 6px #0000001a}.attempt-item.status-completed{border-left-color:#10b981;background:linear-gradient(to right,#f0fdf4,#fff 10%)}.attempt-item.status-failed{border-left-color:#ef4444;background:linear-gradient(to right,#fef2f2,#fff 10%)}.attempt-item.status-pending{border-left-color:#f59e0b;background:linear-gradient(to right,#fffbeb,#fff 10%)}.attempt-number{display:flex;align-items:center;justify-content:center;width:2rem;height:2rem;border-radius:50%;background:#f1f5f9;color:#64748b;font-size:.875rem;font-weight:700;flex-shrink:0}.attempt-details{flex:1}.attempt-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem;gap:1rem}.attempt-date{font-size:.875rem;color:#64748b}.attempt-status{padding:.25rem .75rem;border-radius:12px;font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.025em}.attempt-status.completed{background:#d1fae5;color:#065f46}.attempt-status.failed{background:#fee2e2;color:#991b1b}.attempt-status.pending{background:#fef3c7;color:#92400e}.attempt-status.expired{background:#f1f5f9;color:#475569}.attempt-error{display:flex;align-items:start;gap:.5rem;margin-top:.5rem;padding:.625rem;background:#fef2f2;border-radius:6px;border:1px solid #fecaca}.attempt-error .error-icon{font-size:1rem;line-height:1;flex-shrink:0}.attempt-error{font-size:.8125rem;color:#7f1d1d;line-height:1.4}.attempt-id{margin-top:.5rem;font-size:.75rem;color:#94a3b8;font-family:Courier New,monospace}@media (max-width: 768px){.invoice-payment-link-section{padding:1rem}.payment-link-url{flex-direction:column}.copy-btn{width:100%}.attempt-header{flex-direction:column;align-items:flex-start;gap:.5rem}.stripe-not-connected{flex-direction:column;text-align:center}.stripe-not-connected .warning-icon{font-size:3rem}.generate-link-section{padding:1.5rem 1rem}.link-info{font-size:.8125rem}}@media (max-width: 480px){.invoice-payment-link-section .section-title{font-size:1rem}.status-badge{font-size:.8125rem;padding:.375rem .75rem}.link-input{font-size:.75rem;padding:.625rem .875rem}.attempt-item{padding:.75rem}.attempt-number{width:1.75rem;height:1.75rem;font-size:.75rem}}.view-invoice-modal-backdrop{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#00000080;z-index:10000;display:flex;align-items:center;justify-content:center;padding:16px}.view-invoice-modal-container{background:#fff;border-radius:12px;max-width:1024px;width:100%;max-height:90vh;overflow-y:auto;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a;z-index:10001}.view-invoice-embedded-container{width:100%;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}.view-invoice-embedded-container .view-invoice-modal-content{padding:16px}.view-invoice-modal-header{background-color:#f9fafb;padding:24px;border-bottom:1px solid #e5e7eb;display:flex;align-items:center;justify-content:space-between;border-radius:12px 12px 0 0}.view-invoice-modal-title{font-size:20px;font-weight:600;color:#111827;margin:0 0 4px}.view-invoice-modal-subtitle{font-size:14px;color:#6b7280;margin:0}.view-invoice-modal-close{color:#9ca3af;background:none;border:none;cursor:pointer;padding:8px;border-radius:6px;transition:color .2s ease}.view-invoice-modal-close:hover{color:#6b7280;background-color:#f3f4f6}.view-invoice-modal-content{padding:24px}.view-invoice-modal-loading{padding:64px 32px;text-align:center;color:#6b7280}.view-invoice-section{margin-bottom:32px}.view-invoice-section-title{font-size:18px;font-weight:600;color:#111827;margin-bottom:16px}.view-invoice-grid{display:grid;grid-template-columns:1fr 1fr;gap:32px}.view-invoice-company-header{display:flex;align-items:flex-start;gap:16px}.view-invoice-company-logo{width:80px;height:80px;object-fit:contain;border-radius:8px;border:1px solid #e5e7eb;background-color:#f9fafb;padding:8px;flex-shrink:0}.view-invoice-company-name{font-size:18px;font-weight:600;color:#111827;margin-bottom:8px}.view-invoice-company-address{color:#6b7280;font-size:14px;white-space:pre-line;line-height:1.5}.view-invoice-details-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px;font-size:14px}.view-invoice-details-label{color:#6b7280}.view-invoice-details-value{font-weight:500;color:#111827}.view-invoice-status-badge{display:inline-flex;align-items:center;padding:4px 12px;font-size:12px;font-weight:600;border-radius:20px;text-transform:uppercase;letter-spacing:.05em}.view-invoice-status-paid{background-color:#d1fae5;color:#065f46}.view-invoice-status-sent{background-color:#dbeafe;color:#1e40af}.view-invoice-status-overdue{background-color:#fee2e2;color:#991b1b}.view-invoice-status-cancelled{background-color:#f3f4f6;color:#6b7280}.view-invoice-status-draft{background-color:#fef3c7;color:#92400e}.view-invoice-client-name{font-weight:600;color:#111827;margin-bottom:4px}.view-invoice-client-details{color:#6b7280;font-size:14px;line-height:1.5}.view-invoice-table{width:100%;border-collapse:collapse;border:1px solid #d1d5db;border-radius:8px;overflow:hidden}.view-invoice-table thead{background-color:#f9fafb}.view-invoice-table th{padding:12px 16px;text-align:left;font-size:12px;font-weight:500;color:#6b7280;text-transform:uppercase;letter-spacing:.05em;border-bottom:1px solid #d1d5db}.view-invoice-table th:nth-child(3),.view-invoice-table th:nth-child(4),.view-invoice-table th:nth-child(5){text-align:right}.view-invoice-table td{padding:12px 16px;border-bottom:1px solid #f3f4f6;font-size:14px;color:#374151}.view-invoice-table td:nth-child(3),.view-invoice-table td:nth-child(4),.view-invoice-table td:nth-child(5){text-align:right}.view-invoice-table tbody tr:last-child td{border-bottom:none}.view-invoice-table .service-total{font-weight:500}.view-invoice-totals-container{max-width:400px;margin-left:auto}.view-invoice-totals-row{display:flex;justify-content:space-between;align-items:center;padding:8px 0;font-size:14px}.view-invoice-totals-row.grand-total{border-top:1px solid #d1d5db;padding-top:16px;margin-top:8px;font-size:18px;font-weight:700;color:#111827}.view-invoice-payment-terms{background-color:#f9fafb;padding:20px;border-radius:8px;border:1px solid #e5e7eb}.view-invoice-payment-row{display:flex;margin-bottom:8px;font-size:14px}.view-invoice-payment-row:last-child{margin-bottom:0}.view-invoice-payment-label{font-weight:600;color:#374151;margin-right:8px;min-width:140px}.view-invoice-payment-value{color:#6b7280}.view-invoice-notes{background-color:#f9fafb;padding:20px;border-radius:8px;border:1px solid #e5e7eb}.view-invoice-notes-text{font-size:14px;color:#374151;white-space:pre-line;line-height:1.6;margin:0}.view-invoice-modal-footer{background-color:#f9fafb;padding:24px;border-top:1px solid #e5e7eb;border-radius:0 0 12px 12px}.view-invoice-actions{display:flex;flex-wrap:wrap;gap:12px;justify-content:space-between;align-items:center}.view-invoice-action-buttons{display:flex;flex-wrap:wrap;gap:12px}.view-invoice-btn{display:inline-flex;align-items:center;gap:8px;padding:12px 16px;font-size:14px;font-weight:500;border:none;border-radius:6px;cursor:pointer;transition:all .2s ease;text-decoration:none}.view-invoice-btn:hover{transform:translateY(-1px);box-shadow:0 4px 12px #00000026}.view-invoice-btn-gray{background-color:#4b5563;color:#fff}.view-invoice-btn-gray:hover{background-color:#374151}.view-invoice-btn-green{background-color:#059669;color:#fff}.view-invoice-btn-green:hover{background-color:#047857}.view-invoice-btn-purple{background-color:#7c3aed;color:#fff}.view-invoice-btn-purple:hover{background-color:#6d28d9}.view-invoice-btn-blue{background-color:#2563eb;color:#fff}.view-invoice-btn-blue:hover{background-color:#1d4ed8}.view-invoice-btn-orange{background-color:#ea580c;color:#fff}.view-invoice-btn-orange:hover{background-color:#c2410c}.view-invoice-btn-indigo{background-color:#4f46e5;color:#fff}.view-invoice-btn-indigo:hover{background-color:#4338ca}.view-invoice-btn-primary{background-color:#2563eb;color:#fff;padding:12px 24px;font-weight:600}.view-invoice-btn-primary:hover{background-color:#1d4ed8}.view-invoice-icon{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.view-invoice-close-icon{width:24px;height:24px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}@media (max-width: 768px){.view-invoice-modal-backdrop{padding:8px}.view-invoice-modal-container{max-height:95vh}.view-invoice-modal-header,.view-invoice-modal-content,.view-invoice-modal-footer{padding:16px}.view-invoice-grid{grid-template-columns:1fr;gap:24px}.view-invoice-company-header{flex-direction:column;align-items:center;text-align:center;gap:12px}.view-invoice-company-logo{width:60px;height:60px}.view-invoice-actions{flex-direction:column;align-items:stretch;gap:16px}.view-invoice-action-buttons{justify-content:center}.view-invoice-btn{padding:10px 14px;font-size:14px}.view-invoice-table{font-size:12px}.view-invoice-table th,.view-invoice-table td{padding:8px 12px}}@media (max-width: 480px){.view-invoice-modal-title{font-size:18px}.view-invoice-section-title{font-size:16px}.view-invoice-btn{padding:8px 12px;font-size:13px}.view-invoice-action-buttons{flex-direction:column}.view-invoice-company-logo{width:50px;height:50px}}.payment-status-badge{display:inline-flex;align-items:center;padding:4px 12px;border-radius:12px;font-size:13px;font-weight:500;gap:4px}.payment-status-not-generated{background-color:#f3f4f6;color:#6b7280}.payment-status-active{background-color:#dbeafe;color:#1e40af}.payment-status-expired{background-color:#fef3c7;color:#92400e}.payment-status-initiated{background-color:#e0e7ff;color:#4338ca}.payment-status-action-required{background-color:#fef3c7;color:#92400e}.payment-status-processing{background-color:#e0e7ff;color:#4338ca;animation:pulse 2s ease-in-out infinite}.payment-status-paid{background-color:#d1fae5;color:#065f46}.payment-status-failed{background-color:#fee2e2;color:#991b1b}.payment-status-refunded{background-color:#f3e8ff;color:#6b21a8}.payment-status-canceled{background-color:#f3f4f6;color:#6b7280}.regenerate-link-btn{padding:2px 8px;font-size:12px;background-color:#2563eb;color:#fff;border:none;border-radius:4px;cursor:pointer;font-weight:500;transition:background-color .2s ease}.regenerate-link-btn:hover{background-color:#1d4ed8}@keyframes pulse{0%,to{opacity:1}50%{opacity:.7}}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;padding:20px}.data-modal{background:#fff;border-radius:16px;max-width:1200px;width:100%;max-height:90vh;overflow-y:auto;overflow-x:hidden;box-shadow:0 20px 60px #0003;animation:modalSlideIn .3s ease-out}.data-modal,.data-modal *{box-sizing:border-box}.modal-content-wrapper{width:100%;min-height:300px}.modal-content-wrapper.report-content-wrapper{padding:1.5rem;overflow-x:hidden}.dynamic-form-wrapper{padding:0;min-height:400px;color:#333!important}.dynamic-form-wrapper .form-container{width:100%;overflow-x:hidden;color:#333!important}.data-modal .embedded-media-root{width:100%;max-width:100%;overflow:visible!important}.data-modal .embedded-media-root,.data-modal .embedded-media-root *{box-sizing:border-box}.dynamic-form-wrapper *:not([style*=gradient]){color:#333!important}.dynamic-form-wrapper h1,.dynamic-form-wrapper h2,.dynamic-form-wrapper h3,.dynamic-form-wrapper h4,.dynamic-form-wrapper h5,.dynamic-form-wrapper h6,.dynamic-form-wrapper p,.dynamic-form-wrapper span,.dynamic-form-wrapper div,.dynamic-form-wrapper td,.dynamic-form-wrapper th,.dynamic-form-wrapper li,.dynamic-form-wrapper label{color:#333!important}.dynamic-form-wrapper [style*=gradient] *,.dynamic-form-wrapper .header[style*=gradient],.dynamic-form-wrapper [style*="background: linear-gradient"] *{color:#fff!important}.data-modal .dynamic-form-wrapper,.data-modal .form-container,.data-modal .dynamic-form-container{background:#fff!important;color:#1f2937!important}.data-modal .dynamic-form-wrapper *:not(button):not([style*=gradient]),.data-modal .form-container *:not(button):not([style*=gradient]),.data-modal .dynamic-form-container *:not(button):not([style*=gradient]){color:#1f2937!important}.data-modal .client-details-widget,.data-modal .client-details-widget *{color:#1f2937!important;background:#fff!important}.data-modal .widget-content:not([style*=color]),.data-modal .widget-content *:not([style*=color]):not(button):not(th){color:#333!important}.data-modal div:not([style*=color]):not(.modal-header):not(.widget-header),.data-modal p:not([style*=color]),.data-modal span:not([style*=color]){color:#333!important}.data-modal .info-row .label{color:#6b7280!important}.data-modal .info-row .value{color:#1f2937!important}.dynamic-form-wrapper .dynamic-form-container{max-width:none;margin:0;background:#fff;border-radius:0;box-shadow:none;overflow:visible}.dynamic-form-wrapper .form-header{display:none}.dynamic-form-wrapper form{padding:24px 32px}.data-modal .modal-header{background:linear-gradient(135deg,#667eea,#764ba2)!important;color:#fff!important;padding:24px 32px 20px!important;border-bottom:1px solid #e5e7eb!important;display:flex;justify-content:space-between;align-items:center;border-radius:16px 16px 0 0}.close-btn{background:#fff3;border:none;color:#fff;font-size:24px;cursor:pointer;width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;transition:all .2s}.close-btn:hover{background:#ffffff4d;transform:rotate(90deg)}.date-range-banner{display:flex;align-items:center;gap:12px;padding:16px 32px;background:linear-gradient(135deg,#e3f2fd,#bbdefb);border-bottom:1px solid #e2e8f0;color:#1565c0}.date-range-icon{font-size:18px;flex-shrink:0}.date-range-text{flex:1;font-size:14px;font-weight:500}.date-range-details{font-size:13px;color:#1976d2;font-weight:400;background:#ffffffb3;padding:4px 8px;border-radius:4px;white-space:nowrap}.modal-toolbar{display:flex;justify-content:space-between;align-items:center;padding:16px 32px;border-bottom:1px solid #e2e8f0;background:#f8f9fa;gap:16px}.toolbar-left{flex:1;max-width:400px}.toolbar-right{display:flex;gap:12px;align-items:center}.search-input{width:100%;padding:8px 12px;border:1px solid #ddd;border-radius:6px;font-size:14px;transition:border-color .2s}.view-toggle{display:flex;background:#fff;border:1px solid #ddd;border-radius:6px;overflow:hidden}.toggle-btn{padding:6px 12px;border:none;background:#fff;color:#666;cursor:pointer;transition:all .2s;font-size:14px}.toggle-btn:not(:last-child){border-right:1px solid #ddd}.toggle-btn:hover{background:#f0f0f0}.toggle-btn.active{background:#667eea;color:#fff}.export-btn{padding:8px 16px;background:#28a745;color:#fff;border:none;border-radius:6px;cursor:pointer;font-size:14px;transition:background .2s}.export-btn:hover{background:#218838}.modal-content{padding:0;background:#fff;min-width:0;width:100%}.data-summary{margin:24px 32px 20px;padding:12px 16px;background:#f0f4ff;border-left:4px solid #667eea;border-radius:4px;font-weight:500;color:#333}.table-wrapper{margin:0 32px 32px;border-radius:8px;box-shadow:0 1px 3px #0000001a;overflow-x:auto}.data-table{width:100%;min-width:800px;border-collapse:collapse;background:#fff;border-radius:8px;table-layout:auto}.data-table thead{background:#f8f9fa}.data-table th{padding:12px 16px;text-align:left;font-weight:600;color:#333;font-size:14px;border-bottom:2px solid #e0e0e0;white-space:nowrap}.data-table td{padding:12px 16px;border-bottom:1px solid #f0f0f0;font-size:14px;color:#555}.data-table tbody tr:hover{background:#f8f9fa}.data-table tbody tr:last-child td{border-bottom:none}.data-cards-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:20px;padding:32px}.data-card{background:#fff;border:1px solid #e0e0e0;border-radius:8px;padding:20px;transition:all .2s;box-shadow:0 2px 4px #0000000d}.data-card:hover{box-shadow:0 4px 12px #00000026;transform:translateY(-2px)}.data-card h3{margin:0 0 16px;color:#333;font-size:18px;font-weight:600}.card-details{margin-bottom:16px}.card-details p{margin:8px 0;color:#555;font-size:14px}.card-details strong{color:#333;margin-right:8px}.card-actions{display:flex;gap:8px;padding-top:16px;border-top:1px solid #f0f0f0}.search-results{padding:32px}.result-section{margin-bottom:32px}.result-section h3{margin:0 0 16px;color:#333;font-size:18px;font-weight:600;padding-bottom:8px;border-bottom:2px solid #667eea}.client-details{padding:32px}.client-info-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:24px;margin-bottom:24px}.info-section{background:#f8f9fa;border-radius:8px;padding:20px;border-left:4px solid #667eea}.info-section.full-width{grid-column:1 / -1}.info-section h3{margin:0 0 16px;color:#333;font-size:16px;font-weight:600;display:flex;align-items:center;gap:8px}.info-item{display:flex;margin-bottom:12px;align-items:center;gap:8px}.info-item:last-child{margin-bottom:0}.info-item strong{min-width:120px;color:#374151;font-weight:500;font-size:14px}.info-item span{color:#555;font-size:14px}.notes-content{background:#fff;padding:12px;border-radius:4px;border:1px solid #e0e0e0;font-size:14px;line-height:1.5;color:#555;width:100%}.client-actions{display:flex;gap:12px;padding-top:20px;border-top:1px solid #e0e0e0;justify-content:center}.status-badge{display:inline-block;padding:4px 8px;border-radius:4px;font-size:12px;font-weight:500;text-transform:uppercase}.status-new{background:#e3f2fd;color:#1976d2}.status-approved{background:#e8f5e9;color:#388e3c}.status-scheduled{background:#fff3e0;color:#f57c00}.status-completed{background:#e8f5e9;color:#2e7d32}.status-in-progress{background:#ede9fe;color:#6d28d9}.status-on-hold{background:#fff9c4;color:#f9a825}.status-lost{background:#ffebee;color:#c62828}.status-unknown{background:#f5f5f5;color:#757575}.email-link,.phone-link,.address-link{color:#667eea;text-decoration:none;transition:color .2s}.email-link:hover,.phone-link:hover,.address-link:hover{color:#764ba2;text-decoration:underline}.no-value{color:#999;font-style:italic;font-size:13px}.btn-action{padding:6px 12px;background:#667eea;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:13px;transition:background .2s}.btn-action:hover{background:#764ba2}.btn-sm{padding:6px 12px;border:none;border-radius:4px;cursor:pointer;font-size:13px;transition:all .2s}.btn-primary{background:#667eea;color:#fff}.btn-primary:hover{background:#764ba2}.btn-secondary{background:#6c757d;color:#fff}.btn-secondary:hover{background:#5a6268}.update-success{padding:40px 32px;text-align:center;background:#fff!important;color:#333!important}.update-success *{color:#333!important}.success-icon{font-size:48px;margin-bottom:20px;animation:successBounce .6s ease-out}@keyframes successBounce{0%{transform:scale(.3);opacity:0}50%{transform:scale(1.1)}to{transform:scale(1);opacity:1}}.success-message h3{font-size:24px;color:#28a745!important;margin:0 0 24px;font-weight:600}.update-details{background:#f8f9fa;border-radius:8px;padding:20px;margin:24px 0;text-align:left;border-left:4px solid #28a745}.update-details h4{margin:0 0 16px;color:#333;font-size:16px;font-weight:600}.update-item{display:flex;margin-bottom:12px;align-items:center;gap:8px}.update-item:last-child{margin-bottom:0}.update-item strong{min-width:140px;color:#374151;font-weight:500;font-size:14px}.update-item span{color:#555;font-size:14px}.old-value{color:#dc3545!important;text-decoration:line-through;opacity:.7}.new-value{color:#28a745!important;font-weight:600}.success-actions{display:flex;gap:12px;justify-content:center;margin-top:24px}.no-data{text-align:center;padding:40px;color:#999;font-style:italic}.name-cell{font-weight:500;color:#333}.notes-cell,.address-cell{max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.data-modal .action-icon{color:#4b5563!important}.data-modal .action-icon svg,.data-modal button svg{fill:#4b5563!important;stroke:#4b5563!important}.data-modal .modal-header,.data-modal .modal-header *{color:#fff!important}.data-modal .client-actions .btn-primary{background:#667eea!important;color:#fff!important}.data-modal .client-actions .btn-secondary{background:#6c757d!important;color:#fff!important}.data-modal .client-actions button{background:#667eea!important;color:#fff!important}.data-modal .dashboard-widget{background:#fff!important;color:#333!important;border-radius:0;margin:0;overflow:hidden}.data-modal .widget-header{background:linear-gradient(135deg,#667eea,#764ba2)!important;color:#fff!important;padding:24px 32px 20px!important;margin:0;border-radius:0}.data-modal .widget-header h3{color:#fff!important;margin:0;font-size:1.5rem;font-weight:600}.data-modal .widget-actions{background:#f8f9fa!important;padding:12px 32px!important;border-bottom:1px solid #e5e7eb;display:flex;gap:12px}.data-modal .widget-actions button{background:#667eea!important;color:#fff!important;border:none;padding:8px 16px;border-radius:6px;cursor:pointer;font-size:14px;transition:background .2s}.data-modal .widget-actions button:hover{background:#764ba2!important}.data-modal .widget-content{background:#fff!important;color:#333!important;padding:0 32px 32px}.data-modal .widget-table{width:100%;border-collapse:collapse;background:#fff!important;margin-top:24px}.data-modal .widget-table th{background:linear-gradient(135deg,#667eea,#764ba2)!important;color:#fff!important;padding:12px 16px;text-align:left!important;font-weight:600;font-size:14px;border-bottom:2px solid #e0e0e0;vertical-align:middle}.data-modal .widget-table td{background:#fff!important;color:#555!important;padding:12px 16px;text-align:left!important;border-bottom:1px solid #f0f0f0;font-size:14px;vertical-align:middle}.data-modal .widget-table tbody tr:hover,.data-modal .widget-table tbody tr:hover td{background:#f8f9fa!important}.data-modal .status-draft{background:#ffeaa7!important;color:#6c5ce7!important;padding:4px 8px;border-radius:4px;font-size:12px;font-weight:600;text-transform:uppercase}.data-modal .status-paid{background:#00b894!important;color:#fff!important;padding:4px 8px;border-radius:4px;font-size:12px;font-weight:600;text-transform:uppercase}.data-modal .status-unpaid{background:#e17055!important;color:#fff!important;padding:4px 8px;border-radius:4px;font-size:12px;font-weight:600;text-transform:uppercase}.data-modal .status-overdue{background:#f5c6cb!important;color:#721c24!important;padding:4px 8px;border-radius:4px;font-size:12px;font-weight:500}.data-modal .dashboard-widget,.data-modal .widget-table,.data-modal .widget-content{box-shadow:none!important;border:none!important}.data-modal .widget-header+.widget-actions+.widget-content h3{display:none}@media (max-width: 1024px){.data-modal{width:95%;max-width:95vw}.data-cards-grid{grid-template-columns:repeat(2,1fr);gap:16px}.client-info-grid,.entity-content{grid-template-columns:1fr}}@media (max-width: 768px){.data-modal{margin:10px!important;max-height:95vh!important;width:calc(100vw - 20px)!important;max-width:calc(100vw - 20px)!important}.modal-header,.data-modal .modal-header{padding:16px!important;flex-direction:row;flex-wrap:wrap}.modal-header h2{font-size:1.25rem!important;flex:1}.close-btn{min-width:44px;min-height:44px;font-size:20px}.date-range-banner{padding:12px 16px;flex-direction:column;align-items:flex-start;gap:8px}.date-range-text{font-size:13px}.date-range-details{font-size:12px}.modal-toolbar{flex-direction:column!important;gap:12px;padding:12px 16px!important}.toolbar-left{max-width:none!important;width:100%!important}.toolbar-right{width:100%!important;justify-content:space-between;flex-wrap:wrap;gap:8px}.search-input{font-size:16px;min-height:44px;padding:12px}.toggle-btn{min-height:44px;padding:10px 16px;font-size:13px}.export-btn{min-height:44px;padding:12px 20px}.table-wrapper{margin:0 16px 16px!important;overflow-x:auto!important;-webkit-overflow-scrolling:touch}.data-table,.data-modal .widget-table{font-size:12px!important;min-width:600px}.data-table th,.data-table td,.data-modal .widget-table th,.data-modal .widget-table td{padding:8px!important;font-size:12px!important}.data-cards-grid{grid-template-columns:1fr!important;padding:16px!important;gap:12px}.data-card{padding:16px}.card-actions{flex-wrap:wrap}.client-details{padding:16px!important}.client-info-grid{grid-template-columns:1fr!important;gap:16px}.info-section{padding:16px}.client-actions{flex-wrap:wrap}.client-actions button,.card-actions button,.btn-action,.btn-sm{min-height:44px!important;padding:12px 16px!important}.entity-header{padding:16px!important}.entity-main-title{font-size:20px!important}.entity-content{grid-template-columns:1fr!important;padding:16px!important;gap:16px}.entity-field-row{grid-template-columns:120px 1fr;gap:8px}.column-picker-dropdown{width:calc(100vw - 40px)!important}.column-picker-header,.column-picker-body,.column-picker-footer{padding:16px!important}.column-checkbox{padding:12px;min-height:48px}.data-modal .widget-header,.data-modal .widget-actions{padding:16px!important}.data-modal .widget-content{padding:0 16px 16px!important}.data-summary{margin:16px;padding:12px;font-size:14px}.search-results{padding:16px!important}.result-section h3{font-size:16px}.update-success{padding:24px 16px!important}.success-icon{font-size:40px}.success-message h3{font-size:20px!important}.update-details{padding:16px}.update-item{flex-direction:column;align-items:flex-start;gap:4px}.update-item strong{min-width:auto}}@media (max-width: 480px){.data-modal{width:100vw!important;max-width:100vw!important;margin:0!important;border-radius:0!important;max-height:100vh!important}.modal-header,.data-modal .modal-header{padding:12px!important;border-radius:0!important}.modal-header h2{font-size:1.125rem!important}.date-range-banner{padding:10px 12px}.modal-toolbar{padding:10px 12px!important}.table-wrapper{margin:0 12px 12px!important}.data-table,.data-modal .widget-table{font-size:11px!important;min-width:500px}.data-table th,.data-table td,.data-modal .widget-table th,.data-modal .widget-table td{padding:6px!important;font-size:11px!important}.data-cards-grid{padding:12px!important;gap:10px}.data-card{padding:12px}.data-card h3{font-size:16px}.client-details{padding:12px!important}.info-section{padding:12px}.info-section h3{font-size:15px}.info-item{flex-direction:column;align-items:flex-start;gap:4px}.info-item strong{min-width:auto}.entity-header{padding:12px!important}.entity-main-title{font-size:18px!important}.entity-content{padding:12px!important}.entity-field-row{grid-template-columns:1fr;gap:4px}.column-picker-dropdown{width:100vw!important;max-height:100vh!important;border-radius:0!important}.column-picker-header,.column-picker-body,.column-picker-footer,.data-modal .widget-header,.data-modal .widget-actions,.data-modal .widget-content{padding:12px!important}.data-summary{margin:12px;padding:10px;font-size:13px}.search-results{padding:12px!important}.update-success{padding:20px 12px!important}.success-icon{font-size:36px}.success-message h3{font-size:18px!important}.update-details{padding:12px}.success-actions,.client-actions,.card-actions{flex-direction:column!important;gap:8px}.success-actions button,.client-actions button,.card-actions button{width:100%!important}.view-toggle{flex-wrap:wrap}.toggle-btn{flex:1 1 auto;min-width:60px}}@media (max-width: 768px) and (hover: none) and (pointer: coarse){button,.btn-action,.btn-sm,.btn-primary,.btn-secondary,.toggle-btn,.export-btn{min-height:48px!important;min-width:48px!important}.search-input,input[type=text],input[type=email],select{min-height:48px!important;font-size:16px!important}input[type=checkbox]{min-width:20px!important;min-height:20px!important}.column-checkbox{min-height:52px!important}.column-checkbox input[type=checkbox]{width:20px!important;height:20px!important}}@media (max-width: 768px) and (orientation: landscape){.data-modal{max-height:98vh!important}.modal-header,.data-modal .modal-header{padding:10px 16px!important}.data-table th,.data-table td{padding:6px 8px!important}}.calendar-widget-wrapper{width:100%;min-height:600px;display:block}.calendar-container{width:100%;min-height:500px;display:block}.calendar-container .widget-content{display:block!important;visibility:visible!important;min-height:400px!important}.calendar-container .dashboard-widget{width:100%;min-height:500px}.entity-detail-modal{width:100%;min-height:400px;display:block;position:relative;z-index:100;background:#fff}.entity-header{padding:24px;border-bottom:1px solid #e5e7eb}.entity-title-section{margin-bottom:16px}.entity-main-title{font-size:24px;font-weight:600;color:#111827;margin:0 0 8px}.entity-subtitle{font-size:14px;color:#6b7280;margin:0 0 8px}.entity-badges{display:flex;gap:8px;margin-top:12px}.entity-content{display:grid;grid-template-columns:1fr 1fr;gap:24px;padding:24px}.content-column{display:flex;flex-direction:column;gap:16px;min-width:0}.left-column{grid-column:1}.right-column{grid-column:2}.info-card{background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;padding:16px}.card-title{font-size:16px;font-weight:600;color:#111827;margin:0 0 12px}.entity-field-row{display:grid;grid-template-columns:140px 1fr;gap:12px;padding:8px 0;border-bottom:1px solid #f3f4f6}.entity-field-row:last-child{border-bottom:none}.entity-field-label{font-weight:500;color:#6b7280;font-size:14px}.entity-field-value{color:#111827;font-size:14px;word-break:break-word}.entity-empty-state{padding:64px 32px;text-align:center}.empty-icon{font-size:48px;margin-bottom:16px}.empty-message{font-size:18px;font-weight:600;color:#111827;margin-bottom:8px}.empty-description{font-size:14px;color:#6b7280}.status-badge{display:inline-flex;align-items:center;padding:4px 12px;font-size:12px;font-weight:600;border-radius:20px;text-transform:uppercase;letter-spacing:.05em}.status-new{background-color:#dbeafe;color:#1e40af}.status-approved{background-color:#d1fae5;color:#065f46}.status-on-hold{background-color:#fef3c7;color:#92400e}.status-converted{background-color:#d1fae5;color:#065f46}.status-scheduled{background-color:#dbeafe;color:#1e40af}.status-in-progress{background-color:#fef3c7;color:#92400e}.status-needs-reschedule{background-color:#fee2e2;color:#991b1b}.status-completed{background-color:#d1fae5;color:#065f46}.status-cancelled{background-color:#f3f4f6;color:#6b7280}.status-draft{background-color:#fef3c7;color:#92400e}.status-sent{background-color:#dbeafe;color:#1e40af}.status-paid{background-color:#d1fae5;color:#065f46}.status-overdue{background-color:#fee2e2;color:#991b1b}@media (max-width: 768px){.entity-content{grid-template-columns:1fr}.left-column,.right-column{grid-column:1}.entity-field-row{grid-template-columns:1fr;gap:4px}}.column-picker-controls{display:flex;justify-content:flex-end;padding:8px 16px;margin-bottom:8px}.btn-column-picker{padding:8px 16px;background:#667eea;color:#fff;border:none;border-radius:6px;cursor:pointer;font-size:14px;font-weight:500;transition:all .2s;display:flex;align-items:center;gap:6px}.btn-column-picker:hover{background:#5568d3;transform:translateY(-1px);box-shadow:0 4px 12px #667eea4d}.btn-column-picker:active{transform:translateY(0)}.column-picker-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:2000;animation:fadeIn .2s ease-out}.column-picker-dropdown{background:#fff;border-radius:12px;width:400px;max-width:90vw;max-height:80vh;display:flex;flex-direction:column;box-shadow:0 20px 60px #0000004d;animation:slideDown .2s ease-out}@keyframes slideDown{0%{opacity:0;transform:translateY(-20px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}.column-picker-header{display:flex;justify-content:space-between;align-items:center;padding:20px 24px;border-bottom:1px solid #e2e8f0;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:12px 12px 0 0}.column-picker-header h3{margin:0;font-size:18px;font-weight:600;color:#fff!important}.btn-close{background:#fff3;border:none;color:#fff;font-size:24px;line-height:1;width:32px;height:32px;border-radius:50%;cursor:pointer;transition:all .2s;display:flex;align-items:center;justify-content:center;padding:0}.btn-close:hover{background:#ffffff4d;transform:rotate(90deg)}.column-picker-body{padding:20px 24px;overflow-y:auto;flex:1;max-height:400px}.column-checkbox{display:flex;align-items:center;padding:12px;margin-bottom:8px;border-radius:6px;cursor:pointer;transition:all .2s;-webkit-user-select:none;user-select:none}.column-checkbox:hover{background:#f8f9fa}.column-checkbox input[type=checkbox]{width:18px;height:18px;margin:0 12px 0 0;cursor:pointer;accent-color:#667eea}.column-checkbox span{font-size:14px;color:#333!important;font-weight:500}.column-checkbox:hover span{color:#667eea!important}.column-picker-footer{display:flex;justify-content:space-between;gap:12px;padding:16px 24px;border-top:1px solid #e2e8f0;background:#f8f9fa;border-radius:0 0 12px 12px}.btn-reset,.btn-apply{flex:1;padding:10px 20px;border:none;border-radius:6px;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s}.btn-reset{background:#fff;color:#666;border:1px solid #ddd}.btn-reset:hover{background:#f0f0f0;border-color:#bbb;transform:translateY(-1px);box-shadow:0 2px 8px #0000001a}.btn-apply{background:#28a745;color:#fff}.btn-apply:hover{background:#218838;transform:translateY(-1px);box-shadow:0 4px 12px #28a7454d}.btn-reset:active,.btn-apply:active{transform:translateY(0)}@media (max-width: 768px){.column-picker-dropdown{width:95vw;max-height:90vh}.column-picker-header,.column-picker-body,.column-picker-footer{padding:16px}.column-checkbox{padding:10px}}.schema-widget-container{padding:24px;width:100%;overflow-x:hidden}.modal-schema-widget{width:100%}.schema-widget-container .dynamic-widget--chart{min-height:300px;max-height:500px}.schema-widget-container .dynamic-widget--kpidashboard{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px}.schema-widget-container .dynamic-widget--datatable{overflow-x:auto}.schema-widget-container .dynamic-widget--datatable table{width:100%;border-collapse:collapse}.schema-widget-container .dynamic-widget--datatable th,.schema-widget-container .dynamic-widget--datatable td{padding:12px;text-align:left;border-bottom:1px solid #e5e7eb}.schema-widget-container .dynamic-widget--datatable th{background:#f8fafc;font-weight:600;color:#374151}.schema-widget-container .dynamic-widget--datatable tr:hover{background:#f9fafb}.entity-detail-modal{background:#fff;width:100%;height:100%;display:flex;flex-direction:column;animation:entityModalFadeIn .3s ease-out}.entity-detail-modal *{box-sizing:border-box}@keyframes entityModalFadeIn{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.entity-header{padding:28px 32px;background:linear-gradient(135deg,#667eea,#764ba2);border-bottom:2px solid rgba(255,255,255,.1)}.entity-title-section{display:flex;flex-direction:column;gap:12px}.entity-main-title{font-size:1.75rem;font-weight:700;color:#fff;margin:0;line-height:1.2}.entity-subtitle{font-size:.875rem;color:#ffffffe6;margin:0}.entity-badges{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.status-badge{display:inline-flex;align-items:center;padding:6px 14px;border-radius:20px;font-size:.813rem;font-weight:600;text-transform:capitalize;letter-spacing:.025em;transition:all .2s ease}.status-badge:hover{transform:translateY(-1px);box-shadow:0 2px 8px #00000026}.status-scheduled{background:linear-gradient(135deg,#dbeafe,#bfdbfe);color:#1e40af}.status-in-progress{background:linear-gradient(135deg,#fef3c7,#fde68a);color:#92400e}.status-completed{background:linear-gradient(135deg,#d1fae5,#a7f3d0);color:#065f46}.status-cancelled{background:linear-gradient(135deg,#fee2e2,#fecaca);color:#991b1b}.status-on-hold{background:linear-gradient(135deg,#e5e7eb,#d1d5db);color:#4b5563}.status-needs-reschedule{background:linear-gradient(135deg,#fce7f3,#fbcfe8);color:#9f1239}.status-draft{background:linear-gradient(135deg,#f3f4f6,#e5e7eb);color:#6b7280}.status-sent{background:linear-gradient(135deg,#dbeafe,#bfdbfe);color:#1e40af}.status-paid{background:linear-gradient(135deg,#d1fae5,#a7f3d0);color:#065f46}.status-overdue{background:linear-gradient(135deg,#fee2e2,#fecaca);color:#991b1b}.status-new{background:linear-gradient(135deg,#e0e7ff,#c7d2fe);color:#3730a3}.status-approved{background:linear-gradient(135deg,#d1fae5,#a7f3d0);color:#065f46}.status-converted{background:linear-gradient(135deg,#fef3c7,#fde68a);color:#92400e}.entity-content{flex:1;overflow-y:auto;padding:32px;display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,350px);gap:24px;overflow-x:hidden;width:100%;background:#fafafa}.content-column{display:flex;flex-direction:column;gap:20px;min-width:0;width:100%}.left-column{overflow:hidden;min-width:0}.info-card{background:#fff;border:1px solid #e5e7eb;border-radius:10px;padding:24px;width:100%;overflow:hidden;box-shadow:0 1px 3px #0000000d}.card-title{font-size:16px;font-weight:700;color:#111827;margin:0 0 20px;padding-bottom:12px;border-bottom:2px solid #f3f4f6}.info-row{display:flex;flex-direction:column;margin-bottom:18px;max-width:100%}.info-row:last-child{margin-bottom:0}.info-label{font-weight:600;color:#4b5563;font-size:12px;text-transform:uppercase;letter-spacing:.5px;margin-bottom:6px;display:block}.info-value{color:#1f2937;font-size:15px;line-height:1.4;word-wrap:break-word;overflow-wrap:break-word;display:block}.info-value.empty{color:#9ca3af;font-style:italic}.info-link{color:#2563eb;text-decoration:none;font-size:15px;word-break:break-word;display:inline-block;max-width:100%;transition:color .2s}.info-link:hover{color:#1d4ed8;text-decoration:underline}.info-value.currency{font-size:18px;font-weight:600;color:#059669}.info-value.date{font-family:SF Mono,Monaco,Inconsolata,Roboto Mono,monospace;font-size:14px;color:#4b5563}.metadata-section{padding:16px 24px;background:#fafbfc;border-top:1px solid #e2e8f0;display:flex;gap:24px;flex-wrap:wrap}.metadata-item{display:flex;flex-direction:column;gap:4px}.metadata-label{font-size:.688rem;font-weight:600;color:#94a3b8;text-transform:uppercase;letter-spacing:.05em}.metadata-value{font-size:.813rem;color:#64748b;font-family:SF Mono,Monaco,Inconsolata,Roboto Mono,monospace}.entity-empty-state{text-align:center;padding:48px 24px;color:#94a3b8}.entity-empty-state .empty-icon{font-size:3rem;margin-bottom:16px;opacity:.5}.entity-empty-state .empty-message{font-size:1.125rem;font-weight:500;margin-bottom:8px}.entity-empty-state .empty-description{font-size:.875rem;color:#cbd5e1}@media (max-width: 1024px){.entity-content{grid-template-columns:1fr;padding:24px}.entity-header{padding:24px}}@media (max-width: 768px){.entity-header{padding:20px}.entity-main-title{font-size:1.5rem}.entity-content{padding:16px}.info-card{padding:20px}.card-title{font-size:14px;margin-bottom:16px}.info-row{margin-bottom:14px}.metadata-section{padding:12px 16px;gap:16px}}@media (max-width: 480px){.entity-main-title{font-size:1.25rem}.entity-subtitle{font-size:.813rem}.status-badge{font-size:.75rem;padding:4px 10px}.field-value{font-size:.875rem}}.client-overview-modal__overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;display:flex;align-items:center;justify-content:center;padding:24px;background:#0f172a9e;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.client-overview-modal__surface{position:relative;width:min(1120px,100%);max-height:92vh;overflow-x:hidden;overflow-y:auto;border:1px solid rgba(148,163,184,.22);border-radius:24px;background:#fff;box-shadow:0 28px 90px #0f172a57;animation:clientOverviewModalIn .22s ease-out}.client-overview-modal__surface,.client-overview-modal__surface *{box-sizing:border-box}@keyframes clientOverviewModalIn{0%{opacity:0;transform:translateY(16px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}.client-overview-modal__hero{position:relative;overflow:hidden;padding:28px 32px 30px;border-bottom:1px solid rgba(129,140,248,.28);background:radial-gradient(circle at top right,rgba(255,255,255,.22),transparent 32%),linear-gradient(135deg,#1d4ed8,#4338ca 48%,#7c3aed);color:#fff}.client-overview-modal__hero-glow{position:absolute;border-radius:999px;pointer-events:none}.client-overview-modal__hero-glow--one{top:-120px;right:-90px;width:280px;height:280px;background:#ffffff24;filter:blur(32px)}.client-overview-modal__hero-glow--two{right:22%;bottom:-58px;width:180px;height:180px;background:#f472b629;filter:blur(28px)}.client-overview-modal__hero-row,.client-overview-modal__hero-actions{position:relative;z-index:1}.client-overview-modal__hero-row{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.client-overview-modal__identity{display:flex;min-width:0;align-items:flex-start;gap:16px}.client-overview-modal__avatar{display:flex;width:56px;height:56px;flex:0 0 auto;align-items:center;justify-content:center;border:1px solid rgba(255,255,255,.24);border-radius:18px;background:#ffffff26;color:#fff;font-size:1.05rem;font-weight:700;letter-spacing:.06em;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.client-overview-modal__identity-copy{min-width:0}.client-overview-modal__title-row{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.client-overview-modal__title{margin:0;color:#fff;font-size:1.9rem;font-weight:700;line-height:1.1;letter-spacing:-.02em;overflow-wrap:anywhere;word-break:break-word}.client-overview-modal__identity-subtitle{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:10px;color:#e0e7fffa;font-size:.92rem}.client-overview-modal__account-badge{display:inline-flex;align-items:center;padding:5px 10px;border-radius:999px;border:1px solid rgba(255,255,255,.22);background:#0f172a2e;font-size:.72rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase}.client-overview-modal__subtitle-copy{min-width:0;overflow-wrap:anywhere;word-break:break-word}.client-overview-modal__status{display:inline-flex;align-items:center;gap:8px;padding:6px 11px;border-radius:999px;border:1px solid rgba(255,255,255,.24);background:#ffffff24;font-size:.74rem;font-weight:600;text-transform:capitalize}.client-overview-modal__status--active{background:#10b98129;border-color:#6ee7b759}.client-overview-modal__status--prospect{background:#facc1529;border-color:#fde04759}.client-overview-modal__status--inactive,.client-overview-modal__status--archived{background:#94a3b829;border-color:#e2e8f047}.client-overview-modal__status-dot{width:7px;height:7px;border-radius:999px;background:currentColor}.client-overview-modal__meta{display:flex;flex-wrap:wrap;gap:12px 20px;margin-top:12px;color:#e0e7fffa;font-size:.92rem}.client-overview-modal__meta span{display:inline-flex;align-items:center;gap:8px;min-width:0;overflow-wrap:anywhere;word-break:break-word}.client-overview-modal__meta-link{display:inline-flex;align-items:center;gap:8px;min-width:0;color:inherit;text-decoration:none;overflow-wrap:anywhere;word-break:break-word}.client-overview-modal__meta-link:hover{color:#fff;text-decoration:underline;-webkit-text-decoration-color:rgba(255,255,255,.72);text-decoration-color:#ffffffb8}.client-overview-modal__meta svg{flex:0 0 auto}.client-overview-modal__close{display:inline-flex;width:38px;height:38px;flex:0 0 auto;align-items:center;justify-content:center;border:1px solid rgba(255,255,255,.18);border-radius:12px;background:#ffffff1a;color:#fff;cursor:pointer;transition:background-color .16s ease,transform .16s ease}.client-overview-modal__close:hover{background:#ffffff2e;transform:translateY(-1px)}.client-overview-modal__hero-actions{display:flex;justify-content:space-between;gap:16px;margin-top:22px}.client-overview-modal__hero-buttons{display:flex;flex-wrap:wrap;gap:10px}.client-overview-modal__primary-action,.client-overview-modal__secondary-action{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:38px;padding:0 14px;border-radius:12px;font-size:.88rem;font-weight:600;text-decoration:none;transition:transform .16s ease,background-color .16s ease,border-color .16s ease}.client-overview-modal__primary-action{border:none;background:#fff;color:#3730a3;cursor:pointer}.client-overview-modal__primary-action:hover{background:#eef2ff;transform:translateY(-1px)}.client-overview-modal__secondary-action{border:1px solid rgba(255,255,255,.22);background:#ffffff1a;color:#fff}.client-overview-modal__secondary-action:hover{background:#ffffff29;transform:translateY(-1px)}.client-overview-modal__metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-bottom:1px solid #e2e8f0;background:#fff}.client-overview-modal__metric-card{padding:22px 22px 20px;border-right:1px solid #e2e8f0}.client-overview-modal__metric-card:last-child{border-right:none}.client-overview-modal__metric-icon{display:inline-flex;width:34px;height:34px;align-items:center;justify-content:center;border-radius:11px;margin-bottom:14px}.client-overview-modal__metric-icon--revenue{background:#dcfce7;color:#15803d}.client-overview-modal__metric-icon--projects{background:#dbeafe;color:#2563eb}.client-overview-modal__metric-icon--contact{background:#fef3c7;color:#b45309}.client-overview-modal__metric-icon--health{background:#ede9fe;color:#6d28d9}.client-overview-modal__metric-value{color:#0f172a;font-size:1.35rem;font-weight:700;line-height:1.1}.client-overview-modal__metric-label{margin-top:8px;color:#64748b;font-size:.9rem}.client-overview-modal__metric-meta{margin-top:8px;color:#475569;font-size:.8rem;font-weight:600}.client-overview-modal__metric-meta--healthy{color:#15803d}.client-overview-modal__metric-meta--watch{color:#b45309}.client-overview-modal__metric-meta--risk{color:#b91c1c}.client-overview-modal__body{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,320px);min-width:0}.client-overview-modal__main{min-width:0;padding:28px 32px 32px}.client-overview-modal__rail{min-width:0;padding:28px 28px 32px;border-left:1px solid #e2e8f0;background:linear-gradient(180deg,#f8fafce0,#fffffffa)}.client-overview-modal__main,.client-overview-modal__rail{display:flex;flex-direction:column;gap:24px}.client-overview-modal__panel,.client-overview-modal__side-panel{min-width:0}.client-overview-modal__panel-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.client-overview-modal__panel-title{margin:0;color:#0f172a;font-size:1rem;font-weight:700}.client-overview-modal__panel-subtitle{margin:6px 0 0;color:#64748b;font-size:.9rem;line-height:1.5}.client-overview-modal__text-link{border:none;padding:0;background:transparent;color:#4338ca;font-size:.88rem;font-weight:600;cursor:pointer}.client-overview-modal__detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 24px;margin:20px 0 0}.client-overview-modal__detail-item{min-width:0}.client-overview-modal__detail-item dt{margin:0;color:#94a3b8;font-size:.73rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.client-overview-modal__detail-item dd{margin:8px 0 0;color:#1e293b;font-size:.94rem;font-weight:600;overflow-wrap:anywhere}.client-overview-modal__note{margin-top:22px;padding:16px 18px;border:1px solid #e2e8f0;border-radius:16px;background:#f8fafc}.client-overview-modal__note-label{margin-bottom:8px;color:#64748b;font-size:.78rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.client-overview-modal__note p{margin:0;color:#334155;font-size:.92rem;line-height:1.6;white-space:pre-wrap}.client-overview-modal__business-contact{margin-top:22px;padding:16px 18px;border:1px solid #dbeafe;border-radius:16px;background:linear-gradient(180deg,#eff6ff,#f8fafc)}.client-overview-modal__business-contact-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 16px;margin-top:10px;color:#334155;font-size:.92rem}.client-overview-modal__business-contact-grid span{min-width:0;overflow-wrap:anywhere;word-break:break-word}.client-overview-modal__project-list{display:flex;flex-direction:column;gap:14px;margin-top:18px}.client-overview-modal__project-card{padding:18px;border:1px solid #e2e8f0;border-radius:18px;background:#fff}.client-overview-modal__project-top{display:flex;justify-content:space-between;gap:16px}.client-overview-modal__project-top h4{margin:0;color:#0f172a;font-size:.95rem;font-weight:700}.client-overview-modal__project-top p{margin:6px 0 0;color:#64748b;font-size:.86rem}.client-overview-modal__pill{display:inline-flex;align-items:center;justify-content:center;height:28px;padding:0 11px;border-radius:999px;font-size:.74rem;font-weight:700;white-space:nowrap}.client-overview-modal__pill--healthy{background:#dcfce7;color:#15803d}.client-overview-modal__pill--watch{background:#fef3c7;color:#b45309}.client-overview-modal__pill--muted{background:#e2e8f0;color:#475569}.client-overview-modal__project-progress{margin-top:16px}.client-overview-modal__project-progress-row{display:flex;justify-content:space-between;margin-bottom:8px;color:#64748b;font-size:.78rem;font-weight:600}.client-overview-modal__progress-track{height:8px;overflow:hidden;border-radius:999px;background:#e2e8f0}.client-overview-modal__progress-fill{height:100%;min-width:8px;border-radius:inherit;background:linear-gradient(90deg,#4f46e5,#2563eb)}.client-overview-modal__custom-fields{margin-top:18px}.client-overview-modal__action-list{display:flex;flex-direction:column;gap:12px;margin-top:18px}.client-overview-modal__action-card{display:flex;align-items:center;gap:14px;width:100%;padding:16px 16px 16px 14px;border:1px solid #e2e8f0;border-radius:18px;background:#fff;color:#0f172a;text-align:left;cursor:pointer;box-shadow:0 8px 24px #0f172a0d;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}.client-overview-modal__action-card:hover{transform:translateY(-1px);border-color:#c7d2fe;box-shadow:0 12px 28px #4f46e51f}.client-overview-modal__action-icon{display:inline-flex;width:38px;height:38px;flex:0 0 auto;align-items:center;justify-content:center;border-radius:14px;background:linear-gradient(135deg,#e0e7ff,#dbeafe);color:#4338ca}.client-overview-modal__action-copy{display:flex;min-width:0;flex:1 1 auto;flex-direction:column}.client-overview-modal__action-label{color:#0f172a;font-size:.92rem;font-weight:700}.client-overview-modal__action-detail{margin-top:4px;color:#64748b;font-size:.81rem;line-height:1.4;overflow-wrap:anywhere;word-break:break-word}.client-overview-modal__activity-list{position:relative;display:flex;flex-direction:column;gap:16px;margin:18px 0 0;padding:0;list-style:none}.client-overview-modal__activity-item{position:relative;display:flex;gap:12px}.client-overview-modal__activity-icon{position:relative;z-index:1;display:inline-flex;width:28px;height:28px;flex:0 0 auto;align-items:center;justify-content:center;border-radius:999px}.client-overview-modal__activity-icon--payment{background:#dcfce7;color:#15803d}.client-overview-modal__activity-icon--project{background:#dbeafe;color:#2563eb}.client-overview-modal__activity-icon--quote{background:#ede9fe;color:#6d28d9}.client-overview-modal__activity-icon--message{background:#fef3c7;color:#b45309}.client-overview-modal__activity-line{position:absolute;left:13px;top:28px;width:1px;height:calc(100% + 8px);background:#e2e8f0}.client-overview-modal__activity-copy p{margin:0;color:#0f172a;font-size:.9rem;font-weight:600}.client-overview-modal__activity-copy span{display:block;margin-top:4px;color:#64748b;font-size:.84rem;line-height:1.45}.client-overview-modal__activity-copy small{display:block;margin-top:6px;color:#94a3b8;font-size:.76rem}.client-overview-modal__health-card{display:flex;gap:14px;padding:18px;border:1px solid;border-radius:18px}.client-overview-modal__health-card--healthy{background:#ecfdf5;border-color:#a7f3d0;color:#166534}.client-overview-modal__health-card--watch{background:#fffbeb;border-color:#fde68a;color:#92400e}.client-overview-modal__health-card--risk{background:#fef2f2;border-color:#fecaca;color:#991b1b}.client-overview-modal__health-icon{display:inline-flex;width:36px;height:36px;flex:0 0 auto;align-items:center;justify-content:center;border-radius:12px;background:#ffffff8c}.client-overview-modal__health-title{margin-bottom:6px;font-size:.94rem;font-weight:700}.client-overview-modal__health-card p{margin:0;font-size:.85rem;line-height:1.55}.client-overview-modal__empty{padding:18px;border:1px dashed #cbd5e1;border-radius:16px;background:#f8fafc;color:#64748b;font-size:.9rem}.client-overview-modal__empty--compact{padding:14px}.client-overview-modal__footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 32px 24px;border-top:1px solid #e2e8f0;background:#fff}.client-overview-modal__footer p{margin:0;color:#94a3b8;font-size:.76rem}.client-overview-modal__footer-actions{display:flex;gap:10px}.client-overview-modal__footer-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:38px;padding:0 16px;border-radius:12px;font-size:.88rem;font-weight:600;cursor:pointer;transition:background-color .16s ease,transform .16s ease}.client-overview-modal__footer-button--secondary{border:1px solid #cbd5e1;background:#fff;color:#334155}.client-overview-modal__footer-button--secondary:hover{background:#f8fafc}.client-overview-modal__footer-button--primary{border:none;background:#0f172a;color:#fff}.client-overview-modal__footer-button--primary:hover{background:#1e293b;transform:translateY(-1px)}@media (max-width: 1024px){.client-overview-modal__body{grid-template-columns:minmax(0,1fr)}.client-overview-modal__rail{border-top:1px solid #e2e8f0;border-left:none}.client-overview-modal__metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.client-overview-modal__business-contact-grid{grid-template-columns:minmax(0,1fr)}}@media (max-width: 768px){.client-overview-modal__overlay{padding:10px}.client-overview-modal__surface{width:calc(100vw - 20px);max-height:95vh;border-radius:22px}.client-overview-modal__hero{padding:22px 18px 20px}.client-overview-modal__hero-row{flex-direction:column}.client-overview-modal__identity{width:100%}.client-overview-modal__title{font-size:1.55rem}.client-overview-modal__meta{font-size:.86rem}.client-overview-modal__hero-buttons{width:100%}.client-overview-modal__primary-action,.client-overview-modal__secondary-action{flex:1 1 100%}.client-overview-modal__metric-grid{grid-template-columns:1fr}.client-overview-modal__metric-card{border-right:none;border-bottom:1px solid #e2e8f0}.client-overview-modal__metric-card:last-child{border-bottom:none}.client-overview-modal__main,.client-overview-modal__rail{padding:20px 18px}.client-overview-modal__detail-grid{grid-template-columns:1fr;gap:16px}.client-overview-modal__project-top{flex-direction:column}.client-overview-modal__footer{flex-direction:column-reverse;align-items:stretch;padding:16px 18px 20px}.client-overview-modal__footer-actions{width:100%;flex-direction:column}.client-overview-modal__footer-button{width:100%}}@media (max-width: 480px){.client-overview-modal__overlay{padding:0}.client-overview-modal__surface{width:100vw;max-width:100vw;max-height:100vh;border:none;border-radius:0}.client-overview-modal__hero,.client-overview-modal__main,.client-overview-modal__rail,.client-overview-modal__footer{padding-left:14px;padding-right:14px}.client-overview-modal__hero{padding-top:18px}.client-overview-modal__title{font-size:1.35rem}}.quote-document-view{max-width:60rem;margin:0 auto;background:#fff;box-shadow:0 10px 15px -3px #0000001a;border-radius:.75rem;overflow-x:hidden;padding:3rem}.quote-document-view.public{box-shadow:none;border:1px solid rgb(229,231,235)}.quote-document-status{border-radius:.5rem;margin-bottom:1.5rem;padding:1rem;text-align:center}.quote-document-status h3{margin:0 0 .5rem}.quote-document-status p{margin:.25rem 0}.quote-document-status.approved{background:#dcfce7;color:#166534}.quote-document-status.rejected{background:#fee2e2;color:#991b1b}.quote-document-header{display:flex;justify-content:space-between;align-items:flex-start;gap:2rem;margin-bottom:2rem;padding-bottom:1.5rem;border-bottom:1px solid rgb(229,231,235)}.quote-document-company h1{font-size:1.875rem;font-weight:700;color:#1f2937;margin:0 0 .5rem}.quote-document-company-address{font-size:.875rem;color:#4b5563;line-height:1.4;white-space:pre-wrap}.quote-document-company-logo{border-radius:.375rem;margin-bottom:.5rem;max-width:120px;height:60px;object-fit:contain}.quote-document-number-section{text-align:right;min-width:14rem}.quote-document-number-section h2{font-size:1.125rem;font-weight:600;color:#4b5563;margin:0 0 .5rem}.quote-document-number{font-size:1.5rem;font-weight:700;color:#1f2937;margin-bottom:.25rem}.quote-document-dates{font-size:.875rem;color:#4b5563;line-height:1.5}.quote-document-client-section{display:grid;grid-template-columns:1fr 1fr;gap:2rem;margin-bottom:2rem}.quote-document-client-section.single-column{grid-template-columns:1fr}.quote-document-box h3,.quote-document-services-section h3,.quote-document-notes h4{font-size:1.125rem;font-weight:600;color:#1f2937;margin:0 0 1rem}.quote-document-info{font-size:.875rem;color:#4b5563;line-height:1.5}.quote-document-info div{margin-bottom:.25rem}.quote-document-message{background:#eff6ff;border:1px solid rgb(191,219,254);border-radius:.5rem;color:#1e40af;line-height:1.5;margin-bottom:1.25rem;padding:.75rem 1rem;white-space:pre-wrap}.quote-document-table-wrap{max-width:100%;overflow-x:auto;padding-bottom:.25rem;-webkit-overflow-scrolling:touch}.quote-document-services-table{table-layout:fixed;width:100%;min-width:680px;border-collapse:collapse;margin-bottom:1rem}.quote-document-services-table th,.quote-document-services-table td{padding:.75rem;text-align:left;border-bottom:1px solid rgb(229,231,235)}.quote-document-services-table th{background:#f9fafb;font-weight:600;color:#4b5563;font-size:.875rem}.quote-document-services-table td{color:#1f2937}.quote-document-services-table th:nth-child(1){width:28%}.quote-document-services-table th:nth-child(2){width:34%}.quote-document-services-table th:nth-child(3){width:10%}.quote-document-services-table th:nth-child(4),.quote-document-services-table th:nth-child(5){width:14%}.quote-document-services-table th:nth-child(1),.quote-document-services-table th:nth-child(2),.quote-document-services-table td:nth-child(1),.quote-document-services-table td:nth-child(2){word-break:break-word}.quote-document-services-table th:nth-child(3),.quote-document-services-table th:nth-child(4),.quote-document-services-table th:nth-child(5),.quote-document-services-table td:nth-child(3),.quote-document-services-table td:nth-child(4),.quote-document-services-table td:nth-child(5){padding-right:1rem;text-align:right;white-space:nowrap}.quote-document-empty-row{color:#9ca3af!important;text-align:center!important}.quote-document-total-section{display:flex;justify-content:flex-end;margin-top:1.5rem;padding-right:1rem;padding-top:1rem}.quote-document-total-box{display:flex;flex-direction:column;gap:.5rem;width:min(100%,20rem)}.quote-document-total-row{display:flex;justify-content:space-between;gap:2rem;color:#4b5563;font-size:1rem}.quote-document-total-row strong{color:#1f2937}.quote-document-grand-total{border-top:2px solid rgb(31,41,55);margin-top:.5rem;padding-top:.5rem}.quote-document-grand-total span,.quote-document-grand-total strong{color:#1f2937;font-size:1.25rem;font-weight:700}.quote-document-notes{margin-top:1.5rem;width:100%}.quote-document-notes div{font-size:.875rem;color:#4b5563;line-height:1.4;padding:.75rem;border:1px solid rgb(229,231,235);border-radius:.375rem;background:#f9fafb;white-space:pre-wrap}@media (max-width: 720px){.quote-document-view{padding:1.25rem}.quote-document-header,.quote-document-client-section{grid-template-columns:1fr;flex-direction:column}.quote-document-number-section{min-width:0;text-align:left}.quote-document-services-table{font-size:.8125rem;min-width:600px}.quote-document-services-table th,.quote-document-services-table td{padding:.5rem}.quote-document-total-section{justify-content:stretch;padding-right:.75rem}.quote-document-total-box{min-width:0;width:100%}}.ai-terminal-container{min-height:100vh;font-family:system-ui,-apple-system,sans-serif;display:flex;flex-direction:column;align-items:center;padding:2rem 1rem}.ai-terminal-container[data-theme=dark]{background:#171717;background-image:url(https://images.unsplash.com/photo-1542281286-9e0a16bb7366?auto=format&fit=crop&w=1050&q=60);background-size:cover;background-position:center;background-attachment:fixed;color:#ffffffe6}.ai-terminal-container[data-theme=light]{background:#f3f4f6;background-image:none;color:#1f2937}.ai-terminal-container[data-theme=light] .failed-queries-button,.ai-terminal-container[data-theme=light] .clear-chat-button{color:#1f2937;border-color:#11182740}.ai-terminal-container[data-theme=light] .failed-queries-button:hover,.ai-terminal-container[data-theme=light] .settings-button:hover{background:#0000000f;border-color:#11182759}.ai-terminal-container[data-theme=light] .clear-chat-button:hover{background:#ef44441a;border-color:#ef444459;color:#991b1b}.ai-terminal-container[data-theme=gradient]{background:linear-gradient(135deg,#667eea,#764ba2);color:#ffffffe6}.ai-terminal-container[data-theme=custom]{--ai-term-grad-a: #667eea;--ai-term-grad-b: #764ba2;background-image:var( --ai-term-bg-image, linear-gradient(135deg, var(--ai-term-grad-a), var(--ai-term-grad-b)) );background-size:cover;background-position:center;background-attachment:fixed;color:#ffffffe6}.widget-container{margin:16px 0;border-radius:12px;overflow:hidden;box-shadow:0 4px 12px #0000004d;background:#fffffff2;color:#1f2937}.modal-container{background:#fff;border-radius:12px;width:100%;max-width:1200px;max-height:90vh;overflow-x:hidden;overflow-y:auto;box-shadow:0 20px 60px #0000004d;margin:20px}.modal-container,.modal-container *{box-sizing:border-box}.modal-container.search-modal{max-width:1400px}.widget-modal{background:#fff;border-radius:16px;max-width:1000px;width:100%;max-height:90vh;overflow-y:auto;overflow-x:hidden;box-shadow:0 20px 60px #0003;animation:modalSlideIn .3s ease-out;display:flex;flex-direction:column}.widget-modal,.widget-modal *{box-sizing:border-box}@keyframes modalSlideIn{0%{opacity:0;transform:translateY(-20px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}.modal-header{display:flex;align-items:center;justify-content:space-between;padding:24px 32px;border-bottom:1px solid #e5e7eb;background:linear-gradient(135deg,#2563eb,#1d4ed8);color:#fff}.modal-header h2{margin:0;font-size:1.5rem;font-weight:600}.modal-close{background:none;border:none;color:#fff;font-size:2rem;cursor:pointer;padding:4px 8px;border-radius:4px;transition:background-color .2s}.modal-close:hover{background:#ffffff1a}.modal-content{padding:0;background:#fff;min-width:0;width:100%;flex:1;min-height:0}.widget-modal .modal-content{padding:0;margin:0;overflow:visible;flex:1;min-height:0}.widget-modal .widget-renderer{width:100%;min-width:0;margin:0;padding:16px;overflow:visible}.widget-modal .dashboard-widget{width:100%;max-width:100%;min-width:0;word-wrap:break-word;overflow-wrap:break-word;margin:0;overflow:visible}.ai-terminal-content{width:100%;max-width:64rem;display:flex;flex-direction:column;gap:2.5rem}.ai-terminal-header{display:flex;align-items:center;justify-content:space-between}.header-buttons{display:flex;align-items:center;gap:1rem}.failed-queries-button{display:flex;align-items:center;gap:.25rem;border-radius:.5rem;border:1px solid rgba(64,64,64,.6);padding:.375rem .75rem;font-size:.875rem;font-weight:500;background:transparent;color:#ffffffe6;cursor:pointer;transition:all .2s ease}.failed-queries-button:hover{background:#ffffff1a;border-color:#ffffff4d}.clear-chat-button{display:flex;align-items:center;gap:.25rem;border-radius:.5rem;border:1px solid rgba(64,64,64,.6);padding:.375rem .75rem;font-size:.875rem;font-weight:500;background:transparent;color:#ffffffe6;cursor:pointer;transition:all .2s ease;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.clear-chat-button:hover{background:#ef44441a;border-color:#ef44444d;color:#fff;transform:translateY(-1px)}.settings-dropdown{position:relative}.settings-panel{position:absolute;top:100%;right:0;margin-top:.5rem;background:#000000f2;border:1px solid rgba(255,255,255,.2);border-radius:.5rem;padding:1rem;min-width:300px;z-index:1000;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.settings-panel h3{margin:0 0 1rem;font-size:1rem;font-weight:600;color:#ffffffe6}.setting-item{margin-bottom:1rem}.setting-content{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem}.setting-info{flex:1}.setting-info label{display:block;font-size:.875rem;font-weight:500;color:#ffffffe6;margin-bottom:.25rem}.setting-info p{font-size:.75rem;color:#fff9;margin:0;line-height:1.4}.toggle-switch{position:relative;display:inline-block;width:44px;height:24px;flex-shrink:0}.toggle-switch input{opacity:0;width:0;height:0}.toggle-switch .slider{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:#fff3;transition:.4s;border-radius:24px}.toggle-switch .slider:before{position:absolute;content:"";height:18px;width:18px;left:3px;bottom:3px;background-color:#fff;transition:.4s;border-radius:50%}.toggle-switch input:checked+.slider{background-color:#3b82f6}.toggle-switch input:checked+.slider:before{transform:translate(20px)}.setting-actions{display:flex;justify-content:flex-end;border-top:1px solid rgba(255,255,255,.1);padding-top:1rem}.close-settings-btn{background:transparent;border:1px solid rgba(255,255,255,.2);color:#ffffffe6;padding:.375rem .75rem;border-radius:.375rem;font-size:.875rem;cursor:pointer;transition:all .2s ease}.close-settings-btn:hover{background:#ffffff1a}.ai-terminal-title{font-size:1.875rem;font-weight:600;line-height:1.25;letter-spacing:-.025em}.settings-button{display:flex;align-items:center;gap:.25rem;border-radius:.5rem;border:1px solid rgba(64,64,64,.6);padding:.375rem .75rem;font-size:.875rem;font-weight:500;background:transparent;color:inherit;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);cursor:pointer;transition:all .15s}.settings-button:hover{background:#ffffff1a;border-color:#ffffff4d;transform:translateY(-1px)}.settings-button svg{width:1rem;height:1rem;stroke-width:1.5}.ai-terminal-chat{position:relative;display:flex;flex-direction:column;height:65vh;border-radius:1.5rem;overflow:hidden;background:#40404066;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);box-shadow:0 25px 50px -12px #00000040;border:1px solid rgba(64,64,64,.4)}.ai-terminal-messages{flex:1;overflow-y:auto;padding:1.5rem;display:flex;flex-direction:column;gap:1.5rem}.ai-terminal-messages::-webkit-scrollbar{width:6px}.ai-terminal-messages::-webkit-scrollbar-track{background:#40404033;border-radius:3px}.ai-terminal-messages::-webkit-scrollbar-thumb{background:#6366f180;border-radius:3px}.ai-terminal-messages::-webkit-scrollbar-thumb:hover{background:#6366f1b3}.message-container{display:flex;gap:.75rem;align-items:flex-start}.message-container.user{flex-direction:row-reverse}.message-avatar{flex-shrink:0;width:2.25rem;height:2.25rem;border-radius:50%;overflow:hidden}.message-avatar img{width:100%;height:100%;object-fit:cover}.message-avatar.placeholder{background:linear-gradient(135deg,#10b981,#059669);display:flex;align-items:center;justify-content:center;color:#fff;font-weight:600}.message-avatar.ai{background:linear-gradient(135deg,#667eea,#764ba2)}.message-content{max-width:80%}.message-bubble{padding:.75rem 1rem;border-radius:1.125rem;font-size:.875rem;line-height:1.5;word-wrap:break-word}.message-container.user .message-bubble{background:#6366f1e6;color:#fff;border-bottom-right-radius:.25rem;box-shadow:0 10px 20px #6366f14d}.message-container.assistant .message-bubble,.message-container.system .message-bubble{background:#404040b3;color:#fffffff2;border-bottom-left-radius:.25rem;box-shadow:0 10px 20px #0003}.message-actions{margin-top:.5rem;display:flex;flex-wrap:wrap;gap:.5rem}.action-button{display:inline-flex;align-items:center;gap:.5rem;padding:.5rem .875rem;background:#40404099;border:none;border-radius:.375rem;color:#fff;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .15s;white-space:nowrap;min-width:-webkit-fit-content;min-width:fit-content}.action-button:hover{background:#404040cc}.chat-divider{height:1px;background:#40404080}.ai-terminal-input{display:flex;align-items:center;gap:.75rem;padding:0 1rem 1rem}.input-form{display:flex;align-items:center;gap:.75rem;width:100%}.message-input{flex:1;border-radius:.5rem;background:#40404099!important;color:#fff!important;padding:.5rem 1rem;font-size:.875rem;border:none;outline:none;resize:vertical;min-height:2.5rem;max-height:6rem;transition:all .15s;-webkit-text-fill-color:#ffffff!important}.message-input::placeholder{color:#9ca3afcc}.message-input:focus{outline:2px solid rgba(99,102,241,.7);outline-offset:2px}.send-button{display:grid;place-items:center;width:2.5rem;height:2.5rem;border-radius:.5rem;background:#6366f1;border:none;color:#fff;cursor:pointer;transition:all .15s}.send-button:hover:not(:disabled){background:#4f46e5}.send-button:disabled{opacity:.5;cursor:not-allowed}.send-button svg{width:1rem;height:1rem;stroke-width:1.5}.voice-button{display:flex;align-items:center;justify-content:center;width:2.5rem;height:2.5rem;border-radius:.5rem;background:#40404099;border:none;color:#fff;cursor:pointer;transition:all .15s;font-size:1rem}.voice-button:hover{background:#404040cc}.voice-button.listening{background:#ef4444;animation:pulse 1s infinite}@keyframes pulse{0%,to{opacity:1}50%{opacity:.8}}.typing-indicator{padding:.75rem 1rem;background:#404040b3;border-radius:1.125rem 1.125rem 1.125rem .25rem}.typing-dots{display:flex;gap:.25rem}.typing-dot{width:.5rem;height:.5rem;background:#6366f1;border-radius:50%;animation:typing 1.4s infinite ease-in-out}.typing-dot:nth-child(1){animation-delay:0s}.typing-dot:nth-child(2){animation-delay:.2s}.typing-dot:nth-child(3){animation-delay:.4s}@keyframes typing{0%,60%,to{transform:scale(1);opacity:.5}30%{transform:scale(1.2);opacity:1}}.iterations-section{display:flex;flex-direction:column;gap:1.5rem}.iterations-header{display:flex;align-items:center;justify-content:space-between}.iterations-title{font-size:1.25rem;font-weight:600;line-height:1.25;letter-spacing:-.025em;margin:0}.view-all-button{background:none;border:none;color:inherit;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .15s}.view-all-button:hover{text-decoration:underline}.iterations-grid{display:grid;gap:1.5rem;grid-template-columns:1fr}@media (min-width: 768px){.iterations-grid{grid-template-columns:repeat(2,1fr)}}@media (min-width: 1024px){.iterations-grid{grid-template-columns:repeat(3,1fr)}}.iteration-card{border-radius:1rem;background:#40404066;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);padding:1.25rem;border:1px solid rgba(64,64,64,.5);transition:all .15s;box-shadow:0 10px 15px -3px #0000001a;display:flex;flex-direction:column;min-width:0;overflow:hidden;word-wrap:break-word}.iteration-card:hover{border-color:#6366f199}.card-header{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:1rem;gap:.75rem;min-width:0}.card-info{flex:1;min-width:0;overflow:hidden}.card-info h3{font-size:1rem;font-weight:500;line-height:1.25;letter-spacing:-.025em;margin:0;word-wrap:break-word;overflow-wrap:break-word;-webkit-hyphens:auto;hyphens:auto;max-width:100%}.card-info p{font-size:.75rem;color:#9ca3af;margin:.125rem 0 0;word-wrap:break-word;overflow-wrap:break-word;-webkit-hyphens:auto;hyphens:auto;max-width:100%}.card-icon{display:grid;place-items:center;width:2.5rem;height:2.5rem;border-radius:.75rem;background:#40404066}.card-icon svg{width:1.25rem;height:1.25rem;stroke-width:1.5}.card-description{font-size:.875rem;color:#d1d5db;flex:1;margin-bottom:1.25rem;word-wrap:break-word;overflow-wrap:break-word;-webkit-hyphens:auto;hyphens:auto;line-height:1.4;white-space:normal;max-width:100%}.card-actions{display:flex;gap:.5rem;margin-top:auto}.card-action-button{display:flex;align-items:center;gap:.25rem;font-size:.75rem;font-weight:500;border-radius:.375rem;padding:.375rem .75rem;background:#40404066;border:none;color:inherit;cursor:pointer;transition:all .15s}.card-action-button:hover{background:#40404099}.card-action-button svg{width:1rem;height:1rem;stroke-width:1.5}@media (max-width: 1024px){.ai-terminal-container{padding:1.5rem 1rem}.ai-terminal-content{max-width:95%}.mode-button{padding:8px 16px;background:#ffffff1a;border:1px solid rgba(255,255,255,.2);border-radius:20px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);font-size:.8125rem}.iterations-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width: 768px){.ai-terminal-container{padding:1rem .5rem!important}.ai-terminal-content{gap:1.5rem!important;max-width:100%}.ai-terminal-title{font-size:1.5rem!important}.ai-terminal-header{flex-direction:column;gap:12px;align-items:stretch}.header-buttons{flex-direction:row;justify-content:space-between;width:100%}.ai-terminal-chat{height:60vh!important;border-radius:1rem!important}.ai-terminal-messages{padding:1rem!important;gap:1rem}.message-content{max-width:85%!important}.message-bubble{padding:.625rem .875rem;font-size:.8125rem}.ai-terminal-input{padding:.75rem;gap:.5rem}.message-input{font-size:16px!important;min-height:44px!important}.send-button,.voice-button{min-width:44px!important;min-height:44px!important}.failed-queries-button,.clear-chat-button,.settings-button{min-height:44px;padding:.5rem .875rem}.mode-selector{flex-wrap:wrap;gap:.375rem}.mode-button{flex:1 1 calc(50% - .25rem);min-width:0;padding:8px 12px;background:#ffffff1a;border:1px solid rgba(255,255,255,.2);border-radius:20px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);font-size:.8125rem}.mode-label{font-size:.75rem}.iterations-grid{grid-template-columns:1fr!important;gap:1rem}.iteration-card{padding:1rem}.card-header{flex-direction:column;align-items:flex-start;gap:.75rem}.card-icon{align-self:flex-start}.settings-panel{width:calc(100vw - 40px);max-width:none;right:auto;left:50%;transform:translate(-50%)}}@media (max-width: 480px){.ai-terminal-container{padding:.75rem .25rem!important}.ai-terminal-title{font-size:1.25rem!important}.ai-terminal-chat{height:65vh!important}.ai-terminal-messages{padding:.75rem!important}.message-bubble{padding:.5rem .75rem;font-size:.8125rem}.message-avatar{width:2rem;height:2rem}.ai-terminal-input{padding:.5rem}.mode-button{flex:1 1 100%;justify-content:flex-start}.mode-icon{font-size:1.125rem}.iteration-card{padding:.875rem}.card-header{gap:.5rem}.card-description{font-size:.8125rem}.message-actions,.card-actions{width:100%}.action-button,.card-action-button{flex:1 1 auto;min-height:44px;justify-content:center;min-width:-webkit-fit-content;min-width:fit-content;gap:.5rem}.settings-panel{width:calc(100vw - 20px);padding:.875rem}.setting-content{flex-direction:column;align-items:flex-start;gap:.75rem}}@media (max-width: 768px) and (hover: none) and (pointer: coarse){button,.action-button,.card-action-button,.quick-action-btn{min-height:48px!important;min-width:48px!important}.message-input{min-height:48px!important;padding:.75rem!important}.mode-button{min-height:48px!important;padding:10px 14px!important;background:#ffffff1a!important;border:1px solid rgba(255,255,255,.2)!important;border-radius:20px!important;-webkit-backdrop-filter:blur(10px)!important;backdrop-filter:blur(10px)!important}}@media (max-width: 1024px){.widget-modal{max-width:95vw;margin:10px}}@media (max-width: 768px){.widget-modal{margin:10px;max-height:95vh;border-radius:12px}.modal-header{padding:20px}}@media (max-width: 480px){.ai-terminal-container{padding:.5rem .25rem}.iterations-grid{grid-template-columns:1fr;gap:1rem}.card-header{flex-direction:column;gap:.75rem}}.status-indicator{width:.5rem;height:.5rem;border-radius:50%;background:#10b981;margin-right:.5rem}.ai-terminal-status{display:flex;align-items:center;font-size:.875rem;color:#9ca3af}.dynamic-form-container{margin-top:1rem;padding:1rem;background:#1e293bcc;border-radius:.5rem;border:1px solid rgba(71,85,105,.5)}.dynamic-form-title{font-size:1rem;font-weight:600;margin-bottom:1rem;color:#f1f5f9f2}.form-field{margin-bottom:1rem}.form-field label{display:block;margin-bottom:.5rem;font-size:.875rem;font-weight:500;color:#f1f5f9e6}.form-field input,.form-field textarea,.form-field select{width:100%;padding:.5rem .75rem;background:#47556999;border:1px solid rgba(71,85,105,.7);border-radius:.375rem;color:#f1f5f9f2;font-size:.875rem}.form-field input:focus,.form-field textarea:focus,.form-field select:focus{outline:none;border-color:#6366f1b3;box-shadow:0 0 0 3px #6366f133}.form-actions{display:flex;gap:.5rem;justify-content:flex-end;margin-top:1rem}.form-button{padding:.5rem 1rem;border-radius:.375rem;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .15s;border:none}.form-button.primary{background:#6366f1;color:#fff}.form-button.primary:hover{background:#4f46e5}.form-button.secondary{background:#47556999;color:#f1f5f9e6}.form-button.secondary:hover{background:#475569cc}.ai-terminal-no-pins-message{grid-column:1 / -1;display:flex;justify-content:center;align-items:center;min-height:150px;padding:20px 16px}.ai-terminal-empty-state{text-align:center;max-width:360px;width:100%;padding:1rem .95rem;border-radius:1rem;background:linear-gradient(135deg,#1b274673,#3140656b);border:1px solid rgba(165,180,252,.28);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);box-shadow:0 16px 30px #0307124d}.ai-terminal-empty-icon{font-size:2.2rem;margin-bottom:.55rem;opacity:.9;text-shadow:0 8px 18px rgba(99,102,241,.45)}.ai-terminal-empty-state h3{font-size:1.05rem;font-weight:600;color:#f8fafcf5;margin-bottom:.3rem}.ai-terminal-empty-state p{font-size:.86rem;color:#e2e8f0db;margin-bottom:.85rem;line-height:1.5}.ai-terminal-pin-help-button{display:inline-flex;align-items:center;justify-content:center;background:#6366f12e;color:#eef2fff2;border:1px solid rgba(165,180,252,.45);border-radius:.5rem;padding:.5rem .95rem;font-size:.8rem;font-weight:500;cursor:pointer;transition:all .2s;box-shadow:0 10px 20px #1e293b47}.ai-terminal-pin-help-button:hover{transform:translateY(-1px);background:#6366f152;border-color:#c7d2feb8;box-shadow:0 14px 28px #1e293b59}.unpin-action{background:#f87171!important;border-color:#ef4444!important}.unpin-action:hover{background:#ef4444!important;transform:translateY(-1px);box-shadow:0 2px 8px #ef44444d}.message-actions{display:flex;gap:.5rem;margin-top:.75rem;flex-wrap:wrap}.action-button.pin,.action-button.pin-company,.action-button.pin-dashboard{padding:.5rem;background:#a855f71a;border-color:#a855f74d}.action-button.pin:hover,.action-button.pin-company:hover,.action-button.pin-dashboard:hover{background:#a855f733;border-color:#a855f780}.action-icon{width:1.125rem;height:1.125rem;flex-shrink:0}.action-label{font-weight:500}.feedback-item.completed{border-left:4px solid #10b981;background:#10b9810d}.feedback-item.pending{border-left:4px solid #f59e0b;background:#f59e0b0d}.feedback-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem}.status-badge{padding:.25rem .75rem;border-radius:.375rem;font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em}.status-completed{background:#10b9811a;color:#10b981;border:1px solid rgba(16,185,129,.3)}.status-pending{background:#f59e0b1a;color:#f59e0b;border:1px solid rgba(245,158,11,.3)}.feedback-resolution{margin-top:1rem;padding:1rem;background:#10b9810d;border:1px solid rgba(16,185,129,.2);border-radius:.5rem;color:#f1f5f9e6}.feedback-resolution strong{color:#10b981;display:block;margin-bottom:.5rem}.resolution-details{display:flex;gap:1rem;margin-top:.5rem;font-size:.875rem;color:#f1f5f9e6}.resolution-details span{display:flex;align-items:center;gap:.25rem}.mode-selector-container{display:flex;flex-direction:row;align-items:center;gap:16px;margin-bottom:0;padding:0 4px}.mode-selector{display:flex;justify-content:center;gap:.5rem;flex:1;background:transparent;-webkit-backdrop-filter:none;backdrop-filter:none;border-radius:0;border:none;overflow:visible;box-shadow:none}.ai-terminal-container .mode-button{flex:none!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:.25rem!important;padding:8px 16px!important;background:#0003!important;border:1px solid rgba(255,255,255,.2)!important;border-radius:20px!important;-webkit-backdrop-filter:blur(10px)!important;backdrop-filter:blur(10px)!important;color:#ffffffb3!important;font-size:.875rem!important;font-weight:500!important;cursor:pointer!important;transition:all .2s ease!important;position:relative!important;min-width:0!important}.ai-terminal-container .mode-button:hover{transform:translateY(-1px)!important;box-shadow:0 4px 12px #00000026!important;background:#ffffff26!important;color:#fff!important}.ai-terminal-container .mode-button.active{background:#3b82f626!important;-webkit-backdrop-filter:blur(10px)!important;backdrop-filter:blur(10px)!important;color:#fff!important;border-color:#3b82f680!important;box-shadow:0 4px 12px #3b82f64d!important}.ai-terminal-container .mode-button.active[data-mode=chat]{background:#6b728026!important;-webkit-backdrop-filter:blur(10px)!important;backdrop-filter:blur(10px)!important;border-color:#6b728080!important;box-shadow:0 4px 12px #6b72804d!important}.ai-terminal-container .mode-button.active[data-mode=widget]{background:#9333ea26!important;-webkit-backdrop-filter:blur(10px)!important;backdrop-filter:blur(10px)!important;border-color:#9333ea80!important;box-shadow:0 4px 12px #9333ea4d!important}.ai-terminal-container .mode-button.active[data-mode=form]{background:#10b98126!important;-webkit-backdrop-filter:blur(10px)!important;backdrop-filter:blur(10px)!important;border-color:#10b98180!important;box-shadow:0 4px 12px #10b9814d!important}.ai-terminal-container .mode-button.active[data-mode=report]{background:#3b82f626!important;-webkit-backdrop-filter:blur(10px)!important;backdrop-filter:blur(10px)!important;border-color:#3b82f680!important;box-shadow:0 4px 12px #3b82f64d!important}.ai-terminal-container .mode-button.active[data-mode=media]{background:#ec489926!important;-webkit-backdrop-filter:blur(10px)!important;backdrop-filter:blur(10px)!important;border-color:#ec489980!important;box-shadow:0 4px 12px #ec48994d!important}.mode-icon{font-size:1rem;line-height:1}.mode-label{font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mode-shortcut{position:absolute;top:2px;right:4px;font-size:9px;opacity:.6;font-weight:400}.mode-indicator{display:flex;align-items:center;gap:6px;margin-top:0;padding:4px 8px;flex-shrink:0;background:#ffffff0d;border-radius:6px;font-size:11px;color:#fff9}.mode-button:focus{outline:none;box-shadow:0 0 0 2px #ffffff80}.mode-button:focus-visible{outline:2px solid rgba(255,255,255,.8);outline-offset:2px}.model-selector-container{margin:0;padding:16px;background:#ffffff0d;border-radius:8px;border:1px solid rgba(255,255,255,.1)}.model-selector-label{font-size:13px;font-weight:600;color:#ffffffb3;margin-bottom:8px;text-transform:uppercase;letter-spacing:.5px}.model-dropdown{position:relative}.model-dropdown-trigger{width:100%;display:flex;align-items:center;gap:12px;padding:12px 16px;background:#ffffff14;border:1px solid rgba(255,255,255,.15);border-radius:8px;color:#ffffffe6;cursor:pointer;transition:all .2s ease;font-family:inherit}.model-dropdown-trigger:hover{background:#ffffff1f;border-color:#ffffff40}.model-dropdown-trigger:active{transform:scale(.99)}.model-dropdown-trigger .model-icon{font-size:20px;flex-shrink:0}.model-dropdown-trigger .model-info{flex:1;display:flex;flex-direction:column;align-items:flex-start;gap:2px;min-width:0}.model-dropdown-trigger .model-label{font-size:14px;font-weight:600;color:#fffffff2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.model-dropdown-trigger .model-cost{font-size:11px;color:#ffffff80}.model-dropdown-trigger .model-quality{font-size:11px;padding:2px 8px;border-radius:4px;background:#ffffff1a;color:#ffffffb3;font-weight:500;flex-shrink:0}.model-dropdown-trigger .dropdown-arrow{font-size:12px;color:#ffffff80;transition:transform .2s ease;flex-shrink:0}.model-dropdown-menu{position:absolute;bottom:calc(100% + 4px);left:0;right:0;background:#1e1e28fa;border:1px solid rgba(255,255,255,.2);border-radius:8px;box-shadow:0 4px 12px #0000004d;z-index:1000;max-height:500px;overflow-y:auto;animation:dropdownSlideUp .15s ease-out}@keyframes dropdownSlideUp{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.model-dropdown-option{width:100%;display:flex;align-items:center;gap:12px;padding:12px 16px;background:transparent;border:none;border-bottom:1px solid rgba(255,255,255,.05);color:#ffffffd9;cursor:pointer;transition:all .15s ease;font-family:inherit;text-align:left}.model-dropdown-option:last-child{border-bottom:none}.model-dropdown-option:hover{background:#ffffff14}.model-dropdown-option.active{background:#5856d633;border-left:3px solid #5856d6}.model-dropdown-option .model-icon{font-size:20px;flex-shrink:0}.model-dropdown-option .model-info{flex:1;display:flex;flex-direction:column;align-items:flex-start;gap:2px;min-width:0}.model-dropdown-option .model-label{font-size:14px;font-weight:600;color:#fffffff2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.model-dropdown-option .model-cost{font-size:11px;color:#ffffff80}.model-dropdown-option .model-quality{font-size:11px;padding:2px 8px;border-radius:4px;background:#ffffff1a;color:#ffffffb3;font-weight:500;flex-shrink:0}.model-indicator{margin-top:8px;font-size:12px;color:#fff9;line-height:1.4}.model-indicator strong{color:#ffffffe6}.cost-tracker{margin-top:8px;padding:8px 12px;background:#ffc1071a;border:1px solid rgba(255,193,7,.3);border-radius:6px;font-size:12px;color:#ffc107e6;font-weight:500}.model-dropdown-trigger:focus{outline:none;box-shadow:0 0 0 2px #5856d680}.model-dropdown-option:focus{outline:none;background:#ffffff1f}.model-dropdown-menu::-webkit-scrollbar{width:8px}.model-dropdown-menu::-webkit-scrollbar-track{background:#ffffff0d;border-radius:4px}.model-dropdown-menu::-webkit-scrollbar-thumb{background:#fff3;border-radius:4px}.model-dropdown-menu::-webkit-scrollbar-thumb:hover{background:#ffffff4d}@media (max-width: 768px){.model-selector-container{padding:12px}.model-dropdown-trigger,.model-dropdown-option{padding:10px 12px}.model-dropdown-trigger .model-icon,.model-dropdown-option .model-icon{font-size:18px}}.model-dropdown-trigger .model-monthly-cost{font-size:11px;padding:2px 8px;border-radius:4px;background:#ffc10726;color:#ffc107e6;font-weight:500;flex-shrink:0;margin-left:4px}.ai-terminal-container .ai-terminal-chat .message-content{background:transparent!important;padding:0!important;border:none!important;border-radius:0!important;box-shadow:none!important;color:inherit!important}.ai-terminal-container .ai-terminal-chat .message-container.assistant .message-bubble{background:linear-gradient(135deg,#5856d694,#6366f185)!important;color:#fffffff7!important;border:1px solid rgba(255,255,255,.2)!important;box-shadow:0 8px 18px #3730a347!important}.ai-terminal-container .ai-terminal-chat .message-actions .action-button{background:#2828377a!important;border:1px solid rgba(255,255,255,.22)!important;color:#fffffff2!important;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.ai-terminal-container .ai-terminal-chat .message-actions .action-button:hover{background:#3a3a5299!important;color:#fff!important;border-color:#ffffff4d!important}.ai-terminal-container .ai-terminal-chat .message-actions .action-button .action-icon,.ai-terminal-container .ai-terminal-chat .message-actions .action-button .action-label{color:#fffffffa!important}.ai-terminal-container .ai-terminal-chat .message-content{max-width:min(80%,560px)!important}.ai-terminal-container .ai-terminal-chat .message-bubble{width:-webkit-fit-content;width:fit-content;max-width:100%}.ai-terminal-container .ai-terminal-chat .message-container.assistant .message-bubble{background:linear-gradient(135deg,#232c48c7,#424c73b8)!important;color:#fffffffa!important;font-size:.9rem;line-height:1.55;text-shadow:0 1px 1px rgba(0,0,0,.28);box-shadow:0 6px 14px #0e142652!important}.ai-terminal-container .ai-terminal-chat .message-actions{margin-top:.625rem!important;gap:.375rem!important}.ai-terminal-container .ai-terminal-chat .message-actions .action-button{min-height:28px;padding:.35rem .6rem!important;border-radius:999px;font-size:.75rem}.ai-terminal-container .ai-terminal-chat .message-actions .action-button.feedback-positive,.ai-terminal-container .ai-terminal-chat .message-actions .action-button.feedback-negative,.ai-terminal-container .ai-terminal-chat .message-actions .action-button.view,.ai-terminal-container .ai-terminal-chat .message-actions .action-button.modal,.ai-terminal-container .ai-terminal-chat .message-actions .action-button.pin,.ai-terminal-container .ai-terminal-chat .message-actions .action-button.pin-company,.ai-terminal-container .ai-terminal-chat .message-actions .action-button.pin-dashboard{width:28px;min-width:28px;height:28px;padding:0!important;justify-content:center}.ai-terminal-container .ai-terminal-chat .message-actions .action-button.report-issue{padding:.35rem .7rem!important;gap:.35rem}.ai-terminal-container[data-show-avatars=false] .message-avatar{display:none}.ai-terminal-container[data-show-avatars=false] .message-container{gap:0}.ai-terminal-container[data-font-size=small] .ai-terminal-chat .message-bubble,.ai-terminal-container[data-font-size=small] .message-input{font-size:12px!important}.ai-terminal-container[data-font-size=medium] .ai-terminal-chat .message-bubble,.ai-terminal-container[data-font-size=medium] .message-input{font-size:14px!important}.ai-terminal-container[data-font-size=large] .ai-terminal-chat .message-bubble,.ai-terminal-container[data-font-size=large] .message-input{font-size:16px!important}.ai-terminal-container[data-bubble-style=square] .message-bubble,.ai-terminal-container[data-bubble-style=square] .message-container.user .message-bubble,.ai-terminal-container[data-bubble-style=square] .message-container.assistant .message-bubble,.ai-terminal-container[data-bubble-style=square] .message-container.system .message-bubble,.ai-terminal-container[data-bubble-style=square] .ai-terminal-chat .message-bubble{border-radius:4px!important}.ai-terminal-container .message-timestamp{display:block;margin-top:.25rem;font-size:.75rem;line-height:1.25;color:#ffffff73}.ai-terminal-container .message-container.user .message-timestamp{text-align:right}.dashboard-pinned-container{width:100%;border:1px solid #dbe2ea;border-radius:14px;background:#fff;box-shadow:0 8px 28px #0f172a0f;overflow:hidden}.dashboard-pinned-workspace{margin-bottom:1.5rem}.dashboard-pinned-header{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.95rem 1rem;border-bottom:1px solid #e7edf4;background:linear-gradient(180deg,#fff,#f8fafc)}.dashboard-pinned-title-wrap{display:flex;align-items:center;gap:.55rem;min-width:0}.dashboard-pinned-title{margin:0;font-size:1.12rem;line-height:1.3;color:#111827;font-weight:700}.dashboard-pinned-count{display:inline-flex;align-items:center;justify-content:center;min-width:1.5rem;height:1.5rem;padding:0 .4rem;border-radius:999px;font-size:.82rem;font-weight:700;color:#1e40af;background:#dbeafe}.dashboard-pinned-toggle{border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#334155;font-size:.88rem;font-weight:600;line-height:1;padding:.56rem .84rem;cursor:pointer;transition:background-color .2s ease,border-color .2s ease,color .2s ease}.dashboard-pinned-toggle:hover{background:#f8fafc;border-color:#94a3b8;color:#0f172a}.dashboard-pinned-scroll{max-height:13rem;overflow-y:auto;padding:1.1rem}.dashboard-pinned-scroll.expanded{max-height:30rem}.dashboard-pinned-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1rem}.dashboard-pinned-card{display:flex;flex-direction:column;gap:.75rem;background:#fff;border:1px solid #d6dde8;border-radius:12px;padding:1rem;min-height:190px;transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease}.dashboard-pinned-card:hover{border-color:#c1cddc;box-shadow:0 8px 16px #0f172a14;transform:translateY(-1px)}.dashboard-pinned-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:.65rem}.dashboard-pinned-card-title{margin:0;font-size:1rem;font-weight:700;line-height:1.35;color:#0f172a;display:inline-flex;align-items:flex-start;gap:.4rem}.dashboard-pinned-icon{display:inline-flex;align-items:center;justify-content:center;margin-top:1px}.dashboard-pinned-mode-badge{display:inline-flex;align-items:center;justify-content:center;padding:.22rem .5rem;border-radius:999px;font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.02em;border:1px solid transparent;white-space:nowrap}.dashboard-pinned-mode-badge.mode-chat{color:#0f766e;background:#ccfbf1;border-color:#99f6e4}.dashboard-pinned-mode-badge.mode-widget{color:#1d4ed8;background:#dbeafe;border-color:#bfdbfe}.dashboard-pinned-mode-badge.mode-form{color:#7c2d12;background:#ffedd5;border-color:#fed7aa}.dashboard-pinned-mode-badge.mode-report{color:#4338ca;background:#e0e7ff;border-color:#c7d2fe}.dashboard-pinned-mode-badge.mode-media{color:#9d174d;background:#fce7f3;border-color:#fbcfe8}.dashboard-pinned-mode-badge.mode-legacy{color:#475569;background:#f1f5f9;border-color:#e2e8f0}.dashboard-pinned-preview{margin:0;color:#334155;font-size:.92rem;line-height:1.45;min-height:2.65rem}.dashboard-pinned-meta{display:flex;flex-wrap:wrap;gap:.38rem}.dashboard-pinned-meta span{display:inline-flex;align-items:center;border:1px solid #e2e8f0;background:#f8fafc;color:#475569;font-size:.78rem;line-height:1;font-weight:600;border-radius:999px;padding:.28rem .52rem}.dashboard-pinned-meta .pinned-report-type{text-transform:capitalize}.dashboard-pinned-updated{color:#1f2937}.dashboard-pinned-actions{margin-top:auto;display:flex;align-items:center;gap:.55rem}.dashboard-pinned-btn{border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#1f2937;cursor:pointer;padding:.52rem .78rem;font-size:.84rem;line-height:1;font-weight:600;transition:background-color .2s ease,border-color .2s ease}.dashboard-pinned-btn:hover{background:#f8fafc;border-color:#94a3b8}.dashboard-pinned-btn.danger{border-color:#fecaca;background:#fff1f2;color:#b91c1c}.dashboard-pinned-btn.danger:hover{border-color:#fca5a5;background:#ffe4e6}@media (max-width: 768px){.dashboard-pinned-scroll{max-height:20rem}.dashboard-pinned-card{min-height:0}}.dashboard-pinned-type-row,.dashboard-pinned-pin-row{display:flex;flex-wrap:wrap;gap:.5rem;padding:.85rem 1rem 0}.dashboard-pinned-pin-row{padding-top:.45rem}.dashboard-pinned-workspace.is-collapsed .dashboard-pinned-type-row,.dashboard-pinned-workspace.is-collapsed .dashboard-pinned-pin-row{padding-bottom:.85rem}.dashboard-pinned-type-pill,.dashboard-pinned-item-pill{display:inline-flex;align-items:center;gap:.4rem;border:1px solid #cbd5e1;background:#f8fafc;color:#334155;border-radius:999px;padding:.42rem .75rem;font-size:.84rem;font-weight:650;line-height:1;cursor:pointer}.dashboard-pinned-item-pill{max-width:16rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600}.dashboard-pinned-type-pill.is-active,.dashboard-pinned-item-pill.is-active{background:#0f172a;border-color:#0f172a;color:#fff}.dashboard-pinned-type-count{min-width:1.15rem;height:1.15rem;padding:0 .28rem;border-radius:999px;background:#ffffff2e;color:inherit;display:inline-flex;align-items:center;justify-content:center;font-size:.72rem}.dashboard-pinned-type-pill:not(.is-active) .dashboard-pinned-type-count{background:#e2e8f0;color:#1e293b}.dashboard-pinned-surface{padding:.85rem 1rem 1.1rem}.dashboard-pinned-surface-head{margin-bottom:.7rem}.dashboard-pinned-surface-title{margin:0;font-size:1rem;font-weight:700;color:#0f172a}.dashboard-pinned-surface-body{min-height:18rem;border:1px solid #e2e8f0;border-radius:12px;padding:1rem;background:#f8fafc;overflow:auto}.dashboard-pinned-empty-surface{display:flex;flex-direction:column;align-items:flex-start;gap:.75rem;color:#475569}.dashboard-pinned-media{width:100%}.dashboard-pinned-header .dashboard-pinned-actions{margin-top:0}.dashboard-metrics-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1.25rem;margin-bottom:2rem}.dashboard-metric-card{background:#fff;border-radius:.75rem;padding:1.5rem;border:1px solid #e5e7eb;box-shadow:0 1px 3px #0000001a,0 1px 2px #0000000f;transition:all .2s}.dashboard-metric-card:hover{box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f;transform:translateY(-2px)}.dashboard-metric-card.alert{border-left:4px solid #ef4444;background:#fef2f2}.dashboard-metric-card.success{border-left:4px solid #10b981;background:#f0fdf4}.dashboard-metric-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:.75rem}.dashboard-metric-icon{width:2.5rem;height:2.5rem;border-radius:.5rem;display:flex;align-items:center;justify-content:center;font-size:1.25rem}.dashboard-metric-icon.blue{background:#dbeafe}.dashboard-metric-icon.green{background:#d1fae5}.dashboard-metric-icon.purple{background:#e9d5ff}.dashboard-metric-icon.orange{background:#fed7aa}.dashboard-metric-icon.red{background:#fecaca}.dashboard-metric-icon.indigo{background:#e0e7ff}.dashboard-metric-title{font-size:.875rem;color:#6b7280;font-weight:500;text-transform:uppercase;letter-spacing:.025em;margin-bottom:.5rem}.dashboard-metric-value{font-size:2rem;font-weight:700;color:#111827;margin-bottom:.5rem}.dashboard-metric-value.alert-value{color:#dc2626}.dashboard-metric-value.success-value{color:#059669}.dashboard-metric-change{display:flex;align-items:center;gap:.5rem;font-size:.875rem}.dashboard-metric-change.positive{color:#059669}.dashboard-metric-change.negative{color:#dc2626}.dashboard-metric-change.neutral{color:#6b7280}.dashboard-trend-badge{display:inline-flex;align-items:center;gap:.25rem;padding:.25rem .5rem;border-radius:.375rem;font-size:.75rem;font-weight:600}.dashboard-trend-badge.up{background:#d1fae5;color:#065f46}.dashboard-trend-badge.down{background:#fee2e2;color:#991b1b}@media (max-width: 768px){.dashboard-metrics-grid{grid-template-columns:1fr}}@media (min-width: 769px) and (max-width: 1023px){.dashboard-metrics-grid{grid-template-columns:repeat(2,1fr)}}@media (min-width: 1024px){.dashboard-metrics-grid{grid-template-columns:repeat(4,1fr)}}.dashboard-urgent-actions-card{background:#fff;border-radius:.75rem;padding:1.5rem;border:1px solid #e5e7eb;box-shadow:0 1px 3px #0000001a,0 1px 2px #0000000f;height:-webkit-fit-content;height:fit-content}.dashboard-urgent-actions-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.dashboard-urgent-actions-header h3{font-size:1.125rem;font-weight:600;color:#111827;margin:0}.dashboard-urgent-actions-badge{background:#ef4444;color:#fff;font-size:.75rem;font-weight:600;padding:.25rem .5rem;border-radius:9999px;min-width:1.5rem;text-align:center}.dashboard-urgent-actions-list{display:flex;flex-direction:column;gap:.75rem;max-height:400px;overflow-y:auto}.dashboard-urgent-action-item{display:flex;align-items:center;gap:.75rem;padding:.875rem;border-radius:.5rem;border-left:4px solid #cbd5e1;background:#f9fafb;cursor:pointer;transition:all .2s}.dashboard-urgent-action-item:hover{background:#f3f4f6;transform:translate(4px)}.dashboard-urgent-action-item.priority-high{border-left-color:#ef4444;background:#fef2f2}.dashboard-urgent-action-item.priority-high:hover{background:#fee2e2}.dashboard-urgent-action-item.priority-medium{border-left-color:#f59e0b;background:#fffbeb}.dashboard-urgent-action-item.priority-medium:hover{background:#fef3c7}.dashboard-urgent-action-item.priority-low{border-left-color:#3b82f6;background:#eff6ff}.dashboard-urgent-action-item.priority-low:hover{background:#dbeafe}.dashboard-urgent-action-icon{font-size:1.5rem;flex-shrink:0}.dashboard-urgent-action-content{flex:1;min-width:0}.dashboard-urgent-action-title{font-size:.875rem;font-weight:600;color:#111827;margin-bottom:.25rem;word-wrap:break-word;overflow-wrap:break-word}.dashboard-urgent-action-description{font-size:.75rem;color:#6b7280;word-wrap:break-word;overflow-wrap:break-word}.dashboard-urgent-action-arrow{font-size:1.25rem;color:#9ca3af;flex-shrink:0}.dashboard-urgent-actions-loading,.dashboard-urgent-actions-error{text-align:center;padding:2rem 1rem;color:#6b7280;font-size:.875rem}.dashboard-urgent-actions-error{color:#ef4444}.dashboard-urgent-actions-empty{text-align:center;padding:2rem 1rem}.dashboard-urgent-actions-empty-icon{font-size:3rem;margin-bottom:.5rem}.dashboard-urgent-actions-empty p{color:#6b7280;font-size:.875rem;margin:0}.dashboard-urgent-actions-list::-webkit-scrollbar{width:6px}.dashboard-urgent-actions-list::-webkit-scrollbar-track{background:#f1f5f9;border-radius:3px}.dashboard-urgent-actions-list::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:3px}.dashboard-urgent-actions-list::-webkit-scrollbar-thumb:hover{background:#94a3b8}.timeline{background:#fff;border-radius:12px;padding:24px;border:1px solid #e5e7eb}.timeline__title{font-size:16px;font-weight:600;color:#1f2937;margin:0 0 24px}.timeline__events{display:flex;flex-direction:column}.timeline__event{display:flex;position:relative;padding-bottom:24px}.timeline__event:last-child{padding-bottom:0}.timeline__event--clickable .timeline__content{cursor:pointer}.timeline__event--clickable .timeline__content:hover{background:#f9fafb}.timeline__connector{position:absolute;left:15px;top:32px;width:2px;height:calc(100% - 8px);background:#e5e7eb}.timeline__marker{flex-shrink:0;width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#f3f4f6;border:2px solid #e5e7eb;z-index:1}.timeline__marker-icon{font-size:12px;font-weight:600}.timeline__event--default .timeline__marker{background:#f3f4f6;border-color:#d1d5db;color:#6b7280}.timeline__event--success .timeline__marker{background:#dcfce7;border-color:#22c55e;color:#15803d}.timeline__event--warning .timeline__marker{background:#fef3c7;border-color:#f59e0b;color:#b45309}.timeline__event--error .timeline__marker{background:#fee2e2;border-color:#ef4444;color:#dc2626}.timeline__event--info .timeline__marker{background:#dbeafe;border-color:#3b82f6;color:#1d4ed8}.timeline__content{flex:1;margin-left:16px;padding:8px 12px;border-radius:8px;transition:background-color .15s ease}.timeline__header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap}.timeline__event-title{font-size:14px;font-weight:600;color:#1f2937;margin:0}.timeline__timestamp{font-size:12px;color:#9ca3af;white-space:nowrap}.timeline__user{display:inline-block;font-size:12px;color:#6b7280;margin-top:4px}.timeline__description{font-size:13px;color:#4b5563;margin:8px 0 0;line-height:1.5}.timeline__expand-btn{background:none;border:none;color:#667eea;font-size:12px;font-weight:500;cursor:pointer;padding:4px 0;margin-top:8px}.timeline__expand-btn:hover{text-decoration:underline}.timeline__expanded{margin-top:12px;padding:12px;background:#f9fafb;border-radius:6px;font-size:13px;color:#4b5563;line-height:1.5}.timeline__show-more{display:block;width:100%;padding:12px;margin-top:16px;background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;font-size:13px;font-weight:500;color:#667eea;cursor:pointer;transition:all .15s ease}.timeline__show-more:hover{background:#f3f4f6;border-color:#667eea}.timeline--right .timeline__event{flex-direction:row-reverse}.timeline--right .timeline__connector{left:auto;right:15px}.timeline--right .timeline__content{margin-left:0;margin-right:16px;text-align:right}.timeline--right .timeline__header{flex-direction:row-reverse}.timeline--alternate .timeline__event:nth-child(2n){flex-direction:row-reverse}.timeline--alternate .timeline__event:nth-child(2n) .timeline__connector{left:auto;right:15px}.timeline--alternate .timeline__event:nth-child(2n) .timeline__content{margin-left:0;margin-right:16px;text-align:right}.timeline--alternate .timeline__event:nth-child(2n) .timeline__header{flex-direction:row-reverse}@media (max-width: 640px){.timeline{padding:16px}.timeline__content{margin-left:12px;padding:6px 10px}.timeline__header{flex-direction:column;gap:4px}.timeline--right .timeline__content,.timeline--alternate .timeline__event:nth-child(2n) .timeline__content{margin-right:12px;text-align:left}.timeline--right .timeline__header,.timeline--alternate .timeline__event:nth-child(2n) .timeline__header{flex-direction:column}}.dashboard-recent-activity-card{background:#fff;border-radius:.75rem;padding:1.25rem;border:1px solid #e5e7eb;box-shadow:0 1px 3px #0f172a14;height:-webkit-fit-content;height:fit-content}.dashboard-recent-activity-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.dashboard-recent-activity-header h3{margin:0;color:#111827;font-size:1.125rem;font-weight:700}.dashboard-recent-activity-loading,.dashboard-recent-activity-error{padding:2rem 1rem;text-align:center;font-size:.92rem;color:#334155}.dashboard-recent-activity-error{color:#b91c1c}.dashboard-recent-activity-empty{text-align:center;padding:2rem 1rem}.dashboard-recent-activity-empty-icon{font-size:2.2rem;margin-bottom:.5rem}.dashboard-recent-activity-empty p{margin:0;color:#334155;font-size:.92rem}.dashboard-recent-activity-card .timeline{background:transparent;border:none;border-radius:0;padding:0}.dashboard-recent-activity-card .timeline__title{margin-bottom:1rem}.dashboard-recent-activity-card .timeline__timestamp{color:#475569}.dashboard-recent-activity-card .timeline__description{color:#334155}.dashboard-ai-features-card{background:#fff;border-radius:.75rem;padding:1.5rem;border:1px solid #e5e7eb;box-shadow:0 1px 3px #0000001a,0 1px 2px #0000000f;height:-webkit-fit-content;height:fit-content}.dashboard-ai-features-header{margin-bottom:1.5rem}.dashboard-ai-features-header h3{font-size:1.125rem;font-weight:600;color:#111827;margin:0}.dashboard-ai-features-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem}.dashboard-ai-feature-item{display:flex;flex-direction:column;align-items:center;padding:1.25rem;border-radius:.5rem;border-left:4px solid #cbd5e1;background:#f9fafb;cursor:pointer;transition:all .2s;text-align:center}.dashboard-ai-feature-item:hover{background:#f3f4f6;transform:translateY(-2px);box-shadow:0 4px 6px -1px #0000001a}.dashboard-ai-feature-item.forms{border-left-color:#8b5cf6;background:#faf5ff}.dashboard-ai-feature-item.forms:hover{background:#f3e8ff}.dashboard-ai-feature-item.campaigns{border-left-color:#3b82f6;background:#eff6ff}.dashboard-ai-feature-item.campaigns:hover{background:#dbeafe}.dashboard-ai-feature-item.sequences{border-left-color:#10b981;background:#f0fdf4}.dashboard-ai-feature-item.sequences:hover{background:#dcfce7}.dashboard-ai-feature-item.reports{border-left-color:#f59e0b;background:#fffbeb}.dashboard-ai-feature-item.reports:hover{background:#fef3c7}.dashboard-ai-feature-icon{font-size:2rem;margin-bottom:.5rem}.dashboard-ai-feature-value{font-size:2rem;font-weight:700;color:#111827;margin-bottom:.25rem}.dashboard-ai-feature-label{font-size:.75rem;color:#6b7280;font-weight:500;text-transform:uppercase;letter-spacing:.025em}.dashboard-ai-features-loading,.dashboard-ai-features-error{text-align:center;padding:2rem 1rem;color:#6b7280;font-size:.875rem}.dashboard-ai-features-error{color:#ef4444}@media (max-width: 768px){.dashboard-ai-features-grid{grid-template-columns:1fr}}.dashboard-financial-overview-card{background:#fff;border-radius:.75rem;padding:1.5rem;border:1px solid #e5e7eb;box-shadow:0 1px 3px #0000001a,0 1px 2px #0000000f;height:-webkit-fit-content;height:fit-content}.dashboard-financial-header{margin-bottom:1.5rem}.dashboard-financial-header h3{font-size:1.125rem;font-weight:600;color:#111827;margin:0}.dashboard-financial-kpis{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem;margin-bottom:1.5rem}.dashboard-financial-kpi{padding:1rem;border-radius:.5rem;border-left:4px solid #cbd5e1;background:#f9fafb;text-align:center}.dashboard-financial-kpi.total{border-left-color:#6366f1;background:#eef2ff}.dashboard-financial-kpi.paid{border-left-color:#10b981;background:#f0fdf4}.dashboard-financial-kpi.outstanding{border-left-color:#ef4444;background:#fef2f2}.dashboard-financial-kpi.rate{border-left-color:#f59e0b;background:#fffbeb}.dashboard-financial-kpi-label{font-size:.75rem;color:#6b7280;font-weight:500;text-transform:uppercase;letter-spacing:.025em;margin-bottom:.5rem}.dashboard-financial-kpi-value{font-size:1.5rem;font-weight:700;color:#111827}.dashboard-financial-chart{height:200px;margin-top:1rem}.dashboard-financial-loading,.dashboard-financial-error{text-align:center;padding:2rem 1rem;color:#6b7280;font-size:.875rem}.dashboard-financial-error{color:#ef4444}@media (max-width: 768px){.dashboard-financial-kpis{grid-template-columns:1fr}}.dashboard-card-wrapper{position:relative;transition:all .2s ease}.dashboard-card-wrapper.dragging{opacity:.5;box-shadow:0 10px 20px #0003;transform:scale(1.05);z-index:1000}.drag-handle{position:absolute;top:.5rem;right:.5rem;padding:.5rem;cursor:grab;opacity:0;transition:opacity .2s;color:#9ca3af;z-index:10;border-radius:.375rem;background:#fff;box-shadow:0 1px 3px #0000001a}.dashboard-card-wrapper:hover .drag-handle{opacity:1}.drag-handle:hover{background:#f3f4f6;color:#4f46e5}.drag-handle:active{cursor:grabbing;background:#e5e7eb}.drag-handle svg{display:block;width:16px;height:16px}.customization-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;z-index:999;display:flex;align-items:center;justify-content:center}.customization-modal{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);background:#fff;border-radius:.75rem;box-shadow:0 10px 25px #0003;max-width:600px;width:90%;max-height:90vh;overflow:hidden;z-index:1000;display:flex;flex-direction:column}.customization-modal-header{display:flex;align-items:center;justify-content:space-between;padding:1.5rem 2rem;border-bottom:1px solid #e5e7eb;background:#f9fafb}.customization-modal-title{font-size:1.25rem;font-weight:600;color:#111827;margin:0}.customization-modal-close{display:flex;align-items:center;justify-content:center;width:2rem;height:2rem;border:none;background:transparent;color:#6b7280;cursor:pointer;border-radius:.375rem;transition:all .2s ease}.customization-modal-close:hover{background:#e5e7eb;color:#111827}.customization-modal-content{flex:1;overflow-y:auto;padding:2rem}.customization-section{margin-bottom:2rem}.customization-section:last-child{margin-bottom:0}.customization-section-header{margin-bottom:1rem}.customization-section-title{font-size:1rem;font-weight:600;color:#111827;margin:0 0 .25rem}.customization-section-description{font-size:.875rem;color:#6b7280;margin:0}.card-visibility-list{display:flex;flex-direction:column;gap:.5rem}.card-visibility-item{display:flex;align-items:center;gap:.75rem;padding:.75rem 1rem;background:#f9fafb;border:1px solid #e5e7eb;border-radius:.5rem;cursor:pointer;transition:all .2s ease}.card-visibility-item:hover{background:#f3f4f6;border-color:#d1d5db}.card-visibility-checkbox{width:1.25rem;height:1.25rem;cursor:pointer;accent-color:#4f46e5;flex-shrink:0}.card-visibility-label{font-size:.875rem;color:#374151;font-weight:500;-webkit-user-select:none;user-select:none}.density-options{display:flex;flex-direction:column;gap:.75rem}.density-option{display:flex;align-items:flex-start;padding:1rem;border:2px solid #e5e7eb;border-radius:.5rem;cursor:pointer;transition:all .2s ease;background:#fff}.density-option:hover{border-color:#c7d2fe;background:#faf5ff}.density-option.selected{border-color:#4f46e5;background:#eef2ff;box-shadow:0 0 0 3px #4f46e51a}.density-radio{position:absolute;opacity:0;pointer-events:none}.density-option-content{display:flex;align-items:center;gap:1rem;width:100%}.density-option-icon{display:flex;align-items:center;justify-content:center;width:2.5rem;height:2.5rem;background:#fff;border-radius:.5rem;flex-shrink:0;color:#6b7280;transition:all .2s ease}.density-option.selected .density-option-icon{background:#4f46e5;color:#fff}.density-option-text{flex:1}.density-option-title{font-size:.875rem;font-weight:600;color:#111827;margin-bottom:.25rem}.density-option-desc{font-size:.75rem;color:#6b7280}.density-option.selected .density-option-title{color:#4f46e5}.customization-modal-footer{display:flex;align-items:center;justify-content:space-between;padding:1.5rem 2rem;border-top:1px solid #e5e7eb;background:#f9fafb}.customization-modal-actions{display:flex;gap:.75rem}.customization-btn{padding:.625rem 1.25rem;font-size:.875rem;font-weight:500;border-radius:.5rem;border:1px solid transparent;cursor:pointer;transition:all .2s ease}.customization-btn:disabled{opacity:.5;cursor:not-allowed}.customization-btn-reset{background:#fff;color:#dc2626;border-color:#fca5a5}.customization-btn-reset:hover{background:#fef2f2;border-color:#f87171}.customization-btn-cancel{background:#fff;color:#374151;border-color:#d1d5db}.customization-btn-cancel:hover{background:#f9fafb;border-color:#9ca3af}.customization-btn-save{background:#4f46e5;color:#fff;border-color:#4f46e5}.customization-btn-save:hover:not(:disabled){background:#4338ca;border-color:#4338ca;box-shadow:0 2px 4px #4f46e533}.customization-modal-content::-webkit-scrollbar{width:6px}.customization-modal-content::-webkit-scrollbar-track{background:#f1f5f9}.customization-modal-content::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:3px}.customization-modal-content::-webkit-scrollbar-thumb:hover{background:#94a3b8}@media (max-width: 640px){.customization-modal{width:95%;max-height:95vh}.customization-modal-header,.customization-modal-footer{padding:1rem 1.5rem}.customization-modal-content{padding:1.5rem}.customization-modal-footer{flex-direction:column;gap:.75rem}.customization-btn-reset,.customization-modal-actions{width:100%}.customization-btn{flex:1}.density-options{gap:.5rem}.density-option{padding:.75rem}.density-option-icon{width:2rem;height:2rem}.density-option-title{font-size:.8125rem}.density-option-desc{font-size:.6875rem}}.dashboard-customize-btn{display:inline-flex;align-items:center;gap:.5rem;padding:.625rem 1rem;background:#fff;border:1px solid #e5e7eb;border-radius:.5rem;color:#6b7280;cursor:pointer;transition:all .2s ease;font-size:.875rem;font-weight:500;box-shadow:0 1px 2px #0000000d}.dashboard-customize-btn:hover{background:#f9fafb;border-color:#d1d5db;color:#374151;box-shadow:0 2px 4px #0000001a}.dashboard-customize-btn:active{transform:scale(.98)}.dashboard-customize-btn.active{background:#4f46e5;border-color:#4f46e5;color:#fff;box-shadow:0 2px 4px #4f46e54d}.dashboard-customize-btn.active:hover{background:#4338ca;border-color:#4338ca;color:#fff}.dashboard-customize-btn-label{font-weight:600;letter-spacing:.025em}.dashboard-customize-btn svg{transition:transform .3s ease}.dashboard-customize-btn:hover svg{transform:rotate(90deg)}.dashboard-customize-btn.active svg{animation:spin 1s linear infinite}.dashboard-customize-btn:focus{outline:none;box-shadow:0 0 0 3px #4f46e533}@media (max-width: 640px){.dashboard-customize-btn{padding:.5rem .75rem}.dashboard-customize-btn-label{display:none}}.company-files{display:flex;flex-direction:column;gap:1rem}.company-files__header{display:flex;justify-content:space-between;gap:1rem;align-items:flex-start}.company-files__header h2{margin:0 0 .35rem;font-size:1.5rem;color:#111827}.company-files__header p{margin:0;color:#6b7280}.company-files__summary{display:flex;gap:.5rem;flex-wrap:wrap}.company-files__summary span{background:#f3f4f6;color:#374151;border-radius:999px;padding:.35rem .75rem;font-size:.85rem;font-weight:600}.company-files__toolbar{display:flex;gap:.75rem;flex-wrap:wrap}.company-files__input,.company-files__select{border:1px solid #d1d5db;border-radius:.75rem;padding:.75rem .9rem;font-size:.95rem;background:#fff;color:#111827}.company-files__input{flex:1 1 340px}.company-files__select{min-width:180px}.company-files__empty-card{background:#fff;border:1px solid #e5e7eb;border-radius:1rem;padding:1.5rem;color:#4b5563}.company-files__empty-card h3,.company-files__empty-card h2{margin:0 0 .5rem;color:#111827}.company-files__list{display:flex;flex-direction:column;gap:.9rem}.company-files__card{background:#fff;border:1px solid #e5e7eb;border-radius:1rem;padding:1rem 1.1rem;display:flex;gap:1rem;justify-content:space-between;align-items:flex-start}.company-files__card-main{display:flex;gap:.9rem;flex:1;min-width:0}.company-files__icon{width:2.75rem;height:2.75rem;border-radius:.85rem;background:#eef2ff;color:#4338ca;display:flex;align-items:center;justify-content:center;font-size:1.25rem;flex-shrink:0}.company-files__meta{min-width:0;flex:1}.company-files__title-row{display:flex;gap:.75rem;align-items:center;flex-wrap:wrap;margin-bottom:.3rem}.company-files__title-row h3{margin:0;font-size:1rem;color:#111827;overflow-wrap:anywhere}.company-files__status{border-radius:999px;padding:.2rem .65rem;font-size:.76rem;font-weight:700;text-transform:uppercase;letter-spacing:.02em}.company-files__status--pending{background:#fef3c7;color:#92400e}.company-files__status--complete{background:#dcfce7;color:#166534}.company-files__status--none{background:#e5e7eb;color:#374151}.company-files__subline{display:flex;gap:.75rem;flex-wrap:wrap;color:#6b7280;font-size:.85rem}.company-files__summary-text{margin:.55rem 0 0;color:#374151;font-size:.92rem;line-height:1.45;white-space:pre-wrap}.company-files__summary-text--muted{color:#9ca3af}.company-files__actions{display:flex;gap:.5rem;flex-wrap:wrap;justify-content:flex-end;min-width:240px}.company-files__button,.company-files__search-result,.company-files__icon-button{border:1px solid #d1d5db;background:#fff;color:#111827;border-radius:.75rem;cursor:pointer;transition:.15s ease}.company-files__button{padding:.65rem .9rem;font-size:.92rem;font-weight:600}.company-files__button:hover,.company-files__search-result:hover,.company-files__icon-button:hover{border-color:#a5b4fc;background:#f8fafc}.company-files__button--primary{background:#4f46e5;border-color:#4f46e5;color:#fff}.company-files__button--primary:hover{background:#4338ca;border-color:#4338ca}.company-files__upload-button{display:inline-flex;align-items:center;justify-content:center}.company-files__button--danger{border-color:#fecaca;color:#b91c1c}.company-files__button--danger:hover{background:#fef2f2;border-color:#fca5a5}.company-files__modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a8c;display:flex;align-items:center;justify-content:center;padding:1rem;z-index:1400}.company-files__modal{width:min(760px,100%);background:#fff;border-radius:1rem;box-shadow:0 24px 60px #0f172a3d;overflow:hidden}.company-files__modal--wide{width:min(920px,100%)}.company-files__modal-header,.company-files__modal-footer{padding:1rem 1.25rem;border-bottom:1px solid #e5e7eb;display:flex;align-items:center;justify-content:space-between;gap:.75rem}.company-files__modal-footer{border-bottom:none;border-top:1px solid #e5e7eb}.company-files__modal-header h3{margin:0;color:#111827}.company-files__icon-button{width:2rem;height:2rem;font-size:1.2rem}.company-files__modal-body{padding:1.25rem;max-height:70vh;overflow:auto}.company-files__preview-image{max-width:100%;max-height:60vh;object-fit:contain;display:block;margin:0 auto}.company-files__generic-preview{min-height:320px;display:flex;flex-direction:column;gap:.8rem;align-items:center;justify-content:center;color:#6b7280}.company-files__generic-preview i{font-size:3rem}.company-files__ocr-panel{display:flex;flex-direction:column;gap:1rem}.company-files__ocr-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:.75rem}.company-files__ocr-grid div{padding:.85rem;border-radius:.85rem;background:#f8fafc;border:1px solid #e5e7eb;display:flex;flex-direction:column;gap:.35rem}.company-files__ocr-grid strong{font-size:.8rem;color:#475569;text-transform:uppercase}.company-files__ocr-text strong{display:block;margin-bottom:.5rem;color:#111827}.company-files__ocr-text pre{margin:0;padding:1rem;border-radius:.85rem;background:#0f172a;color:#e2e8f0;white-space:pre-wrap;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.88rem;line-height:1.55}.company-files__link-row{display:flex;gap:.75rem;flex-wrap:wrap}.company-files__search-results{display:flex;flex-direction:column;gap:.5rem;margin-top:1rem}.company-files__search-result{padding:.8rem .95rem;text-align:left;display:flex;flex-direction:column;gap:.25rem}.company-files__search-result.is-active{border-color:#4f46e5;background:#eef2ff}.company-files__search-result span{color:#6b7280;font-size:.85rem}.company-files__selected-record{color:#475569;font-size:.9rem}.company-files__modal-actions{display:flex;gap:.6rem}@media (max-width: 860px){.company-files__card{flex-direction:column}.company-files__actions{min-width:0;justify-content:flex-start}}@media (max-width: 640px){.company-files__header{flex-direction:column}.company-files__toolbar,.company-files__link-row,.company-files__modal-footer{flex-direction:column;align-items:stretch}.company-files__modal-actions{width:100%;justify-content:stretch}.company-files__modal-actions .company-files__button{flex:1}}.add-client-modal{background:#fff;border-radius:12px;width:100%;max-width:600px;max-height:90vh;overflow-y:auto;box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a}.add-client-modal .modal-header{padding:24px 32px 0;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #e5e7eb;margin-bottom:24px}.add-client-modal .modal-header h2{margin:0 0 24px;font-size:24px;font-weight:600;color:#1f2937}.add-client-modal .close-button{background:none;border:none;font-size:24px;cursor:pointer;color:#6b7280;padding:0;display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:6px;transition:all .2s}.add-client-modal .close-button:hover{background:#f3f4f6;color:#374151}.add-client-form{padding:0 32px 32px}.add-client-form .form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:20px}.add-client-form .form-row.triple{grid-template-columns:1fr 1fr 100px}.add-client-form .form-group{display:flex;flex-direction:column;gap:6px}.add-client-form .form-group label{font-weight:600;color:#374151;font-size:14px}.add-client-form .form-group input,.add-client-form .form-group select,.add-client-form .form-group textarea{padding:12px 16px;border:2px solid #e5e7eb;border-radius:8px;font-size:14px;transition:border-color .2s,box-shadow .2s;box-sizing:border-box}.add-client-form .form-group input:focus,.add-client-form .form-group select:focus,.add-client-form .form-group textarea:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1a}.add-client-form .form-group input:disabled,.add-client-form .form-group select:disabled,.add-client-form .form-group textarea:disabled{background:#f9fafb;cursor:not-allowed}.add-client-form .form-section{margin:24px 0}.add-client-form .form-section h3{margin:0 0 16px;font-size:16px;font-weight:600;color:#1f2937;border-bottom:1px solid #e5e7eb;padding-bottom:8px}.modal-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:32px;padding-top:24px;border-top:1px solid #e5e7eb}.modal-actions .btn-primary,.modal-actions .btn-secondary{padding:12px 24px;border-radius:8px;font-weight:600;font-size:14px;cursor:pointer;transition:all .2s;border:none;min-width:120px}.modal-actions .btn-primary{background:linear-gradient(135deg,#2563eb,#1d4ed8);color:#fff}.modal-actions .btn-primary:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 4px 12px #2563eb66}.modal-actions .btn-primary:disabled{opacity:.6;cursor:not-allowed;transform:none}.modal-actions .btn-secondary{background:#6b7280;color:#fff}.modal-actions .btn-secondary:hover:not(:disabled){background:#4b5563}.modal-actions .btn-secondary:disabled{opacity:.6;cursor:not-allowed}@media (max-width: 768px){.add-client-modal{margin:10px;max-width:calc(100vw - 20px)}.add-client-modal .modal-header,.add-client-form{padding-left:20px;padding-right:20px}.add-client-form .form-row{grid-template-columns:1fr;gap:12px}.modal-actions{flex-direction:column}.modal-actions .btn-primary,.modal-actions .btn-secondary{width:100%}}.new-entity-modal__overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;padding:20px}.new-entity-modal__container{background:#fff;border-radius:12px;width:100%;max-width:600px;max-height:90vh;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a}.new-entity-modal__header{display:flex;align-items:center;justify-content:space-between;padding:20px 24px;border-bottom:1px solid #e5e7eb;flex-shrink:0}.new-entity-modal__title{font-size:18px;font-weight:600;color:#111827;margin:0}.new-entity-modal__close{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border:none;background:transparent;border-radius:6px;cursor:pointer;color:#6b7280;transition:all .15s ease}.new-entity-modal__close:hover{background:#f3f4f6;color:#374151}.new-entity-modal__close svg{width:20px;height:20px}.new-entity-modal__content{flex:1;overflow-y:auto;padding:24px}.new-entity-modal__loading{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:48px 24px;color:#6b7280}.new-entity-modal__spinner{width:32px;height:32px;border:3px solid #e5e7eb;border-top-color:#3b82f6;border-radius:50%;animation:new-entity-spin .8s linear infinite;margin-bottom:12px}@keyframes new-entity-spin{to{transform:rotate(360deg)}}.new-entity-modal__loading p{margin:0;font-size:14px}.new-entity-modal__error{display:flex;flex-direction:column;align-items:center;text-align:center;padding:48px 24px}.new-entity-modal__error svg{width:48px;height:48px;color:#ef4444;margin-bottom:16px}.new-entity-modal__error h3{font-size:16px;font-weight:600;color:#111827;margin:0 0 8px}.new-entity-modal__error p{font-size:14px;color:#6b7280;margin:0}.new-entity-modal__form{display:flex;flex-direction:column;gap:24px}.new-entity-modal__form-description{font-size:14px;color:#6b7280;margin:0;line-height:1.5}.new-entity-modal__fields{display:flex;flex-direction:column;gap:16px}.new-entity-modal__no-fields{font-size:14px;color:#9ca3af;font-style:italic;text-align:center;padding:24px}.new-entity-modal__field{display:flex;flex-direction:column;gap:6px}.new-entity-modal__field label{font-size:14px;font-weight:500;color:#374151}.new-entity-modal__field label .required{color:#ef4444;margin-left:2px}.new-entity-modal__field input[type=text],.new-entity-modal__field input[type=email],.new-entity-modal__field input[type=tel],.new-entity-modal__field input[type=number],.new-entity-modal__field input[type=date],.new-entity-modal__field input[type=url],.new-entity-modal__field textarea,.new-entity-modal__field select{padding:10px 12px;font-size:14px;border:1px solid #d1d5db;border-radius:8px;background:#fff;color:#111827;transition:all .15s ease;width:100%;box-sizing:border-box}.new-entity-modal__field input:focus,.new-entity-modal__field textarea:focus,.new-entity-modal__field select:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.new-entity-modal__field input::placeholder,.new-entity-modal__field textarea::placeholder{color:#9ca3af}.new-entity-modal__field textarea{resize:vertical;min-height:80px}.new-entity-modal__field--checkbox label{display:flex;align-items:center;gap:8px;cursor:pointer}.new-entity-modal__field--checkbox input[type=checkbox]{width:18px;height:18px;accent-color:#3b82f6;cursor:pointer}.new-entity-modal__radio-group{display:flex;flex-direction:column;gap:8px;margin-top:4px}.new-entity-modal__radio-option{display:flex;align-items:center;gap:8px;font-weight:400;cursor:pointer}.new-entity-modal__radio-option input[type=radio]{width:18px;height:18px;accent-color:#3b82f6;cursor:pointer}.new-entity-modal__actions{display:flex;justify-content:flex-end;gap:12px;padding-top:8px;border-top:1px solid #e5e7eb;margin-top:8px}.new-entity-modal__button{display:inline-flex;align-items:center;gap:8px;padding:10px 20px;font-size:14px;font-weight:500;border-radius:8px;cursor:pointer;transition:all .15s ease;border:none}.new-entity-modal__button:disabled{opacity:.6;cursor:not-allowed}.new-entity-modal__button--primary{background-color:#3b82f6;color:#fff}.new-entity-modal__button--primary:hover:not(:disabled){background-color:#2563eb}.new-entity-modal__button--secondary{background-color:#fff;color:#374151;border:1px solid #d1d5db}.new-entity-modal__button--secondary:hover:not(:disabled){background-color:#f9fafb}.new-entity-modal__button-spinner{width:16px;height:16px;border:2px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:new-entity-spin .8s linear infinite}@media (max-width: 640px){.new-entity-modal__overlay{padding:10px}.new-entity-modal__container{max-height:95vh}.new-entity-modal__header,.new-entity-modal__content{padding:16px}.new-entity-modal__actions{flex-direction:column-reverse}.new-entity-modal__button{width:100%;justify-content:center}}.communications-hub{display:flex;flex-direction:column;gap:1rem}.communications-hub__header{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem}.communications-hub__title{margin:0;font-size:1.5rem;color:#111827}.communications-hub__subtitle{margin:.25rem 0 0;color:#6b7280;font-size:.9rem}.communications-hub__header-actions{display:flex;gap:.5rem;flex-wrap:wrap;justify-content:flex-end}.communications-hub__composer{border:1px solid #e5e7eb;border-radius:.75rem;background:#fff;padding:.9rem;display:grid;gap:.75rem}.communications-hub__composer-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem}.communications-hub__composer-field{display:grid;gap:.35rem;min-width:0}.communications-hub__composer-field span{font-size:.75rem;color:#4b5563}.communications-hub__composer-field--full{grid-column:1 / -1}.communications-hub__composer-field .hub-input,.communications-hub__composer-field .hub-select{min-width:0;width:100%;flex:0 0 auto}.communications-hub__composer-actions{display:flex;justify-content:flex-end;gap:.5rem}.hub-btn{border:1px solid #d1d5db;background:#fff;color:#111827;border-radius:.5rem;padding:.5rem .8rem;font-size:.85rem;cursor:pointer;transition:background .2s ease,border-color .2s ease}.hub-btn:hover:not(:disabled){background:#f9fafb;border-color:#9ca3af}.hub-btn:disabled{opacity:.6;cursor:not-allowed}.hub-btn--primary{background:#111827;color:#fff;border-color:#111827}.hub-btn--primary:hover:not(:disabled){background:#1f2937}.hub-btn--secondary{background:#f8fafc}.hub-btn--ghost{background:transparent;border-color:transparent;color:#4b5563}.hub-btn--ghost:hover:not(:disabled){background:#f3f4f6;border-color:#e5e7eb}.hub-btn--tiny{padding:.25rem .5rem;font-size:.75rem}.communications-hub__metrics{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:.75rem}.metric-card{border:1px solid #e5e7eb;border-radius:.75rem;padding:.75rem;background:#fff}.metric-card--warning{background:#fffbeb;border-color:#fcd34d}.metric-card--danger{background:#fef2f2;border-color:#fecaca}.metric-card__label{text-transform:uppercase;font-size:.68rem;color:#6b7280;letter-spacing:.04em}.metric-card__value{margin-top:.35rem;font-size:1.4rem;font-weight:700;color:#111827}.metric-card__trend{margin-top:.15rem;color:#6b7280;font-size:.78rem}.communications-hub__tabs{display:flex;gap:.5rem;overflow-x:auto;border-bottom:1px solid #e5e7eb;padding-bottom:.5rem}.hub-tab{border:none;background:transparent;color:#6b7280;padding:.35rem .5rem;cursor:pointer;font-size:.82rem;border-radius:.4rem;white-space:nowrap}.hub-tab.active{color:#111827;background:#f3f4f6;font-weight:600}.hub-tab__pill{margin-left:.35rem;background:#fde68a;color:#92400e;border-radius:9999px;padding:0 .4rem;font-size:.72rem}.communications-hub__toolbar{display:flex;gap:.5rem;align-items:center;flex-wrap:wrap}.hub-input,.hub-select{border:1px solid #d1d5db;border-radius:.5rem;padding:.45rem .6rem;font-size:.84rem;background:#fff;color:#111827}.hub-input{min-width:260px;flex:1}.hub-select{min-width:135px}.hub-multiselect{position:relative}.hub-multiselect__summary{list-style:none;cursor:pointer;-webkit-user-select:none;user-select:none;min-width:160px}.hub-multiselect__summary::-webkit-details-marker{display:none}.hub-multiselect__summary:after{content:"▾";margin-left:.5rem;color:#6b7280}.hub-multiselect[open] .hub-multiselect__summary:after{content:"▴"}.hub-multiselect__menu{position:absolute;top:calc(100% + .35rem);left:0;z-index:12;min-width:200px;padding:.5rem;border:1px solid #e5e7eb;border-radius:.65rem;background:#fff;box-shadow:0 12px 24px #0f172a1f;display:grid;gap:.35rem}.hub-multiselect__clear{border:none;background:transparent;text-align:left;font-size:.78rem;color:#374151;padding:.25rem;border-radius:.4rem;cursor:pointer}.hub-multiselect__clear:hover{background:#f3f4f6}.hub-multiselect__clear:disabled{cursor:default;opacity:.45;background:transparent}.hub-multiselect__option{display:flex;align-items:center;gap:.45rem;font-size:.82rem;color:#111827;padding:.2rem .25rem;border-radius:.4rem}.hub-multiselect__option:hover{background:#f9fafb}.hub-multiselect__option input{margin:0}.hub-select--small{min-width:80px}.hub-textarea{border:1px solid #d1d5db;border-radius:.5rem;padding:.55rem .65rem;font-size:.84rem;background:#fff;color:#111827;resize:vertical;width:100%;min-height:110px;font-family:inherit}.communications-hub__bulk-actions{display:flex;justify-content:space-between;align-items:center;font-size:.82rem;color:#4b5563}.communications-hub__bulk-actions-right{display:flex;gap:.45rem}.communications-hub__layout{display:block}.communications-hub__table-wrap{border:1px solid #e5e7eb;border-radius:.75rem;background:#fff;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch}.communications-table{width:100%;border-collapse:collapse;min-width:1160px}.communications-table thead th{text-align:left;font-size:.76rem;color:#6b7280;font-weight:600;padding:.6rem .55rem;border-bottom:1px solid #e5e7eb;background:#f9fafb}.communications-table tbody td{padding:.6rem .55rem;border-bottom:1px solid #f3f4f6;font-size:.82rem;color:#111827;vertical-align:top}.communications-table tbody tr{cursor:pointer}.communications-table tbody tr:hover{background:#f9fafb}.communications-table tbody tr.is-active{background:#eff6ff}.communications-table__empty{text-align:center;padding:2rem!important;color:#6b7280!important}.cell-caps{text-transform:uppercase;font-size:.74rem;color:#4b5563}.subject-cell{font-weight:600;color:#111827;margin-bottom:.2rem}.preview-cell{color:#6b7280;font-size:.76rem;max-width:280px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.link-pill{display:inline-flex;align-items:center;gap:.2rem;border-radius:9999px;padding:.1rem .45rem;font-size:.72rem;border:1px solid #d1d5db}.link-pill--linked{background:#f3f4f6;color:#374151}.link-pill--unlinked{background:#fff7ed;color:#c2410c;border-color:#fdba74}.status-pill{display:inline-block;border-radius:.35rem;padding:.12rem .45rem;font-size:.72rem;border:1px solid transparent}.status-pill.status-failed{color:#b91c1c;background:#fee2e2}.status-pill.status-delivered,.status-pill.status-processed,.status-pill.status-read{color:#065f46;background:#dcfce7}.status-pill.status-received,.status-pill.status-sent,.status-pill.status-queued,.status-pill.status-sending{color:#1d4ed8;background:#dbeafe}.status-pill.status-default{color:#374151;background:#f3f4f6}.actions-cell{display:flex;gap:.25rem;white-space:nowrap}.communications-table .col-topic{min-width:110px}.communications-table .col-link,.communications-table .col-actions{min-width:120px}.communications-hub__footer{display:flex;justify-content:space-between;align-items:center;padding:.65rem .8rem;border-top:1px solid #e5e7eb;font-size:.78rem;color:#6b7280}.communications-hub__footer-left,.communications-hub__footer-right{display:flex;align-items:center;gap:.5rem}.communications-hub__panel{border:1px solid #e5e7eb;border-radius:.75rem;background:#fff;padding:.9rem;position:-webkit-sticky;position:sticky;top:.75rem;align-self:start}.communications-hub__modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:80;background:#1118276b;display:flex;justify-content:center;align-items:flex-start;padding:1.5rem .9rem}.communications-hub__modal{width:min(840px,100%);max-height:calc(100vh - 3rem);overflow-y:auto;border:1px solid #e5e7eb;border-radius:.75rem;background:#fff;padding:.95rem;box-shadow:0 24px 48px #0f172a2e}.communications-hub__modal-header{display:flex;justify-content:space-between;align-items:flex-start;gap:.7rem}.panel-header h3{margin:0;font-size:1rem;color:#111827}.panel-header p{margin:.2rem 0 0;font-size:.75rem;color:#6b7280}.panel-warning{margin-top:.8rem;border:1px solid #fbbf24;background:#fffbeb;border-radius:.55rem;padding:.65rem}.panel-warning strong{display:block;font-size:.82rem;color:#92400e}.panel-warning p{margin:.3rem 0 0;color:#b45309;font-size:.75rem}.panel-section{margin-top:1rem;border-top:1px solid #f3f4f6;padding-top:.8rem}.panel-section h4{margin:0 0 .45rem;font-size:.8rem;color:#374151;text-transform:uppercase;letter-spacing:.04em}.panel-content-box{border:1px solid #e5e7eb;border-radius:.55rem;background:#f9fafb;padding:.65rem;font-size:.82rem;color:#111827;white-space:pre-wrap}.panel-form-row{display:grid;grid-template-columns:1fr;gap:.45rem}.panel-quick-actions{display:grid;grid-template-columns:1fr 1fr;gap:.4rem;margin-top:.55rem}.panel-metadata{margin:0;display:grid;gap:.35rem}.panel-metadata div{display:grid;grid-template-columns:110px 1fr;gap:.45rem}.panel-metadata dt{font-size:.75rem;color:#6b7280}.panel-metadata dd{margin:0;font-size:.78rem;color:#111827;word-break:break-all}.panel-empty{display:flex;flex-direction:column;gap:.55rem}.panel-empty h3{margin:0;font-size:1rem;color:#111827}.panel-empty p{margin:0;color:#6b7280;font-size:.82rem}.panel-empty-actions{display:flex;gap:.45rem}@media (max-width: 1200px){.communications-hub__metrics{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width: 980px){.communications-hub__layout{display:block}}@media (max-width: 720px){.communications-hub__metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.communications-hub__composer-grid{grid-template-columns:1fr}.communications-hub__header{flex-direction:column;align-items:stretch}.communications-hub__header-actions{justify-content:flex-start}.communications-hub__footer{flex-direction:column;align-items:flex-start;gap:.55rem}.communications-hub__modal-backdrop{padding:.7rem;align-items:stretch}.communications-hub__modal{max-height:100%;border-radius:.5rem}}.dashboard-container{max-width:1200px;margin:0 auto;padding:2rem 1rem}.dashboard-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:2rem}.dashboard-header-text{flex:1}.dashboard-title{font-size:1.875rem;font-weight:700;color:#111827;margin-bottom:.5rem}.dashboard-subtitle{color:#6b7280}.dashboard-header-actions{display:flex;align-items:center;gap:.75rem}.dashboard-tabs{margin-bottom:1.5rem}.dashboard-tab-nav{display:flex;gap:2rem;border-bottom:1px solid #e5e7eb}.dashboard-tab-button{white-space:nowrap;padding:.5rem .25rem;border-bottom:2px solid transparent;font-weight:500;font-size:.875rem;background:none;border-top:none;border-left:none;border-right:none;cursor:pointer;transition:all .2s}.dashboard-tab-button.active{border-bottom-color:#4f46e5;color:#4f46e5}.dashboard-tab-button:not(.active){color:#6b7280}.dashboard-tab-button:not(.active):hover{color:#374151;border-bottom-color:#d1d5db}.dashboard-unified-grid{display:grid;gap:1.25rem;margin-bottom:2rem;grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}.dashboard-unified-grid.density-compact{gap:.75rem}.dashboard-unified-grid.density-compact .dashboard-metric-card,.dashboard-unified-grid.density-compact .urgent-actions-card,.dashboard-unified-grid.density-compact .recent-activity-card,.dashboard-unified-grid.density-compact .ai-features-card,.dashboard-unified-grid.density-compact .financial-overview-card{padding:1rem;min-height:200px}.dashboard-unified-grid.density-detailed{gap:1.5rem}.dashboard-unified-grid.density-detailed .dashboard-metric-card,.dashboard-unified-grid.density-detailed .urgent-actions-card,.dashboard-unified-grid.density-detailed .recent-activity-card,.dashboard-unified-grid.density-detailed .ai-features-card,.dashboard-unified-grid.density-detailed .financial-overview-card{padding:2rem;min-height:320px}.dashboard-edit-mode-banner{background:#eef2ff;border:2px solid #4f46e5;border-radius:.5rem;padding:.75rem 1rem;margin-bottom:1rem;display:flex;align-items:center;gap:.75rem;animation:slideDown .3s ease}.dashboard-edit-mode-banner svg{color:#4f46e5;flex-shrink:0}.dashboard-edit-mode-text{flex:1}.dashboard-edit-mode-title{font-weight:600;color:#4338ca;margin:0 0 .25rem;font-size:.875rem}.dashboard-edit-mode-description{color:#6366f1;margin:0;font-size:.75rem}@media (min-width: 768px){.dashboard-unified-grid{grid-template-columns:repeat(2,1fr)}}@media (min-width: 1024px){.dashboard-unified-grid{grid-template-columns:repeat(4,1fr)}}@media (min-width: 1024px){.dashboard-card-wrapper[data-card-id=urgent-actions],.dashboard-card-wrapper[data-card-id=recent-activity],.dashboard-card-wrapper[data-card-id=ai-features],.dashboard-card-wrapper[data-card-id=financial-overview]{grid-column:span 2}}@media (max-width: 640px){.dashboard-header{flex-direction:column;align-items:flex-start;gap:1rem}.dashboard-header-actions{width:100%;justify-content:flex-end}}.dashboard-grid{display:grid;grid-template-columns:1fr;gap:1.5rem;margin-bottom:2rem}@media (min-width: 768px){.dashboard-grid{grid-template-columns:repeat(2,1fr)}}@media (min-width: 1024px){.dashboard-grid{grid-template-columns:repeat(3,1fr)}}.dashboard-card{background:#fff;padding:1.5rem;border-radius:.5rem;box-shadow:0 1px 3px #0000001a,0 1px 2px #0000000f;border:1px solid #e5e7eb;text-decoration:none;color:inherit;transition:all .2s}.dashboard-card:hover{box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f;transform:translateY(-1px)}.dashboard-card-content{display:flex;align-items:center}.dashboard-card-icon{flex-shrink:0;margin-right:1rem}.dashboard-card-icon svg{width:2rem;height:2rem}.dashboard-card-icon.blue svg{color:#2563eb}.dashboard-card-icon.green svg{color:#16a34a}.dashboard-card-icon.purple svg{color:#9333ea}.dashboard-card-text h3{font-size:1.125rem;font-weight:500;color:#111827;margin:0 0 .25rem}.dashboard-card-text p{font-size:.875rem;color:#6b7280;margin:0}.dashboard-overview{background:#fff;border-radius:.5rem;box-shadow:0 1px 3px #0000001a,0 1px 2px #0000000f;padding:1.5rem}.dashboard-overview h2{font-size:1.25rem;font-weight:600;color:#111827;margin-bottom:1rem}.dashboard-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem}@media (max-width: 1024px){.dashboard-stats{grid-template-columns:repeat(2,1fr)}}@media (max-width: 640px){.dashboard-stats{grid-template-columns:1fr}}.dashboard-stat{text-align:center}.dashboard-stat-value{font-size:1.5rem;font-weight:700;margin-bottom:.25rem}.dashboard-stat-value.blue{color:#2563eb}.dashboard-stat-value.green{color:#16a34a}.dashboard-stat-value.purple{color:#9333ea}.dashboard-stat-value.orange{color:#ea580c}.dashboard-stat-label{font-size:.875rem;color:#6b7280}.dashboard-pinned-reports-full-width{width:100%;max-width:none;margin:0 0 1.5rem}.dashboard-cards-grid{display:grid;grid-template-columns:1fr;gap:1.5rem;margin-bottom:2rem}@media (min-width: 768px){.dashboard-cards-grid{grid-template-columns:repeat(2,1fr)}}@media (min-width: 1280px){.dashboard-cards-grid{grid-template-columns:repeat(2,1fr)}}.airec-page{position:relative;display:flex;flex-direction:column;gap:16px}.airec-page h1{margin:0;font-size:28px;font-weight:700;color:#111827}.airec-page h3{margin:0;font-size:16px;font-weight:600;color:#111827}.airec-page-loading,.airec-page-empty{display:flex;flex-direction:column;gap:12px;background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:24px}.airec-header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:20px}.airec-header p{margin:6px 0 0;font-size:14px;color:#6b7280}.airec-header-right{display:flex;flex-direction:column;align-items:flex-end;gap:10px}.airec-control-row{display:flex;align-items:center;gap:8px}.airec-select{border:1px solid #d1d5db;border-radius:8px;background:#fff;color:#374151;font-size:12px;font-weight:600;padding:6px 8px;min-width:130px}.airec-select:disabled{color:#6b7280;background:#f9fafb}.airec-chip-row{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.airec-chip{display:inline-flex;align-items:center;gap:6px;border:1px solid #d1d5db;background:#f9fafb;color:#374151;border-radius:999px;padding:4px 10px;font-size:12px;font-weight:600}.airec-chip-dot{width:8px;height:8px;border-radius:999px}.airec-chip-dot.green{background:#22c55e}.airec-chip-dot.amber{background:#f59e0b}.airec-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.airec-kpi-card{background:#fff;border:1px solid #e5e7eb;border-radius:10px;padding:14px}.airec-kpi-card .label{font-size:12px;color:#6b7280;margin-bottom:6px}.airec-kpi-card .value{font-size:22px;font-weight:700;color:#111827}.airec-kpi-card .value.danger{color:#dc2626}.airec-ops-grid{display:grid;grid-template-columns:2fr 1fr;gap:12px}.airec-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:14px}.airec-card-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px;gap:10px}.airec-card-header-right{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}.airec-subtle-text{font-size:12px;color:#6b7280}.airec-pagination{display:inline-flex;align-items:center;gap:6px}.airec-pagination-btn{border:1px solid #d1d5db;border-radius:7px;background:#fff;color:#374151;font-size:12px;font-weight:600;padding:5px 8px;cursor:pointer}.airec-pagination-btn:disabled{opacity:.5;cursor:not-allowed}.airec-pagination-label{font-size:12px;color:#6b7280;min-width:76px;text-align:center}.airec-table-wrap{overflow-x:auto}.airec-table{width:100%;border-collapse:collapse}.airec-table th,.airec-table td{padding:8px 10px;border-bottom:1px solid #f3f4f6;text-align:left;font-size:13px}.airec-table th{color:#6b7280;font-weight:600}.airec-clickable-row{cursor:pointer}.airec-clickable-row:hover td{background:#f9fafb}.airec-caller-cell{display:flex;flex-direction:column;gap:2px}.airec-caller-cell strong{font-size:12px;color:#111827}.airec-caller-cell span{font-size:12px;color:#6b7280}.airec-outcome-badge{display:inline-flex;align-items:center;border-radius:999px;padding:3px 8px;font-size:11px;font-weight:700}.airec-outcome-badge.success{color:#166534;background:#dcfce7}.airec-outcome-badge.danger{color:#991b1b;background:#fee2e2}.airec-outcome-badge.warning{color:#92400e;background:#fef3c7}.airec-outcome-badge.neutral{color:#374151;background:#f3f4f6}.airec-action-list{display:grid;gap:10px}.airec-action-item{display:grid;grid-template-columns:16px 1fr;gap:8px;align-items:start;color:#374151;padding:8px;border:1px solid #f3f4f6;border-radius:8px}.airec-action-item p{margin:4px 0 0;font-size:12px;color:#6b7280}.airec-failure-list{margin-top:12px;border-top:1px solid #f3f4f6;padding-top:10px}.airec-failure-list h4{margin:0 0 8px;font-size:13px;color:#374151}.airec-failure-row{display:flex;justify-content:space-between;gap:8px;font-size:12px;color:#4b5563;padding:4px 0}.airec-tabs{background:#fff;border:1px solid #e5e7eb;border-radius:12px;overflow:hidden}.airec-tab-buttons{display:flex;gap:2px;border-bottom:1px solid #e5e7eb;background:#f9fafb;padding:6px}.airec-tab-buttons button{border:1px solid transparent;background:transparent;border-radius:8px;padding:8px 10px;font-size:13px;font-weight:600;color:#6b7280;cursor:pointer}.airec-tab-buttons button.active{background:#fff;color:#111827;border-color:#e5e7eb}.airec-tab-content{padding:12px}.airec-overview-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:10px}.airec-overview-grid>div{border:1px solid #f3f4f6;border-radius:8px;padding:10px;background:#fafafa}.airec-overview-grid .label{display:block;font-size:12px;color:#6b7280;margin-bottom:4px}.airec-workflow-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.airec-workflow-header .actions{display:flex;gap:8px}.airec-runtime-banner{display:flex;justify-content:space-between;align-items:center;gap:12px;border:1px solid #e5e7eb;border-radius:10px;padding:12px 14px;margin-bottom:12px}.airec-runtime-banner.active{background:#effcf4;border-color:#86efac}.airec-runtime-banner.inactive{background:#f9fafb;border-color:#e5e7eb}.airec-runtime-banner-copy{display:flex;flex-direction:column;gap:4px}.airec-runtime-banner-copy strong{font-size:13px;color:#111827}.airec-runtime-banner-copy span{font-size:12px;color:#4b5563}.airec-compiled{margin-top:12px}.airec-compiled h4{margin:0 0 8px;font-size:13px;color:#374151}.airec-compiled pre{margin:0;white-space:pre-wrap;font-size:12px;padding:10px;border-radius:8px;border:1px solid #e5e7eb;background:#f9fafb;max-height:220px;overflow:auto}.airec-inline-banner{display:inline-flex;align-items:center;gap:8px;font-size:13px;color:#6b7280;border:1px dashed #d1d5db;border-radius:8px;padding:8px 10px}.airec-assist-list{display:grid;gap:10px;margin-top:10px}.airec-assist-item{display:grid;grid-template-columns:16px 1fr auto;gap:8px;align-items:start;border:1px solid #f3f4f6;border-radius:8px;padding:10px}.airec-assist-item p{margin:4px 0 0;font-size:12px;color:#6b7280}.airec-assist-details{margin-top:8px}.airec-assist-details>summary{cursor:pointer;color:#111827;font-size:12px;font-weight:600}.airec-assist-details-content{margin-top:8px;padding:8px;border:1px solid #e5e7eb;border-radius:8px;background:#f9fafb}.airec-assist-counts{margin:0;color:#374151;font-size:12px;font-weight:600}.airec-assist-preview-list{margin:8px 0 0;padding-left:16px;color:#4b5563;font-size:12px}.airec-assist-preview-list li{margin:2px 0}.airec-assist-empty-preview{margin:8px 0 0;font-size:12px;color:#6b7280}.airec-assist-raw-patch{margin-top:8px}.airec-assist-raw-patch>summary{cursor:pointer;color:#4b5563;font-size:12px;font-weight:600}.airec-assist-raw-patch pre{margin:8px 0 0;max-height:220px;overflow:auto;padding:8px;border-radius:8px;border:1px solid #e5e7eb;background:#fff;color:#111827;font-size:11px;line-height:1.45}.airec-simulation-controls{display:grid;gap:10px;margin-top:10px}.airec-sim-field{display:grid;gap:6px}.airec-sim-field label{font-size:12px;color:#6b7280;font-weight:600}.airec-simulation-actions,.airec-sim-presets{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.airec-btn-sm{padding:6px 10px;font-size:12px}.airec-btn.active{border-color:#111827;background:#111827;color:#fff}.airec-simulation-preview{margin-top:12px;border:1px solid #e5e7eb;border-radius:10px;padding:10px;background:#f9fafb}.airec-simulation-preview h4{margin:0 0 6px;font-size:13px}.airec-simulation-preview p{margin:0;font-size:12px;color:#4b5563}.airec-simulation-error{margin-top:10px;display:inline-flex;align-items:center;gap:8px;color:#b91c1c;background:#fee2e2;border:1px solid #fecaca;border-radius:8px;padding:8px 10px;font-size:12px}.airec-simulation-results{margin-top:12px;border:1px solid #e5e7eb;border-radius:10px;padding:10px}.airec-simulation-results h4{margin:0 0 10px;font-size:13px}.airec-sim-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.airec-sim-summary-grid>div{border:1px solid #f3f4f6;border-radius:8px;padding:8px;background:#fff;display:grid;gap:4px}.airec-sim-summary-grid .label{font-size:11px;color:#6b7280;font-weight:600}.airec-sim-summary-grid strong{font-size:16px;color:#111827}.airec-sim-lists{margin-top:10px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.airec-sim-lists h5{margin:0 0 6px;font-size:12px;color:#374151}.airec-sim-lists ul{margin:0;padding-left:18px;color:#4b5563;font-size:12px}.airec-sim-lists li{margin:2px 0}.airec-btn{border:1px solid #d1d5db;background:#fff;color:#111827;border-radius:8px;padding:8px 12px;font-size:13px;font-weight:600;cursor:pointer}.airec-btn:disabled{opacity:.6;cursor:not-allowed}.airec-btn-primary{background:#111827;color:#fff;border-color:#111827}.airec-btn-outline{background:#fff}.airec-drawer-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a33;opacity:0;pointer-events:none;transition:opacity .2s ease;z-index:39}.airec-drawer-backdrop.open{opacity:1;pointer-events:auto}.airec-call-drawer{position:fixed;top:0;right:0;height:100vh;width:min(420px,100vw);background:#fff;border-left:1px solid #e5e7eb;z-index:40;transform:translate(100%);transition:transform .2s ease;display:flex;flex-direction:column}.airec-call-drawer.open{transform:translate(0)}.airec-call-drawer-header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;border-bottom:1px solid #f3f4f6;padding:14px}.airec-call-drawer-header h3{margin:0}.airec-call-drawer-header p{margin:6px 0 0;color:#6b7280;font-size:12px}.airec-call-drawer-body{overflow-y:auto;padding:14px;display:grid;gap:12px}.airec-detail-section{border:1px solid #e5e7eb;border-radius:10px;padding:10px}.airec-detail-section h4{margin:0 0 8px;font-size:13px;color:#374151}.airec-detail-row{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding:5px 0;font-size:12px;color:#6b7280}.airec-detail-row strong{text-align:right;color:#111827;font-size:12px}.airec-transcript-preview{margin:0;white-space:pre-wrap;border:1px solid #f3f4f6;border-radius:8px;background:#f9fafb;padding:10px;font-size:12px;color:#374151;max-height:240px;overflow:auto}.airec-icon-btn{width:28px;height:28px;border:1px solid #d1d5db;border-radius:8px;background:#fff;color:#4b5563;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.airec-empty-detail{border:1px dashed #d1d5db;border-radius:10px;padding:12px;font-size:13px;color:#6b7280;display:flex;align-items:center;gap:8px}@media (max-width: 1200px){.airec-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.airec-ops-grid{grid-template-columns:1fr}.airec-overview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width: 840px){.airec-header{flex-direction:column;align-items:stretch}.airec-header-right{align-items:flex-start}.airec-chip-row{justify-content:flex-start}.airec-runtime-banner{flex-direction:column;align-items:flex-start}}@media (max-width: 720px){.airec-kpi-grid,.airec-overview-grid{grid-template-columns:1fr}.airec-control-row{width:100%;flex-direction:column;align-items:stretch}.airec-select{width:100%}.airec-assist-item{grid-template-columns:16px 1fr}.airec-assist-item .airec-btn{grid-column:1 / -1;width:-webkit-fit-content;width:fit-content}.airec-sim-summary-grid,.airec-sim-lists{grid-template-columns:1fr}}:root{--primary: #059669;--primary-dark: #047857;--primary-light: #10B981;--accent: #0D9488;--slate-900: #0f172a;--slate-800: #1e293b;--slate-700: #334155;--slate-600: #475569;--slate-500: #64748b;--slate-400: #94a3b8;--slate-200: #e2e8f0;--slate-100: #f1f5f9;--slate-50: #f8fafc;--white: #ffffff;--warning: #fbbf24;--shadow-sm: 0 1px 2px 0 rgb(0 0 0 / .05);--shadow-md: 0 4px 6px -1px rgb(0 0 0 / .1);--shadow-lg: 0 10px 15px -3px rgb(0 0 0 / .1);--shadow-xl: 0 20px 25px -5px rgb(0 0 0 / .1)}.pricing-page{width:100%;overflow-x:hidden}.pricing-header-section{background-color:var(--slate-900);color:#fff;padding:8rem 0 12rem;text-align:center;position:relative;overflow:hidden}.pricing-header-section:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;opacity:.1;background-image:radial-gradient(var(--primary) 1px,transparent 1px);background-size:32px 32px;z-index:0}.pricing-header-section>*{position:relative;z-index:10}.pricing-main-heading{font-size:48px;font-weight:700;margin:0 0 20px;line-height:1.2}.pricing-subheading{font-size:20px;max-width:700px;margin:0 auto 40px;line-height:1.6;opacity:.95}.billing-toggle{display:flex;align-items:center;justify-content:center;gap:16px;font-size:18px;font-weight:600}.billing-toggle span{opacity:.7;transition:opacity .2s ease}.billing-toggle span.active{opacity:1}.toggle-switch{width:56px;height:28px;background:#ffffff4d;border:none;border-radius:14px;position:relative;cursor:pointer;transition:background-color .2s ease}.toggle-switch:hover{background:#fff6}.toggle-slider{position:absolute;top:2px;left:2px;width:24px;height:24px;background:#fff;border-radius:50%;transition:transform .2s ease}.toggle-slider.annual{transform:translate(28px)}.savings-badge{background:var(--warning);color:var(--slate-900);padding:2px 8px;border-radius:99px;font-size:.75rem;margin-left:8px;font-weight:700;text-transform:uppercase}.pricing-tiers-section{margin-top:-8rem;padding:0 20px 80px;background:var(--slate-50);position:relative;z-index:20}.pricing-tiers-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:32px;max-width:1400px;margin:0 auto}.pricing-tier-detailed{background:#fff;border-radius:16px;padding:40px 32px;border:1px solid var(--slate-200);transition:transform .3s ease,box-shadow .3s ease;position:relative;box-shadow:var(--shadow-xl)}.pricing-tier-detailed:hover{transform:translateY(-5px);box-shadow:0 25px 40px -5px #00000026}.pricing-tier-detailed.highlighted{border-color:var(--primary);transform:scale(1);box-shadow:0 20px 40px -10px #05966933}.pricing-tier-detailed.highlighted:hover{transform:translateY(-4px);box-shadow:0 25px 40px -10px #05966940}.most-popular-badge{position:absolute;top:-16px;left:50%;transform:translate(-50%);background:linear-gradient(to right,var(--primary),var(--accent));color:#fff;padding:8px 24px;border-radius:99px;font-size:.875rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;box-shadow:var(--shadow-md)}.tier-name-detailed{font-size:28px;font-weight:700;margin:0 0 24px;color:#1a202c}.tier-pricing{margin-bottom:32px;padding-bottom:32px;border-bottom:2px solid #e2e8f0}.tier-price-custom{font-size:32px;font-weight:700;color:#1a202c;margin:0}.tier-price-amount{font-size:48px;font-weight:700;color:#1a202c;margin:0;line-height:1}.price-period{font-size:16px;font-weight:400;color:#718096}.annual-note{font-size:14px;color:#718096;margin:8px 0 0}.minimum-users{font-size:14px;color:#4a5568;margin:12px 0 0;font-weight:600}.tier-features-list{list-style:none;padding:0;margin:0 0 32px}.tier-feature-item{padding:12px 0;color:#2d3748;display:flex;align-items:flex-start;gap:12px;line-height:1.6}.feature-check{color:var(--primary);font-weight:700;font-size:18px;flex-shrink:0}.tier-cta-button{width:100%;background-color:var(--primary);color:#fff;font-size:16px;font-weight:700;padding:16px 24px;border:none;border-radius:12px;cursor:pointer;transition:all .3s ease;box-shadow:var(--shadow-md)}.tier-cta-button:hover{background-color:var(--primary-dark);transform:translateY(-2px);box-shadow:var(--shadow-lg)}.tier-cta-button.highlighted-cta{background-color:var(--primary-dark)}.tier-cta-button.highlighted-cta:hover{background-color:#065f46}.pricing-faq-section{padding:80px 20px;background:#fff}.faq-heading{font-size:36px;font-weight:700;text-align:center;margin:0 0 60px;color:#1a202c}.faq-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(350px,1fr));gap:32px;max-width:1200px;margin:0 auto}.faq-item{padding:32px;background:var(--slate-50);border-radius:12px;border:1px solid var(--slate-200);transition:all .3s ease}.faq-item:hover{background-color:#fff;box-shadow:var(--shadow-md);border-color:var(--primary-light);transform:translateY(-2px)}.faq-question{font-size:18px;font-weight:700;margin:0 0 12px;color:#1a202c}.faq-answer{font-size:16px;line-height:1.6;color:#4a5568;margin:0}.pricing-cta-section{padding:6rem 0;background:linear-gradient(135deg,var(--slate-900) 0%,var(--slate-800) 100%);color:#fff;text-align:center;position:relative}.cta-heading{font-size:40px;font-weight:700;margin:0 0 20px}.cta-subtext{font-size:18px;max-width:600px;margin:0 auto 32px;line-height:1.6;opacity:.95}.cta-button-final{background-color:var(--primary);color:#fff;font-size:1rem;font-weight:600;padding:1rem 2rem;border:none;border-radius:12px;cursor:pointer;transition:all .3s ease;box-shadow:var(--shadow-md)}.cta-button-final:hover{background-color:var(--primary-dark);transform:translateY(-1px);box-shadow:var(--shadow-lg)}.pricing-footer{background:var(--slate-900);color:#fff;padding:3rem 20px;text-align:center;border-top:1px solid var(--slate-800)}.footer-content{max-width:1200px;margin:0 auto}.footer-links{margin-top:24px;display:flex;justify-content:center;gap:32px}.footer-links a{color:#fff;text-decoration:none;transition:opacity .2s ease}.footer-links a:hover{opacity:.8}@media (max-width: 1024px){.pricing-tiers-grid{grid-template-columns:repeat(2,1fr)}.pricing-tier-detailed.highlighted{transform:scale(1);grid-column:span 2}.pricing-tier-detailed.highlighted:hover{transform:translateY(-4px)}}@media (max-width: 768px){.pricing-main-heading{font-size:36px}.pricing-subheading{font-size:18px}.billing-toggle{font-size:16px}.pricing-tiers-grid{grid-template-columns:1fr}.pricing-tier-detailed.highlighted{grid-column:span 1;transform:scale(1)}.faq-grid{grid-template-columns:1fr}.cta-heading{font-size:32px}.footer-links{flex-direction:column;gap:16px}}@media (max-width: 390px){.pricing-header-section{padding:60px 16px 40px}.pricing-main-heading{font-size:28px}.tier-price-amount{font-size:36px}.pricing-tier-detailed{padding:32px 24px}.cta-button-final{padding:16px 32px;font-size:16px}}:root{--primary: #059669;--primary-dark: #047857;--primary-light: #10b981;--accent: #0d9488;--slate-900: #0f172a;--slate-800: #1e293b;--slate-700: #334155;--slate-600: #475569;--slate-500: #64748b;--slate-400: #94a3b8;--slate-200: #e2e8f0;--slate-100: #f1f5f9;--slate-50: #f8fafc;--white: #ffffff;--shadow-md: 0 4px 6px -1px rgb(0 0 0 / .1);--shadow-lg: 0 10px 15px -3px rgb(0 0 0 / .1);--shadow-xl: 0 20px 25px -5px rgb(0 0 0 / .1)}.features-page{width:100%;overflow-x:hidden;background:var(--slate-50)}.features-page,.features-page *{box-sizing:border-box}.feature-detail-container,.feature-screenshot-side,.feature-content-side,.feature-visual-card,.features-hero-panels,.hero-panel,.features-workflow-grid,.workflow-strip-card,.features-ai-privacy-grid,.integration-grid{min-width:0;max-width:100%}.features-top-nav{padding:1.5rem;background:var(--slate-900);color:#fff;border-bottom:1px solid var(--slate-800)}.features-top-nav-inner{max-width:1280px;margin:0 auto;display:flex;justify-content:space-between;align-items:center;padding:0 1.5rem}.features-top-nav-logo{display:flex;align-items:center;cursor:pointer}.features-top-nav-links{display:flex;gap:2rem;font-size:.9rem;align-items:center}.features-top-nav-links a,.features-top-nav-links span{color:#fff;text-decoration:none}.features-top-nav-links a{opacity:.8}.features-top-nav-links span{color:var(--primary);font-weight:700}.features-top-nav-links button{border:0;border-radius:.5rem;background:var(--primary);color:#fff;padding:.5rem .9rem;cursor:pointer;font-weight:700}.features-hero-section{background-color:var(--slate-900);color:#fff;padding:8rem 20px 12rem;position:relative;overflow:hidden}.features-hero-section:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;opacity:.1;background-image:radial-gradient(var(--primary) 1px,transparent 1px);background-size:32px 32px}.features-hero-section>*{position:relative;z-index:10}.features-hero-copy{max-width:900px;margin:0 auto;text-align:center}.features-eyebrow{margin:0 0 12px;color:#86efac;font-size:.95rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase}.features-main-heading{font-size:48px;font-weight:700;margin:0 0 24px;line-height:1.2}.features-subheading{font-size:20px;max-width:700px;margin:0 auto;line-height:1.6;opacity:.95}.features-trust-strip{margin:1rem 0 0;color:#cbd5e1;font-size:.95rem}.features-hero-actions{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:1.25rem;justify-content:center}.features-primary-cta{background-color:var(--primary);color:#fff;font-size:1rem;font-weight:600;padding:1rem 2rem;border:none;border-radius:12px;cursor:pointer;transition:all .3s ease;box-shadow:var(--shadow-md)}.features-primary-cta:hover{background-color:var(--primary-dark);transform:translateY(-1px);box-shadow:var(--shadow-lg)}.features-secondary-cta{background:#ffffff14;color:#fff;font-size:1rem;font-weight:600;padding:1rem 2rem;border:1px solid rgba(255,255,255,.18);border-radius:12px;cursor:pointer;transition:all .3s ease}.features-secondary-cta:hover{background:#ffffff24;transform:translateY(-1px)}.features-hero-panels{max-width:1240px;margin:3.5rem auto 0;display:grid;grid-template-columns:1.3fr .9fr;gap:24px}.hero-panel{background:#fffffff5;color:#1a202c;border-radius:20px;padding:24px;box-shadow:var(--shadow-xl)}.hero-panel-primary{min-height:250px}.hero-panel-secondary{background:linear-gradient(180deg,#172554,#0f172a);color:#fff}.hero-panel-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.hero-panel-kicker{color:#475569;font-size:.9rem;font-weight:600}.hero-panel-tag{background:#dcfce7;color:#166534;border-radius:999px;padding:6px 10px;font-size:.78rem;font-weight:700}.hero-panel-metric-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:24px}.hero-panel-metric-label{margin:0 0 8px;font-size:.85rem;color:#64748b}.hero-panel-metric-value{margin:0;font-size:2rem;line-height:1;font-weight:700}.hero-panel-list{display:grid;gap:12px}.hero-panel-list div{background:var(--slate-50);border:1px solid var(--slate-200);border-radius:12px;padding:14px 16px;font-weight:600;color:#334155}.hero-terminal-header{font-size:.9rem;color:#93c5fd;font-weight:700;letter-spacing:.05em;text-transform:uppercase;margin-bottom:18px}.hero-terminal-body{display:grid;gap:14px}.hero-terminal-capability,.hero-terminal-prompt,.hero-terminal-response{margin:0;border-radius:14px;padding:16px;line-height:1.6}.hero-terminal-prompt{background:#ffffff14;color:#e2e8f0}.hero-terminal-capability{display:grid;gap:6px;background:#ffffff14;border:1px solid rgba(148,163,184,.2)}.hero-terminal-capability-title{color:#fff;font-size:.95rem;font-weight:700}.hero-terminal-capability-copy{color:#cbd5e1;font-size:.92rem}.hero-terminal-response{background:#10b98129;color:#d1fae5}.features-workflow-strip{margin-top:-7.5rem;padding:0 20px 80px;position:relative;z-index:20}.features-workflow-grid{max-width:1240px;margin:0 auto;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}.workflow-strip-card{background:#fff;border:1px solid var(--slate-200);border-radius:18px;box-shadow:var(--shadow-xl);padding:28px}.workflow-strip-step{display:inline-block;margin-bottom:14px;color:var(--primary);font-size:.85rem;font-weight:700;letter-spacing:.06em}.workflow-strip-card h3{margin:0 0 10px;font-size:1.35rem;color:#0f172a}.workflow-strip-card p{margin:0;color:#475569;line-height:1.6}.feature-detail-section{display:flex;align-items:center;padding:80px 20px}.feature-detail-section:nth-child(2n){background:var(--slate-50)}.feature-detail-section:nth-child(odd){background:#fff}.feature-detail-container{max-width:1400px;margin:0 auto;display:grid;grid-template-columns:minmax(0,1fr);gap:2rem;align-items:start;width:100%}@media (min-width: 1025px){.feature-detail-container,.feature-detail-section.layout-left .feature-detail-container,.feature-detail-section.layout-right .feature-detail-container{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:80px;align-items:center}}.feature-detail-section.layout-right .feature-screenshot-side{order:2}.feature-detail-section.layout-right .feature-content-side,.feature-detail-section.layout-left .feature-screenshot-side{order:1}.feature-detail-section.layout-left .feature-content-side{order:2}.feature-screenshot-side,.feature-content-side{width:100%;min-width:0}.feature-visual-card{width:100%;max-width:100%;min-height:360px;border-radius:20px;border:1px solid var(--slate-200);background:#fff;box-shadow:var(--shadow-xl);overflow:hidden;transition:transform .3s ease,box-shadow .3s ease;padding:24px;display:grid;gap:20px}.feature-visual-card:hover{transform:translateY(-4px);box-shadow:0 25px 40px -5px #00000026}.feature-visual-topbar{display:flex;justify-content:space-between;align-items:center}.feature-visual-title{font-size:1rem;font-weight:700;color:#0f172a}.feature-visual-badge{font-size:.78rem;font-weight:700;border-radius:999px;padding:6px 10px;background:var(--slate-100);color:#475569}.feature-visual-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.feature-visual-metric{background:var(--slate-50);border:1px solid var(--slate-200);border-radius:16px;padding:18px}.feature-visual-metric-label{margin:0 0 8px;font-size:.82rem;color:#64748b}.feature-visual-metric-value{margin:0;font-size:1.8rem;line-height:1;font-weight:700;color:#0f172a}.feature-visual-list{display:grid;gap:12px}.feature-visual-list-item{display:flex;align-items:center;gap:12px;border-radius:14px;padding:14px 16px;background:#fff;border:1px solid var(--slate-200);color:#334155;font-weight:600}.feature-visual-dot{width:10px;height:10px;border-radius:999px;background:var(--primary);flex-shrink:0}.feature-visual-footer{margin-top:auto;display:grid;gap:10px}.feature-visual-footer-bar{height:10px;border-radius:999px;background:var(--slate-100)}.feature-visual-footer-bar.short{width:62%}.lead-accent .feature-visual-badge,.lead-accent .feature-visual-dot{background:#f59e0b;color:#fff}.schedule-accent .feature-visual-badge,.schedule-accent .feature-visual-dot{background:var(--primary);color:#fff}.quote-accent .feature-visual-badge,.quote-accent .feature-visual-dot{background:#3b82f6;color:#fff}.billing-accent .feature-visual-badge,.billing-accent .feature-visual-dot{background:#ec4899;color:#fff}.comms-accent .feature-visual-badge,.comms-accent .feature-visual-dot{background:#8b5cf6;color:#fff}.ai-accent .feature-visual-badge,.ai-accent .feature-visual-dot{background:#0d9488;color:#fff}.extend-accent .feature-visual-badge,.extend-accent .feature-visual-dot{background:#475569;color:#fff}.early-accent .feature-visual-badge,.early-accent .feature-visual-dot{background:#ef4444;color:#fff}.feature-section-eyebrow{margin:0 0 12px;color:var(--primary);font-size:.9rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase}.feature-category-heading{font-size:36px;font-weight:700;margin:0 0 16px;color:#1a202c}.feature-category-description{font-size:20px;color:#4a5568;margin:0 0 32px;line-height:1.6}.feature-details-list{list-style:none;padding:0;margin:0 0 32px}.feature-detail-item{padding:12px 0;color:#2d3748;display:flex;align-items:flex-start;gap:12px;font-size:16px;line-height:1.6}.detail-check{color:var(--primary);font-weight:700;font-size:18px;flex-shrink:0}.feature-learn-more{background-color:var(--slate-900);color:#fff;font-size:16px;font-weight:700;padding:14px 28px;border:none;border-radius:12px;cursor:pointer;transition:background-color .2s ease,transform .2s ease;box-shadow:var(--shadow-md)}.feature-learn-more:hover{background-color:#111827;transform:translateY(-1px)}.features-ai-privacy-section{padding:88px 20px;background:linear-gradient(180deg,#eef6f3,#fff)}.features-ai-privacy-shell{max-width:1240px;margin:0 auto}.features-ai-privacy-eyebrow{margin:0 0 12px;color:var(--primary-dark);font-size:.85rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;text-align:center}.features-ai-privacy-heading{margin:0;color:#0f172a;font-size:36px;font-weight:700;text-align:center}.features-ai-privacy-subheading{max-width:860px;margin:18px auto 44px;color:#475569;font-size:18px;line-height:1.7;text-align:center}.features-ai-privacy-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.features-ai-privacy-card{background:#fff;border:1px solid rgba(148,163,184,.22);border-radius:18px;padding:28px;box-shadow:var(--shadow-md)}.features-ai-privacy-card h3{margin:0 0 12px;color:#0f172a;font-size:20px;font-weight:700}.features-ai-privacy-card p{margin:0;color:#475569;font-size:15px;line-height:1.7}.features-integration-section{padding:80px 20px;background:#fff}.integration-heading{font-size:36px;font-weight:700;text-align:center;margin:0 0 16px;color:#1a202c}.integration-subheading{text-align:center;font-size:18px;color:#4a5568;max-width:740px;margin:0 auto 48px;line-height:1.6}.integration-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:32px;max-width:1240px;margin:0 auto}.integration-card{background:var(--slate-50);padding:32px;border-radius:16px;text-align:center;transition:transform .3s ease,box-shadow .3s ease;border:1px solid var(--slate-200);box-shadow:var(--shadow-md)}.integration-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-xl);border-color:var(--primary-light)}.integration-icon{width:64px;height:64px;margin:0 auto 18px;border-radius:18px;display:flex;align-items:center;justify-content:center;font-size:30px;background:linear-gradient(135deg,#05966929,#0d948829);color:#0f172a}.integration-icon-svg{width:28px;height:28px;stroke-width:1.9}.integration-name{font-size:20px;font-weight:700;margin:0 0 8px;color:#1a202c}.integration-description{font-size:14px;color:#718096;margin:0;line-height:1.6}.features-cta-section{padding:6rem 20px;background:linear-gradient(135deg,var(--slate-900) 0%,var(--slate-800) 100%);color:#fff;text-align:center}.features-cta-heading{font-size:40px;font-weight:700;margin:0 0 24px}.features-cta-subtext{font-size:18px;max-width:600px;margin:0 auto 40px;line-height:1.6;opacity:.95}.features-cta-actions{display:flex;flex-wrap:wrap;gap:.75rem;justify-content:center}.features-secondary-cta-dark{background:transparent;color:#fff;border-color:#ffffff3d}.features-secondary-cta-dark:hover{background:#ffffff14}.features-footer-shell{background:var(--slate-900);color:#fff;padding:3rem 20px;text-align:center;border-top:1px solid var(--slate-800)}.features-footer-content{max-width:1200px;margin:0 auto}.features-footer-links{margin-top:24px;display:flex;justify-content:center;gap:32px}.features-footer-links a{color:#fff;text-decoration:none;transition:opacity .2s ease}.features-footer-links a:hover{opacity:.8}@media (max-width: 1024px){.features-hero-panels{grid-template-columns:minmax(0,1fr)}.features-workflow-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.features-ai-privacy-grid{grid-template-columns:minmax(0,1fr)}.feature-detail-container,.feature-detail-section.layout-left .feature-detail-container,.feature-detail-section.layout-right .feature-detail-container{grid-template-columns:minmax(0,1fr);gap:1.75rem;width:100%}.feature-detail-section.layout-right .feature-screenshot-side,.feature-detail-section.layout-left .feature-screenshot-side{order:-1}.feature-category-heading{font-size:32px}.feature-detail-section{padding:60px 20px}}@media (max-width: 768px){.features-top-nav-inner{padding:0}.features-top-nav-links{display:none}.features-hero-section{padding:6rem 1rem 7rem}.features-workflow-strip{margin-top:-3.5rem;padding:0 1rem 4rem}.features-main-heading{font-size:36px}.features-subheading{font-size:18px}.hero-panel-header,.feature-visual-topbar{flex-wrap:wrap;gap:.65rem}.hero-panel-metric-row{grid-template-columns:1fr;gap:12px}.feature-visual-card{min-height:280px;padding:1.25rem}.feature-detail-container,.feature-detail-section.layout-left .feature-detail-container,.feature-detail-section.layout-right .feature-detail-container{grid-template-columns:minmax(0,1fr);gap:1.5rem;width:100%}.features-workflow-grid{grid-template-columns:minmax(0,1fr)}.feature-detail-section.layout-right .feature-screenshot-side,.feature-detail-section.layout-left .feature-screenshot-side{order:1}.feature-detail-section.layout-right .feature-content-side,.feature-detail-section.layout-left .feature-content-side{order:2}.feature-category-heading{font-size:28px}.feature-category-description{font-size:18px}.features-ai-privacy-heading{font-size:30px}.integration-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.features-cta-heading{font-size:32px}.footer-links{flex-direction:column;gap:16px}}@media (max-width: 640px){.features-hero-section{padding:5.5rem 1rem 6.5rem}.features-main-heading{font-size:28px}.feature-detail-section{padding:40px 16px}.integration-grid{grid-template-columns:1fr}.features-hero-actions,.features-primary-cta,.features-secondary-cta,.feature-learn-more{width:100%}}.industries-page{width:100%;overflow-x:hidden;background:var(--slate-50)}.industries-top-nav{padding:1.5rem;background:var(--slate-900);color:#fff;border-bottom:1px solid var(--slate-800)}.industries-top-nav-inner{max-width:1280px;margin:0 auto;display:flex;justify-content:space-between;align-items:center;padding:0 1.5rem}.industries-top-nav-logo{display:flex;align-items:center;cursor:pointer}.industries-top-nav-links{display:flex;gap:2rem;font-size:.9rem;align-items:center}.industries-top-nav-links a,.industries-top-nav-links span{color:#fff;text-decoration:none}.industries-top-nav-links a{opacity:.8}.industries-top-nav-links span{color:var(--primary);font-weight:700}.industries-top-nav-links button{border:0;border-radius:.5rem;background:var(--primary);color:#fff;padding:.5rem .9rem;cursor:pointer;font-weight:700}.industries-hero-section{background-color:var(--slate-900);color:#fff;padding:8rem 20px 12rem;text-align:center;position:relative;overflow:hidden}.industries-hero-section:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;opacity:.1;background-image:radial-gradient(var(--primary) 1px,transparent 1px);background-size:32px 32px}.industries-hero-section>*{position:relative;z-index:10}.industries-main-heading{font-size:48px;font-weight:700;margin:0 0 24px;line-height:1.2}.industries-subheading{font-size:20px;max-width:700px;margin:0 auto 16px;line-height:1.6;opacity:.95}.industries-trust-line{text-align:center;color:#cbd5e1;font-size:.95rem;margin-top:.75rem}.industries-hero-highlights{max-width:1040px;margin:2rem auto 0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.industries-hero-highlight{padding:18px 20px;border-radius:18px;background:#ffffff14;border:1px solid rgba(148,163,184,.18);text-align:left}.industries-hero-highlight-label{display:block;color:#93c5fd;font-size:.76rem;font-weight:700;letter-spacing:.06em;margin-bottom:8px;text-transform:uppercase}.industries-hero-highlight strong{color:#f8fafc;font-size:1rem;line-height:1.5}.industries-grid-section{margin-top:-8rem;padding:0 20px 80px;background:var(--slate-50);position:relative;z-index:20}.industries-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:32px;max-width:1280px;margin:0 auto}.industry-card{background:#fff;width:100%;padding:40px 32px;border-radius:16px;text-align:left;cursor:pointer;transition:transform .3s ease,box-shadow .3s ease;border:1px solid var(--slate-200);box-shadow:var(--shadow-xl);-webkit-appearance:none;-moz-appearance:none;appearance:none;font:inherit}.industry-card:hover{transform:translateY(-5px);box-shadow:0 25px 40px -5px #00000026;border-color:var(--primary-light)}.industry-card-top{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}.industry-icon{width:72px;height:72px;border-radius:24px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#0596691f,#0d94882e);color:#0f172a;box-shadow:inset 0 0 0 1px #05966924}.industry-icon svg{width:34px;height:34px}.industry-card:hover .industry-icon{background:linear-gradient(135deg,#0596692e,#0d94883d)}.industry-card:hover .industry-icon svg{color:var(--primary-dark)}.industry-card-kicker{margin-left:auto;color:var(--primary-dark);font-size:.8rem;font-weight:700;letter-spacing:.05em;text-transform:uppercase}.industry-name{font-size:24px;font-weight:700;margin:0 0 16px;color:#1a202c}.industry-description{font-size:16px;color:#4a5568;line-height:1.6;margin:0 0 24px}.industry-tags{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:24px}.industry-tag{background:#0f172a0a;color:#334155;border:1px solid rgba(148,163,184,.2);border-radius:999px;padding:7px 12px;font-size:.84rem;font-weight:600}.industry-learn-more{display:inline-flex;align-items:center;gap:8px;color:var(--primary-dark);font-size:.95rem;font-weight:700;transition:transform .2s ease,color .2s ease}.industry-card:hover .industry-learn-more{color:var(--primary);transform:translateY(-1px)}.industries-common-section{padding:80px 20px;background:#fff}.common-heading{font-size:36px;font-weight:700;text-align:center;margin:0 0 16px;color:#1a202c}.common-subheading{text-align:center;font-size:18px;color:#4a5568;max-width:760px;margin:0 auto 48px;line-height:1.6}.common-features-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:32px;max-width:1200px;margin:0 auto}.common-feature-card{background:var(--slate-50);padding:32px;border-radius:16px;text-align:center;border:1px solid var(--slate-200);box-shadow:var(--shadow-md)}.common-feature-icon{width:72px;height:72px;margin:0 auto 18px;border-radius:20px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#0596691f,#0d948829);color:#0f172a}.common-feature-icon svg{width:30px;height:30px}.common-feature-title{font-size:20px;font-weight:700;margin:0 0 12px;color:#1a202c}.common-feature-text{font-size:16px;color:#4a5568;line-height:1.6;margin:0}.industries-cta-section{padding:6rem 20px;background:linear-gradient(135deg,var(--slate-900) 0%,var(--slate-800) 100%);color:#fff;text-align:center}.industries-cta-heading{font-size:40px;font-weight:700;margin:0 0 24px}.industries-cta-subtext{font-size:18px;max-width:600px;margin:0 auto 40px;line-height:1.6;opacity:.95}.industries-cta-button{background-color:var(--primary);color:#fff;font-size:1rem;font-weight:600;padding:1rem 2rem;border:none;border-radius:12px;cursor:pointer;transition:all .3s ease;box-shadow:var(--shadow-md)}.industries-cta-button:hover{background-color:var(--primary-dark);transform:translateY(-1px);box-shadow:var(--shadow-lg)}.industries-footer-shell{background:var(--slate-900);color:#fff;padding:3rem 20px;text-align:center;border-top:1px solid var(--slate-800)}.industries-footer-content{max-width:1200px;margin:0 auto}.industries-footer-links{margin-top:24px;display:flex;justify-content:center;gap:32px}.industries-footer-links a{color:#fff;text-decoration:none;transition:opacity .2s ease}.industries-footer-links a:hover{opacity:.8}@media (max-width: 768px){.industries-main-heading{font-size:36px}.industries-subheading{font-size:18px}.industries-top-nav-inner{padding:0}.industries-top-nav-links{display:none}.industries-hero-highlights,.industries-grid{grid-template-columns:1fr}.common-heading{font-size:28px}.industries-cta-heading{font-size:32px}.industries-footer-links{flex-direction:column;gap:16px}}@media (max-width: 390px){.industries-hero-section{padding:80px 16px}.industries-main-heading{font-size:28px}.industry-card{padding:32px 24px}.industry-card-top{align-items:flex-start;flex-direction:column}.industry-card-kicker{margin-left:0}.industries-cta-button{padding:16px 32px;font-size:16px}}.industry-detail-page{width:100%;overflow-x:hidden;background:var(--slate-50)}.industry-detail-top-nav{padding:1.5rem;background:var(--slate-900);color:#fff;border-bottom:1px solid var(--slate-800)}.industry-detail-top-nav-inner{max-width:1280px;margin:0 auto;display:flex;justify-content:space-between;align-items:center;padding:0 1.5rem}.industry-detail-top-nav-logo{display:flex;align-items:center;cursor:pointer}.industry-detail-top-nav-links{display:flex;gap:2rem;font-size:.9rem;align-items:center}.industry-detail-top-nav-links a{color:#fff;text-decoration:none;opacity:.8}.industry-detail-top-nav-links button{border:0;border-radius:.5rem;background:var(--primary);color:#fff;padding:.5rem .9rem;cursor:pointer;font-weight:700}.industry-hero-section{background-color:var(--slate-900);color:#fff;padding:8rem 20px 12rem;text-align:center;position:relative;overflow:hidden}.industry-hero-section:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;opacity:.1;background-image:radial-gradient(var(--primary) 1px,transparent 1px);background-size:32px 32px}.industry-hero-section>*{position:relative;z-index:10}.industry-hero-content{max-width:1100px;margin:0 auto}.industry-back-link{display:inline-flex;align-items:center;gap:8px;margin-bottom:24px;border:0;background:transparent;color:#cbd5e1;cursor:pointer;font:inherit;padding:0}.industry-back-link:hover{color:#f8fafc}.industry-hero-icon{width:110px;height:110px;margin:0 auto 24px;border-radius:28px;display:flex;align-items:center;justify-content:center;background:#ffffff14;box-shadow:inset 0 0 0 1px #ffffff1a}.industry-hero-icon svg{width:52px;height:52px;color:#f8fafc}.industry-hero-heading{margin-bottom:24px}.industry-hero-heading{font-size:48px;font-weight:700;margin:0 0 24px;line-height:1.2}.industry-hero-subtext{font-size:20px;line-height:1.6;opacity:.95;margin:0 0 16px}.industry-hero-trust-line{text-align:center;color:#cbd5e1;font-size:.95rem;margin:0}.industry-hero-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:.75rem;margin-top:1.5rem}.industry-hero-primary,.industry-hero-secondary{font-size:1rem;font-weight:600;padding:1rem 1.75rem;border-radius:12px;cursor:pointer;transition:all .2s ease}.industry-hero-primary{background:var(--primary);color:#fff;border:0;box-shadow:var(--shadow-md)}.industry-hero-primary:hover{background:var(--primary-dark);transform:translateY(-1px)}.industry-hero-secondary{background:#ffffff14;color:#fff;border:1px solid rgba(255,255,255,.18)}.industry-hero-secondary:hover{background:#ffffff24}.industry-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:2.5rem}.industry-summary-card{text-align:left;padding:22px;border-radius:20px;background:#ffffff14;border:1px solid rgba(148,163,184,.18)}.industry-summary-icon{width:48px;height:48px;border-radius:14px;display:flex;align-items:center;justify-content:center;margin-bottom:14px;background:#ffffff14;color:#f8fafc}.industry-summary-label{color:#93c5fd;font-size:.8rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;margin-bottom:10px}.industry-summary-tags{display:flex;flex-wrap:wrap;gap:10px}.industry-summary-tag{background:#ffffff17;color:#e2e8f0;border:1px solid rgba(148,163,184,.16);border-radius:999px;padding:7px 12px;font-size:.84rem;font-weight:600}.industry-summary-copy{color:#e2e8f0;font-size:.95rem;line-height:1.6;margin:0}.pain-points-section{margin-top:-8rem;padding:0 20px 80px;background:var(--slate-50);position:relative;z-index:20}.industry-section-title{font-size:36px;font-weight:700;text-align:center;margin:0 0 60px;color:#1a202c}.industry-section-intro{text-align:center;font-size:18px;color:#4a5568;max-width:760px;margin:-28px auto 40px;line-height:1.6}.pain-points-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:32px;max-width:1280px;margin:0 auto}.pain-point-card{background:#fff;padding:28px;border-radius:16px;border:1px solid var(--slate-200);display:flex;gap:16px;align-items:flex-start;box-shadow:var(--shadow-xl)}.pain-point-number{flex-shrink:0;width:32px;height:32px;background:var(--primary);color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:16px}.pain-point-text{color:#2d3748;line-height:1.6;margin:0}.industry-features-section{padding:80px 20px;background:#fff}.industry-features-list{max-width:900px;margin:0 auto;display:flex;flex-direction:column;gap:16px}.industry-feature-item{background:var(--slate-50);padding:24px 28px;border-radius:12px;display:flex;gap:16px;align-items:flex-start;border:1px solid var(--slate-200);box-shadow:var(--shadow-md)}.feature-checkmark{flex-shrink:0;color:var(--primary);font-size:24px;font-weight:700}.industry-feature-text{color:#2d3748;line-height:1.6;margin:0;font-size:16px}.ai-examples-section{padding:80px 20px;background:var(--slate-50)}.ai-examples-intro{text-align:center;font-size:18px;color:#4a5568;max-width:700px;margin:0 auto 40px;line-height:1.6}.ai-examples-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:32px;max-width:1280px;margin:0 auto}.ai-example-card{background:#fff;padding:28px;border-radius:16px;display:flex;gap:16px;align-items:flex-start;border:1px solid var(--slate-200);box-shadow:var(--shadow-md)}.ai-example-icon{flex-shrink:0;width:52px;height:52px;border-radius:16px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#0596691f,#0d94882e);color:#0f172a}.ai-example-icon svg{width:24px;height:24px}.ai-example-text{color:#1a202c;line-height:1.6;margin:0;font-size:16px;font-style:normal}.custom-fields-section{padding:80px 20px;background:#fff}.custom-fields-intro{text-align:center;font-size:18px;color:#4a5568;max-width:700px;margin:0 auto 40px;line-height:1.6}.custom-fields-grid{display:flex;flex-wrap:wrap;gap:12px;max-width:900px;margin:0 auto;justify-content:center}.custom-field-tag{background:var(--slate-50);color:var(--primary);padding:10px 20px;border-radius:20px;font-size:14px;font-weight:600;border:2px solid var(--primary);transition:background-color .2s ease,color .2s ease}.custom-field-tag:hover{background-color:var(--primary);color:#fff}.industry-cta-section{padding:6rem 20px;background:linear-gradient(135deg,var(--slate-900) 0%,var(--slate-800) 100%);color:#fff;text-align:center}.industry-cta-heading{font-size:40px;font-weight:700;margin:0 0 24px}.industry-cta-subtext{font-size:18px;max-width:600px;margin:0 auto 40px;line-height:1.6;opacity:.95}.industry-cta-button{background-color:var(--primary);color:#fff;font-size:1rem;font-weight:600;padding:1rem 2rem;border:none;border-radius:12px;cursor:pointer;transition:all .3s ease;box-shadow:var(--shadow-md);margin-right:16px}.industry-cta-button:hover{background-color:var(--primary-dark);transform:translateY(-1px);box-shadow:var(--shadow-lg)}.industry-secondary-button{background-color:transparent;color:#fff;font-size:1rem;font-weight:600;padding:1rem 2rem;border:2px solid white;border-radius:12px;cursor:pointer;transition:background-color .2s ease}.industry-secondary-button:hover{background-color:#ffffff1a}.industry-not-found{padding:100px 20px;text-align:center}.industry-not-found h1{font-size:36px;color:#1a202c;margin-bottom:16px}.industry-not-found p{font-size:18px;color:#4a5568;margin-bottom:32px}.industry-not-found button{background-color:#667eea;color:#fff;padding:14px 32px;border:none;border-radius:8px;font-size:16px;font-weight:600;cursor:pointer}.industry-detail-footer-shell{background:var(--slate-900);color:#fff;padding:3rem 20px;text-align:center;border-top:1px solid var(--slate-800)}.industry-detail-footer-content{max-width:1200px;margin:0 auto}.industry-detail-footer-links{margin-top:24px;display:flex;justify-content:center;gap:32px}.industry-detail-footer-links a{color:#fff;text-decoration:none;transition:opacity .2s ease}.industry-detail-footer-links a:hover{opacity:.8}@media (max-width: 768px){.industry-summary-grid{grid-template-columns:1fr}.industry-hero-icon{width:88px;height:88px}.industry-hero-icon svg{width:42px;height:42px}.industry-hero-heading{font-size:36px}.industry-hero-subtext{font-size:18px}.industry-section-title{font-size:28px}.pain-points-grid,.ai-examples-grid{grid-template-columns:1fr}.industry-detail-top-nav-inner{padding:0}.industry-detail-top-nav-links{display:none}.industry-cta-heading{font-size:32px}.industry-hero-actions{flex-direction:column;align-items:stretch}.industry-hero-primary,.industry-hero-secondary,.industry-cta-button,.industry-secondary-button{display:block;width:100%;margin:0 0 16px}.industry-detail-footer-links{flex-direction:column;gap:16px}}@media (max-width: 390px){.industry-hero-section{padding:80px 16px 60px}.industry-hero-icon{width:72px;height:72px}.industry-hero-icon svg{width:34px;height:34px}.industry-hero-heading{font-size:28px}.pain-point-card,.ai-example-card{padding:20px}.industry-cta-button,.industry-secondary-button{padding:16px 32px;font-size:16px}}.legal-page{min-height:100vh;background:#f8fafc;color:#0f172a}.legal-main{max-width:46rem;margin:0 auto;padding:4rem 1.5rem 5rem}.legal-kicker{margin:0 0 .75rem;font-size:.8rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#059669}.legal-main h1{margin:0 0 .75rem;font-size:2.25rem;line-height:1.15;letter-spacing:-.03em}.legal-updated{margin:0 0 2.5rem;color:#64748b;font-size:.95rem}.legal-main h2{margin:2.25rem 0 .75rem;font-size:1.25rem}.legal-main p,.legal-main li{color:#334155;line-height:1.7}.legal-main p{margin:0 0 1rem}.legal-main ul{margin:0 0 1rem 1.25rem;padding:0}.legal-main a{color:#047857}.legal-sms-textin{margin:1.25rem 0 1.5rem;padding:1.25rem 1.35rem;border:2px solid #047857;border-radius:12px;background:#ecfdf5}.legal-sms-textin p{margin:0 0 .65rem;color:#0f172a}.legal-sms-textin p:last-child{margin-bottom:0}.legal-sms-textin strong{letter-spacing:.02em}.legal-sms-form{display:grid;gap:1rem;margin:1.5rem 0 2rem;padding:1.25rem;border:1px solid #dbe4ee;border-radius:12px;background:#fff}.legal-sms-form label{display:grid;gap:.4rem;color:#0f172a;font-weight:600;font-size:.95rem}.legal-sms-form input[type=tel]{width:100%;box-sizing:border-box;padding:.7rem .8rem;border:1px solid #cbd5e1;border-radius:8px;font:inherit}.legal-sms-consent{display:flex;gap:.75rem;align-items:flex-start;font-weight:400;color:#334155;line-height:1.6}.legal-sms-consent input{margin-top:.3rem;flex:0 0 auto}.legal-sms-form button{justify-self:start;min-height:44px;padding:.65rem 1.1rem;border:0;border-radius:8px;background:#047857;color:#fff;font:inherit;font-weight:700;cursor:pointer}.legal-sms-form button:disabled{opacity:.6;cursor:not-allowed}.legal-sms-error,.legal-sms-success{margin:0}.legal-sms-error{color:#b42318}.legal-sms-success{color:#047857}@media (max-width: 640px){.legal-main{padding:2.5rem 1.25rem 3.5rem}.legal-main h1{font-size:1.85rem}}.all-clients-page{min-height:100vh;background:#f9fafb}.dashboard-container{max-width:1560px;margin:0 auto;padding:24px 32px;min-height:100vh}.header{background:transparent;border:none;border-radius:0;padding:0 0 32px;margin-bottom:0;box-shadow:none;border-bottom:1px solid #e5e7eb}.header-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px;gap:16px;flex-wrap:wrap}.header-title{display:block}.header-title h1{font-size:32px;font-weight:700;color:#111827;margin-bottom:4px}.header-title p{color:#6b7280;font-size:16px}.header-actions{display:flex;align-items:center;gap:1rem}.export-csv-btn{display:inline-flex;align-items:center;gap:8px;padding:12px 24px;background:#fff;color:#374151;border:1px solid #d1d5db;border-radius:8px;cursor:pointer;font-weight:600;font-size:14px;transition:all .2s ease}.export-csv-btn:hover{background:#f9fafb;border-color:#9ca3af;transform:translateY(-1px)}.export-csv-btn:active{background:#f3f4f6}.add-client-header-btn{display:inline-flex;align-items:center;gap:8px;padding:12px 24px;background:#2563eb;color:#fff;border:none;border-radius:8px;cursor:pointer;font-weight:600;font-size:14px;transition:all .2s ease}.add-client-header-btn:hover{background:#1d4ed8;transform:translateY(-1px)}.add-client-header-btn:active{transform:translateY(0)}.pin-to-ai-button{display:flex;align-items:center;gap:.5rem;padding:.75rem 1rem;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:.5rem;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s;box-shadow:0 2px 4px #667eea33}.pin-to-ai-button:hover{transform:translateY(-1px);box-shadow:0 4px 8px #667eea4d}.pin-to-ai-button:active{transform:translateY(0)}.all-clients-page .stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:24px}.all-clients-page .stat-card{background:#fff;border:1px solid #e5e7eb;padding:24px;border-radius:12px;transition:transform .2s ease}.all-clients-page .stat-card:hover{transform:translateY(-2px)}.all-clients-page .stat-card-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.all-clients-page .stat-card-info{min-width:0}.all-clients-page .stat-card-icon{width:48px;height:48px;border-radius:8px;display:flex;align-items:center;justify-content:center;flex-shrink:0;font-size:24px}.all-clients-page .stat-card-icon.blue{background:#dbeafe;color:#2563eb}.all-clients-page .stat-card-icon.green{background:#d1fae5;color:#059669}.all-clients-page .stat-card-icon.purple{background:#e9d5ff;color:#7c3aed}.all-clients-page .stat-card-icon.amber{background:#fed7aa;color:#c2410c}.all-clients-page .stat-number{font-size:28px;font-weight:700;margin-bottom:4px;color:#111827}.all-clients-page .stat-label{color:#6b7280;font-size:14px;text-transform:uppercase;letter-spacing:.05em;font-weight:500}.all-clients-page .stat-card-footer{color:#6b7280;font-size:14px}.main-content{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,360px);gap:24px}.main-content.assistant-collapsed{grid-template-columns:1fr}.clients-section{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:30px;box-shadow:0 1px 3px #0000001a}.section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px}.section-title{font-size:1.5rem;font-weight:700;color:#333;display:flex;align-items:center;gap:10px}.controls{display:flex;gap:15px;align-items:center;flex-wrap:wrap}.assistant-toggle-btn{padding:10px 14px;background:#eef2ff;color:#3730a3;border:1px solid #c7d2fe;border-radius:10px;cursor:pointer;font-weight:600;font-size:.85rem}.assistant-toggle-btn:hover{background:#e0e7ff}.active-filters-row{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:14px}.active-filter-chip{border:1px solid #cbd5e1;background:#f8fafc;color:#334155;border-radius:999px;padding:5px 10px;font-size:.78rem;font-weight:600;cursor:pointer}.active-filter-chip:hover{background:#e2e8f0}.entity-filter-container{position:relative}.entity-filter-btn{padding:10px 20px;background:linear-gradient(135deg,#8b5cf6,#7c3aed);color:#fff;border:none;border-radius:10px;cursor:pointer;font-weight:600;transition:all .3s ease;display:flex;align-items:center;gap:8px;position:relative}.entity-filter-btn:hover{transform:translateY(-2px);box-shadow:0 10px 20px #8b5cf64d}.entity-filter-btn.active{background:linear-gradient(135deg,#f59e0b,#d97706)}.entity-filter-dropdown{position:absolute;top:100%;right:0;margin-top:8px;background:#fff;border:1px solid #e2e8f0;border-radius:12px;box-shadow:0 10px 40px #00000026;z-index:1000;min-width:240px;padding:8px 0;animation:filterDropdownSlide .2s ease-out}.entity-filter-option{display:flex;align-items:center;padding:12px 16px;cursor:pointer;transition:all .2s ease;font-size:.875rem;gap:12px}.entity-filter-option:hover{background:#f8fafc}.entity-filter-option input[type=checkbox]{width:16px;height:16px;border:2px solid #d1d5db;border-radius:4px;background:#fff;cursor:pointer;transition:all .2s ease;-webkit-appearance:none;-moz-appearance:none;appearance:none;position:relative}.entity-filter-option input[type=checkbox]:checked{background:linear-gradient(135deg,#8b5cf6,#7c3aed);border-color:#8b5cf6}.entity-filter-option input[type=checkbox]:checked:after{content:"✓";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);color:#fff;font-size:12px;font-weight:700}.entity-filter-option .filter-option-label{flex:1;color:#374151;font-weight:500}.entity-filter-option .filter-option-count{background:#f1f5f9;color:#64748b;padding:2px 8px;border-radius:12px;font-size:.75rem;font-weight:600;min-width:24px;text-align:center}.search-box{position:relative;width:300px}.search-input{width:100%;padding:12px 45px 12px 15px;border:2px solid #e2e8f0;border-radius:25px;font-size:.9rem;transition:all .3s ease;background:#ffffffe6}.search-icon{position:absolute;right:15px;top:50%;transform:translateY(-50%);color:#666}.view-toggle{display:flex;background:#f1f5f9;border-radius:10px;padding:4px}.view-btn{padding:8px 12px;border:none;background:none;border-radius:6px;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;gap:5px}.view-btn.active{background:#fff;box-shadow:0 2px 5px #0000001a;color:#667eea}.filter-container{position:relative}.filter-btn{padding:10px 20px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:10px;cursor:pointer;font-weight:600;transition:all .3s ease;display:flex;align-items:center;gap:8px;position:relative}.filter-btn:hover{transform:translateY(-2px);box-shadow:0 10px 20px #667eea4d}.filter-btn.active{background:linear-gradient(135deg,#10b981,#059669)}.filter-badge{position:absolute;top:-8px;right:-8px;background:#ef4444;color:#fff;border-radius:50%;width:20px;height:20px;font-size:.75rem;font-weight:700;display:flex;align-items:center;justify-content:center;border:2px solid white}.filter-dropdown{position:absolute;top:100%;right:0;margin-top:8px;background:#fff;border:1px solid #e2e8f0;border-radius:12px;box-shadow:0 10px 40px #00000026;z-index:1000;min-width:240px;padding:8px 0;animation:filterDropdownSlide .2s ease-out}@keyframes filterDropdownSlide{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.filter-option-group{display:flex;flex-direction:column}.filter-group-title{padding:12px 16px 8px;font-size:.75rem;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.05em;border-bottom:1px solid #f1f5f9;margin-bottom:4px}.filter-option{display:flex;align-items:center;justify-content:space-between;padding:10px 16px;background:none;border:none;text-align:left;cursor:pointer;transition:all .2s ease;font-size:.875rem}.filter-option:hover{background:#f8fafc}.filter-option.active{background:#eff6ff;color:#2563eb}.filter-option.active .filter-option-label{font-weight:600}.filter-option-label{color:#374151;font-weight:500}.filter-option-count{background:#f1f5f9;color:#64748b;padding:2px 8px;border-radius:12px;font-size:.75rem;font-weight:600;min-width:24px;text-align:center}.filter-option.active .filter-option-count{background:#dbeafe;color:#1e40af}.custom-field-filter-container{position:relative}.custom-field-filter-dropdown{position:absolute;top:100%;right:0;margin-top:8px;background:#fff;border:1px solid #e2e8f0;border-radius:12px;box-shadow:0 10px 40px #00000026;z-index:1000;min-width:280px;max-width:320px;padding:12px 0;animation:filterDropdownSlide .2s ease-out}.custom-field-filter-dropdown .filter-option-group{padding:0 12px}.custom-field-filter-dropdown .filter-group-header{display:flex;align-items:center;justify-content:space-between;padding:8px 4px 12px;border-bottom:1px solid #f1f5f9;margin-bottom:12px}.custom-field-filter-dropdown .filter-group-title{padding:0;margin:0;border:none;font-size:.8rem;font-weight:600;color:#374151;text-transform:none;letter-spacing:0}.clear-filters-btn{padding:4px 10px;background:#fef2f2;color:#dc2626;border:1px solid #fecaca;border-radius:6px;font-size:.75rem;font-weight:600;cursor:pointer;transition:all .2s ease}.clear-filters-btn:hover{background:#fee2e2;border-color:#fca5a5}.custom-field-filter-item{display:flex;flex-direction:column;gap:6px;margin-bottom:12px}.custom-field-filter-item:last-child{margin-bottom:0}.custom-field-filter-label{font-size:.8rem;font-weight:500;color:#64748b}.custom-field-filter-select{width:100%;padding:8px 12px;border:1px solid #d1d5db;border-radius:8px;background:#fff;font-size:.875rem;color:#374151;cursor:pointer;transition:all .2s ease}.custom-field-filter-select:hover{border-color:#9ca3af}.custom-field-filter-select:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea26}.sort-container{position:relative}.sort-controls{display:flex;align-items:center;gap:6px}.sort-btn{padding:10px 16px;background:#fff;color:#374151;border:1px solid #d1d5db;border-radius:10px;cursor:pointer;font-weight:500;font-size:.875rem;transition:all .2s ease;display:flex;align-items:center;gap:8px}.sort-btn:hover{border-color:#9ca3af;background:#f9fafb}.sort-direction-btn{padding:4px 8px;background:#f1f5f9;border:none;border-radius:4px;cursor:pointer;font-size:.875rem;font-weight:600;color:#64748b;transition:all .2s ease;margin-left:4px}.sort-direction-btn:hover{background:#e2e8f0;color:#374151}.sort-dropdown{position:absolute;top:100%;right:0;margin-top:8px;background:#fff;border:1px solid #e2e8f0;border-radius:12px;box-shadow:0 10px 40px #00000026;z-index:1000;min-width:200px;padding:8px 0;animation:filterDropdownSlide .2s ease-out}.sort-option-group{display:flex;flex-direction:column}.sort-option-group+.sort-option-group{border-top:1px solid #f1f5f9;margin-top:8px;padding-top:8px}.sort-group-title{padding:8px 16px 6px;font-size:.7rem;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.05em}.sort-option{display:block;width:100%;padding:10px 16px;background:none;border:none;text-align:left;cursor:pointer;transition:all .2s ease;font-size:.875rem;color:#374151}.sort-option:hover{background:#f8fafc}.sort-option.active{background:#eff6ff;color:#2563eb;font-weight:600}.pagination-info{display:flex;justify-content:space-between;align-items:center;padding:16px 0;border-bottom:1px solid #e2e8f0;margin-bottom:24px}.pagination-summary{color:#64748b;font-size:.875rem;font-weight:500}.items-per-page{display:flex;align-items:center;gap:8px;font-size:.875rem;color:#64748b}.items-per-page label{font-weight:500}.items-per-page-select{padding:6px 12px;border:1px solid #d1d5db;border-radius:6px;background:#fff;font-size:.875rem;cursor:pointer;transition:all .2s ease}.items-per-page-select:hover{border-color:#667eea}.items-per-page-select:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.pagination-controls{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:32px;padding:24px 0}.pagination-numbers{display:flex;align-items:center;gap:4px}.pagination-btn{display:flex;align-items:center;gap:6px;padding:10px 16px;border:1px solid #d1d5db;border-radius:8px;background:#fff;color:#374151;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s ease;min-width:44px;justify-content:center}.pagination-btn:hover:not(:disabled){background:#f9fafb;border-color:#667eea;color:#667eea}.pagination-btn.active{background:linear-gradient(135deg,#667eea,#764ba2);border-color:#667eea;color:#fff}.pagination-btn:disabled{opacity:.5;cursor:not-allowed;background:#f9fafb;color:#9ca3af}.pagination-ellipsis{padding:10px 8px;color:#9ca3af;font-weight:500;-webkit-user-select:none;user-select:none}@media (max-width: 768px){.pagination-info{flex-direction:column;gap:12px;align-items:flex-start}.pagination-controls{flex-wrap:wrap;gap:6px}.pagination-btn{padding:8px 12px;font-size:.8rem;min-width:36px}.pagination-numbers{gap:2px}}.clients-grid{display:grid;gap:15px}.clients-grid.list{grid-template-columns:1fr}.clients-grid.grid{grid-template-columns:repeat(auto-fill,minmax(350px,1fr))}.client-card{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:14px 16px;transition:all .3s ease;cursor:pointer}.client-card:hover{transform:translateY(-2px);box-shadow:0 4px 12px #0000001a;border-color:#667eea}.client-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.client-name{font-size:1.08rem;font-weight:600;color:#333;flex:1}.client-status{padding:4px 10px;border-radius:20px;font-size:.76rem;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.status-active{background:#dcfce7;color:#16a34a}.status-prospect{background:#fef3c7;color:#d97706}.status-inactive{background:#f1f5f9;color:#64748b}.status-archived{background:#e5e7eb;color:#6b7280}.client-details{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 12px;margin-bottom:10px}.client-metric{display:grid;gap:3px;color:#334155;font-size:.95rem;min-width:0}.client-metric.metric-value,.client-metric.metric-health{font-weight:700;color:#0f766e}.metric-icon{width:16px;height:16px}.metric-label{font-size:.76rem;font-weight:700;color:#64748b;text-transform:uppercase;letter-spacing:.04em;line-height:1.15}.metric-value-text{color:#0f172a;font-weight:600;font-size:.96rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.28}.metric-value-text.metric-value-location{white-space:normal;overflow:visible;text-overflow:unset;line-height:1.35;word-break:break-word}.client-actions{display:flex;gap:10px;margin-top:8px;flex-wrap:wrap;padding-top:8px;border-top:1px solid #f1f5f9}.action-btn{flex:1 1 130px;padding:7px 10px;border:1px solid #e2e8f0;background:#fff;border-radius:8px;cursor:pointer;font-size:.82rem;font-weight:500;transition:all .2s ease;display:flex;align-items:center;justify-content:center;gap:5px}.action-btn.action-btn-primary{background:#2563eb;color:#fff;border-color:#2563eb}.action-btn.action-btn-primary:hover{background:#1d4ed8;border-color:#1d4ed8;color:#fff}.action-btn:hover{background:#f8fafc;border-color:#667eea;color:#667eea}.sidebar{display:flex;flex-direction:column;gap:16px;min-width:0}.ai-terminal{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:0;box-shadow:0 1px 3px #00000014;color:#111827;font-family:inherit;overflow:hidden;min-width:0}.terminal-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:0;padding:14px 16px;border-bottom:1px solid #e5e7eb;background:#f9fafb}.terminal-title{display:flex;align-items:center;gap:8px;min-width:0;font-size:.95rem;font-weight:600;color:#111827}.terminal-title svg{flex-shrink:0;color:#2563eb}.terminal-title span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.terminal-header-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}.terminal-status{display:flex;align-items:center;gap:6px;font-size:.75rem;color:#059669;font-weight:600}.assistant-close-btn{border:1px solid #d1d5db;background:#fff;color:#374151;border-radius:8px;padding:4px 10px;font-size:.75rem;font-weight:600;cursor:pointer}.assistant-close-btn:hover{background:#f3f4f6}.terminal-pulse{width:6px;height:6px;background:#10b981;border-radius:50%;animation:pulse 1.5s infinite}.terminal-chat{min-height:220px;max-height:360px;overflow-y:auto;margin:12px 16px;padding:0;background:transparent;border-radius:0;border:none}.chat-message{margin-bottom:12px;animation:fadeInUp .3s ease}.chat-message.ai,.chat-message.user{color:#111827;text-align:left}.ai-terminal .message-header{font-size:.75rem;font-weight:600;margin-bottom:4px;color:#6b7280}.ai-terminal .message-content{font-size:.88rem;line-height:1.45;padding:10px 12px;border-radius:10px;background:#fff;border:1px solid #e5e7eb;color:#111827;overflow-wrap:anywhere}.ai-terminal .user .message-content{background:#eff6ff;border-color:#bfdbfe}.terminal-input-area{display:flex;gap:8px;padding:0 16px 16px}.terminal-input{flex:1;min-width:0;background:#fff;border:1px solid #d1d5db;border-radius:10px;padding:10px 12px;color:#111827;font-family:inherit;font-size:.88rem}.terminal-input:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 2px #2563eb26}.terminal-input::placeholder{color:#9ca3af}.terminal-send{background:#2563eb;border:none;border-radius:10px;padding:10px 12px;color:#fff;cursor:pointer;transition:background .2s ease;display:flex;align-items:center;justify-content:center}.terminal-send:hover:not(:disabled){background:#1d4ed8}.terminal-send:disabled{opacity:.6;cursor:not-allowed}.terminal-send svg{display:block}.quick-actions{display:flex;flex-wrap:wrap;gap:8px;margin:12px 16px 0}.quick-action{background:#eef2ff;border:1px solid #c7d2fe;color:#3730a3;padding:6px 10px;border-radius:999px;font-size:.75rem;font-weight:600;cursor:pointer}.quick-action:hover:not(:disabled){background:#e0e7ff}.quick-action:disabled{opacity:.55;cursor:not-allowed}.activity-feed{background:#fffffff2;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:20px;padding:22px;box-shadow:0 20px 40px #0000001a;border:1px solid rgba(255,255,255,.2)}.insights-header{display:flex;align-items:center;gap:10px;margin-bottom:20px}.insights-title{font-size:1.2rem;font-weight:700;color:#333}.activity-item{display:flex;align-items:flex-start;gap:12px;padding:10px 0;border-bottom:1px solid #f1f5f9}.activity-item:last-child{border-bottom:none}.activity-icon{width:28px;height:28px;min-width:28px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;font-size:12px;font-weight:700}.activity-message{background:#22c55e}.activity-payment{background:#3b82f6}.activity-project{background:#f59e0b}.activity-quote{background:#8b5cf6}.activity-document{background:#ec4899}.activity-content{flex:1;min-width:0}.activity-text{color:#1f2937;font-size:.86rem;margin-bottom:3px;line-height:1.35;overflow-wrap:anywhere}.activity-time{color:#6b7280;font-size:.76rem}.activity-empty{color:#6b7280;font-size:.86rem;padding:6px 0}.loading-state,.error-state{text-align:center;padding:40px;color:#666}@media (max-width: 768px){.dashboard-container{padding:16px}.main-content{grid-template-columns:1fr}.header-top{flex-direction:column;gap:20px;align-items:flex-start}.controls{flex-direction:column;width:100%}.search-box{width:100%}.stats-grid{grid-template-columns:repeat(2,1fr)}.client-details,.clients-grid.grid{grid-template-columns:1fr}}.individual-client-page{min-height:100vh;background:#f8fafc;color:#334155;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}.client-files{display:flex;flex-direction:column;gap:24px}.jobs-content{background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000001a;border:1px solid #e2e8f0;overflow:hidden}.quick-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;padding:24px;border-bottom:1px solid #e2e8f0;background:#f8fafc}.stat-card{background:#fff;padding:16px;border-radius:8px;border:1px solid #e2e8f0;text-align:center}.stat-value{font-size:24px;font-weight:600;color:#1e293b;margin-bottom:4px}.stat-label{font-size:12px;color:#64748b;text-transform:uppercase;letter-spacing:.5px}.jobs-header{padding:24px;border-bottom:1px solid #e2e8f0;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:16px}.jobs-title{font-size:20px;font-weight:600;color:#1e293b;display:flex;align-items:center;gap:8px}.jobs-actions,.search-filter{display:flex;gap:12px;align-items:center}.search-input{padding:10px 16px;border:1px solid #e2e8f0;border-radius:8px;font-size:14px;width:250px;background:#fff}.jobs-grid{padding:24px;display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:20px}.job-card{border:1px solid #e2e8f0;border-radius:12px;padding:20px;background:#fff;transition:all .2s;cursor:pointer}.job-card:hover{box-shadow:0 4px 12px #0000001a;border-color:#3b82f6}.job-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:16px;gap:12px}.job-status-wrapper{flex-shrink:0}.job-info{flex:1}.job-number{font-size:14px;font-weight:600;color:#3b82f6;margin-bottom:4px}.job-title{font-size:16px;font-weight:600;color:#1e293b;margin-bottom:8px;line-height:1.4}.job-status{display:inline-flex;align-items:center;gap:4px;padding:4px 8px;border-radius:6px;font-size:12px;font-weight:500;text-transform:uppercase;letter-spacing:.5px}.status-scheduled{background:#fef3c7;color:#92400e}.status-in-progress{background:#dbeafe;color:#1d4ed8}.status-completed{background:#d1fae5;color:#065f46}.status-on-hold{background:#fee2e2;color:#dc2626}.job-details{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:16px}.job-detail{display:flex;align-items:center;gap:8px;font-size:14px;color:#64748b}.job-detail i{width:16px;color:#94a3b8}.job-value{font-size:20px;font-weight:700;color:#059669;margin-bottom:16px;background:linear-gradient(135deg,#059669,#047857);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;text-shadow:0 1px 2px rgba(5,150,105,.1)}.job-progress{margin-bottom:16px}.progress-percentage{color:#64748b}.progress-bar{height:8px;background:#f1f5f9;border-radius:4px;overflow:hidden}.progress-fill{height:100%;background:linear-gradient(90deg,#3b82f6,#1d4ed8);border-radius:4px;transition:width .3s ease}.job-actions{display:flex;gap:8px;flex-wrap:wrap}.job-action-btn{padding:6px 12px;border:1px solid #e2e8f0;background:#fff;border-radius:6px;font-size:13px;color:#64748b;cursor:pointer;transition:all .2s;display:flex;align-items:center;gap:4px}.job-action-btn:hover{background:#f8fafc;border-color:#cbd5e1;color:#334155}.invoices-content{background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000001a;border:1px solid #e2e8f0;overflow:hidden}.invoice-summary-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;padding:24px;border-bottom:1px solid #e2e8f0;background:#f8fafc}.invoice-summary-cards{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.invoice-preview-summary{display:flex;flex-direction:column;gap:8px;padding:12px;background:#f8fafc;border-radius:6px;border:1px solid #e2e8f0}.summary-card{background:#fff;padding:20px;border-radius:8px;border:1px solid #e2e8f0;text-align:center}.summary-value{font-size:24px;font-weight:600;color:#1e293b;margin-bottom:4px}.summary-label{font-size:12px;color:#64748b;text-transform:uppercase;letter-spacing:.5px;margin-bottom:8px}.invoices-header{padding:24px;border-bottom:1px solid #e2e8f0;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:16px}.invoices-title{font-size:20px;font-weight:600;color:#1e293b;display:flex;align-items:center;gap:8px}.invoices-actions{display:flex;gap:12px;align-items:center}.invoices-table-container{overflow-x:auto}.invoices-table{width:100%;border-collapse:collapse}.invoices-table th{background:#f8fafc;padding:16px;text-align:left;font-size:12px;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.5px;border-bottom:1px solid #e2e8f0}.invoices-table td{padding:16px;border-bottom:1px solid #f1f5f9;vertical-align:middle}.invoices-table tr:hover{background:#f8fafc}.invoice-number{font-weight:600;color:#3b82f6;cursor:pointer}.invoice-number:hover{text-decoration:underline}.invoice-description-title{font-weight:600;margin-bottom:4px;color:#1e293b}.invoice-description-subtitle{font-size:13px;color:#64748b}.invoice-status{display:inline-flex;align-items:center;gap:4px;padding:4px 8px;border-radius:6px;font-size:12px;font-weight:500;text-transform:uppercase;letter-spacing:.5px}.status-paid{background:#d1fae5;color:#065f46}.status-sent{background:#fef3c7;color:#92400e}.status-cancelled{background:#f3f4f6;color:#6b7280}.invoice-amount{font-weight:600;color:#1e293b}.amount-paid{color:#059669}.amount-overdue{color:#dc2626}.invoice-date{color:#64748b;font-size:14px}.invoice-actions{display:flex;gap:8px}.action-btn{padding:6px 12px;border:1px solid #e2e8f0;background:#fff;border-radius:6px;font-size:12px;color:#64748b;cursor:pointer;transition:all .2s;display:flex;align-items:center;gap:4px}.action-btn:hover{background:#f8fafc;border-color:#cbd5e1;color:#334155}.action-btn.primary{background:#3b82f6;border-color:#3b82f6;color:#fff}.action-btn.primary:hover{background:#2563eb}.action-btn.danger{background:#ef4444;border-color:#ef4444;color:#fff}.action-btn.danger:hover{background:#dc2626}.action-btn.pdf-btn{background:#dc2626;border-color:#dc2626;color:#fff}.action-btn.pdf-btn:hover{background:#b91c1c;transform:translateY(-1px);box-shadow:0 4px 12px #dc26264d}.file-actions{display:flex;gap:8px;justify-content:flex-start;align-items:center}.invoice-row{animation:slideIn .3s ease-out}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000}.modal-content{background:#fff;border-radius:12px;max-width:600px;width:90%;max-height:80vh;overflow-y:auto;box-shadow:0 20px 25px -5px #0000001a}.client-details-modal .modal-content,.modal-content.wide-modal{max-width:1200px;width:90%}.modal-header{padding:24px;border-bottom:1px solid #e2e8f0;display:flex;justify-content:space-between;align-items:center}.modal-close{background:none;border:none;font-size:18px;color:#64748b;cursor:pointer;padding:4px;border-radius:4px;transition:all .2s}.modal-close:hover{background:#f1f5f9;color:#334155}.modal-body{padding:24px}.payment-history{display:flex;flex-direction:column;gap:16px}.payment-item{display:flex;justify-content:space-between;align-items:center;padding:16px;border:1px solid #e2e8f0;border-radius:8px}.payment-details{flex:1}.payment-method{font-size:14px;font-weight:600;color:#1e293b;margin-bottom:4px}.payment-date{font-size:12px;color:#64748b}.payment-amount{font-size:16px;font-weight:600;color:#059669}@media (max-width: 768px){.jobs-header,.invoices-header{flex-direction:column;align-items:stretch}.jobs-actions,.invoices-actions{order:-1;justify-content:space-between}.search-filter{flex-direction:column;align-items:stretch}.search-input{width:100%}.jobs-grid{grid-template-columns:1fr;padding:16px;gap:16px}.job-details{grid-template-columns:1fr;gap:8px}.job-actions{flex-wrap:wrap;gap:6px}.job-action-btn{flex:1;min-width:calc(50% - 3px);justify-content:center;padding:8px 10px;font-size:12px}.quick-stats{grid-template-columns:repeat(2,1fr);padding:16px;gap:12px}.invoice-summary-cards{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));padding:16px;gap:12px}.job-header{flex-direction:column;gap:8px}.job-status-wrapper{align-self:flex-start}.job-value{font-size:18px;text-align:center;padding:8px;background:#0596691a;border-radius:6px;color:#059669;-webkit-text-fill-color:#059669}.invoices-table{font-size:14px}.invoices-table th,.invoices-table td{padding:12px 8px}.invoice-actions{flex-direction:column;gap:4px}.action-btn{justify-content:center;padding:8px 12px}.modal-content{margin:20px;width:calc(100% - 40px)}}.status-badge{margin-left:8px;font-size:12px;padding:2px 8px;border-radius:12px;font-weight:500}.badge-progress{background-color:#dbeafe;color:#1e40af}.badge-scheduled{background-color:#fef3c7;color:#92400e}.status-scheduled{background-color:#f59e0b}.invoice-action-buttons{display:flex;gap:8px;flex-wrap:wrap}.invoice-action-btn{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;font-size:12px;font-weight:500;border:1px solid transparent;border-radius:6px;cursor:pointer;transition:all .2s ease;text-decoration:none;white-space:nowrap;min-height:32px}.invoice-action-btn:hover{transform:translateY(-1px);box-shadow:0 2px 8px #0000001a}.invoice-action-btn:active{transform:translateY(0)}.invoice-icon{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.invoice-btn-view{background-color:#f8fafc;color:#475569;border-color:#e2e8f0}.invoice-btn-view:hover{background-color:#f1f5f9;border-color:#cbd5e1}.invoice-btn-email{background-color:#eff6ff;color:#2563eb;border-color:#dbeafe}.invoice-btn-email:hover{background-color:#dbeafe;border-color:#93c5fd}.invoice-btn-sms{background-color:#f0f9ff;color:#0284c7;border-color:#bae6fd}.invoice-btn-sms:hover{background-color:#e0f2fe;border-color:#7dd3fc}.invoice-btn-archive{background-color:#fffbeb;color:#d97706;border-color:#fed7aa}.invoice-btn-archive:hover{background-color:#fef3c7;border-color:#fbbf24}.invoice-btn-delete{background-color:#fef2f2;color:#dc2626;border-color:#fecaca}.invoice-btn-delete:hover{background-color:#fee2e2;border-color:#f87171}.invoice-status-badge{padding:4px 8px;font-size:12px;font-weight:500;border:1px solid;border-radius:6px;cursor:pointer;background:#fff;min-width:80px}.invoice-status-draft{color:#6b7280;border-color:#d1d5db;background-color:#f9fafb}.invoice-status-sent{color:#2563eb;border-color:#dbeafe;background-color:#eff6ff}.invoice-status-paid{color:#059669;border-color:#a7f3d0;background-color:#ecfdf5}.invoice-status-overdue{color:#dc2626;border-color:#fecaca;background-color:#fef2f2}.invoice-status-cancelled{color:#6b7280;border-color:#d1d5db;background-color:#f9fafb}.client-header-section{background:#fff;border-bottom:1px solid #e2e8f0;padding:18px 30px;box-shadow:0 2px 4px #0000000d}.client-header-toolbar{display:flex;align-items:center;gap:12px;margin-bottom:24px;flex-wrap:wrap}.back-button{display:inline-flex;align-items:center;gap:8px;padding:10px 16px;background:none;border:1px solid #e2e8f0;border-radius:8px;color:#64748b;cursor:pointer;transition:all .2s ease;font-size:.875rem;font-weight:500}.back-button:hover{background:#f8fafc;border-color:#667eea;color:#667eea}.client-edit-button{display:inline-flex;align-items:center;gap:8px;padding:10px 16px;border:none;border-radius:8px;background:#2563eb;color:#fff;cursor:pointer;transition:all .2s ease;font-size:.875rem;font-weight:600}.client-edit-button:hover{background:#1d4ed8}.client-header-info h1{font-size:1.875rem;font-weight:700;color:#1e293b;margin-bottom:12px;line-height:1.2}.client-business-summary{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:12px;color:#475569;font-size:.92rem}.client-business-badge{display:inline-flex;align-items:center;padding:5px 10px;border-radius:999px;background:#dbeafe;color:#1d4ed8;font-size:.72rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase}.client-contact-info{display:flex;gap:24px;color:#64748b;font-size:.875rem;margin-bottom:0;flex-wrap:wrap}.client-contact-info span{display:flex;align-items:center;gap:5px;min-width:0;overflow-wrap:anywhere;word-break:break-word}.client-key-metrics{display:flex;gap:32px;padding:0;border:none;flex-shrink:0}.metric{display:flex;flex-direction:column;gap:6px;min-width:120px;text-align:center}.metric-label{font-size:.7rem;color:#64748b;text-transform:uppercase;letter-spacing:.05em;font-weight:500}.metric-value{font-size:1.25rem;font-weight:700;color:#1e293b;line-height:1.2}.metric-value.status-active{color:#16a34a}.metric-value.status-prospect{color:#d97706}.metric-value.status-inactive{color:#64748b}.metric-value.status-archived{color:#94a3b8}.client-header-info{display:flex;align-items:center;justify-content:space-between;gap:40px;width:100%}.client-basic-info{display:flex;flex-direction:column;flex:1;min-width:0}.client-name-contact{display:flex;flex-direction:column;gap:0;margin-bottom:0}.client-contact-info span{display:flex;align-items:center;gap:6px;padding:4px 0}.client-contact-info i{width:16px;text-align:center;color:#94a3b8}.tab-navigation{background:#fff;border-bottom:1px solid #e2e8f0;padding:0 30px;display:flex;gap:8px;overflow-x:auto;-webkit-overflow-scrolling:touch;position:-webkit-sticky;position:sticky;top:0;z-index:10}.tab-button{display:flex;align-items:center;gap:8px;padding:16px 20px;background:none;border:none;border-bottom:3px solid transparent;color:#64748b;font-size:.875rem;font-weight:600;cursor:pointer;transition:all .2s ease;white-space:nowrap;position:relative}.tab-button:hover{color:#667eea;background:#f8fafc}.tab-button.active{color:#3b82f6;border-bottom-color:#3b82f6;background:linear-gradient(135deg,#3b82f60d,#3b82f605)}.tab-button .tab-badge{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 6px;background:#e2e8f0;color:#64748b;border-radius:10px;font-size:.75rem;font-weight:600;margin-left:4px;transition:all .2s ease}.tab-button.active .tab-badge{background:#3b82f6;color:#fff}.tab-content{padding:30px;max-width:1400px;margin:0 auto;width:100%}.client-overview{max-width:1400px;margin:0 auto}.overview-main-grid{display:grid;grid-template-columns:1fr 320px;gap:32px;margin-bottom:32px}.overview-content,.overview-sidebar{display:flex;flex-direction:column;gap:24px}.metrics-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-bottom:32px}.metric-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:20px;position:relative;overflow:hidden;transition:all .3s ease;box-shadow:0 1px 3px #0000001a}.metric-card:hover{transform:translateY(-2px);box-shadow:0 4px 12px #00000026;border-color:#d1d5db}.metric-card-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.metric-card-title{font-size:.875rem;font-weight:500;color:#6b7280;text-transform:uppercase;letter-spacing:.05em}.metric-card-icon{font-size:20px;opacity:.8}.metric-card-value{font-size:2rem;font-weight:700;color:#111827;line-height:1;margin-bottom:8px}.metric-card-change{display:flex;align-items:center;gap:4px;font-size:.75rem;font-weight:500}.metric-card-change.change-positive{color:#10b981}.metric-card-change.change-negative{color:#ef4444}.section-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;overflow:hidden;transition:all .2s ease;box-shadow:0 1px 3px #0000001a}.section-card:hover{box-shadow:0 4px 12px #0000001a}.section-header{padding:16px 20px;border-bottom:1px solid #f3f4f6;display:flex;align-items:center;justify-content:space-between;background:#f9fafb}.section-title{font-size:1rem;font-weight:600;color:#111827;display:flex;align-items:center;gap:8px;margin:0}.section-action{color:#3b82f6;text-decoration:none;font-size:.875rem;font-weight:500;transition:color .2s ease}.section-action:hover{color:#2563eb}.section-content{padding:20px}.overview-grid{display:grid;grid-template-columns:2fr 1fr;gap:32px;margin-top:24px}.overview-main,.overview-sidebar{display:flex;flex-direction:column;gap:24px}.quick-actions-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.quick-action-btn{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:16px;background:#fff;border:1px solid #e5e7eb;border-radius:8px;color:#374151;text-decoration:none;font-size:.75rem;font-weight:500;cursor:pointer;transition:all .2s ease;text-align:center;min-height:64px}.quick-action-btn:hover{background:#f9fafb;border-color:#d1d5db;transform:translateY(-1px);box-shadow:0 2px 8px #0000001a}.quick-action-icon{font-size:18px;line-height:1}.quick-action-label{font-size:.75rem;line-height:1.2}.quick-action-btn i{font-size:16px;flex-shrink:0}.quick-action-btn.email{border-color:#dbeafe;background:linear-gradient(135deg,#eff6ff,#dbeafe);color:#1e40af}.quick-action-btn.email:hover{background:linear-gradient(135deg,#3b82f6,#2563eb);border-color:#3b82f6;color:#fff}.quick-action-btn.phone{border-color:#dcfce7;background:linear-gradient(135deg,#f0fdf4,#dcfce7);color:#16a34a}.quick-action-btn.phone:hover{background:linear-gradient(135deg,#10b981,#059669);border-color:#10b981;color:#fff}.quick-action-btn.quote{border-color:#fef3c7;background:linear-gradient(135deg,#fffbeb,#fef3c7);color:#d97706}.quick-action-btn.quote:hover{background:linear-gradient(135deg,#f59e0b,#d97706);border-color:#f59e0b;color:#fff}.quick-action-btn.calendar{border-color:#f3e8ff;background:linear-gradient(135deg,#faf5ff,#f3e8ff);color:#7c3aed}.quick-action-btn.calendar:hover{background:linear-gradient(135deg,#8b5cf6,#7c3aed);border-color:#8b5cf6;color:#fff}.quick-action-btn.invoice{border-color:#dcfce7;background:linear-gradient(135deg,#f0fdf4,#dcfce7);color:#16a34a}.quick-action-btn.invoice:hover{background:linear-gradient(135deg,#10b981,#059669);border-color:#10b981;color:#fff}.quick-action-btn.note{border-color:#f3e8ff;background:linear-gradient(135deg,#faf5ff,#f3e8ff);color:#7c3aed}.quick-action-btn.note:hover{background:linear-gradient(135deg,#8b5cf6,#7c3aed);border-color:#8b5cf6;color:#fff}.recent-communications{display:flex;flex-direction:column;gap:16px}.communication-item{display:flex;gap:12px;padding:16px;background:linear-gradient(135deg,#f8fafc,#f1f5f9);border:1px solid #e2e8f0;border-radius:12px;transition:all .2s ease}.communication-item:hover{background:linear-gradient(135deg,#f1f5f9,#e2e8f0);border-color:#cbd5e1;transform:translateY(-1px);box-shadow:0 2px 8px #0000001a}.comm-type-icon{width:40px;height:40px;border-radius:10px;display:flex;align-items:center;justify-content:center;flex-shrink:0;font-size:16px;font-weight:500}.comm-type-icon.email{background:linear-gradient(135deg,#dbeafe,#bfdbfe);color:#1e40af;border:1px solid #93c5fd}.comm-type-icon.sms{background:linear-gradient(135deg,#dcfce7,#bbf7d0);color:#16a34a;border:1px solid #86efac}.comm-type-icon.call{background:linear-gradient(135deg,#fef3c7,#fde68a);color:#d97706;border:1px solid #fcd34d}.comm-details{flex:1;display:flex;flex-direction:column;gap:4px}.comm-subject{font-weight:600;color:#1e293b;font-size:.875rem;line-height:1.3}.comm-preview{color:#64748b;font-size:.8rem;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.comm-timestamp{color:#94a3b8;font-size:.75rem;font-weight:500;margin-top:2px}.upcoming-milestones{display:flex;flex-direction:column;gap:12px}.milestone-item{display:flex;align-items:center;justify-content:space-between;padding:16px;background:linear-gradient(135deg,#fff,#f8fafc);border:1px solid #e2e8f0;border-radius:12px;transition:all .2s ease;position:relative}.milestone-item:hover{background:linear-gradient(135deg,#f8fafc,#f1f5f9);border-color:#cbd5e1;transform:translateY(-1px);box-shadow:0 2px 8px #0000001a}.milestone-item.urgent{border-left:4px solid #f59e0b;background:linear-gradient(135deg,#fffbeb,#fef3c7);border-color:#fde68a}.milestone-item.urgent:hover{background:linear-gradient(135deg,#fef3c7,#fcd34d);border-color:#f59e0b}.milestone-info{display:flex;flex-direction:column;gap:4px;flex:1}.milestone-title{font-weight:600;color:#1e293b;font-size:.875rem;line-height:1.3}.milestone-date{color:#64748b;font-size:.8rem;font-weight:500}.milestone-item.urgent .milestone-date{color:#92400e}.milestone-priority{padding:6px 12px;border-radius:20px;font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.025em;flex-shrink:0}.milestone-priority.high{background:linear-gradient(135deg,#fee2e2,#fecaca);color:#dc2626;border:1px solid #f87171}.milestone-priority.medium{background:linear-gradient(135deg,#fef3c7,#fde68a);color:#d97706;border:1px solid #fcd34d}.milestone-priority.low{background:linear-gradient(135deg,#dcfce7,#bbf7d0);color:#16a34a;border:1px solid #86efac}.milestone-item:before{content:"";position:absolute;left:12px;top:16px;width:8px;height:8px;border-radius:50%;background:#64748b}.milestone-item.urgent:before{background:#f59e0b;box-shadow:0 0 8px #f59e0b66}.milestone-info{margin-left:20px}.activity-timeline{display:flex;flex-direction:column;gap:15px}.timeline-item{display:flex;gap:15px;align-items:start}.timeline-marker{width:10px;height:10px;background:#667eea;border-radius:50%;margin-top:5px}.timeline-content p{color:#333;margin-bottom:5px}.timeline-date{font-size:.8rem;color:#666}.outstanding-list{display:flex;flex-direction:column;gap:10px}.outstanding-item{display:flex;align-items:center;gap:10px;padding:10px;background:#f8fafc;border-radius:8px}.item-type{padding:4px 8px;border-radius:4px;font-size:.7rem;font-weight:600;text-transform:uppercase}.item-type.quote{background:#e0e7ff;color:#4338ca}.item-type.invoice{background:#fee2e2;color:#dc2626}.item-description{flex:1;color:#333}.item-status,.item-amount{font-weight:600;color:#666}.no-data-message{text-align:center;padding:40px 20px;color:#94a3b8;font-style:italic}.view-all-link{display:inline-flex;align-items:center;gap:4px;color:#3b82f6;font-size:.875rem;font-weight:500;text-decoration:none;transition:all .2s ease}.view-all-link:hover{color:#2563eb;gap:6px}@keyframes fadeInUp{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.metric-card,.section-card,.timeline-item,.project-item,.communication-item,.milestone-item{animation:fadeInUp .3s ease forwards}.metric-card:nth-child(1){animation-delay:.1s}.metric-card:nth-child(2){animation-delay:.2s}.metric-card:nth-child(3){animation-delay:.3s}.metric-card:nth-child(4){animation-delay:.4s}.section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.section-header h2{font-size:1.5rem;font-weight:600;color:#333}.add-button{display:flex;align-items:center;gap:8px;padding:10px 20px;background:#667eea;color:#fff;border:none;border-radius:8px;font-weight:500;cursor:pointer;transition:all .2s ease}.add-button:hover{background:#5a67d8;transform:translateY(-1px);box-shadow:0 4px 12px #667eea4d}.leads-content{background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000001a;border:1px solid #e2e8f0;overflow:hidden;margin-top:20px}.pipeline-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;padding:24px;border-bottom:1px solid #e2e8f0;background:#f8fafc}.pipeline-card{background:#fff;padding:20px;border-radius:8px;border:1px solid #e2e8f0;text-align:center;position:relative}.pipeline-value{font-size:24px;font-weight:600;color:#1e293b;margin-bottom:4px}.pipeline-label{font-size:12px;color:#64748b;text-transform:uppercase;letter-spacing:.5px;margin-bottom:8px}.pipeline-change{font-size:12px;font-weight:500}.leads-header{padding:24px;border-bottom:1px solid #e2e8f0;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:16px}.leads-title{font-size:20px;font-weight:600;color:#1e293b;display:flex;align-items:center;gap:8px}.leads-actions{display:flex;gap:12px;align-items:center}.btn{padding:10px 16px;border:none;border-radius:8px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s;display:flex;align-items:center;gap:8px}.btn-primary{background:#3b82f6;color:#fff}.btn-primary:hover{background:#2563eb}.btn-secondary{background:#f1f5f9;color:#334155;border:1px solid #e2e8f0}.btn-secondary:hover{background:#e2e8f0}.search-input{padding:10px 16px;border:1px solid #e2e8f0;border-radius:8px;font-size:14px;width:250px}.filter-select{padding:10px 16px;border:1px solid #e2e8f0;border-radius:8px;font-size:14px;background:#fff;cursor:pointer}.leads-grid{padding:24px;display:grid;grid-template-columns:repeat(auto-fill,minmax(380px,1fr));gap:20px}.lead-card{border:1px solid #e2e8f0;border-radius:12px;padding:20px;background:#fff;transition:all .2s;cursor:pointer;animation:slideIn .3s ease-out}.lead-card:hover{box-shadow:0 4px 12px #0000001a;border-color:#3b82f6}.lead-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:16px;gap:12px}.lead-info{flex:1}.lead-name{font-size:16px;font-weight:600;color:#1e293b;margin-bottom:4px}.lead-project{font-size:14px;color:#64748b;margin-bottom:8px}.lead-status{display:inline-flex;align-items:center;gap:4px;padding:4px 8px;border-radius:6px;font-size:12px;font-weight:500;text-transform:uppercase;letter-spacing:.5px}.status-new{background:#dbeafe;color:#1d4ed8}.status-contacted{background:#fef3c7;color:#92400e}.status-qualified{background:#d1fae5;color:#065f46}.status-proposal{background:#ede9fe;color:#7c3aed}.status-negotiation{background:#fed7aa;color:#ea580c}.status-won{background:#d1fae5;color:#059669}.status-lost{background:#fee2e2;color:#dc2626}.lead-priority{display:flex;align-items:center;gap:4px;font-size:12px;font-weight:500}.priority-high{color:#dc2626}.priority-medium{color:#ea580c}.priority-low{color:#64748b}.priority-completed{color:#059669}.priority-closed{color:#64748b}.lead-details{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:16px}.lead-detail{display:flex;align-items:center;gap:8px;font-size:14px;color:#64748b}.lead-value{font-size:18px;font-weight:600;color:#059669;margin-bottom:12px}.lead-progress{margin-bottom:16px}.progress-label{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px;font-size:14px}.progress-text{font-weight:500;color:#334155}.progress-stage{color:#64748b;font-size:12px}.progress-fill{height:100%;background:linear-gradient(90deg,#3b82f6,#1d4ed8);border-radius:3px;transition:width .3s ease}.lead-timeline{margin-bottom:16px}.timeline-item{display:flex;align-items:center;gap:8px;font-size:13px;color:#64748b;margin-bottom:6px;transition:all .2s ease}.timeline-item:last-child{margin-bottom:0}.timeline-item:hover{background-color:#f8fafc;padding:4px 8px;border-radius:4px;margin:2px 0}.timeline-date{font-weight:500;min-width:80px}.lead-actions{display:flex;gap:8px;flex-wrap:wrap}.lead-action-btn{padding:6px 12px;border:1px solid #e2e8f0;background:#fff;border-radius:6px;font-size:13px;color:#64748b;cursor:pointer;transition:all .2s;display:flex;align-items:center;gap:4px}.lead-action-btn:hover{background:#f8fafc;border-color:#cbd5e1;color:#334155}.lead-action-btn.primary{background:#3b82f6;border-color:#3b82f6;color:#fff}.lead-action-btn.primary:hover{background:#2563eb}.lead-source{display:inline-flex;align-items:center;gap:4px;padding:2px 8px;background:#f1f5f9;border-radius:4px;font-size:11px;font-weight:500;color:#64748b;margin-bottom:8px}.source-referral{background:#d1fae5;color:#065f46}.source-website{background:#dbeafe;color:#1d4ed8}.source-social{background:#ede9fe;color:#7c3aed}.source-advertising{background:#fed7aa;color:#ea580c}.empty-state p{margin-bottom:24px}.quotes-list{display:flex;flex-direction:column;gap:15px}.quote-item{background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:20px;display:flex;justify-content:space-between;align-items:center}.quote-info h4{font-size:1.1rem;font-weight:600;color:#333;margin-bottom:5px}.quote-date,.quote-services{font-size:.9rem;color:#666;margin-bottom:3px}.quote-actions{display:flex;gap:10px}.action-button{padding:8px 16px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;color:#666;font-size:.9rem;cursor:pointer;transition:all .2s ease}.action-button:hover{background:#667eea;border-color:#667eea;color:#fff}.jobs-list{display:flex;flex-direction:column;gap:15px}.job-item{background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:20px;display:flex;justify-content:space-between;align-items:start}.job-info h4{font-size:1.1rem;font-weight:600;color:#333;margin-bottom:5px}.job-description,.job-date{font-size:.9rem;color:#666;margin-bottom:5px}.job-checklist{margin-top:10px}.checklist-progress{font-size:.8rem;color:#667eea;font-weight:500}.job-status{display:flex;flex-direction:column;align-items:flex-end;gap:10px}.job-cost{font-size:1.2rem;font-weight:600;color:#333}.status-in-progress{background:#dbeafe;color:#1e40af}.status-needs-reschedule{background:#fef3c7;color:#d97706}.status-completed{background:#dcfce7;color:#16a34a}.status-cancelled{background:#fee2e2;color:#dc2626}.invoices-list{display:flex;flex-direction:column;gap:15px}.invoice-item{background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:20px;display:flex;justify-content:space-between;align-items:center}.invoice-info h4{font-size:1.1rem;font-weight:600;color:#333;margin-bottom:5px}.invoice-date,.invoice-amount{font-size:.9rem;color:#666;margin-bottom:3px}.invoice-status{display:flex;align-items:center;gap:15px}.status-draft{background:#e5e7eb;color:#4b5563}.status-sent{background:#dbeafe;color:#1e40af}.status-paid{background:#dcfce7;color:#16a34a}.status-overdue{background:#fee2e2;color:#dc2626}.comm-actions{display:flex;gap:10px}.comm-button{display:flex;align-items:center;gap:8px;padding:10px 20px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;color:#666;cursor:pointer;transition:all .2s ease}.comm-button:hover{background:#667eea;border-color:#667eea;color:#fff}.communications-timeline{display:flex;flex-direction:column;gap:20px;margin-top:20px}.comm-item{display:flex;gap:15px;align-items:start}.comm-icon{width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff}.comm-icon.email{background:#667eea}.comm-icon.sms{background:#22c55e}.comm-content h4{font-size:1rem;font-weight:600;color:#333;margin-bottom:5px}.comm-content p{color:#666;font-size:.9rem;margin-bottom:5px}.comm-date{font-size:.8rem;color:#999}.files-categories{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:15px;margin-bottom:30px}.file-category{background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:20px;text-align:center;cursor:pointer;transition:all .2s ease}.file-category:hover{border-color:#667eea;transform:translateY(-2px);box-shadow:0 4px 12px #0000001a}.file-category h3{font-size:1rem;font-weight:600;color:#333;margin-bottom:5px}.file-count{font-size:.9rem;color:#666}.document-manager-wrapper{background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:20px}.client-ai{display:grid;grid-template-columns:1fr 300px;gap:20px}.ai-chat-container{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:20px;display:flex;flex-direction:column;height:600px}.ai-chat-messages{flex:1;overflow-y:auto;display:flex;flex-direction:column;gap:15px;margin-bottom:20px;padding:10px;background:#f8fafc;border-radius:8px}.ai-message{padding:15px;border-radius:10px;animation:fadeInUp .3s ease}.ai-message.ai{background:#e0e7ff;align-self:flex-start;max-width:80%}.ai-message.user{background:#667eea;color:#fff;align-self:flex-end;max-width:80%}.ai-message .message-header{font-size:.8rem;font-weight:600;margin-bottom:5px;opacity:.8}.ai-message .message-content{font-size:.9rem;line-height:1.5}.ai-input-area{display:flex;gap:10px}.ai-input{flex:1;padding:12px 16px;border:2px solid #e2e8f0;border-radius:8px;font-size:.9rem;transition:all .2s ease}.ai-input:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.ai-send-button{padding:12px 20px;background:#667eea;color:#fff;border:none;border-radius:8px;cursor:pointer;transition:all .2s ease}.ai-send-button:hover{background:#5a67d8}.ai-suggestions{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:20px}.ai-suggestions h3{font-size:1.1rem;font-weight:600;color:#333;margin-bottom:15px}.suggestion-button{display:block;width:100%;padding:12px 16px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;color:#666;text-align:left;cursor:pointer;transition:all .2s ease;margin-bottom:10px}.suggestion-button:hover{background:#e0e7ff;border-color:#667eea;color:#4338ca}.client-notes{max-width:800px;margin:0 auto}.edit-button{display:flex;align-items:center;gap:8px;padding:10px 20px;background:#667eea;color:#fff;border:none;border-radius:8px;font-weight:500;cursor:pointer;transition:all .2s ease}.edit-button:hover{background:#5a67d8}.notes-container{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:20px;margin-bottom:20px;min-height:300px}.notes-editor{width:100%;min-height:300px;padding:15px;border:1px solid #e2e8f0;border-radius:8px;font-size:1rem;line-height:1.6;resize:vertical}.notes-editor:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.notes-display{font-size:1rem;line-height:1.6;color:#333;white-space:pre-wrap}.no-notes{color:#999;font-style:italic}.notes-history{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:20px}.notes-history h3{font-size:1.1rem;font-weight:600;color:#333;margin-bottom:15px}.update-item{padding:10px 0;border-bottom:1px solid #f1f5f9}.update-item:last-child{border-bottom:none}.update-date{font-size:.8rem;color:#666;font-weight:500}.update-text{color:#333;margin-top:5px}.loading-state,.error-state{display:flex;align-items:center;justify-content:center;min-height:60vh;font-size:1.1rem;color:#666}.error-state{color:#ef4444}[class^=icon-]:before{content:"•";display:inline-block;margin-right:4px}@media (max-width: 1024px){.client-ai{grid-template-columns:1fr}.ai-suggestions{display:flex;flex-direction:column}}@media (max-width: 1024px){.overview-main-grid,.overview-grid{grid-template-columns:1fr;gap:24px}.overview-sidebar{order:-1}.metrics-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width: 768px){.client-header-section{padding:20px 16px}.tab-navigation{padding:0 16px}.tab-button{padding:12px 16px;font-size:.8rem}.tab-content{padding:20px 16px}.client-header-info{flex-direction:column;gap:20px;align-items:stretch}.client-name-contact{gap:0}.client-header-info h1{font-size:1.75rem}.client-contact-info{gap:16px}.client-business-summary{gap:8px}.client-key-metrics{flex-wrap:wrap;justify-content:space-between;gap:16px}.metric{flex:1;min-width:calc(50% - 8px)}.metric-value{font-size:1.1rem}.back-button{margin-bottom:20px}.metrics-grid{grid-template-columns:1fr}.files-categories{grid-template-columns:repeat(2,1fr)}.quick-actions-grid{grid-template-columns:1fr}.metric-card .metric-number{font-size:1.5rem}.leads-header{flex-direction:column;align-items:stretch}.leads-actions{order:-1;justify-content:space-between}.search-filter{flex-direction:column;align-items:stretch}.search-input{width:100%}.leads-grid{grid-template-columns:1fr;padding:16px}.lead-details{grid-template-columns:1fr}.pipeline-summary{grid-template-columns:repeat(2,1fr);padding:16px}}@media (max-width: 480px){.client-contact-info{flex-direction:column;gap:8px}.client-name-contact{gap:0}.invoice-summary-cards{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px;padding:16px}}.client-communications{display:flex;flex-direction:column;gap:24px;max-width:1200px;margin:0 auto}.communications-header{display:flex;justify-content:space-between;align-items:center;padding:20px 24px;background:#fff;border:1px solid #e2e8f0;border-radius:12px;box-shadow:0 1px 3px #0000001a}.communications-title{font-size:1.5rem;font-weight:600;color:#1e293b;display:flex;align-items:center;gap:10px}.communications-actions{display:flex;gap:12px;align-items:center}.channel-selector{display:flex;background:#f1f5f9;border-radius:8px;padding:4px;border:1px solid #e2e8f0}.channel-button{padding:8px 16px;border:none;background:transparent;border-radius:6px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s ease;color:#64748b}.channel-button.active{background:#fff;color:#3b82f6;box-shadow:0 1px 3px #0000001a}.channel-button:hover:not(.active){color:#334155;background:#ffffffb3}.new-message-btn{display:flex;align-items:center;gap:8px;padding:10px 16px;background:#3b82f6;color:#fff;border:none;border-radius:8px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s ease}.new-message-btn:hover{background:#2563eb;transform:translateY(-1px);box-shadow:0 4px 12px #3b82f666}.communications-main{display:grid;grid-template-columns:1fr 320px;gap:24px;height:clamp(560px,calc(100vh - 280px),820px);min-height:0;align-items:stretch}.communications-main-single{grid-template-columns:1fr}.message-thread{background:#fff;border:1px solid #e2e8f0;border-radius:12px;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 1px 3px #0000001a;min-height:0}.thread-header{padding:16px 20px;border-bottom:1px solid #f3f4f6;background:#f9fafb;display:flex;align-items:center;justify-content:space-between}.thread-info{display:flex;align-items:center;gap:12px}.client-avatar{width:36px;height:36px;border-radius:50%;background:linear-gradient(135deg,#667eea,#764ba2);display:flex;align-items:center;justify-content:center;color:#fff;font-weight:600;font-size:14px}.thread-client-info{display:flex;flex-direction:column;gap:2px}.thread-client-name{font-size:16px;font-weight:600;color:#1e293b}.thread-client-contact{font-size:13px;color:#64748b}.thread-stats{display:flex;align-items:center;gap:16px;font-size:13px;color:#64748b}.thread-stat{display:flex;align-items:center;gap:4px}.messages-container{flex:1;overflow-y:auto;padding:16px 20px 24px;display:flex;flex-direction:column;gap:10px;background:#f8fafc;min-height:0;position:relative;scroll-padding-top:20px;scroll-padding-bottom:32px}.thread-history-boundary{align-self:center;max-width:100%;margin:0 0 2px;padding:4px 10px;border:1px solid #e2e8f0;border-radius:999px;background:#fff;color:#64748b;font-size:11px;font-weight:700;line-height:1.3;text-transform:uppercase;letter-spacing:.04em}.load-older-messages{align-self:center;display:inline-flex;align-items:center;gap:6px;margin-bottom:4px;padding:7px 12px;border:1px solid #cbd5e1;border-radius:999px;background:#fff;color:#475569;font-size:12px;font-weight:600;cursor:pointer;transition:all .2s ease}.load-older-messages:hover:not(:disabled){border-color:#94a3b8;background:#f1f5f9}.load-older-messages:disabled{cursor:wait;opacity:.75}.new-messages-jump{position:-webkit-sticky;position:sticky;bottom:10px;align-self:center;display:inline-flex;align-items:center;gap:6px;padding:8px 12px;border:none;border-radius:999px;background:#1d4ed8;color:#fff;font-size:13px;font-weight:700;box-shadow:0 8px 18px #1d4ed840;cursor:pointer;z-index:2}.new-messages-jump:hover{background:#1e40af}.message-bubble{display:flex;align-items:flex-start;gap:10px;animation:fadeInUp .3s ease}.message-bubble.outgoing{flex-direction:row-reverse;align-self:flex-end}.message-bubble.incoming{align-self:flex-start}.message-avatar{width:30px;height:30px;border-radius:50%;flex-shrink:0;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:600;color:#fff}.message-avatar.user{background:linear-gradient(135deg,#3b82f6,#1d4ed8)}.message-avatar.client{background:linear-gradient(135deg,#64748b,#475569)}.message-content{max-width:min(68%,560px);display:flex;flex-direction:column;gap:3px}.message-bubble-content{padding:10px 14px;border-radius:14px;font-size:14px;line-height:1.45;word-wrap:break-word;overflow-wrap:anywhere;white-space:pre-wrap;position:relative}.message-bubble.outgoing .message-bubble-content{background:#2563eb;color:#fff;border-bottom-right-radius:4px}.message-bubble.incoming .message-bubble-content{background:#fff;color:#1e293b;border:1px solid #e2e8f0;border-bottom-left-radius:4px}.message-subject{font-weight:700;margin-bottom:6px;font-size:14px}.message-bubble.outgoing .message-subject{color:#fff;border-bottom:1px solid rgba(255,255,255,.25);padding-bottom:4px}.message-bubble.incoming .message-subject{color:#0f172a;border-bottom:1px solid #e2e8f0;padding-bottom:4px}.message-inline-link{display:inline-flex;align-items:center;max-width:100%;padding:1px 7px;border-radius:999px;font-weight:700;text-decoration:none;vertical-align:baseline;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.message-inline-link:after{content:"->";margin-left:5px;font-size:10px;line-height:1}.message-bubble.outgoing .message-inline-link{background:#ffffff2e;color:#fff;box-shadow:inset 0 0 0 1px #ffffff47}.message-bubble.outgoing .message-inline-link:hover{background:#ffffff42}.message-bubble.incoming .message-inline-link{background:#eff6ff;color:#1d4ed8;box-shadow:inset 0 0 0 1px #bfdbfe}.message-bubble.incoming .message-inline-link:hover{background:#dbeafe}.message-meta{display:flex;align-items:center;gap:6px;font-size:11px;margin-top:2px}.message-bubble.outgoing .message-meta{color:#475569;justify-content:flex-end}.message-bubble.incoming .message-meta{color:#374151}.message-timestamp{font-weight:500}.message-bubble.outgoing .message-timestamp{color:#475569}.message-status{display:inline-flex;align-items:center;gap:4px;font-weight:600}.message-bubble.outgoing .message-status{color:#475569}.message-bubble.incoming .message-status{color:#1e293b}.message-context{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;margin-top:8px;padding-top:7px;font-size:11px;line-height:1.35}.message-bubble.outgoing .message-context{justify-content:flex-end;border-top:1px solid rgba(255,255,255,.28);color:#ffffffeb}.message-bubble.outgoing .context-label{color:#ffffffd9}.message-bubble.incoming .message-context{border-top:1px solid #e2e8f0;color:#64748b}.context-label{font-weight:700;text-transform:uppercase;letter-spacing:.04em}.context-details{min-width:0;overflow-wrap:anywhere}.message-thread-end{flex:0 0 10px;height:10px}.status-indicator{width:6px;height:6px;border-radius:50%}.status-sending{background:#f59e0b}.status-sent{background:#3b82f6}.status-delivered{background:#10b981}.status-read{background:#059669}.status-failed{background:#ef4444}.channel-indicator{display:inline-flex;align-items:center;gap:4px;padding:2px 6px;border-radius:4px;font-size:11px;font-weight:500;text-transform:uppercase;letter-spacing:.5px}.channel-email{background:#dbeafe;color:#1e40af}.channel-sms{background:#dcfce7;color:#16a34a}.message-input-container{flex-shrink:0;padding:12px 14px;border-top:1px solid #e2e8f0;background:#fff;display:flex;flex-direction:column;gap:10px;box-shadow:0 -1px #e2e8f0b3}.communication-attachment-input{display:none}.communication-attachments{display:flex;flex-wrap:wrap;gap:8px}.communication-attachment-chip{max-width:100%;display:inline-flex;align-items:center;gap:6px;padding:6px 8px;border:1px solid #cbd5e1;border-radius:999px;background:#f8fafc;color:#334155;font-size:12px;font-weight:600}.communication-attachment-name{max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.communication-attachment-remove{width:20px;height:20px;border:none;border-radius:999px;background:transparent;color:#64748b;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.communication-attachment-remove:hover{background:#e2e8f0;color:#0f172a}.inline-email-fields{display:grid;grid-template-columns:minmax(200px,290px) 1fr;gap:10px}.inline-email-from,.inline-email-subject{min-width:0;height:38px;padding:8px 10px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#0f172a;font-size:13px}.inline-email-from:focus,.inline-email-subject:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61f}.message-input-wrapper{display:flex;gap:10px;align-items:end}.input-group{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:8px}.message-input-container .channel-selector{width:-webkit-fit-content;width:fit-content;max-width:100%}.channel-btn{display:inline-flex;align-items:center;gap:6px;padding:7px 12px;border:none;background:transparent;border-radius:6px;color:#64748b;font-size:13px;font-weight:700;cursor:pointer;transition:all .2s ease}.channel-btn.active{background:#fff;color:#1d4ed8;box-shadow:0 1px 3px #0f172a1f}.channel-btn:disabled{cursor:not-allowed;opacity:.45}.communication-message-input{box-sizing:border-box;width:100%;min-height:44px;max-height:120px;padding:11px 12px;border:1px solid #cbd5e1;border-radius:10px;background:#fff;color:#0f172a;-webkit-text-fill-color:#0f172a;font-family:inherit;font-size:14px;line-height:1.45;resize:none;transition:border-color .2s ease,box-shadow .2s ease}.communication-message-input::placeholder{color:#64748b;-webkit-text-fill-color:#64748b}.communication-message-input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61f}.input-actions{flex:0 0 auto;display:inline-flex;gap:6px;padding-bottom:1px}.input-action-btn,.send-btn{width:42px;height:42px;border:none;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;font-size:14px;cursor:pointer;transition:all .2s ease}.input-action-btn{background:#f1f5f9;color:#475569;border:1px solid #e2e8f0}.input-action-btn:hover{background:#e2e8f0;color:#0f172a}.input-action-btn.active{background:#dbeafe;border-color:#93c5fd;color:#1d4ed8}.input-action-btn:disabled{cursor:not-allowed;opacity:.45;background:#f8fafc;color:#94a3b8}.ai-assist-wrap{position:relative}.ai-assist-popover{position:absolute;right:0;bottom:calc(100% + 10px);width:min(280px,calc(100vw - 48px));padding:10px;border:1px solid #cbd5e1;border-radius:12px;background:#fff;color:#0f172a;box-shadow:0 16px 34px #0f172a2e;z-index:5}.ai-assist-popover:after{content:"";position:absolute;right:15px;bottom:-6px;width:10px;height:10px;border-right:1px solid #cbd5e1;border-bottom:1px solid #cbd5e1;background:#fff;transform:rotate(45deg)}.ai-assist-popover-header{display:flex;align-items:center;gap:7px;margin-bottom:8px;color:#1e293b;font-size:13px;font-weight:800}.ai-assist-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.ai-assist-action,.ai-assist-suggestion{min-width:0;border:1px solid #dbe3ef;border-radius:8px;background:#f8fafc;color:#1e293b;font:inherit;font-size:12px;font-weight:700;line-height:1.25;cursor:pointer;transition:background .2s ease,border-color .2s ease,transform .2s ease}.ai-assist-action{min-height:34px;display:inline-flex;align-items:center;justify-content:center;gap:5px;padding:7px 8px}.ai-assist-action:hover:not(:disabled),.ai-assist-suggestion:hover{background:#eff6ff;border-color:#93c5fd;transform:translateY(-1px)}.ai-assist-action-primary{grid-column:1 / -1;background:#2563eb;border-color:#2563eb;color:#fff}.ai-assist-action-primary:hover:not(:disabled){background:#1d4ed8;border-color:#1d4ed8;color:#fff}.ai-assist-action:disabled{cursor:wait;opacity:.72}.ai-assist-empty{display:flex;flex-direction:column;gap:6px}.ai-assist-empty-text{color:#64748b;font-size:12px;line-height:1.35}.ai-assist-suggestion{width:100%;padding:8px 9px;text-align:left}.send-btn{flex:0 0 auto;background:#2563eb;color:#fff;box-shadow:0 6px 14px #2563eb38}.send-btn:hover:not(:disabled){background:#1d4ed8;transform:translateY(-1px)}.send-btn:disabled{background:#e2e8f0;color:#94a3b8;box-shadow:none;cursor:not-allowed}.icon-spin{animation:spin 1s linear infinite}.message-input-area{padding:16px 20px;border-top:1px solid #f3f4f6;background:#fff;display:flex;flex-direction:column;gap:12px}.subject-input{width:100%;padding:10px 12px;border:1px solid #e2e8f0;border-radius:6px;font-size:14px;background:#fff;transition:all .2s ease}.subject-input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.message-compose{display:flex;gap:12px;align-items:flex-end}.message-input{flex:1;min-height:80px;max-height:180px;padding:10px 12px;border:1px solid #e2e8f0;border-radius:8px;font-size:14px;font-family:inherit;resize:none;background:#fff;transition:all .2s ease}.message-input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.send-button{padding:10px 16px;background:#3b82f6;color:#fff;border:none;border-radius:8px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;gap:6px}.send-button:hover:not(:disabled){background:#2563eb;transform:translateY(-1px)}.send-button:disabled{background:#cbd5e1;cursor:not-allowed;transform:none}.ai-assistant-panel{background:#fff;border:1px solid #e2e8f0;border-radius:12px;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 1px 3px #0000001a;min-height:0}.ai-panel-header{padding:16px 20px;border-bottom:1px solid #f3f4f6;background:#f9fafb;display:flex;align-items:center;gap:10px}.ai-panel-title{font-size:16px;font-weight:600;color:#1e293b}.ai-panel-close{width:28px;height:28px;margin-left:auto;border:1px solid #e2e8f0;border-radius:8px;background:#fff;color:#64748b;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:background .2s ease,color .2s ease,border-color .2s ease}.ai-panel-close:hover{background:#f1f5f9;border-color:#cbd5e1;color:#0f172a}.ai-status-indicator{width:8px;height:8px;border-radius:50%;background:#10b981;animation:pulse 2s infinite}@keyframes pulse{0%,to{opacity:1}50%{opacity:.5}}.ai-panel-content{flex:1;padding:20px;display:flex;flex-direction:column;gap:20px}.ai-suggestions-section{display:flex;flex-direction:column;gap:12px}.ai-suggestions{display:flex;flex-direction:column;gap:8px}.suggestions-header{color:#334155;font-size:13px;font-weight:700}.suggestion-btn{width:100%;padding:9px 10px;border:1px solid #cbd5e1;border-radius:8px;background:#f8fafc;color:#1e293b;font:inherit;font-size:13px;font-weight:600;line-height:1.35;text-align:left;cursor:pointer;transition:background .2s ease,border-color .2s ease,transform .2s ease}.suggestion-btn:hover{background:#eff6ff;border-color:#93c5fd;transform:translateY(-1px)}.suggestion-btn.smart-reply-suggestion{display:inline-flex;align-items:center;gap:7px;background:#eff6ff;border-color:#93c5fd;color:#1d4ed8;font-weight:800}.suggestion-btn.smart-reply-suggestion:hover:not(:disabled){background:#dbeafe;border-color:#60a5fa}.suggestion-btn.smart-reply-suggestion:disabled{cursor:wait;opacity:.7}.ai-section-title{font-size:14px;font-weight:600;color:#374151;margin-bottom:8px}.ai-suggestion-card{padding:12px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;cursor:pointer;transition:all .2s ease}.ai-suggestion-card:hover{background:#f1f5f9;border-color:#cbd5e1;transform:translateY(-1px);box-shadow:0 2px 8px #0000001a}.ai-suggestion-text{font-size:13px;color:#475569;line-height:1.4;margin-bottom:6px}.ai-suggestion-label{font-size:11px;color:#64748b;text-transform:uppercase;letter-spacing:.5px;font-weight:500}.ai-insights-section{display:flex;flex-direction:column;gap:12px}.ai-insight-item{display:flex;align-items:flex-start;gap:10px;padding:12px;background:linear-gradient(135deg,#f0f9ff,#e0f2fe);border:1px solid #bae6fd;border-radius:8px}.ai-insight-icon{width:20px;height:20px;border-radius:50%;background:#0284c7;color:#fff;display:flex;align-items:center;justify-content:center;font-size:10px;flex-shrink:0;margin-top:2px}.ai-insight-content{flex:1}.ai-insight-title{font-size:13px;font-weight:600;color:#0c4a6e;margin-bottom:4px}.ai-insight-description{font-size:12px;color:#0369a1;line-height:1.4}.communication-stats{display:flex;flex-direction:column;gap:12px}.stat-item{display:flex;justify-content:space-between;align-items:center;padding:8px 0;border-bottom:1px solid #f1f5f9}.stat-item:last-child{border-bottom:none}.stat-label{font-size:13px;color:#64748b}.stat-value{font-size:14px;font-weight:600;color:#1e293b}.messages-empty-state{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#64748b;padding:40px 20px}.empty-state-title{font-size:18px;font-weight:600;margin-bottom:8px;color:#374151}.empty-state-description{font-size:14px;margin-bottom:20px;max-width:300px}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;animation:fadeIn .2s ease}.new-message-modal{background:#fff;border-radius:12px;width:90%;max-width:800px;max-height:85vh;overflow:hidden;box-shadow:0 20px 25px -5px #0000001a;animation:slideUp .3s ease}@keyframes slideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.modal-header{padding:20px 24px;border-bottom:1px solid #e2e8f0;display:flex;justify-content:space-between;align-items:center;background:#f9fafb}.modal-title{font-size:18px;font-weight:600;color:#1e293b}.modal-close{background:none;border:none;font-size:20px;color:#64748b;cursor:pointer;padding:4px;border-radius:4px;transition:all .2s}.modal-close:hover{background:#f1f5f9;color:#374151}.modal-body{padding:24px;overflow-y:auto;max-height:calc(80vh - 140px)}.form-group{margin-bottom:20px}.form-label{display:block;font-size:14px;font-weight:500;color:#374151;margin-bottom:6px}.form-input,.form-textarea{width:100%;padding:10px 12px;border:1px solid #e2e8f0;border-radius:6px;font-size:14px;transition:all .2s ease}.form-input:focus,.form-textarea:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.form-textarea{min-height:160px;resize:vertical;font-family:inherit}.modal-actions{padding:20px 24px;border-top:1px solid #e2e8f0;display:flex;justify-content:flex-end;gap:12px;background:#f9fafb}.modal-button{padding:10px 16px;border-radius:6px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s ease;border:none}.modal-button.secondary{background:#f1f5f9;color:#374151;border:1px solid #e2e8f0}.modal-button.secondary:hover{background:#e2e8f0}.modal-button.primary{background:#3b82f6;color:#fff}.modal-button.primary:hover:not(:disabled){background:#2563eb}.modal-button.primary:disabled{background:#cbd5e1;cursor:not-allowed}.loading-spinner{display:inline-flex;align-items:center;gap:8px}.spinner{width:16px;height:16px;border:2px solid transparent;border-top:2px solid currentColor;border-radius:50%;animation:spin 1s linear infinite}@media (max-width: 768px){.communications-main{grid-template-columns:1fr;gap:16px;height:calc(100vh - 220px);min-height:560px}.ai-assistant-panel{order:-1;max-height:300px}.communications-header{flex-direction:column;gap:16px;align-items:stretch}.communications-actions{justify-content:space-between}.channel-selector{flex:1;justify-content:center}.message-content{max-width:85%}.messages-container{padding:16px}.message-input-area{padding:12px 16px}.inline-email-fields{grid-template-columns:1fr}.message-input-wrapper{gap:8px}.input-actions{display:inline-flex}.message-input-container .channel-selector{width:100%}.channel-btn{flex:1;justify-content:center}.new-message-modal{width:95%;max-width:none;margin:10px}.modal-body,.modal-actions{padding:16px}}.file-upload-section{background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000001a;border:1px solid #e2e8f0;overflow:hidden}.upload-header{padding:20px 24px;border-bottom:1px solid #e2e8f0;display:flex;justify-content:space-between;align-items:center}.upload-title{font-size:18px;font-weight:600;color:#1e293b;display:flex;align-items:center;gap:8px}.upload-actions{display:flex;gap:12px;align-items:center}.upload-area{padding:40px 24px;border:2px dashed #e2e8f0;margin:24px;border-radius:12px;text-align:center;transition:all .2s;cursor:pointer}.upload-area.dragover{border-color:#3b82f6;background:#f0f9ff}.upload-icon{font-size:48px;margin-bottom:16px;color:#cbd5e1}.upload-text{font-size:16px;font-weight:500;color:#1e293b;margin-bottom:8px}.upload-subtext{font-size:14px;color:#64748b;margin-bottom:20px}.file-input{display:none}.file-categories{background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000001a;border:1px solid #e2e8f0;overflow:hidden}.categories-header{padding:20px 24px;border-bottom:1px solid #e2e8f0;display:flex;justify-content:space-between;align-items:center}.categories-title{font-size:18px;font-weight:600;color:#1e293b;display:flex;align-items:center;gap:8px}.search-filter{display:flex;gap:12px;align-items:center}.search-input{padding:10px 16px;border:1px solid #e2e8f0;border-radius:6px;font-size:14px;width:250px}.filter-select{padding:10px 16px;border:1px solid #e2e8f0;border-radius:6px;font-size:14px;background:#fff;cursor:pointer}.categories-nav{display:flex;border-bottom:1px solid #e2e8f0;overflow-x:auto}.category-tab{padding:16px 24px;border:none;background:transparent;font-size:14px;font-weight:500;color:#64748b;cursor:pointer;transition:all .2s;white-space:nowrap;display:flex;align-items:center;gap:8px;border-bottom:2px solid transparent}.category-tab:hover{background:#f8fafc;color:#334155}.category-tab.active{color:#3b82f6;border-bottom-color:#3b82f6;background:#f0f9ff}.category-count{background:#f1f5f9;color:#64748b;font-size:11px;padding:2px 6px;border-radius:10px;min-width:18px;text-align:center}.category-tab.active .category-count{background:#3b82f61a;color:#3b82f6}.files-content{padding:24px}.files-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:20px}.file-card{border:1px solid #e2e8f0;border-radius:8px;padding:16px;background:#fff;transition:all .2s;cursor:pointer;position:relative;display:flex;flex-direction:column;min-height:380px}.file-card:hover{box-shadow:0 4px 12px #0000001a;border-color:#3b82f6;transform:translateY(-1px)}.file-card.selected{border-color:#3b82f6;box-shadow:0 0 0 2px #3b82f61a}.file-card.quote-card{border-left:4px solid #10b981;background:linear-gradient(135deg,#fff,#f0fdf4)}.file-card.quote-card:hover{border-left-color:#059669;box-shadow:0 4px 12px #10b98126}.file-card.job-card{border-left:4px solid #3b82f6;background:linear-gradient(135deg,#fff,#eff6ff)}.file-card.job-card:hover{border-left-color:#2563eb;box-shadow:0 4px 12px #3b82f626}.file-card.expanded-quote-card{min-height:200px;height:auto}.file-preview.quote-preview{display:none}.file-card .quote-summary{text-align:center;height:100%;display:flex;flex-direction:column;justify-content:center;gap:2px}.total-amount{font-size:30px;font-weight:700;display:block;margin-bottom:4px}.actual-cost{font-size:14px;font-weight:500;color:#d97706;display:block;margin-top:4px}.file-card.invoice-card{border-left:4px solid #f59e0b;background:linear-gradient(135deg,#fff,#fffbeb)}.file-card.invoice-card:hover{border-left-color:#d97706;box-shadow:0 4px 12px #f59e0b26}.file-card.expanded-invoice-card{min-height:200px;height:auto}.file-preview.invoice-preview{display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#fffbeb,#fef3c7)}.invoice-preview-summary{text-align:center;height:100%;display:flex;flex-direction:column;justify-content:center;gap:4px}.invoice-amount{font-size:16px;font-weight:600;color:#d97706}.invoice-services{font-size:14px;opacity:.9;color:#92400e}.invoice-client-info{display:flex;flex-direction:column;gap:6px}.invoice-number{font-weight:500;color:#f59e0b;font-size:14px}.invoice-dates{display:flex;flex-direction:column;gap:4px;font-size:12px;color:#6b7280}.due-date.overdue{color:#dc2626;font-weight:600}.status-badge.overdue{background-color:#fee2e2;color:#991b1b}.invoice-services-preview{border-top:1px solid #e5e7eb;padding-top:12px}.invoice-totals-preview{border-top:1px solid #e5e7eb;padding-top:12px;margin-top:8px}.file-card.invoice-card.status-paid{border-left-color:#10b981;background:linear-gradient(135deg,#fff,#ecfdf5)}.file-card.invoice-card.status-paid:hover{border-left-color:#059669;box-shadow:0 4px 12px #10b98126}.file-card.invoice-card.status-overdue{border-left-color:#dc2626;background:linear-gradient(135deg,#fff,#fef2f2)}.file-card.invoice-card.status-overdue:hover{border-left-color:#b91c1c;box-shadow:0 4px 12px #dc262626}.file-preview.invoice-preview.status-paid{background:linear-gradient(135deg,#ecfdf5,#d1fae5)}.file-preview.invoice-preview.status-overdue{background:linear-gradient(135deg,#fef2f2,#fecaca)}.invoice-amount.status-paid{color:#059669}.invoice-amount.status-overdue{color:#dc2626}.invoice-services.status-paid{color:#047857}.invoice-services.status-overdue{color:#b91c1c}.quote-service-count{font-size:14px;opacity:.9}.expanded-quote-info{padding:16px;display:flex;flex-direction:column;gap:12px;flex-grow:1}.expanded-quote-info .quote-header{display:flex;justify-content:space-between;align-items:flex-start;gap:8px}.quote-header .file-name{font-weight:600;font-size:16px;margin:0;flex-grow:1}.quote-client-info{display:flex;flex-direction:column;gap:6px}.client-name{font-weight:500;color:#374151;font-size:14px}.quote-dates{display:flex;flex-direction:column;gap:4px;font-size:12px;color:#6b7280}.valid-until{color:#d97706;font-weight:500}.quote-services-preview{border-top:1px solid #e5e7eb;padding-top:12px}.services-header{font-weight:600;color:#374151;margin-bottom:8px;font-size:13px}.services-list{display:flex;flex-direction:column;gap:6px}.service-item{display:flex;justify-content:space-between;align-items:flex-start;font-size:12px;gap:8px}.service-name{color:#374151;font-weight:500;flex-grow:1;line-height:1.3}.service-details{color:#6b7280;font-weight:400;white-space:nowrap}.more-services{color:#6b7280;font-style:italic;justify-content:center;margin-top:4px}.quote-totals-preview{border-top:1px solid #e5e7eb;padding-top:12px;margin-top:8px}.total-row{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#374151;margin-bottom:4px}.total-row.discount{color:#dc2626}.total-row.final-total{font-weight:700;font-size:14px;color:#10b981;border-top:1px solid #e5e7eb;padding-top:8px;margin-top:8px;margin-bottom:0}.quote-icon{font-size:32px;opacity:.9}.quote-icon i{color:#fff}.file-card .quote-amount{font-weight:600;color:#10b981;margin-left:8px}.status-badge{display:inline-block;padding:4px 8px;border-radius:12px;font-size:11px;font-weight:500;text-transform:uppercase;margin-left:8px}.status-badge.draft{background:#f3f4f6;color:#6b7280}.status-badge.sent{background:#dbeafe;color:#2563eb}.status-badge.approved{background:#dcfce7;color:#16a34a}.status-badge.rejected{background:#fee2e2;color:#dc2626}.status-badge.expired{background:#fef3c7;color:#d97706}.file-preview{width:100%;height:150px;background:#f8fafc;border-radius:6px;margin-bottom:12px;display:flex;align-items:center;justify-content:center;overflow:hidden;position:relative}.file-icon{font-size:48px;color:#cbd5e1}.file-preview img{width:100%;height:100%;object-fit:cover;border-radius:6px}.file-type-indicator{position:absolute;top:8px;right:8px;padding:4px 8px;background:#000000b3;color:#fff;font-size:11px;font-weight:500;border-radius:4px;text-transform:uppercase}.file-info{margin-bottom:12px}.file-name{font-size:18px;font-weight:600;color:#1e293b;margin-bottom:4px;line-height:1.3;word-break:break-word}.file-details{font-size:14px;color:#64748b;display:flex;justify-content:space-between;align-items:center}.file-size{font-weight:500}.file-date{color:#94a3b8}.file-tags{display:flex;gap:4px;flex-wrap:wrap;margin-bottom:12px}.file-tag{padding:2px 6px;background:#f1f5f9;color:#64748b;border-radius:4px;font-size:10px;font-weight:500}.tag-quote{background:#ede9fe;color:#7c3aed}.tag-job{background:#d1fae5;color:#065f46}.tag-invoice{background:#fef3c7;color:#92400e}.tag-communication{background:#dbeafe;color:#1d4ed8}.tag-general{background:#f1f5f9;color:#64748b}.file-actions{display:flex;gap:6px;justify-content:space-between;align-items:center;margin-top:auto}.file-action-btn{padding:6px 10px;border:1px solid #e2e8f0;background:#fff;border-radius:4px;font-size:13px;color:#64748b;cursor:pointer;transition:all .2s;display:flex;align-items:center;gap:4px}.file-action-btn:hover{background:#f8fafc;border-color:#cbd5e1;color:#334155}.file-action-btn.primary{background:#3b82f6;border-color:#3b82f6;color:#fff}.file-action-btn.primary:hover{background:#2563eb}.file-card.expanded-job-card{min-height:200px;height:auto}.file-preview.job-preview{display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#eff6ff,#dbeafe)}.job-summary{text-align:center;height:100%;display:flex;flex-direction:column;justify-content:center;gap:4px}.expanded-job-info{padding:16px;display:flex;flex-direction:column;gap:12px;flex-grow:1}.expanded-job-info .job-header{display:flex;justify-content:space-between;align-items:flex-start;gap:8px}.job-client-info{display:flex;flex-direction:column;gap:6px}.job-number{font-weight:500;color:#3b82f6;font-size:14px}.job-dates{display:flex;flex-direction:column;gap:4px;font-size:12px;color:#6b7280}.end-date{color:#d97706;font-weight:500}.job-workers{display:flex;align-items:center;gap:8px;font-size:12px;color:#6b7280;margin-top:4px}.job-workers i{color:#3b82f6;font-size:14px}.worker-display{color:#374151;font-weight:500}.worker-display.unassigned{color:#9ca3af;font-style:italic}.worker-display.loading{color:#6b7280;font-style:italic}.job-progress{font-size:14px;font-weight:500;color:#3b82f6}.job-checklist-preview{border-top:1px solid #e5e7eb;padding-top:12px}.checklist-header{font-weight:600;color:#374151;margin-bottom:8px;font-size:13px}.checklist-items{display:flex;flex-direction:column;gap:4px}.checklist-item{display:flex;align-items:center;gap:8px;font-size:12px}.task-status{font-weight:600;width:16px;text-align:center}.task-status.completed{color:#10b981}.task-status.pending{color:#6b7280}.task-name{color:#374151;font-weight:400;flex-grow:1;line-height:1.3}.more-tasks{color:#6b7280;font-style:italic;justify-content:center;margin-top:4px}.job-cost-preview{border-top:1px solid #e5e7eb;padding-top:12px;margin-top:8px}.cost-row{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#374151;margin-bottom:4px}.cost-row.final-cost{font-weight:700;font-size:14px;color:#3b82f6;border-top:1px solid #e5e7eb;padding-top:8px;margin-top:8px;margin-bottom:0}.file-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:16px;margin-bottom:24px}.file-preview-modal{position:fixed;top:0;left:0;right:0;bottom:0;background:#000c;display:none;align-items:center;justify-content:center;z-index:1000}.file-preview-modal.active{display:flex}.preview-modal-content{background:#fff;border-radius:12px;max-width:90vw;max-height:90vh;overflow:hidden;box-shadow:0 20px 25px -5px #0000004d;display:flex;flex-direction:column}.preview-modal-header{padding:20px 24px;border-bottom:1px solid #e2e8f0;display:flex;justify-content:space-between;align-items:center}.preview-modal-title{font-size:18px;font-weight:600;color:#1e293b}.preview-modal-close{background:none;border:none;font-size:24px;color:#64748b;cursor:pointer;padding:4px}.preview-modal-body{flex:1;overflow:auto;padding:24px;text-align:center}.preview-content{max-width:100%;max-height:70vh;object-fit:contain}.files-empty-state{text-align:center;padding:60px 24px;color:#64748b}.files-empty-state h3{font-size:18px;font-weight:600;margin-bottom:8px;color:#334155}.files-empty-state p{margin-bottom:24px}.upload-progress{position:fixed;bottom:20px;right:20px;background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:16px;box-shadow:0 4px 12px #0000001a;min-width:300px;display:none}.upload-progress.active{display:block}.progress-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.progress-title{font-size:14px;font-weight:600;color:#1e293b}.progress-bar{height:6px;background:#f1f5f9;border-radius:3px;overflow:hidden}.progress-fill{height:100%;background:#3b82f6;border-radius:3px;transition:width .3s ease}.files-categories-old{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:16px;margin-bottom:24px}.file-category{background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:20px;text-align:center;cursor:pointer;transition:all .2s}.file-category:hover{border-color:#3b82f6;box-shadow:0 2px 8px #0000001a}.file-category h3{font-size:16px;font-weight:600;color:#1e293b;margin-bottom:8px}.file-count{font-size:14px;color:#64748b}@media (max-width: 768px){.upload-header{flex-direction:column;align-items:stretch;gap:16px}.upload-actions{order:-1;justify-content:space-between}.search-filter{flex-direction:column;align-items:stretch;gap:8px}.search-input{width:100%}.files-grid{grid-template-columns:1fr}.file-preview{height:120px}.file-stats{grid-template-columns:repeat(2,1fr)}.categories-nav{padding:0 8px}.preview-modal-content{margin:20px;max-width:calc(100vw - 40px);max-height:calc(100vh - 40px)}}.communication-summary-card{border:1px solid #e2e8f0;background:linear-gradient(135deg,#f8fafc,#fff);box-shadow:0 2px 4px #0000000d;transition:all .2s ease;position:relative;overflow:hidden}.communication-summary-card:hover{border-color:#3b82f6;box-shadow:0 4px 12px #3b82f626;transform:translateY(-1px)}.communication-summary-header{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;background:linear-gradient(90deg,#3b82f6,#1d4ed8);color:#fff;font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.summary-icon{display:flex;align-items:center;justify-content:center;width:24px;height:24px;background:#fff3;border-radius:4px}.summary-icon i{font-size:14px}.summary-badge{background:#ffffff26;padding:2px 8px;border-radius:12px;font-size:10px;font-weight:600}.summary-content{padding:16px;flex:1;display:flex;flex-direction:column;gap:12px}.summary-title{font-size:14px;font-weight:600;color:#1e293b;line-height:1.3;margin-bottom:4px}.summary-meta{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:8px}.summary-meta span{font-size:11px;color:#64748b;background:#f1f5f9;padding:2px 6px;border-radius:4px;white-space:nowrap}.date-range{background:#dbeafe!important;color:#1e40af!important;font-weight:500}.message-count{background:#dcfce7!important;color:#166534!important}.participant-count{background:#fef3c7!important;color:#92400e!important}.ai-summary-preview{font-size:13px;color:#4b5563;line-height:1.4;background:#f8fafc;padding:10px;border-radius:6px;border-left:3px solid #3b82f6;font-style:italic}.key-points-preview{margin-top:8px}.key-points-preview strong{font-size:11px;color:#374151;text-transform:uppercase;letter-spacing:.5px;display:block;margin-bottom:6px}.key-points-preview ul{margin:0;padding-left:12px;list-style:none}.key-points-preview li{font-size:12px;color:#6b7280;margin-bottom:3px;position:relative;padding-left:8px}.key-points-preview li:before{content:"•";color:#3b82f6;position:absolute;left:0;font-weight:700}.summary-metrics{display:flex;gap:12px;flex-wrap:wrap;margin-top:8px;padding-top:8px;border-top:1px solid #f1f5f9}.metric{display:flex;align-items:center;gap:4px;font-size:10px;color:#6b7280}.metric i{font-size:10px;color:#9ca3af}.communication-summary-card .file-actions{padding:12px 16px;background:#f8fafc;border-top:1px solid #f1f5f9;display:flex;gap:8px;justify-content:center}.communication-summary-card .action-btn{flex:1;max-width:120px;padding:8px 12px;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.5px;border-radius:6px;transition:all .2s ease;border:1px solid transparent;display:flex;align-items:center;justify-content:center;gap:4px}.communication-summary-card .preview-btn{background:#3b82f6;color:#fff}.communication-summary-card .preview-btn:hover{background:#2563eb;transform:translateY(-1px);box-shadow:0 2px 4px #2563eb4d}.communication-summary-card .pdf-btn{background:transparent;color:#374151;border-color:#d1d5db}.communication-summary-card .pdf-btn:hover{background:#374151;color:#fff;border-color:#374151;transform:translateY(-1px);box-shadow:0 2px 4px #37415133}.communication-summary-card .action-btn i{font-size:10px}@media (max-width: 768px){.communication-summary-card{margin-bottom:16px}.summary-meta{flex-direction:column;gap:4px}.summary-metrics{flex-direction:column;gap:6px}.communication-summary-card .file-actions{flex-direction:column}.communication-summary-card .action-btn{max-width:none}}.communication-view-modal-backdrop{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#000000b3;z-index:1000;display:flex;align-items:center;justify-content:center;padding:16px}.communication-view-modal-container{background:#fff;border-radius:12px;max-width:1200px;width:100%;max-height:95vh;overflow:hidden;box-shadow:0 25px 50px -12px #00000040;display:flex;flex-direction:column}.communication-view-modal-header{padding:24px 32px;border-bottom:1px solid #e5e7eb;background:linear-gradient(135deg,#f8fafc,#f1f5f9);display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.communication-view-modal-title{font-size:24px;font-weight:700;color:#1f2937;margin:0 0 4px}.communication-view-modal-subtitle{font-size:14px;color:#6b7280;margin:0;font-weight:500}.communication-view-modal-close{background:none;border:none;color:#6b7280;cursor:pointer;padding:8px;border-radius:8px;transition:all .2s ease;flex-shrink:0}.communication-view-modal-close:hover{color:#374151;background:#0000000d}.communication-view-close-icon{width:24px;height:24px;fill:none;stroke:currentColor}.communication-view-modal-content{flex:1;overflow-y:auto;display:flex;flex-direction:column}.communication-view-summary-section{padding:24px 32px;border-bottom:1px solid #e5e7eb;background:#fafbfc}.communication-view-ai-summary{margin-bottom:20px}.communication-view-ai-summary h3{font-size:16px;font-weight:600;color:#374151;margin:0 0 8px;text-transform:uppercase;letter-spacing:.5px}.communication-view-ai-summary p{font-size:14px;color:#4b5563;line-height:1.6;background:#fff;padding:16px;border-radius:8px;border-left:4px solid #3b82f6;margin:0;font-style:italic}.communication-view-metrics-row{display:flex;gap:24px;margin-bottom:20px;justify-content:center}.communication-view-metric{text-align:center;background:#fff;padding:16px;border-radius:8px;flex:1;min-width:120px;border:1px solid #e5e7eb}.communication-view-metric .metric-value{font-size:20px;font-weight:700;color:#3b82f6;display:block;margin-bottom:4px}.communication-view-metric .metric-label{font-size:11px;color:#6b7280;text-transform:uppercase;letter-spacing:.5px;font-weight:600}.communication-view-key-points,.communication-view-action-items{margin-bottom:16px}.communication-view-key-points h4,.communication-view-action-items h4{font-size:14px;font-weight:600;color:#374151;margin:0 0 8px;text-transform:uppercase;letter-spacing:.5px}.communication-view-key-points ul,.communication-view-action-items ul{margin:0;padding-left:0;list-style:none;display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:8px}.communication-view-key-points li,.communication-view-action-items li{font-size:13px;color:#4b5563;background:#fff;border-radius:6px;border-left:3px solid #10b981;position:relative;padding:8px 12px 8px 32px}.communication-view-key-points li:before{content:"•";color:#3b82f6;position:absolute;left:12px;font-weight:700}.communication-view-action-items li{border-left-color:#10b981}.communication-view-action-items li i{position:absolute;left:12px;top:10px;color:#10b981;font-size:12px}.communication-view-thread-section{flex:1;padding:24px 32px;overflow-y:auto}.communication-view-thread-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.communication-view-thread-header h3{font-size:18px;font-weight:600;color:#1f2937;margin:0}.communication-view-pagination-info{font-size:12px;color:#6b7280;background:#f3f4f6;padding:4px 8px;border-radius:4px}.communication-view-loading,.communication-view-no-messages{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px 20px;color:#6b7280}.communication-view-loading .loading-spinner{width:32px;height:32px;border:2px solid #e5e7eb;border-top-color:#3b82f6;border-radius:50%;animation:spin 1s linear infinite;margin-bottom:12px}.communication-view-no-messages i{font-size:32px;margin-bottom:12px;color:#d1d5db}.communication-view-messages{space-y:16px}.communication-view-message{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:16px;margin-bottom:12px;transition:all .2s ease}.communication-view-message:hover{border-color:#d1d5db;box-shadow:0 2px 4px #0000000d}.communication-view-message.outgoing{border-left:4px solid #3b82f6;background:#f8faff}.communication-view-message.incoming{border-left:4px solid #10b981;background:#f0fdf9}.message-header{display:flex;align-items:center;gap:12px;margin-bottom:8px;flex-wrap:wrap}.message-direction{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.5px;color:#374151}.message-channel{font-size:10px;background:#f3f4f6;color:#6b7280;padding:2px 6px;border-radius:3px;font-weight:500}.message-timestamp{font-size:11px;color:#9ca3af;margin-left:auto}.message-status{font-size:12px;margin-left:4px}.message-subject{font-size:12px;color:#6b7280;margin-bottom:8px;padding:8px;background:#00000005;border-radius:4px}.message-content{font-size:14px;color:#374151;line-height:1.5;white-space:pre-wrap;word-break:break-word}.communication-view-pagination{display:flex;justify-content:center;align-items:center;gap:8px;margin-top:24px;padding-top:16px;border-top:1px solid #e5e7eb}.pagination-btn,.pagination-page{border:1px solid #d1d5db;background:#fff;color:#374151;padding:8px 12px;border-radius:6px;cursor:pointer;font-size:12px;font-weight:500;transition:all .2s ease;display:flex;align-items:center;gap:4px}.pagination-btn:hover:not(:disabled),.pagination-page:hover:not(.active){background:#f9fafb;border-color:#9ca3af}.pagination-btn:disabled{opacity:.5;cursor:not-allowed}.pagination-page.active{background:#3b82f6;color:#fff;border-color:#3b82f6}.pagination-pages{display:flex;gap:4px}.communication-view-modal-footer{padding:16px 32px;border-top:1px solid #e5e7eb;background:#f9fafb;display:flex;justify-content:flex-end}.communication-view-btn{padding:8px 16px;border-radius:6px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s ease;border:1px solid transparent}.communication-view-btn-secondary{background:#6b7280;color:#fff}.communication-view-btn-secondary:hover{background:#4b5563}@media (max-width: 768px){.communication-view-modal-container{max-width:100%;max-height:100vh;border-radius:0}.communication-view-modal-header,.communication-view-summary-section,.communication-view-thread-section,.communication-view-modal-footer{padding-left:16px;padding-right:16px}.communication-view-metrics-row{flex-direction:column;gap:12px}.communication-view-key-points ul,.communication-view-action-items ul{grid-template-columns:1fr}.message-header{flex-direction:column;align-items:flex-start}.message-timestamp{margin-left:0}.communication-view-pagination{flex-wrap:wrap}}.ocr-status-badge{display:inline-flex;align-items:center;gap:4px;padding:4px 8px;border-radius:4px;font-size:11px;font-weight:600;color:#fff;text-transform:uppercase;margin-left:8px}.spinner-icon{animation:spin 1s linear infinite;display:inline-block}.ocr-analyze-btn{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;padding:8px 12px;border-radius:6px;cursor:pointer;font-size:13px;display:flex;align-items:center;gap:6px;transition:all .2s ease}.ocr-analyze-btn:hover{transform:translateY(-2px);box-shadow:0 4px 12px #667eea66}.ocr-analyze-btn:active{transform:translateY(0)}.ocr-results-btn{background:#4caf50;color:#fff;border:none;padding:8px 12px;border-radius:6px;cursor:pointer;font-size:13px;display:flex;align-items:center;gap:6px;transition:all .2s ease}.ocr-results-btn:hover{background:#45a049;transform:translateY(-2px);box-shadow:0 4px 12px #4caf5066}@media (max-width: 768px){.ocr-status-badge{font-size:10px;padding:3px 6px}.ocr-analyze-btn,.ocr-results-btn{font-size:12px;padding:6px 10px}}@media (max-width: 768px){div[style*="gridTemplateColumns: '1fr 1fr'"],div[style*=grid-template-columns],div[style*="gridTemplateColumns: '2fr 1fr 1fr 1fr'"]{grid-template-columns:1fr!important}div[style*="justifyContent: 'flex-end'"][style*="gap: 12"]{flex-direction:column!important;gap:8px!important}button[style*="padding: '12px 16px'"]{width:100%!important}button,input,select,textarea{min-height:44px!important;font-size:16px!important}div[style*="maxWidth: 900"]{width:calc(100vw - 20px)!important;margin:10px!important}div[style*="padding: 20"]{padding:16px!important}div[style*="padding: '16px 20px'"]{padding:12px 16px!important}select[multiple]{min-height:120px!important}div[style*="padding: 12"][style*="backgroundColor: '#f9fafb'"]{padding:12px!important}button[style*="fontSize: 12"]{min-height:40px!important;padding:8px 12px!important}}@media (max-width: 480px){div[style*="maxWidth: 900"]{width:100vw!important;max-width:100vw!important;margin:0!important;border-radius:0!important;max-height:100vh!important}div[style*="padding: 20"],div[style*="padding: '16px 20px'"]{padding:12px!important}button[style*="fontSize: 22"]{font-size:28px!important;min-width:48px!important;min-height:48px!important}div[style*="marginTop: 24"]{margin-top:16px!important}span[style*="padding: '2px 8px'"]{font-size:11px!important}}@media (hover: none) and (pointer: coarse){button{min-height:48px!important;min-width:48px!important}input,select,textarea{min-height:48px!important}input[type=checkbox]{min-width:20px!important;min-height:20px!important}}.quotes-content{background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000001a;border:1px solid #e2e8f0;overflow:hidden;margin-top:20px}.quote-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;padding:24px;border-bottom:1px solid #e2e8f0;background:#f8fafc}.summary-card{background:#fff;padding:20px;border-radius:8px;border:1px solid #e2e8f0;text-align:center;transition:all .2s ease}.summary-card:hover{transform:translateY(-2px);box-shadow:0 4px 12px #0000001a}.summary-value{font-size:24px;font-weight:600;color:#1e293b;margin-bottom:4px;font-family:SF Mono,Monaco,Cascadia Code,Roboto Mono,Consolas,Courier New,monospace}.summary-label{font-size:12px;color:#64748b;text-transform:uppercase;letter-spacing:.5px;margin-bottom:8px;font-weight:500}.summary-change{font-size:12px;font-weight:500}.change-positive{color:#059669}.change-negative{color:#dc2626}.change-neutral{color:#64748b}.quotes-header{padding:24px;margin-top:12px;border-bottom:1px solid #e2e8f0;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:16px}.quotes-title{font-size:20px;font-weight:600;color:#1e293b;display:flex;align-items:center;gap:8px}.quotes-actions,.quotes-content .search-filter{display:flex;gap:12px;align-items:center}.quotes-content .search-input{padding:10px 16px;border:1px solid #e2e8f0;border-radius:8px;font-size:14px;width:250px;transition:all .2s ease}.quotes-content .search-input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.quotes-content .filter-select{padding:10px 16px;border:1px solid #e2e8f0;border-radius:8px;font-size:14px;background:#fff;cursor:pointer;transition:all .2s ease}.quotes-content .filter-select:hover{border-color:#cbd5e1}.quotes-content .filter-select:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.quotes-content .btn{padding:10px 16px;border:none;border-radius:8px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;gap:8px}.quotes-content .btn-primary{background:#3b82f6;color:#fff}.quotes-content .btn-primary:hover{background:#2563eb;transform:translateY(-1px);box-shadow:0 4px 12px #3b82f64d}.quotes-grid{padding:24px;display:grid;grid-template-columns:repeat(auto-fill,minmax(400px,1fr));gap:20px}.quote-card{border:1px solid #e2e8f0;border-radius:12px;padding:24px;background:#fff;transition:all .2s ease;cursor:pointer;position:relative;animation:slideIn .3s ease-out}.quote-card:hover{box-shadow:0 4px 12px #0000001a;border-color:#3b82f6;transform:translateY(-2px)}@keyframes slideIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.quote-validity{position:absolute;top:20px;left:20px;font-size:11px;padding:4px 8px;border-radius:6px;font-weight:500;text-transform:uppercase;letter-spacing:.5px}.validity-active{background:#d1fae5;color:#065f46}.validity-expiring{background:#fef3c7;color:#92400e}.validity-expired{background:#fee2e2;color:#dc2626}.validity-completed{background:#d1fae5;color:#065f46}.quote-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:16px;gap:12px;margin-top:16px}.quote-info{flex:1}.quote-number{font-size:14px;font-weight:600;color:#3b82f6;margin-bottom:4px}.quote-title{font-size:18px;font-weight:600;color:#1e293b;margin-bottom:8px;line-height:1.4}.quote-status{display:inline-flex;align-items:center;gap:4px;padding:4px 8px;border-radius:6px;font-size:12px;font-weight:500;text-transform:uppercase;letter-spacing:.5px}.status-draft{background:#f1f5f9;color:#64748b}.status-sent{background:#dbeafe;color:#1d4ed8}.status-viewed{background:#fef3c7;color:#92400e}.status-accepted{background:#d1fae5;color:#065f46}.status-rejected{background:#fee2e2;color:#dc2626}.status-expired{background:#f3f4f6;color:#6b7280}.quote-details{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:20px}.quote-detail{display:flex;align-items:center;gap:8px;font-size:14px;color:#64748b;line-height:1.4}.quote-amount{font-size:28px;font-weight:700;color:#1e293b;margin-bottom:16px;font-family:SF Mono,Monaco,Cascadia Code,Roboto Mono,Consolas,Courier New,monospace}.quote-breakdown{background:#f8fafc;border-radius:8px;padding:16px;margin-bottom:20px;border:1px solid #e2e8f0}.breakdown-header{font-size:14px;font-weight:600;color:#1e293b;margin-bottom:12px;display:flex;align-items:center;gap:8px}.breakdown-item{display:flex;justify-content:space-between;align-items:center;padding:6px 0;font-size:13px}.breakdown-item:not(:last-child){border-bottom:1px solid #e2e8f0}.breakdown-label{color:#64748b;font-weight:500}.breakdown-amount{font-weight:600;color:#1e293b;font-family:SF Mono,Monaco,Cascadia Code,Roboto Mono,Consolas,Courier New,monospace}.breakdown-total{border-top:2px solid #e2e8f0;margin-top:8px;padding-top:8px;font-weight:600}.breakdown-total .breakdown-label,.breakdown-total .breakdown-amount{color:#1e293b;font-weight:700}.quote-actions{display:flex;gap:8px;flex-wrap:wrap}.quote-action-btn{padding:8px 14px;border:1px solid #e2e8f0;background:#fff;border-radius:6px;font-size:13px;color:#64748b;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;gap:6px;font-weight:500}.quote-action-btn:hover{background:#f8fafc;border-color:#cbd5e1;color:#334155;transform:translateY(-1px)}.quote-action-btn.primary{background:#3b82f6;border-color:#3b82f6;color:#fff}.quote-action-btn.primary:hover{background:#2563eb;box-shadow:0 4px 12px #3b82f64d}.quote-action-btn.success{background:#059669;border-color:#059669;color:#fff}.quote-action-btn.success:hover{background:#047857;box-shadow:0 4px 12px #0596694d}.quote-action-btn.danger{background:#dc2626;border-color:#dc2626;color:#fff}.quote-action-btn.danger:hover{background:#b91c1c;box-shadow:0 4px 12px #dc26264d}.empty-state{text-align:center;padding:60px 24px;color:#64748b}.empty-state-icon{font-size:48px;margin-bottom:16px;color:#cbd5e1}.empty-state h3{font-size:18px;font-weight:600;margin-bottom:8px;color:#334155}.empty-state p{margin-bottom:24px;color:#64748b;line-height:1.5}@media (max-width: 768px){.quotes-header{flex-direction:column;align-items:stretch}.quotes-actions{order:-1;justify-content:space-between}.search-filter{flex-direction:column;align-items:stretch}.search-input{width:100%}.quotes-grid{grid-template-columns:1fr;padding:16px}.quote-details{grid-template-columns:1fr}.quote-summary{grid-template-columns:repeat(2,1fr);padding:16px}.quote-amount{font-size:24px}.summary-value{font-size:20px}.quote-actions{gap:6px}.quote-action-btn{padding:6px 10px;font-size:12px}}@media (max-width: 480px){.quote-summary{grid-template-columns:1fr}.quote-card{padding:16px}.quote-amount{font-size:20px}.summary-value{font-size:18px}}:root{--primary: #059669;--primary-dark: #047857;--primary-light: #10B981;--slate-900: #0f172a;--slate-800: #1e293b;--slate-700: #334155;--slate-600: #475569;--slate-500: #64748b;--slate-400: #94a3b8;--slate-300: #cbd5e1;--slate-200: #e2e8f0;--slate-100: #f1f5f9;--slate-50: #f8fafc;--error: #dc2626;--error-bg: #fee2e2;--success: #059669;--success-bg: #d1fae5;--warning: #f59e0b}.unsubscribe-page{min-height:100vh;background:linear-gradient(135deg,var(--slate-50) 0%,var(--slate-100) 100%);display:flex;align-items:center;justify-content:center;padding:2rem 1rem}.unsubscribe-container{background:#fff;border-radius:16px;box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a;max-width:700px;width:100%;overflow:hidden}.unsubscribe-header{background:linear-gradient(135deg,var(--slate-900) 0%,var(--slate-800) 100%);color:#fff;padding:3rem 2.5rem 2.5rem;text-align:center}.unsubscribe-header h1{font-size:2rem;font-weight:700;margin:0 0 .5rem;line-height:1.2}.client-greeting{font-size:1.125rem;margin:0 0 1rem;opacity:.9;font-weight:500}.unsubscribe-description{font-size:1rem;line-height:1.6;opacity:.85;max-width:500px;margin:0 auto}.success-header{background:linear-gradient(135deg,var(--success) 0%,var(--primary-dark) 100%)}.success-icon{width:64px;height:64px;background:#fff3;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:2rem;margin:0 auto 1rem;border:3px solid rgba(255,255,255,.3)}.success-content{padding:2.5rem;text-align:center}.success-content p{font-size:1.125rem;color:var(--slate-700);line-height:1.6;margin:0 0 1.5rem}.success-detail{background:var(--success-bg);border-left:4px solid var(--success);padding:1.25rem;border-radius:8px;margin:1.5rem 0;text-align:left}.success-detail p{margin:0 0 .75rem;font-weight:600;color:var(--slate-900)}.success-detail ul{margin:0;padding-left:1.5rem;list-style-type:disc}.success-detail li{margin:.5rem 0;color:var(--slate-700)}.success-note{font-size:.9rem;color:var(--slate-500);margin-top:1.5rem}.error-header{background:linear-gradient(135deg,var(--error) 0%,#b91c1c 100%)}.error-icon{width:64px;height:64px;background:#fff3;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:2rem;margin:0 auto 1rem;border:3px solid rgba(255,255,255,.3)}.error-content{padding:2.5rem;text-align:center}.error-content p{font-size:1.125rem;color:var(--slate-700);line-height:1.6;margin:0 0 1rem}.unsubscribe-form{padding:2.5rem}.preferences-section,.unsubscribe-all-section,.feedback-section{margin-bottom:2rem}.preferences-section h2{font-size:1.25rem;font-weight:700;color:var(--slate-900);margin:0 0 .5rem}.section-description{font-size:.9rem;color:var(--slate-600);margin:0 0 1.5rem;line-height:1.5}.preference-item{margin-bottom:1.25rem}.checkbox-label{display:flex;align-items:flex-start;gap:1rem;cursor:pointer;padding:1rem;border-radius:8px;transition:background-color .2s ease}.checkbox-label:hover{background-color:var(--slate-50)}.checkbox-label input[type=checkbox]{margin-top:.25rem;width:18px;height:18px;cursor:pointer;flex-shrink:0;accent-color:var(--primary)}.checkbox-label input[type=checkbox]:disabled{cursor:not-allowed;opacity:.5}.checkbox-text{display:flex;flex-direction:column;gap:.25rem;flex:1}.checkbox-text strong{font-size:1rem;font-weight:600;color:var(--slate-900);display:block}.preference-description{font-size:.875rem;color:var(--slate-600);display:block;line-height:1.5}.unsubscribe-all-section{border-top:2px solid var(--slate-200);padding-top:1.5rem}.global-unsubscribe{background:var(--error-bg);border:1px solid #fecaca;border-radius:8px;padding:1.25rem}.global-unsubscribe:hover{background:#fef2f2}.global-unsubscribe .checkbox-text strong{color:var(--error)}.feedback-label{display:block;font-size:1rem;font-weight:600;color:var(--slate-900);margin-bottom:.5rem}.feedback-textarea{width:100%;padding:.75rem;border:1px solid var(--slate-300);border-radius:8px;font-size:.9rem;font-family:inherit;resize:vertical;transition:border-color .2s ease,box-shadow .2s ease;box-sizing:border-box}.feedback-textarea:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px #0596691a}.character-count{text-align:right;font-size:.8rem;color:var(--slate-500);margin-top:.25rem}.error-message{background:var(--error-bg);border-left:4px solid var(--error);color:var(--error);padding:1rem;border-radius:8px;margin-bottom:1.5rem;font-size:.9rem;line-height:1.5}.form-actions{margin-bottom:1.5rem}.submit-button{width:100%;background:var(--primary);color:#fff;font-size:1rem;font-weight:700;padding:1rem 2rem;border:none;border-radius:8px;cursor:pointer;transition:all .3s ease;box-shadow:0 4px 6px -1px #0000001a}.submit-button:hover:not(:disabled){background:var(--primary-dark);transform:translateY(-1px);box-shadow:0 10px 15px -3px #0000001a}.submit-button:active:not(:disabled){transform:translateY(0)}.submit-button:disabled{opacity:.6;cursor:not-allowed}.help-text{text-align:center;padding-top:1.5rem;border-top:1px solid var(--slate-200)}.help-text p{font-size:.875rem;color:var(--slate-600);margin:0}.help-text a{color:var(--primary);text-decoration:none;font-weight:600;transition:color .2s ease}.help-text a:hover{color:var(--primary-dark);text-decoration:underline}@media (max-width: 768px){.unsubscribe-page{padding:1rem}.unsubscribe-header{padding:2rem 1.5rem 1.5rem}.unsubscribe-header h1{font-size:1.5rem}.unsubscribe-form,.success-content,.error-content{padding:1.5rem}.checkbox-label{padding:.75rem}}@media (max-width: 480px){.unsubscribe-header h1{font-size:1.25rem}.unsubscribe-description,.client-greeting,.checkbox-text strong{font-size:.9rem}.preference-description{font-size:.8rem}.submit-button{padding:.875rem 1.5rem;font-size:.9rem}}.marketing-outreach-page{font-family:Inter,-apple-system,BlinkMacSystemFont,sans-serif;background:#f9fafb;min-height:0;padding:2rem 1.5rem;display:flex;flex-direction:column}.marketing-outreach-page .marketing-header{margin-bottom:2rem}.marketing-outreach-page .header-content{display:flex;align-items:center;justify-content:space-between;margin-bottom:1.5rem}.marketing-outreach-page .page-title{font-size:1.875rem;font-weight:600;color:#111827;margin-bottom:.5rem;letter-spacing:-.025em}.marketing-outreach-page .page-subtitle{font-size:1rem;color:#6b7280}.marketing-outreach-page .new-campaign-button{display:flex;align-items:center;gap:.5rem;background:linear-gradient(135deg,#2563eb,#06b6d4);color:#fff;padding:.625rem 1.25rem;border-radius:.5rem;font-weight:500;border:none;cursor:pointer;transition:all .2s ease;box-shadow:0 1px 2px #0000000d}.marketing-outreach-page .new-campaign-button:hover{background:linear-gradient(135deg,#1d4ed8,#0891b2)}.marketing-outreach-page .button-icon{width:1rem;height:1rem}.marketing-outreach-page .button-icon-sm{width:.875rem;height:.875rem}.marketing-outreach-page .kpi-section{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem;margin-bottom:2rem}.marketing-outreach-page .kpi-card{background:#fff;border:1px solid #e5e7eb;border-radius:.75rem;padding:1.25rem;transition:all .3s ease}.marketing-outreach-page .kpi-card:hover{border-color:#3b82f6;box-shadow:0 4px 20px #3b82f61a}.marketing-outreach-page .kpi-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:.75rem}.marketing-outreach-page .kpi-label{font-size:.875rem;color:#6b7280}.marketing-outreach-page .kpi-icon-wrapper{width:2.5rem;height:2.5rem;border-radius:.5rem;display:flex;align-items:center;justify-content:center}.marketing-outreach-page .kpi-icon-wrapper.blue{background:#eff6ff}.marketing-outreach-page .kpi-icon-wrapper.blue .kpi-icon{color:#2563eb}.marketing-outreach-page .kpi-icon-wrapper.cyan{background:#ecfeff}.marketing-outreach-page .kpi-icon-wrapper.cyan .kpi-icon{color:#06b6d4}.marketing-outreach-page .kpi-icon-wrapper.emerald{background:#ecfdf5}.marketing-outreach-page .kpi-icon-wrapper.emerald .kpi-icon{color:#10b981}.marketing-outreach-page .kpi-icon-wrapper.amber{background:#fffbeb}.marketing-outreach-page .kpi-icon-wrapper.amber .kpi-icon{color:#f59e0b}.marketing-outreach-page .kpi-icon{width:1.25rem;height:1.25rem}.marketing-outreach-page .kpi-value{font-size:1.5rem;font-weight:600;color:#111827;margin-bottom:.25rem}.marketing-outreach-page .kpi-change{display:flex;align-items:center;gap:.25rem;font-size:.75rem}.marketing-outreach-page .kpi-change .positive{color:#10b981}.marketing-outreach-page .kpi-change .label{color:#9ca3af}.marketing-outreach-page .tab-navigation{display:flex;gap:1.5rem;border-bottom:2px solid #e5e7eb;margin-bottom:1.5rem;overflow-x:auto;overflow-y:hidden}.marketing-outreach-page .tab-button{padding-bottom:.75rem;font-size:1rem;color:#6b7280;border:none;background:none;border-bottom:2px solid transparent;cursor:pointer;transition:all .2s ease;margin-bottom:-2px}.marketing-outreach-page .tab-button:hover{color:#111827}.marketing-outreach-page .tab-button.active{color:#111827;font-weight:500;border-bottom-color:#2563eb}.marketing-outreach-page .content-card{background:#fff;border:1px solid #e5e7eb;border-radius:.75rem;padding:1.5rem;position:relative}.marketing-outreach-page .content-card:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;padding:1px;background:linear-gradient(135deg,#3b82f6,#06b6d4,#10b981);-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask-composite:exclude;border-radius:inherit;opacity:.2;pointer-events:none}.marketing-outreach-page .card-title{font-size:1.125rem;font-weight:600;color:#111827;margin-bottom:1rem}.marketing-outreach-page .card-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:1rem}.marketing-outreach-page .campaign-grid{display:grid;grid-template-columns:2fr 1fr;gap:1.5rem}.marketing-outreach-page .campaign-left-column,.marketing-outreach-page .campaign-right-column{display:flex;flex-direction:column;gap:1.5rem}.marketing-outreach-page .channel-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}.marketing-outreach-page .channel-card{border-radius:.75rem;padding:1.25rem;background:#f9fafb;border:1px solid #e5e7eb;cursor:pointer;transition:all .3s cubic-bezier(.4,0,.2,1);display:flex;flex-direction:column;align-items:center;text-align:center;gap:.75rem}.marketing-outreach-page .channel-card:hover{transform:translateY(-2px)}.marketing-outreach-page .channel-card.disabled{cursor:not-allowed;opacity:.6;background:#f8fafc}.marketing-outreach-page .channel-card.disabled:hover{transform:none}.marketing-outreach-page .channel-card.active{background:linear-gradient(135deg,#3b82f6,#0ea5e9);box-shadow:0 10px 40px -10px #3b82f64d}.marketing-outreach-page .channel-icon-wrapper{width:3rem;height:3rem;border-radius:50%;background:#fff;display:flex;align-items:center;justify-content:center}.marketing-outreach-page .channel-card.active .channel-icon-wrapper{background:#ffffff80}.marketing-outreach-page .channel-icon{width:1.5rem;height:1.5rem;color:#6b7280}.marketing-outreach-page .channel-card.active .channel-icon{color:#fff}.marketing-outreach-page .channel-info{width:100%}.marketing-outreach-page .channel-name{font-weight:500;color:#111827;margin-bottom:.25rem}.marketing-outreach-page .channel-card.active .channel-name{color:#fff}.marketing-outreach-page .channel-description{font-size:.75rem;color:#6b7280}.marketing-outreach-page .channel-card.active .channel-description{color:#fffc}.marketing-outreach-page .facebook-channel-note{margin:.75rem 0 0;font-size:.8125rem;line-height:1.4}.marketing-outreach-page .facebook-channel-note.ready{color:#166534}.marketing-outreach-page .facebook-channel-note.needs-connect{color:#b45309}.marketing-outreach-page .form-group{margin-bottom:1rem}.marketing-outreach-page .form-label{display:block;font-size:.875rem;color:#6b7280;margin-bottom:.5rem}.marketing-outreach-page .form-input,.marketing-outreach-page .form-textarea,.marketing-outreach-page .form-select{width:100%;background:#fff;border:1px solid #d1d5db;border-radius:.5rem;padding:.625rem 1rem;color:#111827;font-size:.875rem;transition:all .2s ease}.marketing-outreach-page .form-input::placeholder,.marketing-outreach-page .form-textarea::placeholder{color:#9ca3af}.marketing-outreach-page .form-input:focus,.marketing-outreach-page .form-textarea:focus,.marketing-outreach-page .form-select:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.marketing-outreach-page .form-textarea{resize:vertical;font-family:inherit;min-height:200px}.marketing-outreach-page .tone-selector-group{display:flex;gap:.5rem}.marketing-outreach-page .tone-selector{padding:.5rem 1rem;border-radius:.5rem;background:#f3f4f6;border:1px solid #e5e7eb;font-size:.875rem;color:#374151;cursor:pointer;transition:all .2s ease}.marketing-outreach-page .tone-selector:hover{transform:scale(1.05)}.marketing-outreach-page .tone-selector.active{background:linear-gradient(135deg,#0ea5e9,#06b6d4);color:#fff;border-color:transparent}.marketing-outreach-page .quick-insert{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center}.marketing-outreach-page .quick-insert-label{font-size:.75rem;color:#6b7280}.marketing-outreach-page .insert-tag{padding:.25rem .75rem;background:#f3f4f6;border:1px solid #d1d5db;border-radius:.25rem;font-size:.75rem;color:#374151;cursor:pointer;transition:all .2s ease}.marketing-outreach-page .insert-tag:hover{background:#e5e7eb}.marketing-outreach-page .media-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem}.marketing-outreach-page .media-preview{background:#f8fafc;border:2px dashed #cbd5e1;border-radius:.5rem;padding:1.5rem;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.75rem;cursor:pointer;transition:all .3s ease}.marketing-outreach-page .media-preview:hover{border-color:#3b82f6;background:#eff6ff}.marketing-outreach-page .media-icon{width:2rem;height:2rem;color:#9ca3af}.marketing-outreach-page .media-label{font-size:.875rem;color:#374151;margin-bottom:.25rem}.marketing-outreach-page .media-description{font-size:.75rem;color:#6b7280}.marketing-outreach-page .estimated-reach{background:#f9fafb;border:1px solid #e5e7eb;border-radius:.5rem;padding:1rem;text-align:center;margin-top:1rem}.marketing-outreach-page .reach-label{font-size:.75rem;color:#6b7280;margin-bottom:.5rem}.marketing-outreach-page .reach-value{font-size:1.5rem;font-weight:600;color:#111827;margin-bottom:.25rem}.marketing-outreach-page .reach-description{font-size:.75rem;color:#6b7280}.marketing-outreach-page .sequence-steps{display:flex;flex-direction:column;gap:1rem;margin-bottom:1rem}.marketing-outreach-page .sequence-step{display:flex;align-items:flex-start;gap:.75rem;position:relative}.marketing-outreach-page .sequence-step:after{content:"";position:absolute;top:2rem;left:.5rem;bottom:-1rem;width:2px;background:#e5e7eb}.marketing-outreach-page .sequence-step:last-child:after{display:none}.marketing-outreach-page .sequence-step.active:after{background:linear-gradient(180deg,#10b981,#06b6d4)}.marketing-outreach-page .sequence-step:hover:not(.active){background:#f9fafb;border-radius:8px;padding:.5rem;margin:-.5rem;transition:all .2s ease}.marketing-outreach-page .sequence-step:hover:not(.active) .step-indicator{background:#9ca3af;transition:background .2s ease}.marketing-outreach-page .step-indicator{width:1rem;height:1rem;border-radius:50%;background:#e5e7eb;flex-shrink:0;margin-top:.25rem;position:relative;z-index:1}.marketing-outreach-page .sequence-step.active .step-indicator{background:#10b981}.marketing-outreach-page .step-content{flex:1}.marketing-outreach-page .step-title{font-weight:500;color:#111827;margin-bottom:.25rem}.marketing-outreach-page .step-subtitle{font-size:.75rem;color:#6b7280;margin-bottom:.5rem}.marketing-outreach-page .step-select{width:100%;background:#fff;border:1px solid #d1d5db;border-radius:.375rem;padding:.375rem .75rem;font-size:.75rem;color:#374151}.marketing-outreach-page .add-follow-up{width:100%;padding:.5rem 1rem;background:#fff;border:1px solid #d1d5db;border-radius:.5rem;font-size:.875rem;color:#374151;cursor:pointer;transition:all .2s ease}.marketing-outreach-page .add-follow-up:hover{background:#f9fafb}.marketing-outreach-page .remove-step-btn{position:absolute;top:.5rem;right:.5rem;background:#fee2e2;border:1px solid #fecaca;border-radius:.375rem;padding:.25rem;cursor:pointer;color:#dc2626;transition:all .2s ease;display:flex;align-items:center;justify-content:center;width:24px;height:24px}.marketing-outreach-page .remove-step-btn:hover{background:#fecaca;border-color:#dc2626}.marketing-outreach-page .step-content{position:relative}.marketing-outreach-page .add-step-button{background:none;border:none;color:#06b6d4;cursor:pointer;padding:.25rem;transition:all .2s ease}.marketing-outreach-page .add-step-button:hover{color:#0891b2}.marketing-outreach-page .trigger-list{display:flex;flex-direction:column;gap:.75rem}.marketing-outreach-page .trigger-item{display:flex;align-items:flex-start;gap:.75rem;cursor:pointer}.marketing-outreach-page .trigger-item input[type=checkbox]{margin-top:.25rem;width:1rem;height:1rem;cursor:pointer}.marketing-outreach-page .trigger-info{flex:1}.marketing-outreach-page .trigger-name{font-weight:500;color:#111827;margin-bottom:.125rem}.marketing-outreach-page .trigger-description{font-size:.75rem;color:#6b7280}.marketing-outreach-page .launch-campaign-button{width:100%;padding:.75rem 1.5rem;background:linear-gradient(135deg,#2563eb,#06b6d4);color:#fff;border:none;border-radius:.5rem;font-weight:500;cursor:pointer;transition:all .2s ease;box-shadow:0 1px 2px #0000000d}.marketing-outreach-page .launch-campaign-button:hover{background:linear-gradient(135deg,#1d4ed8,#0891b2)}.marketing-outreach-page .tab-content-wrapper{flex:1;display:flex;flex-direction:column;min-height:0}.marketing-outreach-page .tab-content,.marketing-outreach-page .campaigns-list-content{width:100%;max-width:none;margin:0;padding:0;min-width:0;box-sizing:border-box}.marketing-outreach-page .ai-terminal-content{flex:1;display:flex;flex-direction:column;min-height:0}.marketing-outreach-page .ai-terminal-grid{display:grid;grid-template-columns:2fr 1fr;gap:1.5rem;flex:1;min-height:0}.marketing-outreach-page .ai-chat-column,.marketing-outreach-page .ai-style-column{display:flex;flex-direction:column;gap:1.5rem;min-height:0}.marketing-outreach-page .ai-chat-container{background:#fff;border:1px solid #e5e7eb;border-radius:.75rem;overflow:hidden;display:flex;flex-direction:column;flex:1;min-height:0}.marketing-outreach-page .ai-chat-header{background:linear-gradient(to right,#f9fafb,#f3f4f6);padding:1.5rem;border-bottom:1px solid #e5e7eb}.marketing-outreach-page .header-left{display:flex;align-items:center;gap:.75rem}.marketing-outreach-page .chat-title{font-size:1.125rem;font-weight:600;color:#111827;flex:1}.marketing-outreach-page .scrape-style-button{display:flex;align-items:center;gap:.5rem;padding:.375rem .75rem;background:#fff;border:1px solid #e5e7eb;border-radius:.375rem;font-size:.75rem;color:#6b7280;cursor:pointer;transition:all .2s ease}.marketing-outreach-page .scrape-style-button:hover{color:#111827;background:#f9fafb}.marketing-outreach-page .settings-button{background:none;border:none;color:#6b7280;cursor:pointer;padding:.25rem;transition:all .2s ease}.marketing-outreach-page .settings-button:hover{color:#111827}.marketing-outreach-page .clear-chat-button{display:flex;align-items:center;gap:.25rem;border-radius:.5rem;border:1px solid rgba(107,114,128,.6);padding:.375rem .75rem;font-size:.875rem;font-weight:500;background:transparent;color:#6b7280;cursor:pointer;transition:all .2s ease}.marketing-outreach-page .clear-chat-button:hover{background:#ef44441a;border-color:#ef44444d;color:#ef4444;transform:translateY(-1px)}.marketing-outreach-page .mode-selector{display:flex;gap:.5rem;margin-top:1rem;margin-bottom:.75rem}.marketing-outreach-page .mode-button{display:flex;align-items:center;gap:.5rem;padding:.5rem 1rem;border-radius:.5rem;background:#fff;border:1px solid #d1d5db;font-size:.875rem;font-weight:500;color:#374151;cursor:pointer;transition:all .2s ease}.marketing-outreach-page .mode-button.active{background:linear-gradient(135deg,#3b82f6,#06b6d4);color:#fff;border-color:transparent;box-shadow:0 4px 12px #3b82f64d}.marketing-outreach-page .model-selector-row{display:flex;align-items:center;gap:.75rem}.marketing-outreach-page .model-label{font-size:.75rem;color:#6b7280;font-weight:500}.marketing-outreach-page .model-select{flex:1;background:#fff;border:1px solid #d1d5db;border-radius:.5rem;padding:.5rem .75rem;font-size:.875rem;color:#111827;cursor:pointer;transition:all .2s ease}.marketing-outreach-page .model-select:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.marketing-outreach-page .ai-chat-content{padding:1.5rem;background:#f9fafb;display:flex;flex-direction:column;flex:1;min-height:0}.marketing-outreach-page .chat-messages{flex:1;min-height:400px;overflow-y:auto;padding:0;margin-bottom:1.5rem;display:flex;flex-direction:column;gap:1rem}.marketing-outreach-page .chat-messages::-webkit-scrollbar{width:6px}.marketing-outreach-page .chat-messages::-webkit-scrollbar-track{background:#f1f5f9}.marketing-outreach-page .chat-messages::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:3px}.marketing-outreach-page .chat-messages::-webkit-scrollbar-thumb:hover{background:#94a3b8}.marketing-outreach-page .message-wrapper{display:flex;align-items:flex-start;gap:.75rem}.marketing-outreach-page .message-wrapper.user{flex-direction:row-reverse}.marketing-outreach-page .message-avatar{width:2rem;height:2rem;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0}.marketing-outreach-page .message-avatar.bot{background:linear-gradient(135deg,#3b82f6,#06b6d4)}.marketing-outreach-page .message-avatar.user{background:linear-gradient(135deg,#06b6d4,#2563eb);font-size:.75rem;font-weight:600;color:#fff}.marketing-outreach-page .avatar-icon{width:1rem;height:1rem;color:#fff}.marketing-outreach-page .message-bubble{max-width:32rem;padding:.75rem 1rem;border-radius:1rem;box-shadow:0 1px 2px #0000000d}.marketing-outreach-page .message-bubble.assistant{background:#fff;border:1px solid #e5e7eb;border-top-left-radius:.25rem}.marketing-outreach-page .message-bubble.user{background:linear-gradient(135deg,#2563eb,#06b6d4);border-top-right-radius:.25rem}.marketing-outreach-page .message-text{font-size:.875rem;line-height:1.5;margin:0}.marketing-outreach-page .message-bubble.assistant .message-text{color:#111827}.marketing-outreach-page .message-bubble.user .message-text{color:#fff}.marketing-outreach-page .chat-input-area{position:-webkit-sticky;position:sticky;bottom:0;background:#f9fafb;border-top:1px solid #e5e7eb;padding-top:1rem;padding-bottom:1rem;z-index:10}.marketing-outreach-page .export-buttons{display:flex;gap:.5rem;margin-bottom:12px;flex-wrap:wrap}.marketing-outreach-page .export-button{display:flex;align-items:center;gap:.5rem;padding:.375rem .75rem;background:#fff;border:1px solid #d1d5db;border-radius:.5rem;font-size:.75rem;color:#374151;cursor:pointer;transition:all .2s ease;box-shadow:0 1px 2px #0000000d}.marketing-outreach-page .export-button:hover{transform:translateY(-1px);box-shadow:0 2px 8px #0000001a}.marketing-outreach-page .input-row{display:flex;gap:.75rem}.marketing-outreach-page .chat-input{flex:1;background:#fff;border:1px solid #d1d5db;border-radius:.5rem;padding:.75rem 1rem;color:#111827;font-size:.875rem;transition:all .2s ease}.marketing-outreach-page .chat-input::placeholder{color:#9ca3af}.marketing-outreach-page .chat-input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.marketing-outreach-page .send-button{padding:.75rem 1.5rem;background:linear-gradient(135deg,#2563eb,#06b6d4);color:#fff;border:none;border-radius:.5rem;cursor:pointer;transition:all .2s ease;box-shadow:0 1px 2px #0000000d}.marketing-outreach-page .send-button:hover{background:linear-gradient(135deg,#1d4ed8,#0891b2)}.marketing-outreach-page .suggested-prompts{display:flex;gap:.5rem;margin-top:.75rem}.marketing-outreach-page .prompt-chip{padding:.375rem .75rem;background:#fff;border:1px solid #d1d5db;border-radius:.5rem;font-size:.75rem;color:#374151;cursor:pointer;transition:all .2s ease}.marketing-outreach-page .prompt-chip:hover{background:#f9fafb}.marketing-outreach-page .style-options{display:flex;flex-direction:column;gap:.75rem}.marketing-outreach-page .style-option{border:2px solid #e5e7eb;background:#fff;border-radius:.5rem;padding:1rem;cursor:pointer;transition:all .2s ease}.marketing-outreach-page .style-option:hover{transform:scale(1.02)}.marketing-outreach-page .style-option.active{border-color:#3b82f6;background:#eff6ff}.marketing-outreach-page .style-header{display:flex;align-items:center;gap:.75rem;margin-bottom:.75rem}.marketing-outreach-page .style-icon{width:2rem;height:2rem;border-radius:.375rem;display:flex;align-items:center;justify-content:center}.marketing-outreach-page .style-icon.blue{background:linear-gradient(135deg,#3b82f6,#06b6d4)}.marketing-outreach-page .style-icon.purple{background:linear-gradient(135deg,#a855f7,#ec4899)}.marketing-outreach-page .style-icon.emerald{background:linear-gradient(135deg,#10b981,#14b8a6)}.marketing-outreach-page .style-icon .button-icon-sm{color:#fff}.marketing-outreach-page .style-info{flex:1}.marketing-outreach-page .style-name{font-size:.875rem;font-weight:500;color:#111827}.marketing-outreach-page .style-description{font-size:.75rem;color:#6b7280}.marketing-outreach-page .style-preview{height:3rem;border-radius:.375rem;border:1px solid #e5e7eb;display:flex;align-items:center;justify-content:center;font-size:.75rem;color:#6b7280}.marketing-outreach-page .style-preview.blue{background:linear-gradient(135deg,#eff6ff,#ecfeff)}.marketing-outreach-page .style-preview.purple{background:linear-gradient(135deg,#faf5ff,#fce7f3)}.marketing-outreach-page .style-preview.emerald{background:linear-gradient(135deg,#ecfdf5,#f0fdfa)}.marketing-outreach-page .scrape-from-website{width:100%;border:2px dashed #d1d5db;background:#fff;border-radius:.5rem;padding:1rem;display:flex;align-items:center;justify-content:center;gap:.75rem;color:#6b7280;cursor:pointer;transition:all .2s ease}.marketing-outreach-page .scrape-from-website:hover{border-color:#3b82f6;color:#2563eb}.marketing-outreach-page .download-button,.marketing-outreach-page .icon-button{background:none;border:none;color:#6b7280;cursor:pointer;padding:.25rem;transition:all .2s ease}.marketing-outreach-page .download-button:hover,.marketing-outreach-page .icon-button:hover{color:#111827}.marketing-outreach-page .css-actions{display:flex;gap:.5rem}.marketing-outreach-page .css-editor{width:100%;background:#1f2937;color:#10b981;border:none;border-radius:.5rem;padding:1rem;font-family:Monaco,Menlo,Ubuntu Mono,monospace;font-size:.8125rem;line-height:1.5;resize:none;margin-bottom:.75rem}.marketing-outreach-page .css-editor:focus{outline:none}.marketing-outreach-page .css-editor::-webkit-scrollbar{width:6px}.marketing-outreach-page .css-editor::-webkit-scrollbar-track{background:#111827}.marketing-outreach-page .css-editor::-webkit-scrollbar-thumb{background:#374151;border-radius:3px}.marketing-outreach-page .apply-styles-button{width:100%;padding:.5rem 1rem;background:linear-gradient(135deg,#2563eb,#06b6d4);color:#fff;border:none;border-radius:.5rem;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s ease;box-shadow:0 1px 2px #0000000d}.marketing-outreach-page .apply-styles-button:hover{background:linear-gradient(135deg,#1d4ed8,#0891b2)}.marketing-outreach-page .apply-styles-button:disabled,.marketing-outreach-page .apply-styles-button:disabled:hover{opacity:.6;cursor:not-allowed;background:linear-gradient(135deg,#2563eb,#06b6d4)}.marketing-outreach-page .css-editor-error{margin-top:8px}.marketing-outreach-page .saved-styles-list{display:flex;flex-direction:column;gap:.5rem}.marketing-outreach-page .saved-style-item{display:flex;align-items:center;gap:.75rem;padding:.75rem;background:#fff;border:1px solid #e5e7eb;border-radius:.5rem;cursor:pointer;transition:all .2s ease}.marketing-outreach-page .saved-style-item:hover{background:#f9fafb}.marketing-outreach-page .saved-style-item .style-color{width:1.5rem;height:1.5rem;border-radius:.25rem}.marketing-outreach-page .saved-style-item .style-color.blue{background:#3b82f6}.marketing-outreach-page .saved-style-item .style-color.purple{background:#a855f7}.marketing-outreach-page .saved-style-item .style-color.emerald{background:#10b981}.marketing-outreach-page .saved-style-item .style-name{flex:1;font-size:.875rem;color:#111827}.marketing-outreach-page .chevron-icon{width:1rem;height:1rem;color:#9ca3af}.marketing-outreach-page .ai-generate-button{display:flex;align-items:center;gap:.5rem;padding:.375rem .75rem;background:#fff;border:1px solid #e5e7eb;border-radius:.375rem;font-size:.875rem;color:#06b6d4;cursor:pointer;transition:all .2s ease}.marketing-outreach-page .ai-generate-button:hover{color:#0891b2;background:#f0fdfa}.marketing-outreach-page .content-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:400px;text-align:center;padding:3rem}.marketing-outreach-page .placeholder-icon{width:4rem;height:4rem;color:#cbd5e1;margin-bottom:1rem}.marketing-outreach-page .content-placeholder h3{font-size:1.5rem;font-weight:600;color:#111827;margin-bottom:.5rem}.marketing-outreach-page .content-placeholder p{font-size:1rem;color:#6b7280}.marketing-outreach-page .analytics-settings-section{margin-top:24px;padding:20px;background:#f8fafc;border-radius:8px;border:1px solid #e2e8f0}.marketing-outreach-page .analytics-settings-section h3{margin:0 0 16px;font-size:16px;font-weight:600;color:#1e293b}.marketing-outreach-page .setting-row{display:flex;align-items:center;gap:12px;margin-bottom:16px}.marketing-outreach-page .setting-row label{min-width:200px;font-weight:500;color:#475569;font-size:14px}.marketing-outreach-page .setting-row select{padding:8px 12px;border:1px solid #cbd5e1;border-radius:6px;font-size:14px;min-width:200px;background:#fff;color:#1f2937;cursor:pointer;transition:all .2s ease}.marketing-outreach-page .setting-row select:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.marketing-outreach-page .setting-row .help-text{color:#64748b;font-size:13px;font-style:italic}.marketing-outreach-page .validation-warning{padding:12px;background:#fef3c7;border:1px solid #fbbf24;border-radius:6px;color:#92400e;font-size:14px;margin-top:12px}@media (max-width: 1024px){.marketing-outreach-page .campaign-grid,.marketing-outreach-page .ai-terminal-grid{grid-template-columns:1fr}.marketing-outreach-page .kpi-section{grid-template-columns:repeat(2,1fr)}}@media (max-width: 768px){.marketing-outreach-page{padding:1rem}.marketing-outreach-page .header-content{flex-direction:column;align-items:flex-start;gap:1rem}.marketing-outreach-page .kpi-section,.marketing-outreach-page .channel-grid{grid-template-columns:1fr}.marketing-outreach-page .tab-navigation{overflow-x:auto;-webkit-overflow-scrolling:touch}}.marketing-outreach-page .analytics-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1.5rem}.marketing-outreach-page .analytics-grid .performance-chart{grid-column:1 / -1}.marketing-outreach-page .channel-stats{display:flex;flex-direction:column;gap:1rem}.marketing-outreach-page .channel-stat{display:flex;align-items:center;gap:.75rem}.marketing-outreach-page .channel-label{display:flex;align-items:center;gap:.5rem;min-width:100px;font-size:.875rem;font-weight:500;color:#374151}.marketing-outreach-page .channel-icon{width:16px;height:16px;color:#6b7280}.marketing-outreach-page .channel-bar{flex:1;height:24px;background:#f3f4f6;border-radius:6px;overflow:hidden}.marketing-outreach-page .channel-fill{height:100%;background:linear-gradient(90deg,#3b82f6,#06b6d4);transition:width .3s ease}.marketing-outreach-page .channel-value{min-width:50px;text-align:right;font-weight:600;color:#1f2937}.marketing-outreach-page .top-campaigns{display:flex;flex-direction:column;gap:1rem}.marketing-outreach-page .top-campaign-item{padding:.75rem;background:#f9fafb;border-radius:8px;border-left:3px solid #3b82f6}.marketing-outreach-page .top-label{font-size:.75rem;font-weight:600;text-transform:uppercase;color:#6b7280;letter-spacing:.05em;margin-bottom:.25rem}.marketing-outreach-page .top-name{font-size:.875rem;font-weight:500;color:#1f2937;margin-bottom:.25rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.marketing-outreach-page .top-value{font-size:1.25rem;font-weight:700;color:#3b82f6}.marketing-outreach-page .performance-table{overflow-x:auto}.marketing-outreach-page .performance-table table{width:100%;border-collapse:collapse}.marketing-outreach-page .performance-table th,.marketing-outreach-page .performance-table td{padding:.75rem;text-align:left;border-bottom:1px solid #e5e7eb}.marketing-outreach-page .performance-table th{font-size:.75rem;font-weight:600;text-transform:uppercase;color:#6b7280;letter-spacing:.05em;background:#f9fafb}.marketing-outreach-page .performance-table td{font-size:.875rem;color:#374151}.marketing-outreach-page .performance-table tbody tr:hover{background:#f9fafb}.marketing-outreach-page .no-data-message{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:3rem 1rem;text-align:center}.marketing-outreach-page .no-data-icon{width:48px;height:48px;color:#d1d5db;margin-bottom:1rem}.marketing-outreach-page .no-data-message p{color:#6b7280;font-size:.875rem;max-width:400px}.marketing-outreach-page .sequences-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem}.marketing-outreach-page .sequences-header h3{font-size:1.25rem;font-weight:600;color:#1f2937}.marketing-outreach-page .create-sequence-button{display:flex;align-items:center;gap:.5rem;padding:.75rem 1.25rem;background:linear-gradient(135deg,#3b82f6,#06b6d4);color:#fff;border:none;border-radius:8px;font-weight:600;font-size:.875rem;cursor:pointer;transition:all .2s}.marketing-outreach-page .create-sequence-button:hover{transform:translateY(-1px);box-shadow:0 4px 12px #3b82f64d}.marketing-outreach-page .sequences-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:1.5rem}.marketing-outreach-page .sequence-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:1.25rem;transition:all .2s}.marketing-outreach-page .sequence-card:hover{border-color:#3b82f6;box-shadow:0 4px 12px #3b82f61a}.marketing-outreach-page .sequence-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:1rem;gap:1rem}.marketing-outreach-page .sequence-info{flex:1;min-width:0}.marketing-outreach-page .sequence-name{font-size:1rem;font-weight:600;color:#1f2937;margin:0 0 .25rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.marketing-outreach-page .sequence-description{font-size:.875rem;color:#6b7280;margin:0;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.marketing-outreach-page .sequence-status{padding:.25rem .75rem;border-radius:9999px;font-size:.75rem;font-weight:600;text-transform:capitalize;white-space:nowrap}.marketing-outreach-page .sequence-status.status-active{background:#d1fae5;color:#065f46}.marketing-outreach-page .sequence-status.status-paused{background:#fed7aa;color:#9a3412}.marketing-outreach-page .sequence-status.status-draft{background:#e5e7eb;color:#374151}.marketing-outreach-page .sequence-steps{padding:1rem;background:#f9fafb;border-radius:8px;margin-bottom:1rem}.marketing-outreach-page .steps-label{font-size:.75rem;font-weight:600;text-transform:uppercase;color:#6b7280;letter-spacing:.05em;margin-bottom:.75rem}.marketing-outreach-page .step-preview{display:flex;align-items:center;gap:.75rem;padding:.5rem 0;border-bottom:1px solid #e5e7eb}.marketing-outreach-page .step-preview:last-child{border-bottom:none}.marketing-outreach-page .step-number{display:flex;align-items:center;justify-content:center;width:28px;height:28px;background:#fff;border:2px solid #3b82f6;border-radius:50%;font-size:.75rem;font-weight:700;color:#3b82f6;flex-shrink:0}.marketing-outreach-page .step-info{flex:1;min-width:0}.marketing-outreach-page .step-channel{display:flex;align-items:center;gap:.375rem;font-size:.875rem;font-weight:500;color:#1f2937;margin-bottom:.125rem;text-transform:capitalize}.marketing-outreach-page .step-icon{width:14px;height:14px;color:#6b7280}.marketing-outreach-page .step-delay{font-size:.75rem;color:#6b7280}.marketing-outreach-page .steps-more{margin-top:.5rem;padding-top:.5rem;border-top:1px solid #e5e7eb;font-size:.75rem;color:#6b7280;text-align:center}.marketing-outreach-page .sequence-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;padding:1rem;background:#f9fafb;border-radius:8px;margin-bottom:1rem}.marketing-outreach-page .stat-item{text-align:center}.marketing-outreach-page .stat-value{font-size:1.5rem;font-weight:700;color:#1f2937;margin-bottom:.25rem}.marketing-outreach-page .stat-label{font-size:.75rem;color:#6b7280;text-transform:uppercase;letter-spacing:.05em}.marketing-outreach-page .sequence-actions{display:flex;gap:.5rem;flex-wrap:wrap;margin-bottom:1rem}.marketing-outreach-page .action-btn{display:flex;align-items:center;gap:.375rem;padding:.5rem .875rem;border:1px solid #e5e7eb;border-radius:6px;background:#fff;font-size:.75rem;font-weight:500;cursor:pointer;transition:all .2s}.marketing-outreach-page .action-btn:hover{border-color:#3b82f6;background:#f0f9ff;transform:translateY(-1px)}.marketing-outreach-page .action-icon{width:14px;height:14px}.marketing-outreach-page .edit-btn:hover{border-color:#3b82f6;color:#3b82f6}.marketing-outreach-page .pause-btn:hover{border-color:#f59e0b;color:#f59e0b}.marketing-outreach-page .resume-btn:hover{border-color:#10b981;color:#10b981}.marketing-outreach-page .disable-btn:hover{border-color:#6b7280;color:#6b7280}.marketing-outreach-page .delete-btn:hover{border-color:#ef4444;color:#ef4444;background:#fef2f2}.marketing-outreach-page .sequence-footer{display:flex;justify-content:space-between;align-items:center}.marketing-outreach-page .sequence-date{font-size:.75rem;color:#9ca3af}.marketing-outreach-page .no-sequences-message{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:4rem 1rem;text-align:center}.marketing-outreach-page .no-sequences-message h4{font-size:1.125rem;font-weight:600;color:#1f2937;margin:0 0 .5rem}.marketing-outreach-page .no-sequences-message p{color:#6b7280;font-size:.875rem;margin:0 0 1.5rem;max-width:400px;line-height:1.6}.marketing-outreach-page .create-first-sequence-button{display:flex;align-items:center;gap:.5rem;padding:.875rem 1.5rem;background:linear-gradient(135deg,#3b82f6,#06b6d4);color:#fff;border:none;border-radius:8px;font-weight:600;font-size:.875rem;cursor:pointer;transition:all .2s}.marketing-outreach-page .create-first-sequence-button:hover{transform:translateY(-2px);box-shadow:0 6px 16px #3b82f64d}@media (max-width: 1024px){.marketing-outreach-page .analytics-grid,.marketing-outreach-page .sequences-grid{grid-template-columns:1fr}}.marketing-outreach-page .sequences-two-column-layout{display:grid;grid-template-columns:1fr 350px;gap:24px;margin-top:24px}.marketing-outreach-page .sequences-main-panel{min-width:0;overflow-x:hidden}.marketing-outreach-page .sequences-sidebar{background:#f9fafb;border-radius:12px;padding:20px;border:1px solid #e5e7eb;height:-webkit-fit-content;height:fit-content;position:-webkit-sticky;position:sticky;top:20px}.marketing-outreach-page .sequences-list{display:flex;flex-direction:column;gap:16px}.marketing-outreach-page .seq-enhanced-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:20px;cursor:pointer;transition:all .2s ease}.marketing-outreach-page .seq-enhanced-card:hover{border-color:#3b82f6;box-shadow:0 4px 12px #3b82f626;transform:translateY(-2px)}.marketing-outreach-page .seq-card-header{display:flex;align-items:flex-start;gap:12px;margin-bottom:16px}.marketing-outreach-page .seq-icon-badge{width:48px;height:48px;border-radius:10px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.marketing-outreach-page .seq-icon-badge i{color:#fff;width:24px;height:24px}.marketing-outreach-page .seq-card-info{flex:1;min-width:0}.marketing-outreach-page .seq-title{font-size:16px;font-weight:600;color:#111827;margin:0 0 4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.marketing-outreach-page .seq-subtitle{font-size:13px;color:#6b7280;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.marketing-outreach-page .seq-edit-btn{background:#fff;border:1px solid #e5e7eb;border-radius:8px;width:36px;height:36px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s ease;flex-shrink:0}.marketing-outreach-page .seq-edit-btn:hover{background:#f9fafb;border-color:#3b82f6}.marketing-outreach-page .seq-edit-btn i{width:16px;height:16px;color:#6b7280}.marketing-outreach-page .seq-edit-btn:hover i{color:#3b82f6}.marketing-outreach-page .seq-status-row{margin-bottom:12px}.marketing-outreach-page .seq-status-badge{display:inline-flex;align-items:center;gap:6px;padding:4px 12px;border-radius:12px;font-size:12px;font-weight:600}.marketing-outreach-page .seq-status-active{background:#d1fae5;color:#065f46}.marketing-outreach-page .seq-status-paused{background:#fef3c7;color:#92400e}.marketing-outreach-page .seq-status-completed{background:#dbeafe;color:#1e40af}.marketing-outreach-page .seq-status-archived{background:#f3f4f6;color:#6b7280}.marketing-outreach-page .seq-status-dot{width:6px;height:6px;border-radius:50%;background:currentColor}.marketing-outreach-page .seq-inline-metrics{display:flex;align-items:center;gap:8px;font-size:13px;color:#6b7280;margin-bottom:16px;flex-wrap:wrap}.marketing-outreach-page .seq-metric-item{display:flex;align-items:center;gap:4px}.marketing-outreach-page .seq-metric-icon{width:14px;height:14px;color:#9ca3af}.marketing-outreach-page .seq-metric-value{font-weight:600;color:#111827}.marketing-outreach-page .seq-metric-separator{color:#d1d5db;margin:0 4px}.marketing-outreach-page .seq-timeline{display:flex;align-items:center;gap:0;margin-bottom:16px;overflow-x:auto;padding:12px 0}.marketing-outreach-page .seq-timeline-item{display:flex;flex-direction:column;align-items:center;position:relative;flex-shrink:0}.marketing-outreach-page .seq-timeline-circle{width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:600;z-index:1;margin-bottom:8px}.marketing-outreach-page .seq-timeline-circle.seq-completed{background:#10b981;color:#fff}.marketing-outreach-page .seq-timeline-circle.seq-pending{background:#e5e7eb;color:#9ca3af}.marketing-outreach-page .seq-timeline-connector{width:60px;height:2px;background:#e5e7eb;margin:0 -30px;position:relative;top:-24px}.marketing-outreach-page .seq-timeline-label{font-size:11px;color:#6b7280;text-align:center;white-space:nowrap;max-width:80px;overflow:hidden;text-overflow:ellipsis}.marketing-outreach-page .seq-timeline-more{font-size:12px;color:#6b7280;margin-left:12px}.marketing-outreach-page .seq-card-footer{display:flex;justify-content:space-between;align-items:center;padding-top:12px;border-top:1px solid #f3f4f6;margin-top:4px}.marketing-outreach-page .seq-created-date{font-size:12px;color:#9ca3af}.marketing-outreach-page .seq-view-details{font-size:13px;color:#3b82f6;font-weight:500;cursor:pointer;transition:color .2s}.marketing-outreach-page .seq-view-details:hover{color:#2563eb;text-decoration:underline}.marketing-outreach-page .sidebar-section{margin-bottom:24px}.marketing-outreach-page .sidebar-section:last-child{margin-bottom:0}.marketing-outreach-page .sidebar-section-title{font-size:14px;font-weight:600;color:#111827;margin:0 0 12px;display:flex;align-items:center;gap:8px}.marketing-outreach-page .sidebar-section-title i{width:16px;height:16px;color:#6b7280}.marketing-outreach-page .sidebar-templates{display:flex;flex-direction:column;gap:8px}.marketing-outreach-page .sidebar-template-card{background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:12px;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;gap:12px}.marketing-outreach-page .sidebar-template-card:hover{border-color:#3b82f6;box-shadow:0 2px 6px #3b82f61a}.marketing-outreach-page .sidebar-template-icon{width:40px;height:40px;border-radius:8px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.marketing-outreach-page .sidebar-template-icon i{width:20px;height:20px;color:#fff}.marketing-outreach-page .sidebar-template-info{flex:1;min-width:0}.marketing-outreach-page .sidebar-template-name{font-size:13px;font-weight:600;color:#111827;margin-bottom:2px}.marketing-outreach-page .sidebar-template-steps{font-size:11px;color:#6b7280}.marketing-outreach-page .sidebar-stats{display:flex;flex-direction:column;gap:12px}.marketing-outreach-page .sidebar-stat-card{background:#fff;border:1px solid #e5e7eb;border-left:3px solid;border-radius:8px;padding:12px 14px;display:flex;flex-direction:column;gap:4px}.marketing-outreach-page .sidebar-stat-value{font-size:24px;font-weight:700;line-height:1}.marketing-outreach-page .sidebar-stat-label{font-size:12px;color:#6b7280;font-weight:500}.marketing-outreach-page .sidebar-tips-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}.marketing-outreach-page .sidebar-tip-item{display:flex;align-items:flex-start;gap:8px;font-size:12px;color:#6b7280;line-height:1.5}.marketing-outreach-page .sidebar-tip-item i{width:14px;height:14px;color:#10b981;flex-shrink:0;margin-top:2px}@media (max-width: 1200px){.marketing-outreach-page .sequences-two-column-layout{grid-template-columns:1fr}.marketing-outreach-page .sequences-sidebar{display:none}}@media (max-width: 768px){.marketing-outreach-page .seq-timeline{overflow-x:auto;-webkit-overflow-scrolling:touch}.marketing-outreach-page .seq-inline-metrics{font-size:12px}.marketing-outreach-page .seq-card-header{flex-wrap:wrap}}.marketing-outreach-page .spinning{animation:spin 1s linear infinite}.marketing-outreach-page .view-mode-toggle{display:flex;gap:8px;margin-bottom:12px}.marketing-outreach-page .toggle-btn{display:flex;align-items:center;gap:6px;padding:8px 16px;background:#f3f4f6;border:1px solid #e5e7eb;border-radius:6px;cursor:pointer;font-size:14px;font-weight:500;color:#374151;transition:all .2s ease}.marketing-outreach-page .toggle-btn:hover{background:#e5e7eb;border-color:#d1d5db}.marketing-outreach-page .toggle-btn.active{background:#6366f1;color:#fff;border-color:#6366f1}.marketing-outreach-page .toggle-btn i{width:16px;height:16px}.marketing-outreach-page .html-preview-container{border:1px solid #e5e7eb;border-radius:8px;overflow:hidden;background:#fff;resize:vertical;min-height:400px;height:400px}.marketing-outreach-page .html-preview-frame{width:100%;height:100%;border:none;display:block}.marketing-outreach-page .scheduling-section{margin-bottom:24px}.marketing-outreach-page .scheduling-options{display:flex;flex-direction:column;gap:12px;margin-bottom:16px}.marketing-outreach-page .radio-option{display:flex;align-items:center;gap:8px;padding:12px;border:1px solid #e5e7eb;border-radius:8px;cursor:pointer;transition:all .2s ease}.marketing-outreach-page .radio-option:hover{background:#f9fafb;border-color:#6366f1}.marketing-outreach-page .radio-option input[type=radio]{width:18px;height:18px;margin:0;cursor:pointer;accent-color:#6366f1}.marketing-outreach-page .radio-option label{margin:0;font-size:14px;font-weight:500;color:#374151;cursor:pointer;flex:1}.marketing-outreach-page .datetime-picker-wrapper{margin-top:16px;padding:16px;background:#f0f9ff;border:1px solid #bae6fd;border-radius:8px}.marketing-outreach-page .datetime-picker-wrapper label{display:block;font-size:13px;font-weight:600;color:#0c4a6e;margin-bottom:8px}.marketing-outreach-page .datetime-picker-wrapper input[type=datetime-local]{width:100%;padding:10px 12px;border:1px solid #cbd5e1;border-radius:6px;font-size:14px;font-family:inherit;color:#1f2937;background:#fff;transition:all .2s ease}.marketing-outreach-page .datetime-picker-wrapper input[type=datetime-local]:focus{outline:none;border-color:#6366f1;box-shadow:0 0 0 3px #6366f11a}.marketing-outreach-page .datetime-picker-wrapper .help-text{display:block;margin-top:8px;font-size:12px;color:#0369a1;font-style:italic}.marketing-outreach-page .saved-styles-list .style-info-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.marketing-outreach-page .saved-styles-list .style-name{font-weight:600;font-size:14px;color:#1f2937}.marketing-outreach-page .saved-styles-list .style-actions{display:flex;gap:4px}.marketing-outreach-page .saved-styles-list .icon-button-sm{padding:4px;background:#f3f4f6;border:1px solid #e5e7eb;border-radius:4px;cursor:pointer;transition:all .2s;display:flex;align-items:center;justify-content:center}.marketing-outreach-page .saved-styles-list .icon-button-sm:hover{background:#e5e7eb}.marketing-outreach-page .saved-styles-list .icon-button-sm.delete:hover{background:#fee2e2;border-color:#fca5a5;color:#dc2626}.marketing-outreach-page .saved-styles-list .button-icon-xs{width:14px;height:14px}.marketing-outreach-page .saved-styles-list .style-description-small{font-size:12px;color:#6b7280;margin-bottom:6px;line-height:1.4}.marketing-outreach-page .saved-styles-list .style-meta{font-size:11px;color:#9ca3af;padding-top:6px;border-top:1px solid #f3f4f6}.marketing-outreach-page .saved-styles-empty,.marketing-outreach-page .saved-styles-loading,.marketing-outreach-page .saved-styles-error{padding:32px;text-align:center;color:#6b7280}.marketing-outreach-page .saved-styles-empty .empty-icon{width:48px;height:48px;margin:0 auto 16px;opacity:.3}.marketing-outreach-page .saved-styles-empty p{margin:8px 0;font-size:14px}.marketing-outreach-page .saved-styles-empty .empty-hint{font-size:12px;color:#9ca3af}.marketing-outreach-page .modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:10000;padding:20px}.marketing-outreach-page .modal-content{background:#fff;border-radius:12px;max-width:500px;width:100%;max-height:90vh;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a}.marketing-outreach-page .modal-content.large{max-width:800px}.marketing-outreach-page .modal-header{padding:20px 24px;border-bottom:1px solid #e5e7eb;display:flex;justify-content:space-between;align-items:center}.marketing-outreach-page .modal-header h2{margin:0;font-size:18px;font-weight:600;color:#1f2937}.marketing-outreach-page .modal-close{background:none;border:none;cursor:pointer;padding:4px;color:#6b7280;transition:color .2s}.marketing-outreach-page .modal-close:hover{color:#1f2937}.marketing-outreach-page .modal-body{padding:24px;overflow-y:auto;flex:1}.marketing-outreach-page .modal-footer{padding:16px 24px;border-top:1px solid #e5e7eb;display:flex;justify-content:flex-end;gap:12px}.marketing-outreach-page .form-group{margin-bottom:20px}.marketing-outreach-page .form-group label{display:block;margin-bottom:8px;font-weight:500;font-size:14px;color:#374151}.marketing-outreach-page .form-input,.marketing-outreach-page .form-textarea{width:100%;padding:10px 12px;border:1px solid #d1d5db;border-radius:6px;font-size:14px;transition:all .2s;font-family:inherit}.marketing-outreach-page .form-input:focus,.marketing-outreach-page .form-textarea:focus{outline:none;border-color:#6366f1;box-shadow:0 0 0 3px #6366f11a}.marketing-outreach-page .form-textarea{resize:vertical;min-height:80px}.marketing-outreach-page .style-preview-info{background:#f9fafb;border:1px solid #e5e7eb;border-radius:6px;padding:12px;font-size:13px;color:#4b5563;margin-top:16px}.marketing-outreach-page .style-preview-info strong{color:#1f2937}.marketing-outreach-page .error-message{background:#fee2e2;border:1px solid #fca5a5;color:#dc2626;padding:12px;border-radius:6px;font-size:13px;margin-top:16px}.marketing-outreach-page .btn-primary{background:#6366f1;color:#fff;border:none;padding:10px 20px;border-radius:6px;font-weight:500;cursor:pointer;transition:all .2s;font-size:14px}.marketing-outreach-page .btn-primary:hover{background:#4f46e5}.marketing-outreach-page .btn-primary:active{transform:scale(.98)}.marketing-outreach-page .btn-secondary{background:#fff;color:#374151;border:1px solid #d1d5db;padding:10px 20px;border-radius:6px;font-weight:500;cursor:pointer;transition:all .2s;font-size:14px}.marketing-outreach-page .btn-secondary:hover{background:#f9fafb;border-color:#9ca3af}.marketing-outreach-page .styles-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:16px}.marketing-outreach-page .style-card{border:1px solid #e5e7eb;border-radius:8px;padding:16px;transition:all .2s;background:#fff}.marketing-outreach-page .style-card:hover{border-color:#6366f1;box-shadow:0 4px 6px -1px #0000001a}.marketing-outreach-page .style-card-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:12px}.marketing-outreach-page .style-card-header h3{margin:0 8px 0 0;font-size:16px;font-weight:600;color:#1f2937;flex:1}.marketing-outreach-page .style-card-description{font-size:13px;color:#6b7280;line-height:1.5;margin-bottom:12px}.marketing-outreach-page .style-card-meta{display:flex;flex-direction:column;gap:4px;font-size:12px;color:#9ca3af;margin-bottom:12px;padding-top:12px;border-top:1px solid #f3f4f6}.marketing-outreach-page .style-card-footer{margin-top:12px}.marketing-outreach-page .style-card-footer .btn-primary{width:100%}.marketing-outreach-page .loading-state,.marketing-outreach-page .empty-state{padding:48px 24px;text-align:center;color:#6b7280}.marketing-outreach-page .empty-state i{width:64px;height:64px;margin:0 auto 16px;opacity:.2;display:block}.marketing-outreach-page .empty-state p{margin:8px 0;font-size:14px}.marketing-outreach-page .empty-state .empty-hint{font-size:12px;color:#9ca3af}.marketing-outreach-page .icon-button-xs{width:12px;height:12px}@media (max-width: 768px){.marketing-outreach-page .modal-content{max-width:100%;margin:0 10px}.marketing-outreach-page .styles-grid{grid-template-columns:1fr}.marketing-outreach-page .modal-body{padding:16px}.marketing-outreach-page .modal-header,.marketing-outreach-page .modal-footer{padding:12px 16px}}.marketing-outreach-page .style-preview-modal{max-width:900px}.marketing-outreach-page .style-preview-content{padding:24px}.marketing-outreach-page .style-preview-description{margin:0 0 24px;font-size:15px;color:#64748b;line-height:1.6}.marketing-outreach-page .preview-sample-container{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:24px}.marketing-outreach-page .preview-sample-container h3{margin:0 0 16px;font-size:16px;font-weight:600;color:#334155}.marketing-outreach-page .style-preview-modal .marketing-output-container{max-width:100%;margin:0;box-shadow:0 4px 12px #0000001a;border-radius:8px;overflow:hidden}.marketing-outreach-page .style-preview{cursor:pointer;-webkit-user-select:none;user-select:none;transition:all .2s ease}.marketing-outreach-page .style-preview:hover{opacity:.9;transform:translateY(-1px)}.marketing-outreach-page .style-preview:active{transform:translateY(0)}.marketing-outreach-page .style-icon.gray,.marketing-outreach-page .style-preview.gray{background:linear-gradient(135deg,#64748b,#475569)}.marketing-outreach-page .retry-status-banner{position:-webkit-sticky;position:sticky;top:0;z-index:100;background:linear-gradient(135deg,#fef3c7,#fde68a);border:1px solid #f59e0b;border-radius:8px;margin-bottom:16px;box-shadow:0 2px 8px #f59e0b33;animation:slideDown .3s ease-out}@keyframes slideDown{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.marketing-outreach-page .retry-status-content{display:flex;align-items:center;gap:16px;padding:16px}.marketing-outreach-page .retry-spinner{width:24px;height:24px;border:3px solid #f59e0b;border-top-color:transparent;border-radius:50%;animation:spin .8s linear infinite;flex-shrink:0}.marketing-outreach-page .retry-info{flex:1;min-width:0}.marketing-outreach-page .retry-message{margin:0 0 4px;font-size:14px;font-weight:600;color:#92400e}.marketing-outreach-page .retry-details{margin:0;font-size:12px;color:#b45309}.marketing-outreach-page .retry-cancel-btn{padding:8px 16px;background:#fff;border:1px solid #f59e0b;border-radius:6px;color:#92400e;font-size:13px;font-weight:500;cursor:pointer;transition:all .2s;flex-shrink:0}.marketing-outreach-page .retry-cancel-btn:hover{background:#fef3c7;border-color:#d97706}.marketing-outreach-page .retry-status-banner.error{background:linear-gradient(135deg,#fee2e2,#fecaca);border-color:#dc2626}.marketing-outreach-page .retry-status-banner.error .retry-spinner{border-color:#dc2626}.marketing-outreach-page .retry-status-banner.error .retry-message{color:#991b1b}.marketing-outreach-page .retry-status-banner.error .retry-details{color:#b91c1c}.marketing-outreach-page .retry-status-banner.error .retry-cancel-btn{border-color:#dc2626;color:#991b1b}.marketing-outreach-page .retry-status-banner.error .retry-cancel-btn:hover{background:#fee2e2}.marketing-outreach-page .retry-status-banner.success{background:linear-gradient(135deg,#d1fae5,#a7f3d0);border-color:#10b981;animation:slideDown .3s ease-out,fadeOut .5s ease-out 2s forwards}@keyframes fadeOut{to{opacity:0;transform:translateY(-10px)}}.marketing-outreach-page .retry-status-banner.success .retry-message{color:#065f46}@media (max-width: 640px){.marketing-outreach-page .retry-status-content{flex-direction:column;align-items:flex-start;gap:12px}.marketing-outreach-page .retry-cancel-btn{align-self:flex-end}}.campaigns-list-tab{width:100%;max-width:100%;min-width:0;padding:12px;background:#fff;box-sizing:border-box}.campaigns-controls{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px}.search-bar{flex:1;max-width:400px}.search-input{width:100%;padding:10px 16px;border:1px solid #e2e8f0;border-radius:8px;font-size:14px;color:#1e293b;background:#fff;transition:all .2s ease}.search-input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.filter-controls{display:flex;gap:12px;align-items:center}.campaigns-filter-dropdown{padding:10px 36px 10px 16px;border:1px solid #e2e8f0;border-radius:8px;font-size:14px;color:#1e293b;background:#fff;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 9L1 4h10z'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;background-size:12px;cursor:pointer;transition:all .2s ease;appearance:none;-webkit-appearance:none;-moz-appearance:none}.campaigns-filter-dropdown:hover{border-color:#cbd5e1}.campaigns-filter-dropdown:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.status-filters{display:flex;gap:8px;margin-bottom:24px;flex-wrap:wrap}.filter-pill{padding:8px 16px;border:1px solid #e2e8f0;border-radius:20px;background:#fff;color:#64748b;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s ease}.filter-pill:hover{border-color:#cbd5e1;background:#f8fafc}.filter-pill.active{background:#3b82f6;color:#fff;border-color:#3b82f6}.campaigns-table-wrapper{width:100%;max-width:100%;min-width:0;overflow:visible;border:1px solid #e2e8f0;border-radius:12px;background:#fff;margin-bottom:20px;box-sizing:border-box}.campaigns-table{width:100%;table-layout:fixed;border-collapse:collapse;font-size:14px}.campaigns-table thead{background:#f8fafc;border-bottom:1px solid #e2e8f0}.campaigns-table th,.campaigns-table td{box-sizing:border-box;overflow:hidden}.campaigns-table th{padding:12px;text-align:left;font-weight:600;color:#475569;font-size:13px;text-transform:uppercase;letter-spacing:.5px}.campaigns-table tbody tr{border-bottom:1px solid #f1f5f9;transition:background .15s ease}.campaigns-table tbody tr:hover{background:#f8fafc}.campaigns-table tbody tr:last-child{border-bottom:none}.campaigns-table td{padding:12px;color:#1e293b;vertical-align:middle}.col-campaign{width:auto;min-width:0;padding-right:4px}.campaign-name{display:flex;align-items:center;gap:12px;min-width:0}.campaign-icon{font-size:20px;flex-shrink:0}.campaign-details{display:flex;flex-direction:column;gap:4px;min-width:0}.campaign-title,.campaign-subtitle{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.campaign-title{font-weight:600;color:#1e293b;font-size:14px}.campaign-subtitle{font-size:13px;color:#64748b}.campaigns-table col.col-status,.campaigns-table th.col-status,.campaigns-table td.col-status{width:152px;min-width:152px}.campaigns-table th.col-status,.campaigns-table td.col-status{padding-left:12px;padding-right:12px;text-align:left;vertical-align:middle;overflow:visible}.status-badge{display:inline-flex;align-items:center;margin:0;box-sizing:border-box;padding:6px 10px;border-radius:12px;font-size:12px;font-weight:600;text-transform:capitalize;white-space:nowrap}.status-badge-draft{background:#f1f5f9;color:#64748b}.status-badge-scheduled{background:#dbeafe;color:#1e40af}.status-badge-sending{background:#fef3c7;color:#92400e}.status-badge-completed{background:#d1fae5;color:#065f46}.status-badge-failed{background:#fee2e2;color:#991b1b}.campaigns-table th.col-channel,.campaigns-table td.col-channel{width:120px;text-align:left;vertical-align:middle}.channel-badge{display:inline-flex;align-items:center;gap:6px;max-width:100%;box-sizing:border-box;padding:6px 12px;border-radius:12px;font-size:12px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.channel-badge-email{background:#ede9fe;color:#5b21b6}.channel-badge-sms{background:#dbeafe;color:#1e40af}.channel-badge-social{background:#fce7f3;color:#9f1239}.col-reach{width:80px;font-weight:500}.col-progress{width:156px;padding-right:8px}.progress-text{color:#64748b;font-size:13px}.progress-container{display:flex;align-items:center;gap:8px;min-width:0;overflow:hidden}.progress-bar{flex:1;min-width:0;height:8px;background:#e2e8f0;border-radius:4px;overflow:hidden}.progress-fill{height:100%;background:linear-gradient(90deg,#3b82f6,#2563eb);border-radius:4px;transition:width .3s ease}.progress-percentage{flex-shrink:0;font-size:13px;font-weight:600;color:#1e293b;min-width:2.75em;text-align:right;white-space:nowrap}.col-performance{width:140px;padding-left:8px}.performance-metric{color:#1e293b;font-weight:500;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.performance-metric-empty{color:#cbd5e1}.col-updated{width:110px}.updated-info{display:flex;flex-direction:column;gap:4px}.updated-time{color:#1e293b;font-size:13px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.updated-by{color:#64748b;font-size:12px}.campaigns-table th.col-actions,.campaigns-table td.col-actions{width:148px;min-width:148px;text-align:right;overflow:visible}.action-buttons{display:flex;gap:8px;justify-content:flex-end;align-items:center;flex-wrap:nowrap}.action-button{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;border:1px solid #e2e8f0;border-radius:6px;background:#fff;color:#64748b;cursor:pointer;transition:all .2s ease}.action-button:hover{background:#f8fafc;border-color:#cbd5e1;color:#3b82f6}.action-button:active{transform:scale(.95)}.action-icon{width:16px;height:16px;stroke-width:2}.pagination{display:flex;justify-content:space-between;align-items:center;padding:16px 0}.pagination-info{color:#64748b;font-size:14px}.pagination-buttons{display:flex;gap:8px;align-items:center}.pagination-button{padding:8px 12px;border:1px solid #e2e8f0;border-radius:6px;background:#fff;color:#64748b;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s ease;min-width:40px}.pagination-button:hover:not(:disabled){background:#f8fafc;border-color:#cbd5e1;color:#1e293b}.pagination-button.active{background:#3b82f6;color:#fff;border-color:#3b82f6}.pagination-button:disabled{opacity:.5;cursor:not-allowed}.loading-message,.empty-message{text-align:center;padding:60px 20px;color:#64748b;font-size:14px}.empty-message{display:flex;flex-direction:column;align-items:center;gap:12px}@media (max-width: 1280px){.campaigns-table{font-size:13px}.campaigns-table th,.campaigns-table td{padding:12px}.col-campaign{min-width:0}}@media (max-width: 1024px){.campaigns-controls{flex-direction:column;align-items:stretch}.search-bar{max-width:none}.filter-controls{justify-content:flex-start}}@media (max-width: 768px){.campaigns-list-tab{padding:16px}.campaigns-table-wrapper{border-radius:8px;overflow-x:auto}.status-filters{overflow-x:auto;flex-wrap:nowrap;padding-bottom:8px}.filter-pill{white-space:nowrap}.pagination{flex-direction:column;gap:16px}.pagination-buttons{width:100%;justify-content:center;flex-wrap:wrap}}.more-actions-wrapper{position:relative;overflow:visible}.more-actions-dropdown{position:absolute;top:100%;right:0;margin-top:4px;background:#fff;border:1px solid #e5e7eb;border-radius:8px;box-shadow:0 4px 12px #00000026;min-width:180px;z-index:1000;overflow:hidden}.dropdown-item{display:flex;align-items:center;gap:8px;width:100%;padding:10px 16px;background:none;border:none;text-align:left;font-size:14px;color:#374151;cursor:pointer;transition:background .2s ease}.dropdown-item:hover{background:#f9fafb}.dropdown-item.danger{color:#dc2626}.dropdown-item.danger:hover{background:#fef2f2}.dropdown-item span{font-size:16px}.sequence-builder-modal{background:#fff;border-radius:16px;width:100%;max-width:900px;max-height:90vh;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 20px 60px #0000004d;animation:modalSlideIn .3s ease-out}.sequence-builder-modal .modal-header{background:linear-gradient(135deg,#667eea,#764ba2);padding:24px 32px;display:flex;justify-content:space-between;align-items:center;border-radius:16px 16px 0 0}.sequence-builder-modal .header-content{display:flex;align-items:center;gap:12px}.sequence-builder-modal .header-icon{color:#fff;width:28px;height:28px}.sequence-builder-modal .modal-header h2{color:#fff;font-size:24px;font-weight:600;margin:0}.sequence-builder-modal .close-button{background:#ffffff1a;border:none;color:#fff;width:36px;height:36px;border-radius:8px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s}.sequence-builder-modal .close-button:hover{background:#fff3}.sequence-builder-modal .modal-body{padding:32px;overflow-y:auto;flex:1}.sequence-details-section{margin-bottom:32px}.sequence-builder-modal .form-group{margin-bottom:20px}.sequence-builder-modal .form-group label{display:block;font-weight:500;margin-bottom:8px;color:#1f2937;font-size:14px}.sequence-builder-modal .form-input{width:100%;padding:10px 14px;border:1px solid #d1d5db;border-radius:8px;font-size:14px;transition:all .2s;box-sizing:border-box}.sequence-builder-modal .form-input:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.sequence-builder-modal .form-textarea{width:100%;padding:10px 14px;border:1px solid #d1d5db;border-radius:8px;font-size:14px;font-family:inherit;resize:vertical;transition:all .2s;box-sizing:border-box}.sequence-builder-modal .form-textarea:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.steps-section{margin-bottom:24px}.steps-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.steps-header h3{font-size:18px;font-weight:600;color:#1f2937;margin:0}.add-step-button{display:flex;align-items:center;gap:6px;padding:8px 16px;background:#667eea;color:#fff;border:none;border-radius:8px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s}.add-step-button:hover{background:#5568d3;transform:translateY(-1px);box-shadow:0 4px 12px #667eea4d}.steps-list{display:flex;flex-direction:column;gap:20px}.step-card{background:#f9fafb;border:2px solid #e5e7eb;border-radius:12px;padding:20px;transition:all .2s}.step-card.dragging{opacity:.5;border-color:#667eea}.step-card:hover{border-color:#d1d5db}.step-header{display:flex;align-items:center;gap:12px;margin-bottom:16px}.step-drag-handle{cursor:grab;color:#9ca3af;display:flex;align-items:center}.step-drag-handle:active{cursor:grabbing}.step-title{flex:1;display:flex;align-items:center;gap:12px;min-height:32px}.step-number{width:32px;height:32px;border-radius:50%;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:600;flex-shrink:0}.step-delay{display:flex;align-items:center;gap:4px;padding:4px 10px;background:#fff;border:1px solid #e5e7eb;border-radius:6px;font-size:12px;color:#6b7280}.step-delay svg{color:#9ca3af}.remove-step-button{background:#fff;border:1px solid #fecaca;color:#dc2626;width:32px;height:32px;border-radius:6px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s}.remove-step-button:hover:not(:disabled){background:#fef2f2;border-color:#dc2626}.remove-step-button:disabled{opacity:.4;cursor:not-allowed}.delay-config{margin-bottom:16px;padding:16px;background:#fff;border-radius:8px;border:1px solid #e5e7eb}.delay-config label{display:block;font-weight:500;margin-bottom:10px;color:#374151;font-size:13px}.delay-inputs{display:flex;gap:12px;margin-top:12px}.delay-input-group{display:flex;flex-direction:column;gap:6px;flex:1}.delay-input-group label{font-size:12px;font-weight:500;color:#6b7280;margin:0}.delay-input-group input{width:100%;padding:8px 12px;border:1px solid #d1d5db;border-radius:6px;font-size:14px;box-sizing:border-box}.delay-input-group input[type=number]{text-align:center;max-width:100px}.delay-input-group input:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.delay-input-group span{font-size:13px;color:#6b7280}.email-config{background:#fff;padding:16px;border-radius:8px;border:1px solid #e5e7eb}.token-buttons{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.token-button{padding:4px 10px;background:#f3f4f6;border:1px solid #d1d5db;border-radius:6px;font-size:12px;color:#4b5563;cursor:pointer;transition:all .2s}.token-button:hover{background:#e5e7eb;border-color:#9ca3af;color:#1f2937}.token-button:active{transform:scale(.95)}.sequence-builder-modal .modal-footer{padding:20px 32px;border-top:1px solid #e5e7eb;display:flex;justify-content:flex-end;gap:12px}.save-button{padding:10px 24px;background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:8px;font-size:14px;font-weight:500;color:#fff;cursor:pointer;transition:all .2s}.save-button:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 4px 12px #667eea4d}.save-button:disabled{opacity:.5;cursor:not-allowed}@media (max-width: 768px){.sequence-builder-modal{max-width:95%}.sequence-builder-modal .modal-body{padding:20px}.sequence-builder-modal .modal-footer{padding:16px 20px}.delay-inputs{flex-direction:column;gap:8px}.token-buttons{gap:4px}.token-button{font-size:11px;padding:3px 8px}}.timing-type-selector{display:flex;flex-direction:column;gap:12px;margin-top:12px}.timing-radio{display:flex;align-items:center;gap:8px;cursor:pointer;padding:10px;border-radius:8px;border:2px solid transparent;transition:all .2s}.timing-radio:hover{background:#f3f4f6}.timing-radio input[type=radio]{cursor:pointer;width:18px;height:18px;margin:0}.timing-radio span{font-size:14px;color:#374151}.timing-radio input[type=radio]:checked+span{font-weight:500;color:#667eea}.add-enrollment-overlay{z-index:10002}.add-enrollment-modal{background:#fff;border-radius:16px;width:100%;max-width:700px;max-height:90vh;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 20px 60px #0000004d;animation:modalSlideIn .3s ease-out}.add-enrollment-modal .modal-header{background:linear-gradient(135deg,#14b8a6,#0d9488);padding:24px 32px;display:flex;justify-content:space-between;align-items:center;border-radius:16px 16px 0 0}.add-enrollment-modal .header-content{display:flex;align-items:center;gap:16px}.add-enrollment-modal .header-icon{color:#fff;width:28px;height:28px}.add-enrollment-modal .header-content h2{color:#fff;font-size:24px;font-weight:600;margin:0 0 4px}.add-enrollment-modal .sequence-name{color:#ffffffe6;font-size:14px;margin:0}.add-enrollment-modal .close-button{background:#ffffff1a;border:none;color:#fff;width:36px;height:36px;border-radius:8px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s}.add-enrollment-modal .close-button:hover{background:#fff3}.add-enrollment-modal .modal-body{padding:24px 32px;overflow-y:auto;flex:1}.entity-type-toggle{display:flex;gap:8px;margin-bottom:20px;background:#f3f4f6;padding:4px;border-radius:10px}.entity-type-toggle button{flex:1;padding:10px 20px;border:none;background:transparent;color:#6b7280;font-size:14px;font-weight:500;border-radius:8px;cursor:pointer;transition:all .2s}.entity-type-toggle button.active{background:#fff;color:#14b8a6;box-shadow:0 2px 4px #0000001a}.entity-type-toggle button:hover:not(.active){color:#374151}.search-bar{display:flex;align-items:center;gap:12px;padding:12px 16px;background:#f9fafb;border:1px solid #e5e7eb;border-radius:10px;margin-bottom:24px}.search-bar svg{color:#9ca3af;flex-shrink:0}.search-bar input{flex:1;border:none;background:transparent;font-size:14px;color:#1f2937;outline:none}.search-bar input::placeholder{color:#9ca3af}.entity-selection-section{margin-bottom:20px}.section-label{font-size:14px;font-weight:500;color:#374151;margin-bottom:12px}.loading-state{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:60px 20px;gap:16px}.spinner{width:40px;height:40px;border:3px solid #e5e7eb;border-top-color:#14b8a6;border-radius:50%;animation:spin 1s linear infinite}.loading-state p{color:#6b7280;font-size:14px;margin:0}.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:60px 20px;gap:12px}.empty-state svg{color:#d1d5db}.empty-state p{color:#6b7280;font-size:14px;margin:0}.empty-hint{color:#9ca3af;font-size:13px}.entity-grid{display:grid;grid-template-columns:1fr;gap:12px;max-height:400px;overflow-y:auto;padding:4px}.entity-card{background:#f9fafb;border:2px solid #e5e7eb;border-radius:12px;padding:16px;cursor:pointer;transition:all .2s}.entity-card:hover{border-color:#14b8a6;background:#f0fdfa;transform:translateY(-1px);box-shadow:0 4px 12px #14b8a626}.entity-card.selected{border-color:#14b8a6;background:linear-gradient(135deg,#f0fdfa,#e6fcf5);box-shadow:0 4px 12px #14b8a633}.entity-card.no-email{opacity:.5;cursor:not-allowed;border-color:#f3f4f6;background:#fafafa}.entity-card.no-email:hover{transform:none;box-shadow:none;border-color:#f3f4f6;background:#fafafa}.entity-card-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.entity-name{font-size:16px;font-weight:600;color:#1f2937}.selected-badge{background:linear-gradient(135deg,#14b8a6,#0d9488);color:#fff;font-size:11px;font-weight:600;padding:4px 10px;border-radius:6px;text-transform:uppercase;letter-spacing:.5px}.entity-details{display:flex;flex-direction:column;gap:6px}.entity-email,.entity-phone,.entity-status{display:flex;align-items:center;gap:8px;font-size:13px;color:#6b7280}.detail-icon{font-size:14px}.entity-no-email{display:flex;align-items:center;gap:6px;font-size:13px;color:#dc2626;font-weight:500}.entity-no-email svg{color:#dc2626}.entity-status{font-size:12px;color:#9ca3af}.add-enrollment-modal .modal-footer{padding:20px 32px;border-top:1px solid #e5e7eb;display:flex;justify-content:flex-end;gap:12px}.cancel-button{padding:10px 24px;background:#fff;border:1px solid #d1d5db;border-radius:8px;font-size:14px;font-weight:500;color:#374151;cursor:pointer;transition:all .2s}.cancel-button:hover:not(:disabled){background:#f9fafb;border-color:#9ca3af}.cancel-button:disabled{opacity:.5;cursor:not-allowed}.enroll-button{padding:10px 24px;background:linear-gradient(135deg,#14b8a6,#0d9488);border:none;border-radius:8px;font-size:14px;font-weight:500;color:#fff;cursor:pointer;transition:all .2s}.enroll-button:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 4px 12px #14b8a64d}.enroll-button:disabled{opacity:.5;cursor:not-allowed}@media (max-width: 768px){.add-enrollment-modal{max-width:95%}.add-enrollment-modal .modal-body{padding:20px}.add-enrollment-modal .modal-footer{padding:16px 20px}.entity-grid{max-height:300px}}.trigger-configuration{background:#f9fafb;border:2px solid #e5e7eb;border-radius:12px;padding:24px;margin-top:24px}.trigger-section-header{margin-bottom:24px}.trigger-section-header h4{font-size:18px;font-weight:600;color:#1f2937;margin:0 0 8px}.trigger-description{font-size:14px;color:#6b7280;margin:0}.trigger-groups{display:flex;flex-direction:column;gap:24px}.trigger-group{background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:20px}.trigger-group h5{font-size:15px;font-weight:600;color:#374151;margin:0 0 16px;padding-bottom:12px;border-bottom:1px solid #f3f4f6}.trigger-options{display:flex;flex-direction:column;gap:12px}.trigger-checkbox{display:flex;align-items:flex-start;gap:12px;padding:12px;border-radius:6px;cursor:pointer;transition:all .2s}.trigger-checkbox:hover{background:#f9fafb}.trigger-checkbox input[type=checkbox]{width:18px;height:18px;margin-top:2px;cursor:pointer;flex-shrink:0;accent-color:#667eea}.trigger-checkbox input[type=checkbox]:disabled{cursor:not-allowed;opacity:.5}.trigger-label{flex:1;display:flex;flex-direction:column;gap:4px}.trigger-name{font-size:14px;font-weight:500;color:#1f2937}.trigger-hint{font-size:13px;color:#6b7280}.trigger-info-box{margin-top:20px;padding:14px 16px;background:#eff6ff;border:1px solid #bfdbfe;border-radius:8px}.trigger-info-box p{font-size:13px;color:#1e40af;margin:0;line-height:1.5}.trigger-info-box strong{color:#1e3a8a}@media (max-width: 768px){.trigger-configuration,.trigger-group{padding:16px}.trigger-checkbox{padding:10px}.trigger-name{font-size:13px}.trigger-hint{font-size:12px}}.sequence-details-modal{background:#fff;border-radius:16px;width:100%;max-width:1100px;max-height:90vh;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 20px 60px #0000004d;animation:modalSlideIn .3s ease-out}.sequence-details-modal .modal-header{background:linear-gradient(135deg,#667eea,#764ba2);padding:24px 32px;display:flex;justify-content:space-between;align-items:center;border-radius:16px 16px 0 0}.sequence-details-modal .header-content{display:flex;align-items:center;gap:12px;flex:1}.sequence-details-modal .header-icon{color:#fff;width:28px;height:28px}.sequence-details-modal .header-text{display:flex;align-items:center;gap:12px}.sequence-details-modal .modal-header h2{color:#fff;font-size:24px;font-weight:600;margin:0}.sequence-details-modal .close-button{background:#ffffff1a;border:none;color:#fff;width:36px;height:36px;border-radius:8px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s}.sequence-details-modal .close-button:hover{background:#fff3}.status-badge{display:inline-flex;padding:4px 12px;border-radius:12px;font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.status-badge-active{background:#d1fae5;color:#065f46}.status-badge-paused{background:#fef3c7;color:#92400e}.status-badge-completed{background:#dbeafe;color:#1e40af}.status-badge-archived{background:#f3f4f6;color:#6b7280}.modal-tabs{display:flex;border-bottom:1px solid #e5e7eb;background:#f9fafb}.tab-button{flex:1;padding:14px 20px;background:transparent;border:none;border-bottom:2px solid transparent;font-size:14px;font-weight:500;color:#6b7280;cursor:pointer;transition:all .2s;display:flex;align-items:center;justify-content:center;gap:6px}.tab-button:hover{color:#667eea;background:#667eea0d}.tab-button.active{color:#667eea;border-bottom-color:#667eea;background:#fff}.sequence-details-modal .modal-body{padding:32px;overflow-y:auto;flex:1}.tab-content{animation:fadeIn .2s ease-in}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.overview-section{margin-bottom:32px}.overview-section h3{font-size:16px;font-weight:600;color:#1f2937;margin:0 0 16px}.info-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}.info-item label{display:block;font-size:12px;font-weight:600;color:#6b7280;text-transform:uppercase;letter-spacing:.5px;margin-bottom:6px}.info-item p{margin:0;color:#1f2937;font-size:14px}.stats-section h3{font-size:16px;font-weight:600;color:#1f2937;margin:0 0 16px}.sequence-details-modal .stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.sequence-details-modal .stat-card{background:#f9fafb;border:2px solid #e5e7eb;border-radius:12px;padding:20px;text-align:center;transition:all .2s}.sequence-details-modal .stat-card:hover{border-color:#667eea;transform:translateY(-2px);box-shadow:0 4px 12px #667eea26}.sequence-details-modal .stat-card.stat-active{border-color:#10b981}.sequence-details-modal .stat-card.stat-paused{border-color:#f59e0b}.sequence-details-modal .stat-card.stat-completed{border-color:#3b82f6}.sequence-details-modal .stat-value{font-size:32px;font-weight:700;color:#1f2937;margin-bottom:6px}.sequence-details-modal .stat-label{font-size:12px;font-weight:500;color:#6b7280;text-transform:uppercase;letter-spacing:.5px}.enrollments-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.filter-group{display:flex;align-items:center;gap:8px;color:#6b7280}.filter-select{padding:8px 12px;border:1px solid #d1d5db;border-radius:6px;font-size:14px;color:#374151;background:#fff;cursor:pointer;transition:all .2s}.add-enrollment-button{display:flex;align-items:center;gap:8px;padding:10px 20px;background:linear-gradient(135deg,#14b8a6,#0d9488);color:#fff;border:none;border-radius:8px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s}.add-enrollment-button:hover{transform:translateY(-1px);box-shadow:0 4px 12px #14b8a64d}.loading-state,.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:60px 20px;color:#9ca3af}.empty-state svg{margin-bottom:16px;color:#d1d5db}.empty-state p{margin:0;font-size:16px;color:#6b7280}.enrollments-table-wrapper{overflow-x:auto;border:1px solid #e5e7eb;border-radius:12px}.enrollments-table{width:100%;border-collapse:collapse;background:#fff}.enrollments-table thead{background:#f9fafb;border-bottom:2px solid #e5e7eb}.enrollments-table th{padding:12px 16px;text-align:left;font-size:12px;font-weight:600;color:#6b7280;text-transform:uppercase;letter-spacing:.5px}.enrollments-table tbody tr{border-bottom:1px solid #f3f4f6;transition:background .15s}.enrollments-table tbody tr:hover{background:#f9fafb}.enrollments-table td{padding:14px 16px;font-size:14px;color:#374151}.enrollment-actions{display:flex;gap:6px}.action-button{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:6px;border:1px solid;cursor:pointer;transition:all .2s}.pause-button{border-color:#fbbf24;color:#f59e0b;background:#fff}.pause-button:hover{background:#fef3c7;border-color:#f59e0b}.resume-button{border-color:#34d399;color:#10b981;background:#fff}.resume-button:hover{background:#d1fae5;border-color:#10b981}.unenroll-button{border-color:#fca5a5;color:#dc2626;background:#fff}.unenroll-button:hover{background:#fee2e2;border-color:#dc2626}.steps-timeline{max-width:800px}.timeline-step{display:grid;grid-template-columns:60px 1fr;gap:20px;margin-bottom:24px}.timeline-step:last-child{margin-bottom:0}.timeline-marker{display:flex;flex-direction:column;align-items:center}.marker-number{width:40px;height:40px;border-radius:50%;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:16px;flex-shrink:0}.marker-line{width:2px;flex:1;background:#e5e7eb;margin-top:8px}.timeline-content{padding-bottom:8px}.step-delay-info{margin-bottom:12px}.delay-badge{display:inline-flex;align-items:center;gap:4px;padding:4px 10px;background:#f3f4f6;border:1px solid #d1d5db;border-radius:6px;font-size:12px;font-weight:500;color:#6b7280}.step-email-preview{background:#fff;border:1px solid #e5e7eb;border-radius:10px;padding:16px}.email-subject{display:flex;align-items:flex-start;gap:8px;margin-bottom:10px;color:#1f2937}.email-subject svg{color:#667eea;flex-shrink:0;margin-top:2px}.email-subject strong{font-size:14px;font-weight:600}.email-body{font-size:13px;color:#6b7280;line-height:1.6;white-space:pre-wrap;padding-left:22px}.triggers-actions{margin-top:24px;padding-top:24px;border-top:1px solid #e5e7eb;display:flex;justify-content:flex-end}.save-triggers-button{background:#667eea;color:#fff;border:none;padding:12px 24px;border-radius:8px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s}.save-triggers-button:hover:not(:disabled){background:#5568d3;transform:translateY(-1px);box-shadow:0 4px 12px #667eea66}.save-triggers-button:disabled{opacity:.6;cursor:not-allowed}.analytics-section h3{font-size:16px;font-weight:600;color:#1f2937;margin:0 0 20px}.metrics-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.metric-card{background:linear-gradient(135deg,#667eea,#764ba2);border-radius:12px;padding:24px;color:#fff;text-align:center}.metric-label{font-size:12px;font-weight:500;opacity:.9;margin-bottom:8px;text-transform:uppercase;letter-spacing:.5px}.metric-value{font-size:36px;font-weight:700}@media (max-width: 1024px){.sequence-details-modal{max-width:95%}.sequence-details-modal .stats-grid,.sequence-details-modal .metrics-grid{grid-template-columns:repeat(2,1fr)}.sequence-details-modal .info-grid{grid-template-columns:1fr}}@media (max-width: 768px){.sequence-details-modal .modal-body{padding:20px}.sequence-details-modal .modal-tabs{overflow-x:auto}.sequence-details-modal .tab-button{flex:none;min-width:120px;font-size:12px;padding:12px 16px}.sequence-details-modal .stats-grid,.sequence-details-modal .metrics-grid{grid-template-columns:1fr}.enrollments-table-wrapper{font-size:12px}.enrollments-table th,.enrollments-table td{padding:10px 12px}.timeline-step{grid-template-columns:50px 1fr;gap:12px}}.view-campaign-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;padding:20px}.view-campaign-modal-container{background:#fff;border-radius:12px;width:100%;max-width:900px;max-height:90vh;overflow-y:auto;overflow-x:hidden;box-shadow:0 10px 40px #00000026}.view-campaign-modal-container *{box-sizing:border-box}.view-campaign-modal-header{display:flex;justify-content:space-between;align-items:center;padding:24px 32px;border-bottom:1px solid #e5e7eb;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border-radius:12px 12px 0 0}.view-campaign-modal-header h2{margin:0;font-size:24px;font-weight:600}.view-campaign-modal-header .close-btn{background:#fff3;border:none;color:#fff;width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background .2s ease}.view-campaign-modal-header .close-btn:hover{background:#ffffff4d}.view-campaign-modal-header .close-btn i{width:20px;height:20px}.view-campaign-modal-content{padding:32px}.view-campaign-modal-content h3{margin:0 0 16px;font-size:18px;font-weight:600;color:#1f2937}.campaign-status-section{margin-bottom:24px}.status-badge{display:inline-block;padding:6px 16px;border-radius:20px;font-size:14px;font-weight:500}.status-badge.status-draft{background:#f3f4f6;color:#6b7280}.status-badge.status-active{background:#d1fae5;color:#065f46}.status-badge.status-paused{background:#fed7aa;color:#92400e}.status-badge.status-completed{background:#dbeafe;color:#1e40af}.campaign-info-section{margin-bottom:24px;padding:20px;background:#f9fafb;border-radius:8px}.info-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.info-item label{display:block;font-size:12px;font-weight:600;color:#6b7280;text-transform:uppercase;letter-spacing:.5px;margin-bottom:4px}.info-item p{margin:0;font-size:14px;color:#1f2937}.campaign-message-section{margin-bottom:24px;padding:20px;border:1px solid #e5e7eb;border-radius:8px}.message-field{margin-bottom:16px}.message-field:last-child{margin-bottom:0}.message-field label{display:block;font-size:12px;font-weight:600;color:#6b7280;text-transform:uppercase;letter-spacing:.5px;margin-bottom:8px}.message-field p{margin:0;font-size:14px;color:#1f2937}.message-content{padding:12px;background:#f9fafb;border-radius:6px;font-size:14px;line-height:1.6;color:#374151;white-space:pre-wrap;word-wrap:break-word}.message-content iframe{padding:0;background:#fff;display:block}.campaign-triggers-section{margin-bottom:24px;padding:20px;background:#f0f9ff;border-radius:8px}.triggers-list{display:flex;flex-direction:column;gap:12px}.trigger-item{display:flex;align-items:center;gap:8px;font-size:14px;color:#374151}.trigger-item i{width:20px;height:20px;color:#10b981}.trigger-item i[data-lucide=circle]{color:#d1d5db}.campaign-metrics-section{margin-bottom:24px}.metrics-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:16px}.metric-card{padding:20px;background:#fff;border:1px solid #e2e8f0;border-radius:12px;text-align:center;transition:all .2s ease}.metric-card:hover{transform:translateY(-2px);box-shadow:0 4px 12px #00000014}.metric-value{font-size:28px;font-weight:700;margin-bottom:4px;color:#1f2937}.metric-label{font-size:12px;text-transform:uppercase;letter-spacing:.5px;margin-bottom:4px;color:#6b7280}.metric-percentage{font-size:14px;font-weight:600;color:#1f2937}.campaign-timestamps-section{margin-bottom:0}.timestamps-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px}.timestamp-item label{display:block;font-size:12px;font-weight:600;color:#6b7280;text-transform:uppercase;letter-spacing:.5px;margin-bottom:4px}.timestamp-item p{margin:0;font-size:14px;color:#1f2937}.view-campaign-modal-footer{display:flex;justify-content:flex-end;padding:20px 32px;border-top:1px solid #e5e7eb;background:#f9fafb;border-radius:0 0 12px 12px}.view-campaign-modal-footer .btn-secondary{padding:10px 24px;background:#6b7280;color:#fff;border:none;border-radius:6px;font-size:14px;font-weight:500;cursor:pointer;transition:background .2s ease}.view-campaign-modal-footer .btn-secondary:hover{background:#4b5563}@media (max-width: 768px){.view-campaign-modal-overlay{padding:10px}.view-campaign-modal-header{padding:16px 20px}.view-campaign-modal-header h2{font-size:20px}.view-campaign-modal-content{padding:20px}.info-grid{grid-template-columns:1fr}.metrics-grid{grid-template-columns:repeat(2,1fr)}.timestamps-grid{grid-template-columns:1fr}}.scrape-modal{background:#fff;border-radius:16px;width:100%;max-width:600px;max-height:90vh;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 20px 60px #0000004d;animation:modalSlideIn .3s ease-out}@keyframes modalSlideIn{0%{opacity:0;transform:translateY(-30px)}to{opacity:1;transform:translateY(0)}}.scrape-modal .modal-header{background:linear-gradient(135deg,#667eea,#764ba2);padding:24px 32px;display:flex;justify-content:space-between;align-items:center;border-radius:16px 16px 0 0}.scrape-modal .header-content{display:flex;align-items:center;gap:12px}.scrape-modal .header-icon{color:#fff;width:28px;height:28px}.scrape-modal .modal-header h2{color:#fff;font-size:24px;font-weight:600;margin:0}.scrape-modal .close-button{background:#ffffff1a;border:none;color:#fff;width:36px;height:36px;border-radius:8px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s}.scrape-modal .close-button:hover{background:#fff3}.scrape-modal .modal-body{padding:32px;overflow-y:auto;flex:1}.scrape-modal .form-group{margin-bottom:24px}.scrape-modal .form-group label{display:block;font-weight:500;margin-bottom:8px;color:#1f2937;font-size:14px}.scrape-modal .url-input-wrapper{position:relative;display:flex;align-items:center}.scrape-modal .form-input{width:100%;padding:12px 40px 12px 14px;border:2px solid #d1d5db;border-radius:8px;font-size:14px;transition:all .2s;box-sizing:border-box}.scrape-modal .form-input:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.scrape-modal .form-input.valid{border-color:#10b981}.scrape-modal .form-input.invalid{border-color:#ef4444}.scrape-modal .valid-icon{position:absolute;right:12px;color:#10b981;pointer-events:none}.scrape-modal .help-text{margin-top:8px;font-size:13px;color:#6b7280;line-height:1.5}.scrape-modal .info-section{background:#f9fafb;padding:20px;border-radius:8px;margin-bottom:20px}.scrape-modal .info-section h3{font-size:15px;font-weight:600;color:#1f2937;margin:0 0 12px}.scrape-modal .scrape-list{margin:0;padding-left:20px;list-style:disc}.scrape-modal .scrape-list li{color:#4b5563;font-size:14px;line-height:1.8}.scrape-modal .example-section{padding-top:16px}.scrape-modal .example-section h4{font-size:14px;font-weight:500;color:#6b7280;margin:0 0 10px}.scrape-modal .example-urls{display:flex;gap:8px;flex-wrap:wrap}.scrape-modal .example-url-button{padding:6px 12px;background:#f3f4f6;border:1px solid #d1d5db;border-radius:6px;font-size:13px;color:#4b5563;cursor:pointer;transition:all .2s}.scrape-modal .example-url-button:hover{background:#e5e7eb;border-color:#9ca3af;color:#1f2937}.scrape-modal .example-url-button:active{transform:scale(.95)}.scrape-modal .modal-footer{padding:20px 32px;border-top:1px solid #e5e7eb;display:flex;justify-content:flex-end;gap:12px}.scrape-modal .cancel-button{padding:10px 24px;background:#fff;border:1px solid #d1d5db;border-radius:8px;font-size:14px;font-weight:500;color:#374151;cursor:pointer;transition:all .2s}.scrape-modal .cancel-button:hover:not(:disabled){background:#f9fafb;border-color:#9ca3af}.scrape-modal .cancel-button:disabled{opacity:.5;cursor:not-allowed}.scrape-modal .scrape-button{padding:10px 24px;background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:8px;font-size:14px;font-weight:500;color:#fff;cursor:pointer;transition:all .2s}.scrape-modal .scrape-button:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 4px 12px #667eea4d}.scrape-modal .scrape-button:disabled{opacity:.5;cursor:not-allowed}@media (max-width: 768px){.scrape-modal{max-width:95%}.scrape-modal .modal-body{padding:20px}.scrape-modal .modal-footer{padding:16px 20px}.scrape-modal .example-urls{flex-direction:column}.scrape-modal .example-url-button{width:100%}}.lead-search-form{padding:20px;display:flex;flex-direction:column;gap:16px}.lead-search-form__field{display:flex;flex-direction:column;gap:6px;position:relative}.lead-search-form__label{font-size:12px;font-weight:600;color:#6b7280;text-transform:uppercase;letter-spacing:.05em}.lead-search-form__radius-value{color:#14b8a6;font-weight:700}.lead-search-form__input-wrapper{position:relative;display:flex;align-items:center}.lead-search-form__input-icon{position:absolute;left:12px;color:#9ca3af;pointer-events:none}.lead-search-form__input{width:100%;padding:10px 12px 10px 38px;border:1px solid #E5E7EB;border-radius:8px;font-size:14px;color:#111827;background:#fff;transition:border-color .2s,box-shadow .2s}.lead-search-form__input:focus{outline:none;border-color:#14b8a6;box-shadow:0 0 0 3px #14b8a61a}.lead-search-form__input::placeholder{color:#9ca3af}.lead-search-form__input-valid{position:absolute;right:12px;color:#10b981}.lead-search-form__suggestions{position:absolute;top:100%;left:0;right:0;margin-top:4px;background:#fff;border:1px solid #E5E7EB;border-radius:8px;box-shadow:0 4px 12px #0000001a;z-index:50;max-height:240px;overflow-y:auto}.lead-search-form__suggestion{width:100%;padding:10px 14px;border:none;background:none;text-align:left;font-size:14px;color:#374151;cursor:pointer;transition:background .15s}.lead-search-form__suggestion:hover{background:#f3f4f6}.lead-search-form__suggestion:first-child{border-radius:8px 8px 0 0}.lead-search-form__suggestion:last-child{border-radius:0 0 8px 8px}.lead-search-form__row{display:flex;gap:12px}.lead-search-form__field--location{flex:1}.lead-search-form__field--radius{flex-shrink:0}.lead-search-form__radius-buttons{display:flex;gap:4px}.lead-search-form__radius-btn{width:40px;height:38px;display:flex;align-items:center;justify-content:center;border:1px solid #E5E7EB;border-radius:6px;background:#f9fafb;color:#6b7280;font-size:13px;font-weight:500;cursor:pointer;transition:all .2s}.lead-search-form__radius-btn:hover{background:#f3f4f6;border-color:#d1d5db}.lead-search-form__radius-btn--active{background:#fff;border-color:#14b8a6;color:#14b8a6;font-weight:600}.lead-search-form__submit{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;padding:12px 16px;border:none;border-radius:8px;background:#14b8a6;color:#fff;font-size:14px;font-weight:600;cursor:pointer;transition:background .2s}.lead-search-form__submit:hover:not(:disabled){background:#0d9488}.lead-search-form__submit:disabled{background:#9ca3af;cursor:not-allowed}.lead-search-form__spinner{width:16px;height:16px;border:2px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:spin .8s linear infinite}@media (max-width: 480px){.lead-search-form__row{flex-direction:column}.lead-search-form__radius-buttons{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}.lead-search-form__radius-btn{width:100%}}.lead-filters{border-top:1px solid #E5E7EB}.lead-filters--disabled{opacity:.6;pointer-events:none}.lead-filters__header{display:flex;justify-content:space-between;align-items:center;width:100%;padding:12px 20px;border:none;background:none;cursor:pointer;transition:background .2s}.lead-filters__header:hover:not(:disabled){background:#f9fafb}.lead-filters__header-left{display:flex;align-items:center;gap:8px}.lead-filters__chevron{color:#6b7280;transition:transform .2s}.lead-filters__chevron--open{transform:rotate(180deg)}.lead-filters__title{font-size:14px;font-weight:500;color:#374151}.lead-filters__count{display:flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 6px;background:#14b8a6;color:#fff;font-size:11px;font-weight:600;border-radius:10px}.lead-filters__toggle-icon{color:#9ca3af}.lead-filters__content{padding:0 20px 16px}.lead-filters__section{margin-bottom:16px}.lead-filters__rating-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.lead-filters__rating-label{font-size:13px;color:#6b7280}.lead-filters__rating-value{font-size:13px;font-weight:600;color:#111827}.lead-filters__slider{width:100%;height:6px;border-radius:3px;background:linear-gradient(to right,#14B8A6 0%,#14B8A6 var(--value, 40%),#E5E7EB var(--value, 40%),#E5E7EB 100%);-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer}.lead-filters__slider::-webkit-slider-thumb{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:18px;height:18px;border-radius:50%;background:#fff;border:2px solid #14B8A6;box-shadow:0 1px 3px #0000001a;cursor:pointer}.lead-filters__slider::-moz-range-thumb{width:18px;height:18px;border-radius:50%;background:#fff;border:2px solid #14B8A6;box-shadow:0 1px 3px #0000001a;cursor:pointer}.lead-filters__slider-labels{display:flex;justify-content:space-between;margin-top:6px;font-size:11px;color:#9ca3af}.lead-filters__checkboxes{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.lead-filters__checkbox{display:flex;align-items:center;gap:8px;cursor:pointer}.lead-filters__checkbox input{position:absolute;opacity:0;width:0;height:0}.lead-filters__checkbox-box{display:flex;align-items:center;justify-content:center;width:18px;height:18px;border:2px solid #D1D5DB;border-radius:4px;background:#fff;transition:all .2s}.lead-filters__checkbox input:checked+.lead-filters__checkbox-box{background:#14b8a6;border-color:#14b8a6;color:#fff}.lead-filters__checkbox:hover .lead-filters__checkbox-box{border-color:#14b8a6}.lead-filters__checkbox-label{font-size:13px;color:#374151}@media (max-width: 400px){.lead-filters__checkboxes{grid-template-columns:1fr}}.lead-result-card{background:#fff;border:1px solid #E5E7EB;border-radius:12px;padding:16px;cursor:pointer;transition:all .2s ease;position:relative}.lead-result-card:hover{border-color:#d1d5db;box-shadow:0 2px 8px #0000000d}.lead-result-card--selected{border-color:#14b8a6;border-left-width:4px;background:#f0fdfa}.lead-result-card--saved{opacity:.85}.lead-result-card__header{display:flex;align-items:flex-start;gap:12px;margin-bottom:12px}.lead-result-card__icon{width:40px;height:40px;display:flex;align-items:center;justify-content:center;background:#f3f4f6;border-radius:10px;font-size:20px;flex-shrink:0}.lead-result-card__info{flex:1;min-width:0}.lead-result-card__name{font-size:15px;font-weight:600;color:#111827;margin:0 0 4px;line-height:1.3;word-wrap:break-word}.lead-result-card__address{font-size:13px;color:#6b7280;margin:0;line-height:1.4}.lead-result-card__rating{display:flex;align-items:center;gap:4px;font-size:14px;font-weight:600;flex-shrink:0}.lead-result-card__rating svg{flex-shrink:0}.lead-result-card__opportunity{display:flex;align-items:flex-start;gap:10px;padding:10px 12px;background:linear-gradient(135deg,#fef3c7,#fde68a);border-radius:8px;margin-bottom:12px}.lead-result-card__opportunity-icon{font-size:16px;flex-shrink:0;line-height:1}.lead-result-card__opportunity-content{flex:1;min-width:0}.lead-result-card__opportunity-title{display:block;font-size:10px;font-weight:700;color:#92400e;text-transform:uppercase;letter-spacing:.05em;margin-bottom:2px}.lead-result-card__opportunity-text{font-size:12px;color:#78350f;margin:0;line-height:1.4}.lead-result-card__stats{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:14px}.lead-result-card__stat{display:flex;align-items:center;gap:5px;font-size:12px;color:#6b7280}.lead-result-card__stat svg{flex-shrink:0;color:#9ca3af}.lead-result-card__actions{display:flex;gap:8px}.lead-result-card__btn{flex:1;display:flex;align-items:center;justify-content:center;gap:6px;padding:9px 14px;border-radius:8px;font-size:13px;font-weight:500;cursor:pointer;transition:all .2s}.lead-result-card__btn--secondary{background:#fff;border:1px solid #E5E7EB;color:#374151}.lead-result-card__btn--secondary:hover{background:#f9fafb;border-color:#d1d5db}.lead-result-card__btn--primary{background:#14b8a6;border:1px solid #14B8A6;color:#fff}.lead-result-card__btn--primary:hover:not(:disabled){background:#0d9488;border-color:#0d9488}.lead-result-card__btn--primary:disabled{background:#9ca3af;border-color:#9ca3af;cursor:not-allowed}.lead-result-card__btn--saved{background:#10b981;border-color:#10b981}.lead-result-card__save-wrapper{position:relative;flex:1}.lead-result-card__dropdown{position:absolute;top:calc(100% + 4px);left:0;right:0;background:#fff;border:1px solid #E5E7EB;border-radius:8px;box-shadow:0 4px 12px #00000026;z-index:20;overflow:hidden}.lead-result-card__dropdown-item{width:100%;padding:10px 14px;border:none;background:none;text-align:left;font-size:13px;color:#374151;cursor:pointer;transition:background .15s}.lead-result-card__dropdown-item:hover{background:#f3f4f6}.lead-result-card__dropdown-item:first-child{border-radius:7px 7px 0 0}.lead-result-card__dropdown-item:last-child{border-radius:0 0 7px 7px}.lead-result-card__dropdown-item:only-child{border-radius:7px}.lead-result-card__saved-badge{position:absolute;top:12px;right:12px;display:flex;align-items:center;gap:4px;padding:4px 8px;background:#10b981;color:#fff;font-size:11px;font-weight:600;border-radius:4px}.lead-result-card__saved-badge svg{flex-shrink:0}@media (max-width: 400px){.lead-result-card{padding:14px}.lead-result-card__header{gap:10px}.lead-result-card__icon{width:36px;height:36px;font-size:18px}.lead-result-card__name{font-size:14px}.lead-result-card__actions{flex-direction:column}.lead-result-card__btn{padding:10px 14px}}.leaflet-pane,.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-tile-container,.leaflet-pane>svg,.leaflet-pane>canvas,.leaflet-zoom-box,.leaflet-image-layer,.leaflet-layer{position:absolute;left:0;top:0}.leaflet-container{overflow:hidden}.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow{-webkit-user-select:none;user-select:none;-webkit-user-drag:none}.leaflet-tile::selection{background:transparent}.leaflet-safari .leaflet-tile{image-rendering:-webkit-optimize-contrast}.leaflet-safari .leaflet-tile-container{width:1600px;height:1600px;-webkit-transform-origin:0 0}.leaflet-marker-icon,.leaflet-marker-shadow{display:block}.leaflet-container .leaflet-overlay-pane svg{max-width:none!important;max-height:none!important}.leaflet-container .leaflet-marker-pane img,.leaflet-container .leaflet-shadow-pane img,.leaflet-container .leaflet-tile-pane img,.leaflet-container img.leaflet-image-layer,.leaflet-container .leaflet-tile{max-width:none!important;max-height:none!important;width:auto;padding:0}.leaflet-container img.leaflet-tile{mix-blend-mode:plus-lighter}.leaflet-container.leaflet-touch-zoom{touch-action:pan-x pan-y}.leaflet-container.leaflet-touch-drag{touch-action:none;touch-action:pinch-zoom}.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom{touch-action:none}.leaflet-container{-webkit-tap-highlight-color:transparent}.leaflet-container a{-webkit-tap-highlight-color:rgba(51,181,229,.4)}.leaflet-tile{filter:inherit;visibility:hidden}.leaflet-tile-loaded{visibility:inherit}.leaflet-zoom-box{width:0;height:0;box-sizing:border-box;z-index:800}.leaflet-overlay-pane svg{-moz-user-select:none}.leaflet-pane{z-index:400}.leaflet-tile-pane{z-index:200}.leaflet-overlay-pane{z-index:400}.leaflet-shadow-pane{z-index:500}.leaflet-marker-pane{z-index:600}.leaflet-tooltip-pane{z-index:650}.leaflet-popup-pane{z-index:700}.leaflet-map-pane canvas{z-index:100}.leaflet-map-pane svg{z-index:200}.leaflet-vml-shape{width:1px;height:1px}.lvml{behavior:url(#default#VML);display:inline-block;position:absolute}.leaflet-control{position:relative;z-index:800;pointer-events:visiblePainted;pointer-events:auto}.leaflet-top,.leaflet-bottom{position:absolute;z-index:1000;pointer-events:none}.leaflet-top{top:0}.leaflet-right{right:0}.leaflet-bottom{bottom:0}.leaflet-left{left:0}.leaflet-control{float:left;clear:both}.leaflet-right .leaflet-control{float:right}.leaflet-top .leaflet-control{margin-top:10px}.leaflet-bottom .leaflet-control{margin-bottom:10px}.leaflet-left .leaflet-control{margin-left:10px}.leaflet-right .leaflet-control{margin-right:10px}.leaflet-fade-anim .leaflet-popup{opacity:0;transition:opacity .2s linear}.leaflet-fade-anim .leaflet-map-pane .leaflet-popup{opacity:1}.leaflet-zoom-animated{transform-origin:0 0}svg.leaflet-zoom-animated{will-change:transform}.leaflet-zoom-anim .leaflet-zoom-animated{transition:transform .25s cubic-bezier(0,0,.25,1)}.leaflet-zoom-anim .leaflet-tile,.leaflet-pan-anim .leaflet-tile{transition:none}.leaflet-zoom-anim .leaflet-zoom-hide{visibility:hidden}.leaflet-interactive{cursor:pointer}.leaflet-grab{cursor:grab}.leaflet-crosshair,.leaflet-crosshair .leaflet-interactive{cursor:crosshair}.leaflet-popup-pane,.leaflet-control{cursor:auto}.leaflet-dragging .leaflet-grab,.leaflet-dragging .leaflet-grab .leaflet-interactive,.leaflet-dragging .leaflet-marker-draggable{cursor:move;cursor:grabbing}.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-image-layer,.leaflet-pane>svg path,.leaflet-tile-container{pointer-events:none}.leaflet-marker-icon.leaflet-interactive,.leaflet-image-layer.leaflet-interactive,.leaflet-pane>svg path.leaflet-interactive,svg.leaflet-image-layer.leaflet-interactive path{pointer-events:visiblePainted;pointer-events:auto}.leaflet-container{background:#ddd;outline-offset:1px}.leaflet-container a{color:#0078a8}.leaflet-zoom-box{border:2px dotted #38f;background:#ffffff80}.leaflet-container{font-family:Helvetica Neue,Arial,Helvetica,sans-serif;font-size:12px;font-size:.75rem;line-height:1.5}.leaflet-bar{box-shadow:0 1px 5px #000000a6;border-radius:4px}.leaflet-bar a{background-color:#fff;border-bottom:1px solid #ccc;width:26px;height:26px;line-height:26px;display:block;text-align:center;text-decoration:none;color:#000}.leaflet-bar a,.leaflet-control-layers-toggle{background-position:50% 50%;background-repeat:no-repeat;display:block}.leaflet-bar a:hover,.leaflet-bar a:focus{background-color:#f4f4f4}.leaflet-bar a:first-child{border-top-left-radius:4px;border-top-right-radius:4px}.leaflet-bar a:last-child{border-bottom-left-radius:4px;border-bottom-right-radius:4px;border-bottom:none}.leaflet-bar a.leaflet-disabled{cursor:default;background-color:#f4f4f4;color:#bbb}.leaflet-touch .leaflet-bar a{width:30px;height:30px;line-height:30px}.leaflet-touch .leaflet-bar a:first-child{border-top-left-radius:2px;border-top-right-radius:2px}.leaflet-touch .leaflet-bar a:last-child{border-bottom-left-radius:2px;border-bottom-right-radius:2px}.leaflet-control-zoom-in,.leaflet-control-zoom-out{font:700 18px Lucida Console,Monaco,monospace;text-indent:1px}.leaflet-touch .leaflet-control-zoom-in,.leaflet-touch .leaflet-control-zoom-out{font-size:22px}.leaflet-control-layers{box-shadow:0 1px 5px #0006;background:#fff;border-radius:5px}.leaflet-control-layers-toggle{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAQAAAADQ4RFAAACf0lEQVR4AY1UM3gkARTePdvdoTxXKc+qTl3aU5U6b2Kbkz3Gtq3Zw6ziLGNPzrYx7946Tr6/ee/XeCQ4D3ykPtL5tHno4n0d/h3+xfuWHGLX81cn7r0iTNzjr7LrlxCqPtkbTQEHeqOrTy4Yyt3VCi/IOB0v7rVC7q45Q3Gr5K6jt+3Gl5nCoDD4MtO+j96Wu8atmhGqcNGHObuf8OM/x3AMx38+4Z2sPqzCxRFK2aF2e5Jol56XTLyggAMTL56XOMoS1W4pOyjUcGGQdZxU6qRh7B9Zp+PfpOFlqt0zyDZckPi1ttmIp03jX8gyJ8a/PG2yutpS/Vol7peZIbZcKBAEEheEIAgFbDkz5H6Zrkm2hVWGiXKiF4Ycw0RWKdtC16Q7qe3X4iOMxruonzegJzWaXFrU9utOSsLUmrc0YjeWYjCW4PDMADElpJSSQ0vQvA1Tm6/JlKnqFs1EGyZiFCqnRZTEJJJiKRYzVYzJck2Rm6P4iH+cmSY0YzimYa8l0EtTODFWhcMIMVqdsI2uiTvKmTisIDHJ3od5GILVhBCarCfVRmo4uTjkhrhzkiBV7SsaqS+TzrzM1qpGGUFt28pIySQHR6h7F6KSwGWm97ay+Z+ZqMcEjEWebE7wxCSQwpkhJqoZA5ivCdZDjJepuJ9IQjGGUmuXJdBFUygxVqVsxFsLMbDe8ZbDYVCGKxs+W080max1hFCarCfV+C1KATwcnvE9gRRuMP2prdbWGowm1KB1y+zwMMENkM755cJ2yPDtqhTI6ED1M/82yIDtC/4j4BijjeObflpO9I9MwXTCsSX8jWAFeHr05WoLTJ5G8IQVS/7vwR6ohirYM7f6HzYpogfS3R2OAAAAAElFTkSuQmCC);width:36px;height:36px}.leaflet-retina .leaflet-control-layers-toggle{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAQAAABvcdNgAAAEsklEQVR4AWL4TydIhpZK1kpWOlg0w3ZXP6D2soBtG42jeI6ZmQTHzAxiTbSJsYLjO9HhP+WOmcuhciVnmHVQcJnp7DFvScowZorad/+V/fVzMdMT2g9Cv9guXGv/7pYOrXh2U+RRR3dSd9JRx6bIFc/ekqHI29JC6pJ5ZEh1yWkhkbcFeSjxgx3L2m1cb1C7bceyxA+CNjT/Ifff+/kDk2u/w/33/IeCMOSaWZ4glosqT3DNnNZQ7Cs58/3Ce5HL78iZH/vKVIaYlqzfdLu8Vi7dnvUbEza5Idt36tquZFldl6N5Z/POLof0XLK61mZCmJSWjVF9tEjUluu74IUXvgttuVIHE7YxSkaYhJZam7yiM9Pv82JYfl9nptxZaxMJE4YSPty+vF0+Y2up9d3wwijfjZbabqm/3bZ9ecKHsiGmRflnn1MW4pjHf9oLufyn2z3y1D6n8g8TZhxyzipLNPnAUpsOiuWimg52psrTZYnOWYNDTMuWBWa0tJb4rgq1UvmutpaYEbZlwU3CLJm/ayYjHW5/h7xWLn9Hh1vepDkyf7dE7MtT5LR4e7yYpHrkhOUpEfssBLq2pPhAqoSWKUkk7EDqkmK6RrCEzqDjhNDWNE+XSMvkJRDWlZTmCW0l0PHQGRZY5t1L83kT0Y3l2SItk5JAWHl2dCOBm+fPu3fo5/3v61RMCO9Jx2EEYYhb0rmNQMX/vm7gqOEJLcXTGw3CAuRNeyaPWwjR8PRqKQ1PDA/dpv+on9Shox52WFnx0KY8onHayrJzm87i5h9xGw/tfkev0jGsQizqezUKjk12hBMKJ4kbCqGPVNXudyyrShovGw5CgxsRICxF6aRmSjlBnHRzg7Gx8fKqEubI2rahQYdR1YgDIRQO7JvQyD52hoIQx0mxa0ODtW2Iozn1le2iIRdzwWewedyZzewidueOGqlsn1MvcnQpuVwLGG3/IR1hIKxCjelIDZ8ldqWz25jWAsnldEnK0Zxro19TGVb2ffIZEsIO89EIEDvKMPrzmBOQcKQ+rroye6NgRRxqR4U8EAkz0CL6uSGOm6KQCdWjvjRiSP1BPalCRS5iQYiEIvxuBMJEWgzSoHADcVMuN7IuqqTeyUPq22qFimFtxDyBBJEwNyt6TM88blFHao/6tWWhuuOM4SAK4EI4QmFHA+SEyWlp4EQoJ13cYGzMu7yszEIBOm2rVmHUNqwAIQabISNMRstmdhNWcFLsSm+0tjJH1MdRxO5Nx0WDMhCtgD6OKgZeljJqJKc9po8juskR9XN0Y1lZ3mWjLR9JCO1jRDMd0fpYC2VnvjBSEFg7wBENc0R9HFlb0xvF1+TBEpF68d+DHR6IOWVv2BECtxo46hOFUBd/APU57WIoEwJhIi2CdpyZX0m93BZicktMj1AS9dClteUFAUNUIEygRZCtik5zSxI9MubTBH1GOiHsiLJ3OCoSZkILa9PxiN0EbvhsAo8tdAf9Seepd36lGWHmtNANTv5Jd0z4QYyeo/UEJqxKRpg5LZx6btLPsOaEmdMyxYdlc8LMaJnikDlhclqmPiQnTEpLUIZEwkRagjYkEibQErwhkTAKCLQEbUgkzJQWc/0PstHHcfEdQ+UAAAAASUVORK5CYII=);background-size:26px 26px}.leaflet-touch .leaflet-control-layers-toggle{width:44px;height:44px}.leaflet-control-layers .leaflet-control-layers-list,.leaflet-control-layers-expanded .leaflet-control-layers-toggle{display:none}.leaflet-control-layers-expanded .leaflet-control-layers-list{display:block;position:relative}.leaflet-control-layers-expanded{padding:6px 10px 6px 6px;color:#333;background:#fff}.leaflet-control-layers-scrollbar{overflow-y:scroll;overflow-x:hidden;padding-right:5px}.leaflet-control-layers-selector{margin-top:2px;position:relative;top:1px}.leaflet-control-layers label{display:block;font-size:13px;font-size:1.08333em}.leaflet-control-layers-separator{height:0;border-top:1px solid #ddd;margin:5px -10px 5px -6px}.leaflet-default-icon-path{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAApCAYAAADAk4LOAAAFgUlEQVR4Aa1XA5BjWRTN2oW17d3YaZtr2962HUzbDNpjszW24mRt28p47v7zq/bXZtrp/lWnXr337j3nPCe85NcypgSFdugCpW5YoDAMRaIMqRi6aKq5E3YqDQO3qAwjVWrD8Ncq/RBpykd8oZUb/kaJutow8r1aP9II0WmLKLIsJyv1w/kqw9Ch2MYdB++12Onxee/QMwvf4/Dk/Lfp/i4nxTXtOoQ4pW5Aj7wpici1A9erdAN2OH64x8OSP9j3Ft3b7aWkTg/Fm91siTra0f9on5sQr9INejH6CUUUpavjFNq1B+Oadhxmnfa8RfEmN8VNAsQhPqF55xHkMzz3jSmChWU6f7/XZKNH+9+hBLOHYozuKQPxyMPUKkrX/K0uWnfFaJGS1QPRtZsOPtr3NsW0uyh6NNCOkU3Yz+bXbT3I8G3xE5EXLXtCXbbqwCO9zPQYPRTZ5vIDXD7U+w7rFDEoUUf7ibHIR4y6bLVPXrz8JVZEql13trxwue/uDivd3fkWRbS6/IA2bID4uk0UpF1N8qLlbBlXs4Ee7HLTfV1j54APvODnSfOWBqtKVvjgLKzF5YdEk5ewRkGlK0i33Eofffc7HT56jD7/6U+qH3Cx7SBLNntH5YIPvODnyfIXZYRVDPqgHtLs5ABHD3YzLuespb7t79FY34DjMwrVrcTuwlT55YMPvOBnRrJ4VXTdNnYug5ucHLBjEpt30701A3Ts+HEa73u6dT3FNWwflY86eMHPk+Yu+i6pzUpRrW7SNDg5JHR4KapmM5Wv2E8Tfcb1HoqqHMHU+uWDD7zg54mz5/2BSnizi9T1Dg4QQXLToGNCkb6tb1NU+QAlGr1++eADrzhn/u8Q2YZhQVlZ5+CAOtqfbhmaUCS1ezNFVm2imDbPmPng5wmz+gwh+oHDce0eUtQ6OGDIyR0uUhUsoO3vfDmmgOezH0mZN59x7MBi++WDL1g/eEiU3avlidO671bkLfwbw5XV2P8Pzo0ydy4t2/0eu33xYSOMOD8hTf4CrBtGMSoXfPLchX+J0ruSePw3LZeK0juPJbYzrhkH0io7B3k164hiGvawhOKMLkrQLyVpZg8rHFW7E2uHOL888IBPlNZ1FPzstSJM694fWr6RwpvcJK60+0HCILTBzZLFNdtAzJaohze60T8qBzyh5ZuOg5e7uwQppofEmf2++DYvmySqGBuKaicF1blQjhuHdvCIMvp8whTTfZzI7RldpwtSzL+F1+wkdZ2TBOW2gIF88PBTzD/gpeREAMEbxnJcaJHNHrpzji0gQCS6hdkEeYt9DF/2qPcEC8RM28Hwmr3sdNyht00byAut2k3gufWNtgtOEOFGUwcXWNDbdNbpgBGxEvKkOQsxivJx33iow0Vw5S6SVTrpVq11ysA2Rp7gTfPfktc6zhtXBBC+adRLshf6sG2RfHPZ5EAc4sVZ83yCN00Fk/4kggu40ZTvIEm5g24qtU4KjBrx/BTTH8ifVASAG7gKrnWxJDcU7x8X6Ecczhm3o6YicvsLXWfh3Ch1W0k8x0nXF+0fFxgt4phz8QvypiwCCFKMqXCnqXExjq10beH+UUA7+nG6mdG/Pu0f3LgFcGrl2s0kNNjpmoJ9o4B29CMO8dMT4Q5ox8uitF6fqsrJOr8qnwNbRzv6hSnG5wP+64C7h9lp30hKNtKdWjtdkbuPA19nJ7Tz3zR/ibgARbhb4AlhavcBebmTHcFl2fvYEnW0ox9xMxKBS8btJ+KiEbq9zA4RthQXDhPa0T9TEe69gWupwc6uBUphquXgf+/FrIjweHQS4/pduMe5ERUMHUd9xv8ZR98CxkS4F2n3EUrUZ10EYNw7BWm9x1GiPssi3GgiGRDKWRYZfXlON+dfNbM+GgIwYdwAAAAASUVORK5CYII=)}.leaflet-container .leaflet-control-attribution{background:#fff;background:#fffc;margin:0}.leaflet-control-attribution,.leaflet-control-scale-line{padding:0 5px;color:#333;line-height:1.4}.leaflet-control-attribution a{text-decoration:none}.leaflet-control-attribution a:hover,.leaflet-control-attribution a:focus{text-decoration:underline}.leaflet-attribution-flag{display:inline!important;vertical-align:baseline!important;width:1em;height:.6669em}.leaflet-left .leaflet-control-scale{margin-left:5px}.leaflet-bottom .leaflet-control-scale{margin-bottom:5px}.leaflet-control-scale-line{border:2px solid #777;border-top:none;line-height:1.1;padding:2px 5px 1px;white-space:nowrap;box-sizing:border-box;background:#fffc;text-shadow:1px 1px #fff}.leaflet-control-scale-line:not(:first-child){border-top:2px solid #777;border-bottom:none;margin-top:-2px}.leaflet-control-scale-line:not(:first-child):not(:last-child){border-bottom:2px solid #777}.leaflet-touch .leaflet-control-attribution,.leaflet-touch .leaflet-control-layers,.leaflet-touch .leaflet-bar{box-shadow:none}.leaflet-touch .leaflet-control-layers,.leaflet-touch .leaflet-bar{border:2px solid rgba(0,0,0,.2);background-clip:padding-box}.leaflet-popup{position:absolute;text-align:center;margin-bottom:20px}.leaflet-popup-content-wrapper{padding:1px;text-align:left;border-radius:12px}.leaflet-popup-content{margin:13px 24px 13px 20px;line-height:1.3;font-size:13px;font-size:1.08333em;min-height:1px}.leaflet-popup-content p{margin:1.3em 0}.leaflet-popup-tip-container{width:40px;height:20px;position:absolute;left:50%;margin-top:-1px;margin-left:-20px;overflow:hidden;pointer-events:none}.leaflet-popup-tip{width:17px;height:17px;padding:1px;margin:-10px auto 0;pointer-events:auto;transform:rotate(45deg)}.leaflet-popup-content-wrapper,.leaflet-popup-tip{background:#fff;color:#333;box-shadow:0 3px 14px #0006}.leaflet-container a.leaflet-popup-close-button{position:absolute;top:0;right:0;border:none;text-align:center;width:24px;height:24px;font:16px/24px Tahoma,Verdana,sans-serif;color:#757575;text-decoration:none;background:transparent}.leaflet-container a.leaflet-popup-close-button:hover,.leaflet-container a.leaflet-popup-close-button:focus{color:#585858}.leaflet-popup-scrolled{overflow:auto}.leaflet-oldie .leaflet-popup-content-wrapper{-ms-zoom:1}.leaflet-oldie .leaflet-popup-tip{width:24px;margin:0 auto;-ms-filter:"progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";filter:progid:DXImageTransform.Microsoft.Matrix(M11=.70710678,M12=.70710678,M21=-.70710678,M22=.70710678)}.leaflet-oldie .leaflet-control-zoom,.leaflet-oldie .leaflet-control-layers,.leaflet-oldie .leaflet-popup-content-wrapper,.leaflet-oldie .leaflet-popup-tip{border:1px solid #999}.leaflet-div-icon{background:#fff;border:1px solid #666}.leaflet-tooltip{position:absolute;padding:6px;background-color:#fff;border:1px solid #fff;border-radius:3px;color:#222;white-space:nowrap;-webkit-user-select:none;user-select:none;pointer-events:none;box-shadow:0 1px 3px #0006}.leaflet-tooltip.leaflet-interactive{cursor:pointer;pointer-events:auto}.leaflet-tooltip-top:before,.leaflet-tooltip-bottom:before,.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{position:absolute;pointer-events:none;border:6px solid transparent;background:transparent;content:""}.leaflet-tooltip-bottom{margin-top:6px}.leaflet-tooltip-top{margin-top:-6px}.leaflet-tooltip-bottom:before,.leaflet-tooltip-top:before{left:50%;margin-left:-6px}.leaflet-tooltip-top:before{bottom:0;margin-bottom:-12px;border-top-color:#fff}.leaflet-tooltip-bottom:before{top:0;margin-top:-12px;margin-left:-6px;border-bottom-color:#fff}.leaflet-tooltip-left{margin-left:-6px}.leaflet-tooltip-right{margin-left:6px}.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{top:50%;margin-top:-6px}.leaflet-tooltip-left:before{right:0;margin-right:-12px;border-left-color:#fff}.leaflet-tooltip-right:before{left:0;margin-left:-12px;border-right-color:#fff}@media print{.leaflet-control{-webkit-print-color-adjust:exact;print-color-adjust:exact}}.lead-map{position:relative;width:100%;height:100%;background:#f3f4f6}.lead-map__container{width:100%;height:100%;z-index:1}.lead-map__empty{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);text-align:center;padding:40px;max-width:320px}.lead-map__empty-icon{display:flex;align-items:center;justify-content:center;width:80px;height:80px;margin:0 auto 20px;background:#fff;border-radius:50%;color:#9ca3af;box-shadow:0 2px 8px #0000000f}.lead-map__empty-title{font-size:18px;font-weight:600;color:#374151;margin:0 0 8px}.lead-map__empty-text{font-size:14px;color:#6b7280;margin:0;line-height:1.5}.lead-map-marker{background:transparent!important;border:none!important}.lead-map-marker__pin{position:relative;display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50% 50% 50% 0;transform:rotate(-45deg);box-shadow:0 2px 6px #0000004d;transition:all .2s ease}.lead-map-marker__pin svg{transform:rotate(45deg)}.lead-map-marker__pin--selected{width:36px;height:36px;box-shadow:0 4px 12px #14b8a666}.lead-map-marker__badge{position:absolute;top:-4px;right:-4px;width:16px;height:16px;display:flex;align-items:center;justify-content:center;background:#fff;color:#10b981;font-size:10px;font-weight:700;border-radius:50%;transform:rotate(45deg);box-shadow:0 1px 3px #0003}.lead-map__popup .leaflet-popup-content-wrapper{border-radius:12px;padding:0;box-shadow:0 4px 20px #00000026}.lead-map__popup .leaflet-popup-content{margin:0;min-width:240px;max-width:280px}.lead-map__popup .leaflet-popup-tip{background:#fff}.lead-map__popup-content{padding:16px}.lead-map__popup-name{font-size:15px;font-weight:600;color:#111827;margin:0 0 4px;line-height:1.3}.lead-map__popup-address{font-size:12px;color:#6b7280;margin:0 0 10px;line-height:1.4}.lead-map__popup-rating{display:flex;align-items:center;gap:4px;font-size:13px;font-weight:600;margin-bottom:10px}.lead-map__popup-reviews{font-weight:400;color:#6b7280;margin-left:4px}.lead-map__popup-opportunity{display:flex;align-items:flex-start;gap:6px;padding:8px 10px;background:#fef3c7;border-radius:6px;font-size:11px;color:#92400e;margin-bottom:12px;line-height:1.4}.lead-map__popup-actions{display:flex;gap:8px;margin-bottom:12px}.lead-map__popup-link{display:flex;align-items:center;gap:4px;padding:6px 10px;background:#f3f4f6;border-radius:6px;color:#374151;font-size:12px;text-decoration:none;transition:background .2s}.lead-map__popup-link:hover{background:#e5e7eb}.lead-map__popup-link--streetview{background:#eff6ff;color:#1d4ed8}.lead-map__popup-link--streetview:hover{background:#dbeafe}.lead-map__popup-save-wrapper{position:relative}.lead-map__popup-save{width:100%;padding:10px 14px;background:#14b8a6;border:none;border-radius:8px;color:#fff;font-size:13px;font-weight:500;cursor:pointer;transition:background .2s;display:flex;align-items:center;justify-content:center;gap:6px}.lead-map__popup-save:hover{background:#0d9488}.lead-map__popup-dropdown{position:absolute;top:100%;left:0;right:0;background:#fff;border:1px solid #E5E7EB;border-radius:8px;box-shadow:0 4px 12px #00000026;margin-top:4px;overflow:hidden;z-index:10}.lead-map__popup-dropdown-item{width:100%;padding:10px 12px;background:none;border:none;text-align:left;font-size:13px;color:#374151;cursor:pointer;transition:background .15s}.lead-map__popup-dropdown-item:hover{background:#f3f4f6}.lead-map__popup-dropdown-item:first-child{border-bottom:1px solid #E5E7EB;font-weight:500;color:#14b8a6}.lead-map__popup-saved{display:flex;align-items:center;justify-content:center;gap:6px;padding:10px 14px;background:#d1fae5;border-radius:8px;color:#065f46;font-size:13px;font-weight:500}.lead-map__count{position:absolute;top:16px;right:16px;display:flex;align-items:center;gap:6px;padding:8px 14px;background:#fff;border-radius:20px;box-shadow:0 2px 8px #0000001a;z-index:1000}.lead-map__count-number{font-size:15px;font-weight:700;color:#14b8a6}.lead-map__count-label{font-size:13px;color:#6b7280}.lead-map .leaflet-control-zoom{border:none;box-shadow:0 2px 8px #0000001a}.lead-map .leaflet-control-zoom a{width:32px;height:32px;line-height:32px;color:#374151;border:none}.lead-map .leaflet-control-zoom a:hover{background:#f3f4f6}.lead-map .leaflet-control-zoom-in{border-radius:8px 8px 0 0}.lead-map .leaflet-control-zoom-out{border-radius:0 0 8px 8px}.lead-map .leaflet-control-attribution{font-size:10px;background:#fffc;padding:2px 8px}.lead-map__loading{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;gap:12px;color:#6b7280;font-size:14px}.lead-map__loading-spinner{width:32px;height:32px;border:3px solid #E5E7EB;border-top-color:#14b8a6;border-radius:50%;animation:lead-map-spin .8s linear infinite}@keyframes lead-map-spin{to{transform:rotate(360deg)}}.marker-cluster-wrapper{background:transparent!important;border:none!important}.marker-cluster{display:flex;align-items:center;justify-content:center;background:#14b8a6;border-radius:50%;color:#fff;font-weight:600;box-shadow:0 3px 10px #14b8a666;border:3px solid white;transition:all .2s ease}.marker-cluster:hover{transform:scale(1.1)}.marker-cluster--small{width:32px;height:32px;font-size:12px}.marker-cluster--medium{width:40px;height:40px;font-size:14px;background:#0d9488}.marker-cluster--large{width:48px;height:48px;font-size:16px;background:#047857}.leaflet-cluster-anim .leaflet-marker-icon,.leaflet-cluster-anim .leaflet-marker-shadow{transition:transform .3s ease-out,opacity .3s ease-in}@media (max-width: 768px){.lead-map__count{top:12px;right:12px;padding:6px 12px}.lead-map__count-number{font-size:14px}.lead-map__count-label{font-size:12px}.lead-map__popup .leaflet-popup-content{min-width:220px;max-width:260px}.lead-map__popup-content{padding:14px}}.lead-settings-modal__overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;padding:20px}.lead-settings-modal{background:#fff;border-radius:12px;width:100%;max-width:500px;max-height:90vh;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a}.lead-settings-modal__header{display:flex;align-items:center;justify-content:space-between;padding:20px 24px;border-bottom:1px solid #E5E7EB}.lead-settings-modal__title{display:flex;align-items:center;gap:10px;margin:0;font-size:18px;font-weight:600;color:#111827}.lead-settings-modal__title svg{color:#6b7280}.lead-settings-modal__close{background:transparent;border:none;cursor:pointer;padding:8px;border-radius:8px;color:#6b7280;transition:all .2s}.lead-settings-modal__close:hover{background:#f3f4f6;color:#111827}.lead-settings-modal__content{padding:24px;overflow-y:auto;flex:1}.lead-settings-modal__description{margin:0 0 24px;font-size:14px;color:#6b7280;line-height:1.5}.lead-settings-modal__section{margin-bottom:24px}.lead-settings-modal__section:last-child{margin-bottom:0}.lead-settings-modal__section-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.lead-settings-modal__section-title{margin:0 0 8px;font-size:13px;font-weight:600;color:#374151;text-transform:uppercase;letter-spacing:.5px}.lead-settings-modal__section-header .lead-settings-modal__section-title{margin-bottom:0}.lead-settings-modal__count{font-size:12px;color:#059669;background:#d1fae5;padding:2px 8px;border-radius:10px;font-weight:500}.lead-settings-modal__section-hint{margin:0 0 12px;font-size:13px;color:#9ca3af;line-height:1.4}.lead-settings-modal__fields{display:flex;flex-direction:column;gap:4px}.lead-settings-modal__field{display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:8px;cursor:pointer;transition:background .15s;position:relative}.lead-settings-modal__field:hover{background:#f9fafb}.lead-settings-modal__field--disabled{cursor:not-allowed;opacity:.7}.lead-settings-modal__field--disabled:hover{background:transparent}.lead-settings-modal__field input[type=checkbox]{position:absolute;opacity:0;width:0;height:0}.lead-settings-modal__checkbox{width:18px;height:18px;border:2px solid #D1D5DB;border-radius:4px;display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:all .15s}.lead-settings-modal__field input[type=checkbox]:checked+.lead-settings-modal__checkbox{background:#059669;border-color:#059669}.lead-settings-modal__field input[type=checkbox]:checked+.lead-settings-modal__checkbox:after{content:"";width:5px;height:9px;border:solid white;border-width:0 2px 2px 0;transform:rotate(45deg);margin-bottom:2px}.lead-settings-modal__field input[type=checkbox]:disabled+.lead-settings-modal__checkbox{background:#e5e7eb;border-color:#d1d5db}.lead-settings-modal__field input[type=checkbox]:disabled:checked+.lead-settings-modal__checkbox{background:#9ca3af;border-color:#9ca3af}.lead-settings-modal__label{font-size:14px;color:#111827;font-weight:500;flex-shrink:0}.lead-settings-modal__hint{font-size:12px;color:#9ca3af;margin-left:auto}.lead-settings-modal__required{font-size:11px;color:#6b7280;background:#f3f4f6;padding:2px 6px;border-radius:4px;margin-left:auto}.lead-settings-modal__footer{display:flex;justify-content:flex-end;gap:12px;padding:16px 24px;border-top:1px solid #E5E7EB;background:#f9fafb}.lead-settings-modal__btn{padding:10px 20px;border-radius:8px;font-size:14px;font-weight:500;cursor:pointer;transition:all .15s}.lead-settings-modal__btn--secondary{background:#fff;border:1px solid #D1D5DB;color:#374151}.lead-settings-modal__btn--secondary:hover{background:#f9fafb;border-color:#9ca3af}.lead-settings-modal__btn--primary{background:#059669;border:1px solid #059669;color:#fff}.lead-settings-modal__btn--primary:hover{background:#047857;border-color:#047857}.lead-settings-modal__scrape-options{margin-top:16px;padding-top:16px;border-top:1px solid #E5E7EB}.lead-settings-modal__subsection-title{margin:0 0 12px;font-size:12px;font-weight:600;color:#6b7280;text-transform:uppercase;letter-spacing:.5px}.lead-settings-modal__radio-group{display:flex;flex-direction:column;gap:8px}.lead-settings-modal__radio{display:flex;align-items:flex-start;gap:12px;padding:12px;border-radius:8px;cursor:pointer;transition:background .15s;border:1px solid transparent}.lead-settings-modal__radio:hover{background:#f9fafb}.lead-settings-modal__radio:has(input:checked){background:#ecfdf5;border-color:#059669}.lead-settings-modal__radio input[type=radio]{margin-top:2px;width:16px;height:16px;accent-color:#059669;cursor:pointer;flex-shrink:0}.lead-settings-modal__radio-content{display:flex;flex-direction:column;gap:2px}.lead-settings-modal__radio-label{font-size:14px;font-weight:500;color:#111827}.lead-settings-modal__radio-hint{font-size:12px;color:#6b7280;line-height:1.4}@media (max-width: 540px){.lead-settings-modal{max-height:100vh;border-radius:0}.lead-settings-modal__overlay{padding:0}.lead-settings-modal__content{padding:16px}.lead-settings-modal__field{padding:12px 8px}.lead-settings-modal__hint{display:none}}.lead-generator-page{display:flex;flex-direction:column;height:100vh;background:#f9fafb;overflow:hidden}.lead-generator-header{position:relative;padding:24px 32px;background:#fff;border-bottom:1px solid #E5E7EB}.lead-generator-header__title-row{display:flex;align-items:center;gap:12px;margin-bottom:4px}.lead-generator-header__title{margin:0;font-size:24px;font-weight:600;color:#111827}.lead-generator-header__badge{padding:4px 10px;background:#d1fae5;color:#059669;font-size:12px;font-weight:600;border-radius:9999px;text-transform:uppercase;letter-spacing:.05em}.lead-generator-header__subtitle{margin:0;font-size:14px;color:#6b7280}.lead-generator-header__settings-btn{position:absolute;top:24px;right:32px;background:transparent;border:none;cursor:pointer;padding:8px;border-radius:8px;color:#6b7280;transition:all .2s;display:flex;align-items:center;justify-content:center}.lead-generator-header__settings-btn:hover{background:#f3f4f6;color:#374151}.lead-generator-header__settings-btn svg{width:20px;height:20px}.lead-generator-content{display:flex;flex:1;overflow:hidden}.lead-generator-left-panel{width:450px;min-width:380px;display:flex;flex-direction:column;background:#fff;border-right:1px solid #E5E7EB;overflow:hidden}.lead-generator-right-panel{flex:1;position:relative;min-width:0}.lead-generator-results{flex:1;display:flex;flex-direction:column;overflow:hidden;border-top:1px solid #E5E7EB}.lead-generator-results__header{display:flex;justify-content:space-between;align-items:center;padding:12px 20px;background:#f9fafb;border-bottom:1px solid #E5E7EB}.lead-generator-results__label{font-size:12px;font-weight:600;color:#6b7280;text-transform:uppercase;letter-spacing:.05em}.lead-generator-results__save-all{padding:0;border:none;background:none;color:#14b8a6;font-size:14px;font-weight:500;cursor:pointer;transition:color .2s}.lead-generator-results__save-all:hover{color:#0d9488}.lead-generator-results__list{flex:1;overflow-y:auto;padding:12px}.lead-generator-results__loading{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:48px 24px;text-align:center}.lead-generator-results__loading p{margin:16px 0 0;color:#6b7280;font-size:14px}.lead-generator-spinner{width:40px;height:40px;border:3px solid #E5E7EB;border-top-color:#14b8a6;border-radius:50%;animation:spin .8s linear infinite}.lead-generator-results__empty{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:48px 24px;text-align:center}.lead-generator-results__empty-icon{font-size:48px;margin-bottom:16px}.lead-generator-results__empty h3{margin:0 0 8px;font-size:16px;font-weight:600;color:#111827}.lead-generator-results__empty p{margin:0;font-size:14px;color:#6b7280;max-width:280px}.lead-generator-results__error{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:48px 24px;text-align:center}.lead-generator-results__error p{margin:0 0 16px;color:#dc2626;font-size:14px}.lead-generator-results__error button{padding:8px 16px;border:none;border-radius:8px;background:#14b8a6;color:#fff;font-size:14px;font-weight:500;cursor:pointer;transition:background .2s}.lead-generator-results__error button:hover{background:#0d9488}@media (max-width: 1200px){.lead-generator-left-panel{width:380px;min-width:320px}}@media (max-width: 900px){.lead-generator-content{flex-direction:column}.lead-generator-left-panel{width:100%;min-width:100%;max-height:50vh}.lead-generator-right-panel{flex:1;min-height:300px}}@media (max-width: 768px){.lead-generator-header{padding:16px 20px}.lead-generator-header__title{font-size:20px}.lead-generator-left-panel{max-height:60vh}}.bulk-save-modal__overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;padding:20px}.bulk-save-modal{background:#fff;border-radius:12px;width:100%;max-width:420px;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a}.bulk-save-modal__header{display:flex;align-items:center;justify-content:space-between;padding:20px 24px;border-bottom:1px solid #E5E7EB}.bulk-save-modal__title{display:flex;align-items:center;gap:10px;margin:0;font-size:18px;font-weight:600;color:#111827}.bulk-save-modal__title svg{color:#14b8a6}.bulk-save-modal__close{background:transparent;border:none;cursor:pointer;padding:8px;border-radius:8px;color:#6b7280;transition:all .2s}.bulk-save-modal__close:hover{background:#f3f4f6;color:#111827}.bulk-save-modal__content{padding:24px}.bulk-save-modal__count{display:flex;align-items:baseline;gap:8px;margin-bottom:24px;padding:16px;background:#f0fdf4;border-radius:8px;border:1px solid #BBF7D0}.bulk-save-modal__count-number{font-size:32px;font-weight:700;color:#059669}.bulk-save-modal__count-label{font-size:14px;color:#047857}.bulk-save-modal__section{margin-bottom:20px}.bulk-save-modal__label{display:block;margin-bottom:8px;font-size:14px;font-weight:500;color:#374151}.bulk-save-modal__select{width:100%;padding:10px 12px;border:1px solid #D1D5DB;border-radius:8px;font-size:14px;color:#111827;background:#fff;cursor:pointer;transition:border-color .2s}.bulk-save-modal__select:hover{border-color:#9ca3af}.bulk-save-modal__select:focus{outline:none;border-color:#14b8a6;box-shadow:0 0 0 3px #14b8a61a}.bulk-save-modal__select:disabled{background:#f3f4f6;cursor:not-allowed}.bulk-save-modal__enrichment-notice{display:flex;gap:10px;padding:12px 14px;background:#eff6ff;border:1px solid #BFDBFE;border-radius:8px;font-size:13px;color:#1e40af;line-height:1.5}.bulk-save-modal__enrichment-notice svg{flex-shrink:0;margin-top:2px;color:#3b82f6}.bulk-save-modal__progress{display:flex;align-items:center;justify-content:center;gap:12px;padding:16px;margin-top:16px;background:#f9fafb;border-radius:8px;font-size:14px;color:#6b7280}.bulk-save-modal__spinner{width:20px;height:20px;border:2px solid #E5E7EB;border-top-color:#14b8a6;border-radius:50%;animation:spin .8s linear infinite}.bulk-save-modal__footer{display:flex;justify-content:flex-end;gap:12px;padding:16px 24px;border-top:1px solid #E5E7EB;background:#f9fafb}.bulk-save-modal__btn{padding:10px 20px;border-radius:8px;font-size:14px;font-weight:500;cursor:pointer;transition:all .15s}.bulk-save-modal__btn:disabled{opacity:.6;cursor:not-allowed}.bulk-save-modal__btn--secondary{background:#fff;border:1px solid #D1D5DB;color:#374151}.bulk-save-modal__btn--secondary:hover:not(:disabled){background:#f9fafb;border-color:#9ca3af}.bulk-save-modal__btn--primary{background:#14b8a6;border:1px solid #14B8A6;color:#fff}.bulk-save-modal__btn--primary:hover:not(:disabled){background:#0d9488;border-color:#0d9488}@media (max-width: 480px){.bulk-save-modal{max-width:100%;border-radius:0}.bulk-save-modal__overlay{padding:0;align-items:flex-end}.bulk-save-modal__content{padding:20px}}.enrichment-indicator{position:absolute;top:16px;right:70px;display:flex;align-items:center;gap:10px;padding:10px 14px;background:linear-gradient(135deg,#eff6ff,#dbeafe);border:1px solid #93C5FD;border-radius:10px;box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f;animation:slideIn .3s ease-out}@keyframes slideIn{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.enrichment-indicator__icon{display:flex;align-items:center;justify-content:center;width:28px;height:28px;background:#3b82f6;border-radius:6px;color:#fff}.enrichment-indicator__content{display:flex;flex-direction:column;align-items:flex-start;gap:2px}.enrichment-indicator__meta{display:flex;align-items:center;gap:6px;font-size:12px;color:#1d4ed8;white-space:nowrap}.enrichment-indicator__count{font-size:18px;font-weight:700;color:#1e40af}.enrichment-indicator__label{font-size:13px;color:#1e40af}.enrichment-indicator__spinner{width:16px;height:16px;border:2px solid #BFDBFE;border-top-color:#3b82f6;border-radius:50%;animation:spin .8s linear infinite;margin-left:4px}.enrichment-indicator__close{background:transparent;border:none;cursor:pointer;padding:4px;border-radius:4px;color:#6b7280;transition:all .2s;display:flex;align-items:center;justify-content:center;margin-left:4px}.enrichment-indicator__close:hover{background:#0000001a;color:#374151}@media (max-width: 768px){.enrichment-indicator{position:fixed;top:auto;bottom:20px;right:20px;left:20px;z-index:100}}.forms-page{min-height:calc(100vh - 80px);background:#f9fafb;padding:2rem}.forms-header{margin-bottom:2rem}.forms-header h1{font-size:2rem;font-weight:700;color:#111827;margin-bottom:.5rem}.forms-header p{font-size:1rem;color:#6b7280;margin:0}.forms-tabs{display:flex;gap:.5rem;margin-bottom:2rem;border-bottom:2px solid #e5e7eb;padding-bottom:0;overflow-x:auto}.forms-tab{display:flex;align-items:center;gap:.5rem;padding:.75rem 1.5rem;background:transparent;border:none;border-bottom:3px solid transparent;color:#6b7280;font-size:.938rem;font-weight:500;cursor:pointer;transition:all .2s ease;white-space:nowrap;position:relative;bottom:-2px}.forms-tab:hover{color:#2563eb;background:linear-gradient(to bottom,rgba(37,99,235,.05),transparent)}.forms-tab.active{color:#2563eb;border-bottom-color:#2563eb;background:linear-gradient(to bottom,rgba(37,99,235,.08),transparent)}.forms-tab-icon{width:1.25rem;height:1.25rem}.forms-content{background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000001a;min-height:500px;overflow:hidden}.forms-tab-content{padding:2rem}.forms-placeholder{text-align:center;padding:4rem 2rem;color:#9ca3af}.forms-placeholder h2{font-size:1.5rem;font-weight:600;color:#4b5563;margin-bottom:.5rem}.forms-placeholder p{font-size:1rem;color:#9ca3af;margin:0}@media (max-width: 768px){.forms-page{padding:1rem}.forms-header h1{font-size:1.5rem}.forms-tab{padding:.625rem 1rem;font-size:.875rem}.forms-tab-icon{width:1rem;height:1rem}.forms-tab-content{padding:1.5rem}.forms-placeholder{padding:3rem 1rem}.forms-placeholder h2{font-size:1.25rem}}@media (max-width: 480px){.forms-page{padding:.75rem}.forms-header{margin-bottom:1.5rem}.forms-header h1{font-size:1.25rem}.forms-header p{font-size:.875rem}.forms-tabs{gap:.25rem;margin-bottom:1.5rem}.forms-tab{padding:.5rem .75rem;font-size:.813rem;gap:.375rem}.forms-content{min-height:400px}.forms-tab-content{padding:1rem}.forms-placeholder{padding:2rem .75rem}.forms-placeholder h2{font-size:1.125rem}.forms-placeholder p{font-size:.875rem}}.forms-ai-terminal{padding:2rem;max-width:1200px;margin:0 auto}.forms-ai-header{margin-bottom:2rem;text-align:center}.forms-ai-title{font-size:1.875rem;font-weight:700;color:#111827;margin-bottom:.5rem}.forms-ai-subtitle{font-size:1rem;color:#6b7280;margin:0}.forms-ai-examples{background:linear-gradient(135deg,#2563eb0d,#06b6d40d);border:1px solid rgba(37,99,235,.2);border-radius:12px;padding:1.5rem;margin-bottom:2rem}.forms-ai-examples-header{display:flex;align-items:center;gap:.5rem;font-size:1rem;font-weight:600;color:#2563eb;margin-bottom:1rem}.forms-ai-examples-icon{width:1.25rem;height:1.25rem;stroke:currentColor}.forms-ai-examples-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:.75rem}.forms-ai-example-item{background:#fff;padding:1rem 1.25rem;border-radius:8px;border:1px solid #e5e7eb;cursor:pointer;transition:all .2s ease;font-size:.938rem;color:#374151}.forms-ai-example-item:hover{border-color:#2563eb;background:linear-gradient(135deg,#2563eb14,#06b6d414);color:#2563eb;transform:translate(4px)}.forms-ai-input-section{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:1.5rem;margin-bottom:2rem}.forms-ai-input-label{display:block;font-size:.938rem;font-weight:600;color:#374151;margin-bottom:.75rem}.forms-ai-textarea{width:100%;padding:1rem;border:2px solid #e5e7eb;border-radius:8px;font-size:.938rem;font-family:inherit;resize:vertical;min-height:120px;transition:all .2s ease;margin-bottom:1rem}.forms-ai-textarea:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1a}.forms-ai-textarea:disabled{background-color:#f9fafb;cursor:not-allowed;opacity:.6}.forms-ai-textarea::placeholder{color:#9ca3af}.forms-ai-generate-btn{display:inline-flex;align-items:center;gap:.5rem;padding:.75rem 1.5rem;background:linear-gradient(135deg,#2563eb,#06b6d4);color:#fff;border:none;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .2s ease}.forms-ai-generate-btn:hover:not(:disabled){background:linear-gradient(135deg,#1d4ed8,#0891b2);transform:translateY(-1px);box-shadow:0 4px 12px #2563eb4d}.forms-ai-generate-btn:disabled{background:#9ca3af;cursor:not-allowed;transform:none}.forms-ai-btn-icon{width:1.25rem;height:1.25rem}.forms-ai-spinner{width:1.25rem;height:1.25rem;animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.forms-ai-spinner-circle{opacity:.25}.forms-ai-spinner-path{opacity:.75}.forms-ai-preview-section{background:#fff;border:2px dashed #e5e7eb;border-radius:12px;min-height:400px}.forms-ai-preview-section:has(.forms-ai-preview-content){border:1px solid #e5e7eb;border-style:solid;display:block}.forms-ai-preview-section:has(.forms-ai-preview-placeholder){display:flex;align-items:center;justify-content:center}.forms-ai-preview-header{display:flex;justify-content:space-between;align-items:center;padding:1.5rem 2rem;border-bottom:1px solid #e5e7eb;background:linear-gradient(135deg,#2563eb08,#06b6d408)}.forms-ai-preview-section-title{font-size:1.25rem;font-weight:700;color:#111827;margin:0}.forms-ai-preview-actions{display:flex;gap:.75rem}.forms-ai-action-btn{display:inline-flex;align-items:center;gap:.5rem;padding:.625rem 1rem;border:1px solid #e5e7eb;border-radius:8px;font-size:.875rem;font-weight:600;cursor:pointer;transition:all .2s ease;background:#fff;color:#374151}.forms-ai-action-icon{width:1rem;height:1rem;stroke:currentColor}.forms-ai-action-btn:hover{border-color:#2563eb;background:linear-gradient(135deg,#2563eb0d,#06b6d40d);color:#2563eb;transform:translateY(-1px)}.forms-ai-action-save{background:linear-gradient(135deg,#10b981,#059669);color:#fff;border-color:#10b981}.forms-ai-action-save:hover{background:linear-gradient(135deg,#059669,#047857);border-color:#059669;color:#fff}.forms-ai-action-edit{background:linear-gradient(135deg,#f59e0b,#d97706);color:#fff;border-color:#f59e0b}.forms-ai-action-edit:hover{background:linear-gradient(135deg,#d97706,#b45309);border-color:#d97706;color:#fff}.forms-ai-action-embed{background:linear-gradient(135deg,#2563eb,#06b6d4);color:#fff;border-color:#2563eb}.forms-ai-action-embed:hover{background:linear-gradient(135deg,#1d4ed8,#0891b2);border-color:#1d4ed8;color:#fff}.forms-ai-preview-content{padding:2rem;max-height:600px;overflow-y:auto}.forms-ai-preview-content .dynamic-form-container{max-width:700px;margin:0 auto}.forms-ai-preview-content .dynamic-form-container .form-header{margin-bottom:1.5rem;padding-bottom:1rem;border-bottom:2px solid #e5e7eb}.forms-ai-preview-content .dynamic-form-container .form-header h3{font-size:1.5rem;font-weight:700;color:#111827;margin:0;text-align:center}.forms-ai-preview-content .dynamic-form-container .form-section{margin-bottom:2rem;padding:1.25rem;background:#f9fafb;border-radius:8px;border:1px solid #e5e7eb}.forms-ai-preview-content .dynamic-form-container .section-title{font-size:1rem;font-weight:600;color:#2563eb;margin:0 0 1rem;padding-bottom:.5rem;border-bottom:1px solid #e5e7eb}.forms-ai-preview-content .dynamic-form-container .form-group{margin-bottom:1.25rem}.forms-ai-preview-content .dynamic-form-container .form-group:last-child{margin-bottom:0}.forms-ai-preview-content .dynamic-form-container label{display:block;font-size:.875rem;font-weight:600;color:#374151;margin-bottom:.5rem}.forms-ai-preview-content .dynamic-form-container input[type=text],.forms-ai-preview-content .dynamic-form-container input[type=email],.forms-ai-preview-content .dynamic-form-container input[type=tel],.forms-ai-preview-content .dynamic-form-container input[type=number],.forms-ai-preview-content .dynamic-form-container input[type=date],.forms-ai-preview-content .dynamic-form-container textarea{width:100%;padding:.75rem 1rem;border:1px solid #d1d5db;border-radius:6px;font-size:.938rem;font-family:inherit;transition:all .2s ease;box-sizing:border-box}.forms-ai-preview-content .dynamic-form-container input:focus,.forms-ai-preview-content .dynamic-form-container textarea:focus,.forms-ai-preview-content .dynamic-form-container select:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1a}.forms-ai-preview-content .dynamic-form-container textarea{resize:vertical;min-height:80px}.forms-ai-preview-content .dynamic-form-container select{width:100%;padding:.75rem 1rem;border:1px solid #d1d5db;border-radius:6px;font-size:.938rem;font-family:inherit;background:#fff;cursor:pointer;transition:all .2s ease}.forms-ai-preview-content .dynamic-form-container input[type=radio]{width:auto;margin-right:.5rem;cursor:pointer}.forms-ai-preview-content .dynamic-form-container input[type=radio]+label,.forms-ai-preview-content .dynamic-form-container label[for*=_yes],.forms-ai-preview-content .dynamic-form-container label[for*=_no]{display:inline;font-weight:400;margin-right:1rem;cursor:pointer}.forms-ai-preview-content .dynamic-form-container input[type=checkbox]{width:auto;margin-right:.5rem;cursor:pointer}.forms-ai-preview-content .dynamic-form-container .form-group-checkbox label{display:flex;align-items:center;cursor:pointer}.forms-ai-preview-content .dynamic-form-container .form-group-checkbox label span{font-weight:400}.forms-ai-preview-content .dynamic-form-container input[type=file]{width:100%;padding:.5rem;border:1px dashed #d1d5db;border-radius:6px;background:#f9fafb;cursor:pointer}.forms-ai-preview-content .dynamic-form-container input[type=file]:hover{border-color:#2563eb;background:#2563eb0d}.forms-ai-preview-content .dynamic-form-container .form-actions{display:flex;gap:1rem;margin-top:1.5rem;padding-top:1.5rem;border-top:1px solid #e5e7eb}.forms-ai-preview-content .dynamic-form-container button[type=submit],.forms-ai-preview-content .dynamic-form-container .btn-primary{flex:1;padding:.875rem 1.5rem;background:linear-gradient(135deg,#2563eb,#06b6d4);color:#fff;border:none;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .2s ease}.forms-ai-preview-content .dynamic-form-container button[type=submit]:hover,.forms-ai-preview-content .dynamic-form-container .btn-primary:hover{background:linear-gradient(135deg,#1d4ed8,#0891b2);transform:translateY(-1px);box-shadow:0 4px 12px #2563eb4d}.forms-ai-preview-content .dynamic-form-container .btn-secondary{padding:.875rem 1.5rem;background:#fff;color:#374151;border:1px solid #d1d5db;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .2s ease}.forms-ai-preview-content .dynamic-form-container .btn-secondary:hover{background:#f3f4f6;border-color:#9ca3af}.forms-ai-preview-placeholder{text-align:center;padding:3rem 2rem}.forms-ai-preview-icon{width:4rem;height:4rem;margin:0 auto 1.5rem;stroke:#d1d5db}.forms-ai-preview-title{font-size:1.5rem;font-weight:600;color:#4b5563;margin-bottom:.5rem}.forms-ai-preview-text{font-size:1rem;color:#9ca3af;margin:0}@media (max-width: 768px){.forms-ai-terminal{padding:1rem}.forms-ai-title{font-size:1.5rem}.forms-ai-subtitle{font-size:.875rem}.forms-ai-examples,.forms-ai-input-section{padding:1rem}.forms-ai-textarea{font-size:.875rem}.forms-ai-generate-btn{width:100%;justify-content:center}.forms-ai-preview-header{flex-direction:column;align-items:flex-start;gap:1rem}.forms-ai-preview-actions{width:100%;flex-direction:column}.forms-ai-action-btn{width:100%;justify-content:center}.forms-ai-preview-content{padding:1.5rem}.forms-ai-preview-placeholder{padding:2rem 1rem}.forms-ai-preview-title{font-size:1.25rem}}@media (max-width: 480px){.forms-ai-header{margin-bottom:1.5rem}.forms-ai-title{font-size:1.25rem}.forms-ai-examples{padding:.75rem}.forms-ai-example-item{padding:.75rem 1rem;font-size:.875rem}.forms-ai-input-section{padding:.75rem}}.field-palette{width:200px;background:#f9fafb;border-right:1px solid #e5e7eb;padding:16px;position:-webkit-sticky;position:sticky;top:0;height:100vh;overflow-y:auto}.field-palette-header{margin-bottom:16px}.field-palette-header h3{font-size:14px;font-weight:600;color:#111827;margin:0 0 4px}.field-palette-subtitle{font-size:12px;color:#6b7280;margin:0}.field-palette-list{display:flex;flex-direction:column;gap:8px}.field-palette-item{background:#fff;border:1px solid #d1d5db;border-radius:6px;padding:10px 12px;display:flex;align-items:center;gap:8px;cursor:grab;transition:all .2s ease}.field-palette-item:hover{border-color:#3b82f6;box-shadow:0 2px 4px #3b82f61a}.field-palette-item:active{cursor:grabbing;box-shadow:0 4px 6px #0000001a;transform:scale(1.02)}.field-palette-icon{font-size:18px}.field-palette-label{font-size:13px;font-weight:500;color:#374151}@media (max-width: 1024px){.field-palette{width:160px;padding:12px}}@media (max-width: 640px){.field-palette{width:100%;height:auto;position:relative;border-right:none;border-bottom:1px solid #e5e7eb}}.field-config-card{background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:16px;display:flex;gap:12px;box-shadow:0 1px 2px #0000000d;transition:all .2s ease}.field-config-card:hover{box-shadow:0 2px 4px #0000001a}.field-config-card-dragging{opacity:.5;border-color:#3b82f6}.field-config-drag-handle{width:24px;display:flex;align-items:flex-start;cursor:grab;color:#9ca3af;padding-top:8px}.field-config-drag-handle:active{cursor:grabbing}.field-config-drag-handle svg{width:20px;height:20px}.field-config-content{flex:1;display:flex;flex-direction:column;gap:12px}.field-config-row{display:flex;gap:12px;align-items:center}.field-config-input{width:100%;padding:8px 12px;border:1px solid #d1d5db;border-radius:6px;font-size:14px;transition:all .2s ease}.field-config-input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.field-config-label{font-weight:600}.field-config-delete{width:32px;height:32px;display:flex;align-items:center;justify-content:center;border:none;background:transparent;color:#ef4444;border-radius:6px;cursor:pointer;transition:all .2s ease;flex-shrink:0}.field-config-delete:hover{background:#fee2e2}.field-config-delete svg{width:18px;height:18px}.field-config-options{display:flex;gap:16px}.field-config-checkbox{display:flex;align-items:center;gap:6px;font-size:13px;color:#374151;cursor:pointer}.field-config-checkbox input[type=checkbox]{cursor:pointer}.field-config-mapping{display:flex;flex-direction:column;gap:6px}.field-config-mapping label{font-size:12px;font-weight:600;color:#6b7280;text-transform:uppercase;letter-spacing:.05em}.field-config-select{padding:8px 12px;border:1px solid #d1d5db;border-radius:6px;font-size:14px;background:#fff;cursor:pointer;transition:all .2s ease}.field-config-select:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.field-config-options-editor{display:flex;flex-direction:column;gap:8px;margin-top:4px;padding-top:12px;border-top:1px solid #e5e7eb}.field-config-options-editor>label{font-size:12px;font-weight:600;color:#6b7280;text-transform:uppercase;letter-spacing:.05em}.field-options-list{display:flex;flex-direction:column;gap:6px}.field-option-item{display:flex;gap:8px;align-items:center}.field-option-input{flex:1;padding:6px 10px;border:1px solid #d1d5db;border-radius:4px;font-size:13px;transition:all .2s ease}.field-option-input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 2px #3b82f61a}.field-option-delete{width:24px;height:24px;display:flex;align-items:center;justify-content:center;border:none;background:transparent;color:#9ca3af;border-radius:4px;cursor:pointer;transition:all .2s ease;flex-shrink:0}.field-option-delete:hover{background:#fee2e2;color:#ef4444}.field-option-add{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border:1px dashed #d1d5db;background:transparent;color:#6b7280;border-radius:4px;font-size:13px;cursor:pointer;transition:all .2s ease;width:-webkit-fit-content;width:fit-content}.field-option-add:hover{border-color:#3b82f6;color:#3b82f6;background:#3b82f60d}@media (max-width: 640px){.field-config-card{padding:12px}.field-config-options{flex-direction:column;gap:8px}}.form-canvas{min-height:500px;background:#fff;border:2px dashed #d1d5db;border-radius:8px;padding:24px;flex:1}.form-canvas-empty{display:flex;align-items:center;justify-content:center}.form-canvas-empty-state{text-align:center;color:#9ca3af}.form-canvas-icon{width:64px;height:64px;margin:0 auto 16px;color:#d1d5db}.form-canvas-empty-state h3{font-size:18px;font-weight:600;color:#6b7280;margin:0 0 8px}.form-canvas-empty-state p{font-size:14px;color:#9ca3af;margin:0}.form-canvas-fields{display:flex;flex-direction:column;gap:12px}@media (max-width: 640px){.form-canvas{padding:16px;min-height:400px}}.form-settings{background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;padding:20px;margin-top:24px}.form-settings-title{font-size:16px;font-weight:600;color:#111827;margin:0 0 16px}.form-settings-field{margin-bottom:16px}.form-settings-field:last-child{margin-bottom:0}.form-settings-label{display:block;font-size:13px;font-weight:600;color:#374151;margin-bottom:6px}.form-settings-required{color:#ef4444}.form-settings-input,.form-settings-textarea,.form-settings-select{width:100%;padding:8px 12px;border:1px solid #d1d5db;border-radius:6px;font-size:14px;font-family:inherit;transition:all .2s ease}.form-settings-input:focus,.form-settings-textarea:focus,.form-settings-select:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.form-settings-textarea{resize:vertical;min-height:60px}.form-settings-select{background:#fff;cursor:pointer}.form-settings-select:disabled{background:#f3f4f6;cursor:not-allowed}.form-settings-loading{display:block;font-size:12px;color:#6b7280;margin-top:4px;font-style:italic}.manual-builder-tab{width:100%;height:100%}.manual-builder-layout{display:flex;gap:24px;height:100%}.manual-builder-content{flex:1;display:flex;flex-direction:column;gap:24px;padding:24px;overflow-y:auto}.manual-builder-actions{display:flex;gap:12px;justify-content:flex-end;padding-top:16px;border-top:1px solid #e5e7eb}.manual-builder-btn{display:flex;align-items:center;gap:8px;padding:12px 24px;border:none;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s ease}.manual-builder-btn svg{width:18px;height:18px}.manual-builder-btn-preview{background:#6b7280;color:#fff}.manual-builder-btn-preview:hover{background:#4b5563}.manual-builder-btn-save{background:#10b981;color:#fff}.manual-builder-btn-save:hover{background:#059669}.manual-builder-btn-embed{background:#3b82f6;color:#fff}.manual-builder-btn-embed:hover{background:#2563eb}@media (max-width: 1024px){.manual-builder-layout{flex-direction:column}.manual-builder-content{padding:16px}}@media (max-width: 640px){.manual-builder-actions{flex-direction:column}.manual-builder-btn{width:100%;justify-content:center}}.forms-library-tab{padding:24px;max-width:1400px;margin:0 auto}.forms-library-header{display:flex;gap:16px;margin-bottom:24px;flex-wrap:wrap}.forms-library-search{flex:1;min-width:300px}.forms-library-search-input{width:100%;padding:12px 16px;border:1px solid #E5E7EB;border-radius:8px;font-size:14px}.forms-library-search-input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.forms-library-filters{display:flex;gap:12px}.forms-library-filter-select{padding:12px 16px;border:1px solid #E5E7EB;border-radius:8px;font-size:14px;background:#fff;cursor:pointer}.forms-library-loading{text-align:center;padding:60px 20px;color:#6b7280}.forms-library-empty{text-align:center;padding:60px 20px}.forms-library-empty-icon{width:64px;height:64px;margin:0 auto 16px;color:#d1d5db}.forms-library-empty h3{font-size:18px;font-weight:600;color:#374151;margin-bottom:8px}.forms-library-empty p{color:#6b7280;font-size:14px}.forms-library-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:24px}.forms-library-card{background:#fff;border:1px solid #E5E7EB;border-radius:12px;padding:20px;transition:all .2s}.forms-library-card:hover{box-shadow:0 4px 12px #0000001a;transform:translateY(-2px)}.forms-library-card--highlighted{animation:highlight-pulse .5s ease-out 3;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f633,0 4px 12px #3b82f626}@keyframes highlight-pulse{0%,to{box-shadow:0 0 0 3px #3b82f633,0 4px 12px #3b82f626}50%{box-shadow:0 0 0 6px #3b82f64d,0 4px 16px #3b82f640}}.forms-library-card-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:16px;gap:12px}.forms-library-card-title{font-size:16px;font-weight:600;color:#111827;margin:0;flex:1;word-break:break-word}.forms-library-entity-badge{padding:4px 12px;border-radius:12px;font-size:12px;font-weight:500;color:#fff;white-space:nowrap}.forms-library-card-body{margin-bottom:16px}.forms-library-card-meta{display:flex;flex-direction:column;gap:8px}.forms-library-meta-item{display:flex;justify-content:space-between;font-size:13px}.forms-library-meta-label{color:#6b7280}.forms-library-meta-value{color:#374151;font-weight:500}.forms-library-status{padding:2px 8px;border-radius:4px;font-size:12px;font-weight:500}.forms-library-status.active{background:#d1fae5;color:#065f46}.forms-library-status.inactive{background:#fee2e2;color:#991b1b}.forms-library-card-actions{display:flex;flex-direction:column;gap:8px}.forms-library-btn{padding:10px 16px;border:none;border-radius:8px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s;display:flex;align-items:center;justify-content:center;gap:8px}.forms-library-btn-icon{width:18px;height:18px}.forms-library-btn-primary{background:#3b82f6;color:#fff}.forms-library-btn-primary:hover{background:#2563eb}.forms-library-btn-secondary{background:#f3f4f6;color:#374151}.forms-library-btn-secondary:hover{background:#e5e7eb}.forms-library-btn-danger{background:#fef2f2;color:#dc2626}.forms-library-btn-danger:hover{background:#fee2e2}.forms-library-forwarding-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#1118278c;display:flex;align-items:center;justify-content:center;z-index:1100;padding:20px}.forms-library-forwarding-modal{width:100%;max-width:560px;background:#fff;border-radius:16px;box-shadow:0 20px 50px #0f172a40;overflow:hidden}.forms-library-forwarding-header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding:20px 24px 16px;border-bottom:1px solid #E5E7EB}.forms-library-forwarding-header h3{margin:0;font-size:18px;font-weight:700;color:#111827}.forms-library-forwarding-header p{margin:4px 0 0;font-size:13px;color:#6b7280}.forms-library-forwarding-close{border:none;background:transparent;color:#6b7280;cursor:pointer;padding:4px}.forms-library-forwarding-body{padding:20px 24px;display:grid;gap:20px}.forms-library-forwarding-toggle{display:flex;align-items:center;gap:12px;font-size:14px;font-weight:500;color:#111827}.forms-library-forwarding-toggle input{width:16px;height:16px}.forms-library-forwarding-field{display:grid;gap:8px}.forms-library-forwarding-field label{font-size:14px;font-weight:600;color:#111827}.forms-library-forwarding-textarea{width:100%;padding:12px 14px;border:1px solid #D1D5DB;border-radius:10px;font-size:14px;resize:vertical;min-height:140px}.forms-library-forwarding-textarea:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61f}.forms-library-forwarding-textarea:disabled{background:#f9fafb;color:#9ca3af}.forms-library-routing-select{width:100%;padding:12px 14px;border:1px solid #D1D5DB;border-radius:10px;font-size:14px;background:#fff}.forms-library-routing-select:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61f}.forms-library-routing-select:disabled{background:#f9fafb;color:#9ca3af}.forms-library-forwarding-help{margin:0;font-size:12px;line-height:1.5;color:#6b7280}.forms-library-routing-note{padding:12px 14px;border-radius:10px;background:#eff6ff;color:#1d4ed8;font-size:13px;line-height:1.5}.forms-library-routing-note--warning{background:#fef3c7;color:#92400e}.forms-library-forwarding-footer{display:flex;justify-content:flex-end;gap:12px;padding:16px 24px 24px}.forms-library-preview-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;padding:20px}.forms-library-preview-modal{background:none;border:none;width:100%;max-width:800px;max-height:90vh;overflow-y:auto;position:relative}.forms-library-preview-close{position:absolute;top:16px;right:16px;background:#0003;border:none;padding:8px;cursor:pointer;color:#fff;transition:all .2s;display:flex;align-items:center;justify-content:center;border-radius:6px;z-index:10}.forms-library-preview-close:hover{background:#0006}.forms-library-preview-content{width:100%}.forms-library-preview-content .dynamic-form-container{margin:0;background:none;border:none;box-shadow:none}.forms-library-preview-content form{background:#fff;padding:0;border-radius:12px;border:none;box-shadow:0 10px 30px #0003;overflow:hidden}.forms-library-preview-content .form-header{background:linear-gradient(135deg,#2563eb,#06b6d4);padding:24px 32px;margin:0}.forms-library-preview-content .form-header h3{font-size:20px;font-weight:600;margin:0;color:#fff}.forms-library-preview-content .form-group{margin-bottom:16px;padding:0 32px}.forms-library-preview-content .form-group:first-of-type{padding-top:32px}.forms-library-preview-content label{display:block;font-size:14px;font-weight:500;color:#374151;margin-bottom:6px}.forms-library-preview-content input,.forms-library-preview-content textarea,.forms-library-preview-content select{width:100%;padding:10px 12px;border:1px solid #D1D5DB;border-radius:6px;font-size:14px;background:#fff}.forms-library-preview-content input:focus,.forms-library-preview-content textarea:focus,.forms-library-preview-content select:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.forms-library-preview-content .btn-primary{background:#3b82f6;color:#fff;padding:10px 20px;border:none;border-radius:6px;font-size:14px;font-weight:500;cursor:pointer;opacity:1;transition:all .2s}.forms-library-preview-content .btn-primary:hover{background:#2563eb}.forms-library-preview-content .btn-primary:disabled{cursor:not-allowed;opacity:.6}.forms-library-preview-content .form-actions{margin-top:20px;padding:24px 32px 32px;border-top:1px solid #E5E7EB}.forms-library-preview-warning{margin-top:12px;padding:12px 32px;background:#fef3c7;border-left:4px solid #F59E0B;font-size:13px;color:#92400e;line-height:1.5}.forms-library-preview-warning strong{font-weight:600;color:#78350f}.forms-library-embed-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#0009;display:flex;align-items:center;justify-content:center;z-index:1000;padding:20px}.forms-library-embed-modal{background:#fff;border-radius:12px;width:100%;max-width:800px;max-height:90vh;overflow-y:auto;box-shadow:0 10px 30px #0000004d}.embed-modal-header{background:linear-gradient(135deg,#2563eb,#06b6d4);color:#fff;padding:24px 32px;display:flex;justify-content:space-between;align-items:center;border-radius:12px 12px 0 0}.embed-modal-header h3{margin:0;font-size:20px;font-weight:600}.embed-modal-close{background:#fff3;border:none;color:#fff;width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s;padding:0;flex-shrink:0}.embed-modal-close:hover{background:#ffffff4d;transform:scale(1.1)}.embed-modal-close svg{width:20px;height:20px}.embed-code-tabs{display:flex;gap:4px;padding:16px 32px 0;border-bottom:1px solid #e5e7eb}.embed-tab{padding:12px 20px;border:none;background:transparent;color:#6b7280;cursor:pointer;font-weight:500;border-bottom:2px solid transparent;transition:all .2s;font-size:14px}.embed-tab:hover{color:#374151}.embed-tab.active{color:#2563eb;border-bottom-color:#2563eb}.embed-code-content{padding:24px 32px 32px}.embed-code-header{display:flex;justify-content:flex-end;margin-bottom:12px}.btn-copy-embed{display:flex;align-items:center;gap:8px;padding:10px 20px;background:#111827;color:#fff;border:none;border-radius:8px;cursor:pointer;font-weight:500;font-size:14px;transition:background-color .2s}.btn-copy-embed:hover{background:#1f2937}.btn-copy-embed svg{width:20px;height:20px;flex-shrink:0}.embed-code-block{background:#1f2937;color:#e5e7eb;padding:20px;border-radius:8px;overflow-x:auto;font-family:Courier New,monospace;font-size:13px;line-height:1.6;margin:0}.embed-code-block code{white-space:pre;display:block}.embed-instructions-compact{margin-top:24px;padding:16px;background:#fef3c7;border-left:4px solid #f59e0b;border-radius:4px}.embed-instructions-compact h4{margin:0 0 12px;color:#92400e;font-size:14px;font-weight:600}.embed-instructions-compact ul{margin:0;padding-left:20px;color:#78350f}.embed-instructions-compact li{margin-bottom:8px;font-size:13px}.embed-instructions-compact li:last-child{margin-bottom:0}.embed-no-api-key{text-align:center;padding:60px 20px;color:#6b7280}.embed-no-api-key h4{color:#374151;margin:0 0 12px;font-size:18px;font-weight:600}.embed-no-api-key p{margin:8px 0;font-size:14px;line-height:1.6}@media (max-width: 768px){.forms-library-grid{grid-template-columns:1fr}.forms-library-header{flex-direction:column}.forms-library-search{min-width:100%}.forms-library-preview-modal{max-width:100%;max-height:95vh;margin:10px}.forms-library-preview-body{padding:16px}.forms-library-embed-modal{max-width:100%;max-height:95vh;margin:10px}.embed-modal-header{padding:16px}.embed-modal-header h3{font-size:16px}.embed-code-tabs{padding:12px 16px 0;overflow-x:auto;white-space:nowrap}.embed-tab{padding:10px 16px;font-size:13px}.embed-code-content{padding:16px}.embed-code-block{font-size:12px;padding:16px}}.submission-actions{position:relative;display:inline-block}.submission-actions__trigger{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border:1px solid #E5E7EB;border-radius:6px;background:#fff;color:#6b7280;cursor:pointer;transition:all .2s}.submission-actions__trigger:hover{background:#f3f4f6;color:#374151;border-color:#d1d5db}.submission-actions__dropdown{position:absolute;right:0;top:100%;margin-top:4px;background:#fff;border:1px solid #E5E7EB;border-radius:8px;box-shadow:0 4px 12px #00000026;z-index:100;min-width:160px;overflow:hidden}.submission-actions__item{display:flex;align-items:center;gap:10px;width:100%;padding:10px 14px;border:none;background:none;color:#374151;font-size:13px;text-align:left;cursor:pointer;transition:background .15s;text-decoration:none}.submission-actions__item:hover{background:#f3f4f6}.submission-actions__item--link{color:#3b82f6}.submission-actions__item--link:hover{background:#eff6ff}.submission-actions__item--danger{color:#dc2626}.submission-actions__item--danger:hover{background:#fef2f2}.submission-actions__item svg{flex-shrink:0}.submission-actions__divider{height:1px;background:#e5e7eb;margin:4px 0}.submission-detail-modal__overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1100;padding:20px}.submission-detail-modal{background:#fff;border-radius:12px;width:100%;max-width:600px;max-height:90vh;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 10px 30px #0003}.submission-detail-modal__header{display:flex;justify-content:space-between;align-items:center;padding:20px 24px;border-bottom:1px solid #E5E7EB;background:#f9fafb}.submission-detail-modal__header h3{margin:0;font-size:18px;font-weight:600;color:#111827}.submission-detail-modal__close{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border:none;background:none;color:#6b7280;cursor:pointer;border-radius:6px;transition:all .2s}.submission-detail-modal__close:hover{background:#e5e7eb;color:#374151}.submission-detail-modal__content{flex:1;overflow-y:auto;padding:24px}.submission-detail-modal__section{margin-bottom:24px}.submission-detail-modal__section:last-child{margin-bottom:0}.submission-detail-modal__section-title{font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:#6b7280;margin:0 0 12px}.submission-detail-modal__meta{display:flex;flex-direction:column;gap:8px}.submission-detail-modal__meta-item{display:flex;justify-content:space-between;align-items:center;padding:8px 12px;background:#f9fafb;border-radius:6px}.submission-detail-modal__meta-label{font-size:13px;color:#6b7280}.submission-detail-modal__meta-value{font-size:13px;font-weight:500;color:#111827}.submission-detail-modal__links{display:flex;gap:12px;margin-top:12px}.submission-detail-modal__link{display:inline-flex;align-items:center;gap:6px;padding:8px 14px;background:#eff6ff;color:#2563eb;border-radius:6px;font-size:13px;font-weight:500;text-decoration:none;transition:all .2s}.submission-detail-modal__link:hover{background:#dbeafe}.submission-detail-modal__fields{display:flex;flex-direction:column;gap:12px}.submission-detail-modal__field{border:1px solid #E5E7EB;border-radius:8px;overflow:hidden}.submission-detail-modal__field-label{display:block;padding:8px 12px;background:#f9fafb;font-size:12px;font-weight:600;color:#6b7280;border-bottom:1px solid #E5E7EB}.submission-detail-modal__field-value{display:block;padding:12px;font-size:14px;color:#111827;white-space:pre-wrap;word-break:break-word}.submission-detail-modal__empty{text-align:center;padding:24px;color:#9ca3af;font-size:14px}.submission-detail-modal__footer{display:flex;justify-content:flex-end;gap:12px;padding:16px 24px;border-top:1px solid #E5E7EB;background:#f9fafb}.submission-detail-modal__btn{padding:10px 20px;border:none;border-radius:8px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s}.submission-detail-modal__btn--primary{background:#3b82f6;color:#fff}.submission-detail-modal__btn--primary:hover{background:#2563eb}.submission-detail-modal__btn--secondary{background:#e5e7eb;color:#374151}.submission-detail-modal__btn--secondary:hover{background:#d1d5db}@media (max-width: 768px){.submission-detail-modal{max-width:100%;max-height:95vh;margin:10px;border-radius:8px}.submission-detail-modal__header,.submission-detail-modal__content{padding:16px}.submission-detail-modal__footer{padding:12px 16px;flex-direction:column}.submission-detail-modal__btn{width:100%;text-align:center}.submission-actions__dropdown{right:auto;left:0}}.embed-code-tab{padding:24px;max-width:1600px;margin:0 auto}.embed-code-layout{display:grid;grid-template-columns:1fr 380px;gap:24px;align-items:start}.embed-code-main{min-width:0}.embed-code-loading{text-align:center;padding:60px 20px;color:#6b7280}.embed-code-header{display:flex;flex-direction:column;align-items:flex-start;gap:8px;margin-bottom:32px}.embed-code-header h2{font-size:28px;font-weight:700;color:#111827;margin:0;line-height:1.2}.embed-code-header p{color:#6b7280;font-size:15px;margin:0;line-height:1.5}.embed-code-config{background:#fff;border-radius:12px;border:1px solid #E5E7EB;padding:32px;margin-bottom:24px}.config-empty p{margin:0 0 12px;color:#6b7280;font-size:14px}.config-link{color:#667eea;text-decoration:none;font-weight:500;font-size:14px}.config-link:hover{text-decoration:underline}.api-key-info{margin-top:12px;padding:16px;background:#f9fafb;border-radius:8px}.api-key-meta{font-size:13px;color:#374151}.api-key-meta strong{display:block;margin-bottom:8px}.domains-tags{display:flex;flex-wrap:wrap;gap:8px}.domain-tag{display:inline-block;padding:4px 12px;background:#e0e7ff;color:#4338ca;border-radius:12px;font-size:12px;font-weight:500}.embed-code-output{background:#fff;border-radius:12px;border:1px solid #E5E7EB;margin-bottom:24px;overflow:hidden}.embed-instructions{background:#fff;border-radius:12px;border:1px solid #E5E7EB;padding:32px;margin-bottom:24px}.embed-instructions h3{margin:0 0 24px;font-size:18px;font-weight:600;color:#111827}.instruction-content code{padding:2px 6px;background:#fef3c7;color:#92400e;border-radius:4px;font-size:12px;font-family:Monaco,Menlo,monospace}.embed-security{background:#fef2f2;border:2px solid #FCA5A5;border-radius:12px;padding:24px 32px;margin-bottom:24px}.embed-security h3{margin:0 0 16px;font-size:18px;font-weight:600;color:#991b1b}.embed-security ul{margin:0;padding-left:20px}.embed-security li{color:#7f1d1d;font-size:14px;line-height:1.7;margin-bottom:8px}.embed-security li:last-child{margin-bottom:0}.embed-security strong{color:#991b1b}.embed-endpoints{background:#fff;border-radius:12px;border:1px solid #E5E7EB;padding:32px}.embed-endpoints h3{margin:0 0 20px;font-size:18px;font-weight:600;color:#111827}.endpoints-list{display:flex;flex-direction:column;gap:12px;margin-bottom:16px}.endpoint-item{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;background:#f9fafb;border-radius:8px;border:1px solid #E5E7EB}.endpoint-item code{font-family:Monaco,Menlo,monospace;font-size:13px;color:#374151}.endpoint-label{padding:4px 12px;background:#dbeafe;color:#1e40af;border-radius:12px;font-size:12px;font-weight:500}.endpoints-note{margin:0;padding:12px 16px;background:#fffbeb;border-left:4px solid #F59E0B;border-radius:4px;font-size:13px;color:#92400e}.endpoints-note code{padding:2px 6px;background:#fef3c7;color:#92400e;border-radius:4px;font-size:12px;font-family:Monaco,Menlo,monospace}.embed-code-sidebar{display:flex;flex-direction:column;gap:20px;position:-webkit-sticky;position:sticky;top:24px}.quick-actions-list{display:flex;flex-direction:column;gap:8px}.quick-action-btn{width:100%;display:flex;align-items:center;gap:10px;padding:12px 16px;background:#fff;color:#374151;border:1px solid #E5E7EB;border-radius:8px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s;text-align:left}.quick-action-icon{width:20px;height:20px;flex-shrink:0}.quick-action-btn:hover{background:#f9fafb;border-color:#667eea;color:#667eea}.quick-action-btn:hover .quick-action-icon{stroke:#667eea}@media (max-width: 1024px){.embed-code-layout{grid-template-columns:1fr}.embed-code-sidebar{position:static}}@media (max-width: 768px){.embed-code-tab{padding:16px}.embed-code-config,.embed-instructions,.embed-security,.embed-endpoints{padding:20px}.instructions-grid,.code-type-options{grid-template-columns:1fr}.output-header{flex-direction:column;gap:12px;align-items:flex-start}.btn-copy-code{width:100%;justify-content:center}.code-block{font-size:12px;padding:16px}.endpoint-item{flex-direction:column;align-items:flex-start;gap:8px}}.reports-page{min-height:calc(100vh - 80px);background:#f9fafb;padding:2rem}.reports-header{margin-bottom:2rem}.reports-header h1{font-size:2rem;font-weight:700;color:#111827;margin-bottom:.5rem}.reports-header p{font-size:1rem;color:#6b7280;margin:0}.reports-tabs{display:flex;gap:.5rem;margin-bottom:2rem;border-bottom:2px solid #e5e7eb;padding-bottom:0;overflow-x:auto}.reports-tab{display:flex;align-items:center;gap:.5rem;padding:.75rem 1.5rem;background:transparent;border:none;border-bottom:3px solid transparent;color:#6b7280;font-size:.938rem;font-weight:500;cursor:pointer;transition:all .2s ease;white-space:nowrap;position:relative;bottom:-2px}.reports-tab:hover{color:#667eea;background:linear-gradient(to bottom,rgba(102,126,234,.05),transparent)}.reports-tab.active{color:#667eea;border-bottom-color:#667eea;background:linear-gradient(to bottom,rgba(102,126,234,.08),transparent)}.reports-tab-icon{width:1.25rem;height:1.25rem}.reports-content{background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000001a;min-height:500px;overflow:hidden}.reports-tab-content{padding:2rem}.reports-ai-terminal-wrapper{padding:0;min-height:500px}.reports-placeholder{text-align:center;padding:4rem 2rem;color:#9ca3af}.reports-placeholder h2{font-size:1.5rem;font-weight:600;color:#4b5563;margin-bottom:.5rem}.reports-placeholder p{font-size:1rem;color:#9ca3af;margin:.5rem 0}.reports-placeholder-note{font-size:.875rem;color:#9ca3af;font-style:italic;margin-top:1rem}.library-preview{margin-top:2rem;padding:1.5rem;background:linear-gradient(135deg,#667eea08,#764ba208);border:1px solid #e9d5ff;border-radius:12px;max-width:400px;margin-left:auto;margin-right:auto}.library-preview .reports-placeholder-note{margin:0;color:#667eea;font-weight:500}.reports-builder-section-wrapper{width:100%;min-height:500px;background:linear-gradient(135deg,#f3f4f6,#e9d5ff);padding:3rem 1rem}.reports-builder-section-content{max-width:1200px;margin:0 auto;width:100%}.reports-library-section-wrapper{width:100%;min-height:500px;background:linear-gradient(135deg,#667eea14,#764ba214);padding:3rem 1rem}.reports-library-section-content{max-width:1200px;margin:0 auto;width:100%}.reports-templates-section-wrapper{width:100%;min-height:500px;background:linear-gradient(135deg,#faf5ff,#f3e8ff);padding:3rem 1rem}.reports-templates-section-content{max-width:1200px;margin:0 auto;width:100%}.report-preview-section{margin-top:2rem;padding:1.5rem;background:#fff;border:1px solid #e9d5ff;border-radius:12px}.report-preview-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem;padding-bottom:1rem;border-bottom:2px solid #f3f4f6}.preview-section-title{font-size:1.25rem;font-weight:700;color:#111827;margin:0}.back-to-quick-access-btn{display:flex;align-items:center;gap:.5rem;padding:.625rem 1.25rem;background:linear-gradient(135deg,#667eea14,#764ba214);border:1px solid #667eea;border-radius:8px;color:#667eea;font-size:.938rem;font-weight:600;cursor:pointer;transition:all .2s ease}.back-to-quick-access-btn:hover{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border-color:transparent;transform:translate(-2px)}.back-icon{width:1.125rem;height:1.125rem;stroke:currentColor;transition:transform .2s ease}.back-to-quick-access-btn:hover .back-icon{transform:translate(-2px)}.report-preview-content{min-height:300px}@media (max-width: 768px){.reports-page{padding:1rem}.reports-header h1{font-size:1.5rem}.reports-tab{padding:.625rem 1rem;font-size:.875rem}.reports-tab-icon{width:1rem;height:1rem}.reports-tab-content{padding:1.5rem}.reports-placeholder{padding:3rem 1rem}.reports-placeholder h2{font-size:1.25rem}.reports-builder-section-wrapper,.reports-library-section-wrapper,.reports-templates-section-wrapper{padding:2rem .75rem;min-height:400px}.report-preview-section{padding:1.25rem}.report-preview-header{flex-direction:column;align-items:flex-start;gap:1rem}.back-to-quick-access-btn{width:100%;justify-content:center}}@media (max-width: 480px){.reports-page{padding:.75rem}.reports-header{margin-bottom:1.5rem}.reports-header h1{font-size:1.25rem}.reports-header p{font-size:.875rem}.reports-tabs{gap:.25rem;margin-bottom:1.5rem}.reports-tab{padding:.5rem .75rem;font-size:.813rem;gap:.375rem}.reports-content{min-height:400px}.reports-tab-content{padding:1rem}.reports-placeholder{padding:2rem .75rem}.reports-placeholder h2{font-size:1.125rem}.reports-placeholder p{font-size:.875rem}.library-preview{padding:1rem}.reports-builder-section-wrapper,.reports-library-section-wrapper,.reports-templates-section-wrapper{padding:1.5rem .5rem;min-height:350px}.report-preview-section{padding:1rem;margin-top:1rem}.preview-section-title{font-size:1.125rem}.back-to-quick-access-btn{padding:.5rem 1rem;font-size:.875rem}.back-icon{width:1rem;height:1rem}}.report-builder{min-height:600px;background:transparent;border-radius:12px;overflow:hidden;box-shadow:none;width:100%;max-width:100%}.edit-mode-banner{background:linear-gradient(135deg,#667eea1a,#764ba21a);border-bottom:2px solid #667eea;padding:1rem 1.5rem;display:flex;justify-content:space-between;align-items:center}.edit-mode-banner span{font-weight:600;color:#667eea;font-size:1rem}.edit-mode-banner button{padding:.5rem 1rem;background:#fff;border:1px solid #667eea;border-radius:6px;color:#667eea;font-weight:500;cursor:pointer;transition:all .2s ease}.edit-mode-banner button:hover{background:#667eea;color:#fff;transform:translate(2px)}.builder-layout{display:grid;grid-template-columns:minmax(220px,250px) minmax(0,1fr) minmax(280px,300px);gap:0;min-height:600px;width:100%;max-width:100%;overflow:hidden}.builder-sidebar{background:linear-gradient(180deg,#faf5ff,#f3e8ff);border-right:2px solid #e9d5ff;padding:1.5rem;overflow-y:auto;overflow-x:hidden;min-width:0}.builder-sidebar h3{font-size:1rem;font-weight:700;color:#667eea;margin-bottom:.5rem}.sidebar-subtitle{font-size:.813rem;color:#9ca3af;margin-bottom:1rem}.component-btn{display:flex;align-items:center;gap:.75rem;width:100%;padding:.75rem 1rem;margin-bottom:.5rem;background:#fff;border:1px solid #e9d5ff;border-radius:8px;cursor:pointer;transition:all .2s ease}.component-btn:hover{border-color:#667eea;background:linear-gradient(135deg,#667eea0d,#764ba20d);transform:translate(4px)}.component-icon{font-size:1.25rem}.component-label{font-size:.938rem;font-weight:500;color:#111827}.builder-canvas{padding:2rem;overflow-y:auto;overflow-x:hidden;max-height:600px;background:#fafbfc;min-width:0}.report-title-input{width:100%;font-size:1.5rem;font-weight:700;color:#111827;padding:.75rem 1rem;border:2px solid #e5e7eb;border-radius:8px;margin-bottom:1.5rem;transition:all .2s ease}.report-title-input:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.report-title-input::placeholder{color:#d1d5db}.canvas-empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:4rem 2rem;text-align:center;color:#9ca3af}.canvas-empty-state .empty-icon{width:4rem;height:4rem;margin-bottom:1rem;color:#d1d5db}.canvas-empty-state h3{font-size:1.25rem;font-weight:600;color:#6b7280;margin-bottom:.5rem}.canvas-empty-state p{font-size:1rem;color:#9ca3af;margin:0}.canvas-section{background:#fff;border:2px dashed #e5e7eb;border-radius:8px;padding:1rem;margin-bottom:1rem;cursor:pointer;transition:all .2s ease}.canvas-section:hover{border-color:#667eea;background:linear-gradient(135deg,#667eea05,#764ba205);transform:translate(4px)}.canvas-section.selected{border-color:#667eea;border-style:solid;background:linear-gradient(135deg,#667eea14,#764ba214);box-shadow:0 4px 12px #667eea33}.canvas-section.dragging{opacity:.5;transform:scale(.95)}.column-row{transition:all .2s ease;background:#fff;padding:8px;border-radius:6px;border:1px solid #e5e7eb}.column-row:hover{background:#f9fafb;border-color:#d1d5db}.column-row.dragging{opacity:.5;background:#e0e7ff;border-color:#667eea}.column-row .drag-handle{transition:color .2s ease}.column-row:hover .drag-handle{color:#667eea}.column-row .drag-handle:active{cursor:grabbing}.section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.75rem}.section-header-left{display:flex;align-items:center;gap:.75rem;flex:1}.section-type{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:.25rem .625rem;border-radius:4px;font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.025em}.section-title{font-weight:600;color:#111827;font-size:.938rem}.delete-section-btn{padding:.375rem;background:transparent;border:1px solid #e5e7eb;border-radius:4px;color:#9ca3af;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;justify-content:center}.delete-section-btn svg{width:1rem;height:1rem}.delete-section-btn:hover{background:#fee2e2;border-color:#ef4444;color:#ef4444}.section-preview{padding:.75rem;background:#f9fafb;border-radius:6px;border:1px solid #e5e7eb}.section-description{font-size:.875rem;color:#6b7280;margin:0}.timeframe-section{background:#fff;border:2px solid #e9d5ff;border-radius:8px;padding:1.25rem;margin-bottom:1.5rem}.timeframe-heading{font-size:1rem;font-weight:600;color:#667eea;margin:0 0 1rem}.timeframe-toggle{display:flex;gap:.5rem;margin-bottom:1rem}.timeframe-toggle-btn{flex:1;padding:.625rem 1rem;background:#fff;border:1px solid #e5e7eb;border-radius:6px;font-size:.875rem;font-weight:500;color:#6b7280;cursor:pointer;transition:all .2s ease}.timeframe-toggle-btn.active{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border-color:#667eea}.timeframe-toggle-btn:hover:not(.active){border-color:#667eea;background:#f9fafb}.timeframe-clear-btn{padding:.625rem 1rem;background:#fff;border:1px solid #e5e7eb;border-radius:6px;font-size:.875rem;color:#6b7280;cursor:pointer;transition:all .2s ease}.timeframe-clear-btn:hover:not(:disabled){background:#fee2e2;border-color:#ef4444;color:#ef4444}.timeframe-clear-btn:disabled{opacity:.5;cursor:not-allowed}.timeframe-presets{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:.5rem}.preset-btn{padding:.75rem 1rem;background:#fff;border:1px solid #e5e7eb;border-radius:6px;font-size:.875rem;color:#374151;cursor:pointer;transition:all .2s ease}.preset-btn:hover{border-color:#667eea;background:linear-gradient(135deg,#667eea0d,#764ba20d)}.preset-btn.selected{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border-color:#667eea;font-weight:600}.timeframe-custom{display:flex;flex-direction:column;gap:.75rem}.date-range-inputs{display:grid;grid-template-columns:1fr 1fr auto;gap:.75rem;align-items:end}.date-input-group{display:flex;flex-direction:column;gap:.375rem}.date-input-group label{font-size:.813rem;font-weight:500;color:#4b5563}.date-input-group input[type=date]{padding:.625rem;border:1px solid #d1d5db;border-radius:6px;font-size:.875rem;transition:all .2s ease}.date-input-group input[type=date]:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.apply-custom-btn{padding:.625rem 1.25rem;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:6px;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s ease;white-space:nowrap}.apply-custom-btn:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 4px 12px #667eea66}.apply-custom-btn:disabled{opacity:.5;cursor:not-allowed}.timeframe-display{margin-top:1rem;padding:.75rem 1rem;background:linear-gradient(135deg,#667eea0d,#764ba20d);border:1px solid #e9d5ff;border-radius:6px;display:flex;align-items:center;gap:.75rem}.timeframe-label{font-size:.875rem;font-weight:500;color:#6b7280}.timeframe-badge{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:.375rem .875rem;border-radius:16px;font-size:.813rem;font-weight:600}.builder-settings{background:linear-gradient(180deg,#faf5ff,#f3e8ff);border-left:2px solid #e9d5ff;padding:1.5rem;overflow-y:auto;overflow-x:hidden;min-width:0}.builder-settings h3{font-size:1rem;font-weight:700;color:#667eea;margin-bottom:1.5rem}.settings-form{display:flex;flex-direction:column;gap:1rem}.form-group{display:flex;flex-direction:column;gap:.5rem}.form-group label{font-size:.875rem;font-weight:600;color:#4b5563}.form-group input,.form-group select{width:100%;padding:.625rem;border:1px solid #e5e7eb;border-radius:6px;font-size:.938rem;transition:all .2s ease}.form-group input:focus,.form-group select:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.type-display{padding:.625rem;background:linear-gradient(135deg,#667eea1a,#764ba21a);border:1px solid #e9d5ff;border-radius:6px;font-weight:600;color:#667eea;text-transform:capitalize}.settings-help{margin-top:1rem;padding:.75rem;background:linear-gradient(135deg,#667eea0d,#764ba20d);border-left:3px solid #667eea;border-radius:4px}.settings-help p{font-size:.813rem;color:#667eea;margin:0;line-height:1.5}.settings-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:3rem 1rem;text-align:center}.empty-icon-small{width:3rem;height:3rem;margin-bottom:1rem;color:#d1d5db}.settings-empty p{font-size:.938rem;color:#9ca3af;margin:0}.config-field-row{display:flex;gap:8px;align-items:center}.config-field-column{display:flex;flex-direction:column;gap:8px}.config-metric-card{padding:12px;background:#f9fafb;border-radius:6px;border:1px solid #e5e7eb}.config-btn-add{padding:8px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:6px;cursor:pointer;font-weight:500;transition:all .2s ease}.config-btn-add:hover{transform:translateY(-2px);box-shadow:0 4px 12px #667eea66}.config-btn-remove{padding:6px;background:#fee2e2;border:1px solid #ef4444;border-radius:4px;color:#ef4444;cursor:pointer;transition:all .2s ease}.config-btn-remove:hover{background:#fecaca;transform:scale(1.05)}.config-input-full{width:100%;padding:8px;border-radius:4px;border:1px solid #d1d5db;font-size:.938rem;transition:all .2s ease}.config-input-full:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.config-input-flex{flex:1;padding:8px;border-radius:4px;border:1px solid #d1d5db;font-size:.938rem;transition:all .2s ease}.config-input-flex:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.config-select-full{width:100%;padding:8px;border-radius:4px;border:1px solid #d1d5db;font-size:.938rem;transition:all .2s ease}.config-select-full:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.config-select-flex{flex:1;padding:8px;border-radius:4px;border:1px solid #d1d5db;font-size:.938rem;transition:all .2s ease}.config-select-flex:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.builder-actions{display:flex;gap:1rem;padding:1.5rem;border-top:2px solid #e9d5ff;background:linear-gradient(135deg,#faf5ff,#f3e8ff)}.builder-actions button{flex:1;display:flex;align-items:center;justify-content:center;gap:.5rem;padding:.75rem 1.5rem;border-radius:8px;font-weight:600;font-size:.938rem;cursor:pointer;transition:all .2s ease}.builder-actions button:disabled{opacity:.5;cursor:not-allowed}.btn-icon{width:1.25rem;height:1.25rem}.save-btn{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none}.save-btn:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 4px 12px #667eea66}.preview-btn{background:#fff;border:2px solid #667eea;color:#667eea}.preview-btn:hover:not(:disabled){background:linear-gradient(135deg,#667eea1a,#764ba21a);transform:translateY(-2px)}.clear-btn{background:#fff;border:1px solid #e5e7eb;color:#6b7280}.clear-btn:hover{background:#f9fafb;border-color:#d1d5db}@media (max-width: 1200px){.builder-layout{grid-template-columns:220px 1fr 280px}}@media (max-width: 1024px){.builder-layout{grid-template-columns:200px 1fr 250px}.component-label{font-size:.875rem}.builder-actions{flex-wrap:wrap}.builder-actions button{flex:1 1 calc(50% - .5rem);min-width:150px}}@media (max-width: 768px){.builder-layout{grid-template-columns:1fr}.builder-sidebar,.builder-settings{display:none}.canvas-section{padding:.75rem}.builder-actions{flex-direction:column;gap:.75rem}.builder-actions button{width:100%}.preview-modal-content{max-width:100%;max-height:100vh;border-radius:0}.preview-modal-body{padding:1rem}}@media (max-width: 768px){.date-range-inputs{grid-template-columns:1fr}.timeframe-presets{grid-template-columns:1fr 1fr}}@media (max-width: 480px){.builder-canvas{padding:1rem}.report-title-input{font-size:1.25rem;padding:.625rem .75rem}.section-title{font-size:.875rem}.builder-actions{padding:1rem}.timeframe-presets{grid-template-columns:1fr}.timeframe-section{padding:1rem}}.report-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:24px;display:flex;flex-direction:column;gap:16px;transition:all .2s ease;position:relative}.report-card:hover{transform:translateY(-4px);box-shadow:0 8px 24px #0000001f;border-color:#d1d5db}.report-card-header{display:flex;gap:12px;align-items:flex-start}.report-type-icon{width:48px;height:48px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:24px;flex-shrink:0}.report-header-info{flex:1;min-width:0}.report-card-title{font-size:18px;font-weight:600;color:#1f2937;margin:0 0 8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.report-meta{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.report-type-badge{padding:4px 10px;border-radius:12px;font-size:12px;font-weight:600}.report-timestamp{font-size:13px;color:#6b7280}.report-card-body{display:flex;flex-direction:column;gap:12px}.report-preview{font-size:14px;color:#4b5563;line-height:1.6;margin:0}.expand-toggle-btn{align-self:flex-start;background:none;border:none;color:#667eea;font-size:13px;font-weight:600;cursor:pointer;padding:4px 0;transition:color .2s ease}.expand-toggle-btn:hover{color:#764ba2;text-decoration:underline}.report-criteria{display:flex;flex-wrap:wrap;gap:12px;padding:12px;background:#f9fafb;border-radius:8px;border:1px solid #e5e7eb}.criteria-item{display:flex;align-items:center;gap:6px}.criteria-icon{width:16px;height:16px;color:#6b7280}.criteria-text{font-size:13px;color:#374151;font-weight:500}.report-card-actions{display:flex;gap:8px;padding-top:12px;border-top:1px solid #e5e7eb}.card-action-btn{flex:1;display:flex;align-items:center;justify-content:center;gap:6px;padding:10px 12px;border:1px solid #d1d5db;border-radius:8px;background:#fff;color:#374151;font-size:13px;font-weight:500;cursor:pointer;transition:all .2s ease}.card-action-btn:hover{background:#f9fafb;border-color:#9ca3af}.card-action-btn.primary{background:linear-gradient(135deg,#667eea,#764ba2);border-color:#667eea;color:#fff}.card-action-btn.primary:hover{transform:translateY(-1px);box-shadow:0 4px 12px #667eea4d}.card-action-btn.danger{border-color:#fecaca;color:#ef4444}.card-action-btn.danger:hover{background:#fef2f2;border-color:#ef4444}.btn-icon{width:16px;height:16px}.export-dropdown{position:relative;flex:1}.export-menu{position:absolute;bottom:100%;left:0;margin-bottom:8px;background:#fff;border:1px solid #d1d5db;border-radius:8px;box-shadow:0 8px 24px #0000001f;z-index:100;min-width:160px}.export-menu-item{display:flex;align-items:center;gap:8px;width:100%;padding:10px 16px;border:none;background:#fff;color:#374151;font-size:14px;font-weight:500;text-align:left;cursor:pointer;transition:background .2s ease}.export-menu-item:first-child{border-radius:8px 8px 0 0}.export-menu-item:last-child{border-radius:0 0 8px 8px}.export-menu-item:hover{background:#f9fafb}.menu-icon{width:18px;height:18px;color:#6b7280}.export-menu-backdrop{position:fixed;top:0;left:0;right:0;bottom:0;z-index:99}@media (max-width: 768px){.report-card{padding:20px}.report-card-title{font-size:16px}.report-card-actions{flex-wrap:wrap}.card-action-btn{flex:1 1 calc(50% - 4px);min-width:120px}.export-dropdown{flex:1 1 calc(50% - 4px)}}.report-view-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#0009;display:flex;align-items:center;justify-content:center;z-index:2000;padding:20px;overflow-y:auto}.report-view-modal{background:#fff;border-radius:16px;width:100%;max-width:1400px;max-height:90vh;display:flex;flex-direction:column;box-shadow:0 20px 60px #0000004d;overflow:hidden}.report-view-header{display:flex;justify-content:space-between;align-items:center;padding:24px 32px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border-bottom:1px solid rgba(255,255,255,.1)}.report-view-header-left{display:flex;align-items:center;gap:16px;flex:1;min-width:0}.report-view-type-icon{width:56px;height:56px;border-radius:14px;display:flex;align-items:center;justify-content:center;font-size:28px;flex-shrink:0;background:#fff3}.report-view-header-info{flex:1;min-width:0}.report-view-title{font-size:24px;font-weight:700;margin:0 0 8px;color:#fff;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.report-view-meta{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.report-view-type-badge{padding:4px 12px;border-radius:12px;font-size:13px;font-weight:600;background:#ffffff4d;color:#fff}.report-view-timestamp{font-size:14px;color:#ffffffe6}.report-view-header-right{display:flex;gap:12px;align-items:center}.report-view-action-btn{background:#fff3;border:1px solid rgba(255,255,255,.3);color:#fff;padding:8px 16px;border-radius:8px;cursor:pointer;font-size:14px;font-weight:500;transition:all .2s ease;display:flex;align-items:center;gap:6px}.report-view-action-btn:hover{background:#ffffff4d;transform:translateY(-1px)}.action-icon{width:16px;height:16px}.report-view-close-btn{width:36px;height:36px;padding:0;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#fff3;border:1px solid rgba(255,255,255,.3);color:#fff;cursor:pointer;transition:all .2s ease}.report-view-close-btn:hover{background:#ffffff4d;transform:rotate(90deg)}.close-icon{width:20px;height:20px}.report-view-content{flex:1;overflow-y:auto;padding:32px;background:#f9fafb}.report-view-text-content{background:#fff;padding:32px;border-radius:12px;box-shadow:0 2px 8px #0000000a}.report-view-text-content p{font-size:15px;line-height:1.8;color:#374151;margin:0;white-space:pre-wrap}@media (max-width: 1024px){.report-view-modal{max-width:95vw;max-height:95vh}.report-view-header{padding:20px 24px}.report-view-content{padding:24px}.report-view-title{font-size:20px}.report-view-action-btn{padding:6px 12px;font-size:13px}.action-icon{width:14px;height:14px}}@media (max-width: 768px){.report-view-modal-overlay{padding:10px}.report-view-modal{border-radius:12px;max-height:95vh}.report-view-header{flex-direction:column;align-items:flex-start;gap:16px;padding:16px 20px}.report-view-header-left{width:100%}.report-view-type-icon{width:48px;height:48px;font-size:24px}.report-view-title{font-size:18px}.report-view-header-right{width:100%;justify-content:space-between}.report-view-action-btn{flex:1;justify-content:center}.report-view-action-btn span{display:none}.report-view-content{padding:16px}.report-view-text-content{padding:20px}}.report-view-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:80px 20px;gap:16px}.loading-spinner{width:48px;height:48px;border:4px solid #e5e7eb;border-top-color:#667eea;border-radius:50%;animation:spin .8s linear infinite}.report-view-loading p{font-size:15px;color:#6b7280;margin:0}@media print{.report-view-modal-overlay{position:static;background:#fff;padding:0}.report-view-modal{max-width:none;max-height:none;box-shadow:none}.report-view-header{-webkit-print-color-adjust:exact;print-color-adjust:exact}.report-view-action-btn,.report-view-close-btn{display:none}.report-view-content{padding:0;background:#fff}}.remove-confirm-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:3000;padding:20px}.remove-confirm-modal{background:#fff;border-radius:16px;max-width:480px;width:100%;padding:32px;box-shadow:0 20px 60px #0000004d;display:flex;flex-direction:column;align-items:center;gap:20px;text-align:center}.remove-confirm-icon{width:64px;height:64px;border-radius:50%;background:#fef2f2;color:#ef4444;display:flex;align-items:center;justify-content:center}.remove-confirm-icon svg{width:36px;height:36px}.remove-confirm-title{font-size:24px;font-weight:700;color:#1f2937;margin:0}.remove-confirm-message{font-size:16px;color:#6b7280;line-height:1.6;margin:0}.remove-confirm-message strong{color:#374151;font-weight:600}.remove-confirm-actions{display:flex;gap:12px;width:100%;margin-top:8px}.remove-confirm-btn{flex:1;padding:12px 24px;border-radius:8px;font-size:15px;font-weight:600;cursor:pointer;transition:all .2s ease}.remove-confirm-btn.cancel{background:#fff;border:1px solid #d1d5db;color:#374151}.remove-confirm-btn.cancel:hover{background:#f9fafb;border-color:#9ca3af}.remove-confirm-btn.confirm{background:#ef4444;border:1px solid #ef4444;color:#fff}.remove-confirm-btn.confirm:hover{background:#dc2626;border-color:#dc2626;transform:translateY(-1px);box-shadow:0 4px 12px #ef44444d}.remove-confirm-btn:focus{outline:none;box-shadow:0 0 0 3px #ef444433}@media (max-width: 768px){.remove-confirm-modal{padding:24px;max-width:calc(100vw - 40px)}.remove-confirm-title{font-size:20px}.remove-confirm-message{font-size:15px}.remove-confirm-actions{flex-direction:column}.remove-confirm-btn{width:100%}}.reports-library{width:100%;height:100%;display:flex;flex-direction:column;gap:24px}.library-header{display:flex;justify-content:space-between;align-items:center;padding-bottom:16px;border-bottom:2px solid #e5e7eb}.library-header-left{display:flex;align-items:center;gap:12px}.library-title{font-size:28px;font-weight:700;color:#1f2937;margin:0}.report-count-badge{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:4px 12px;border-radius:16px;font-size:14px;font-weight:600}.library-header-right{display:flex;gap:12px}.clear-all-btn{background:#fff;border:1px solid #ef4444;color:#ef4444;padding:8px 16px;border-radius:8px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s ease}.clear-all-btn:hover{background:#fef2f2;border-color:#dc2626;color:#dc2626}.library-controls{display:flex;flex-direction:column;gap:16px;background:#f9fafb;padding:20px;border-radius:12px;border:1px solid #e5e7eb}.search-container{position:relative;width:100%}.search-icon{position:absolute;left:12px;top:50%;transform:translateY(-50%);width:20px;height:20px;color:#9ca3af}.search-input{width:100%;padding:12px 40px 12px 44px;border:1px solid #d1d5db;border-radius:8px;font-size:14px;transition:all .2s ease;background:#fff}.search-input:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.clear-search-btn{position:absolute;right:12px;top:50%;transform:translateY(-50%);width:24px;height:24px;border:none;background:#e5e7eb;color:#6b7280;border-radius:50%;cursor:pointer;font-size:20px;display:flex;align-items:center;justify-content:center;transition:all .2s ease}.clear-search-btn:hover{background:#d1d5db;color:#374151}.filters-row{display:flex;flex-wrap:wrap;gap:20px;align-items:flex-start}.filter-group{display:flex;flex-direction:column;gap:8px}.filter-label{font-size:13px;font-weight:600;color:#374151;text-transform:uppercase;letter-spacing:.5px}.filter-buttons{display:flex;flex-wrap:wrap;gap:8px}.filter-btn{background:#fff;border:1px solid #d1d5db;color:#6b7280;padding:6px 12px;border-radius:6px;font-size:13px;font-weight:500;cursor:pointer;transition:all .2s ease;white-space:nowrap}.filter-btn:hover{border-color:#667eea;color:#667eea}.filter-btn.active{background:linear-gradient(135deg,#667eea,#764ba2);border-color:#667eea;color:#fff}.filter-select{padding:8px 12px;border:1px solid #d1d5db;border-radius:6px;font-size:14px;background:#fff;color:#374151;cursor:pointer;transition:all .2s ease}.filter-select:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.active-filters-info{display:flex;align-items:center;gap:12px;padding:12px 16px;background:#eff6ff;border:1px solid #bfdbfe;border-radius:8px}.active-filters-text{font-size:14px;color:#1e40af;font-weight:500}.reset-filters-btn{background:#fff;border:1px solid #3b82f6;color:#3b82f6;padding:4px 12px;border-radius:6px;font-size:13px;font-weight:500;cursor:pointer;transition:all .2s ease}.reset-filters-btn:hover{background:#eff6ff;border-color:#2563eb;color:#2563eb}.results-info{font-size:14px;color:#6b7280;font-weight:500}.reports-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:24px;width:100%}@media (max-width: 768px){.reports-grid{grid-template-columns:1fr}}@media (min-width: 769px) and (max-width: 1024px){.reports-grid{grid-template-columns:repeat(2,1fr)}}@media (min-width: 1025px) and (max-width: 1440px){.reports-grid{grid-template-columns:repeat(3,1fr)}}@media (min-width: 1441px){.reports-grid{grid-template-columns:repeat(4,1fr)}}.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:80px 20px;text-align:center}.empty-icon{font-size:80px;margin-bottom:24px;opacity:.6}.empty-title{font-size:24px;font-weight:700;color:#1f2937;margin:0 0 12px}.empty-description{font-size:16px;color:#6b7280;margin:0 0 32px;max-width:400px}.empty-cta-btn{background:linear-gradient(135deg,#667eea,#764ba2);border:none;color:#fff;padding:12px 32px;border-radius:8px;font-size:16px;font-weight:600;cursor:pointer;transition:all .2s ease}.empty-cta-btn:hover{transform:translateY(-2px);box-shadow:0 4px 12px #667eea4d}@media (max-width: 768px){.library-header{flex-direction:column;align-items:flex-start;gap:16px}.library-title{font-size:24px}.library-controls{padding:16px}.filters-row{flex-direction:column;gap:12px}.filter-buttons{width:100%}.filter-btn{flex:1;text-align:center}.filter-select{width:100%}.active-filters-info{flex-direction:column;align-items:flex-start;gap:8px}.reset-filters-btn{width:100%}}.template-card{background:#fff;border:1px solid #e5e7eb;border-left:4px solid;border-radius:12px;padding:24px;display:flex;flex-direction:column;gap:20px;transition:all .3s ease;height:100%}.template-card:hover{transform:translateY(-4px);box-shadow:0 12px 28px #00000026;border-color:currentColor}.template-card-header{display:flex;justify-content:space-between;align-items:flex-start}.template-icon{width:64px;height:64px;border-radius:16px;display:flex;align-items:center;justify-content:center;font-size:32px;flex-shrink:0}.template-category-badge{padding:6px 12px;border-radius:12px;font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.template-card-body{flex:1;display:flex;flex-direction:column;gap:12px}.template-name{font-size:20px;font-weight:700;color:#1f2937;margin:0;line-height:1.3}.template-description{font-size:14px;color:#6b7280;line-height:1.6;margin:0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.template-meta{display:flex;gap:16px;align-items:center;flex-wrap:wrap}.template-sections-count,.template-date-range{display:flex;align-items:center;gap:6px;font-size:13px;color:#6b7280}.meta-icon{width:16px;height:16px;color:#9ca3af}.template-tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:4px}.template-tag{background:#f3f4f6;color:#6b7280;padding:4px 10px;border-radius:12px;font-size:11px;font-weight:500;text-transform:lowercase}.template-tag-more{background:#e5e7eb;color:#9ca3af;padding:4px 10px;border-radius:12px;font-size:11px;font-weight:600}.template-card-actions{display:flex;gap:10px;padding-top:16px;border-top:1px solid #e5e7eb}.template-action-btn{flex:1;display:flex;align-items:center;justify-content:center;gap:6px;padding:12px 16px;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s ease;border:none}.template-action-btn .btn-icon{width:18px;height:18px}.preview-btn{background:#fff;border:1px solid #d1d5db;color:#374151}.preview-btn:hover{background:#f9fafb;border-color:#9ca3af}.use-btn{color:#fff;border:none}.use-btn:hover{transform:translateY(-1px);box-shadow:0 4px 12px #0003}@media (max-width: 768px){.template-card{padding:20px}.template-icon{width:56px;height:56px;font-size:28px}.template-name{font-size:18px}.template-description{font-size:13px}.template-card-actions{flex-direction:column}.template-action-btn{width:100%}}.template-preview-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#0009;display:flex;align-items:center;justify-content:center;z-index:2000;padding:20px}.template-preview-modal{background:#fff;border-radius:16px;width:100%;max-width:900px;max-height:90vh;display:flex;flex-direction:column;box-shadow:0 20px 60px #0000004d;overflow:hidden}.template-preview-header{display:flex;justify-content:space-between;align-items:center;padding:32px;color:#fff}.template-preview-header-left{display:flex;align-items:center;gap:20px;flex:1;min-width:0}.template-preview-icon{width:72px;height:72px;border-radius:18px;display:flex;align-items:center;justify-content:center;font-size:36px;flex-shrink:0}.template-preview-title-section{flex:1;min-width:0}.template-preview-title{font-size:28px;font-weight:700;margin:0 0 8px;color:#fff}.template-preview-meta{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.template-preview-category{padding:4px 12px;border-radius:12px;font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.template-preview-sections{font-size:14px;color:#ffffffe6}.template-preview-close{width:40px;height:40px;border-radius:50%;background:#fff3;border:none;color:#fff;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;justify-content:center;flex-shrink:0}.template-preview-close:hover{background:#ffffff4d;transform:rotate(90deg)}.template-preview-close svg{width:20px;height:20px}.template-preview-content{flex:1;overflow-y:auto;padding:32px;background:#f9fafb}.preview-section{background:#fff;padding:24px;border-radius:12px;margin-bottom:24px;box-shadow:0 2px 8px #0000000a}.preview-section:last-child{margin-bottom:0}.preview-section-heading{font-size:18px;font-weight:700;color:#1f2937;margin:0 0 16px}.template-preview-description{font-size:15px;color:#6b7280;line-height:1.7;margin:0}.template-info-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;margin-bottom:16px}.info-item{display:flex;flex-direction:column;gap:4px}.info-label{font-size:13px;font-weight:600;color:#6b7280;text-transform:uppercase;letter-spacing:.5px}.info-value{font-size:15px;color:#1f2937;font-weight:500}.template-preview-tags{display:flex;flex-wrap:wrap;gap:8px}.preview-tag{background:#f3f4f6;color:#6b7280;padding:6px 12px;border-radius:12px;font-size:12px;font-weight:500}.sections-list{display:flex;flex-direction:column;gap:16px}.section-preview-item{background:#f9fafb;border:1px solid #e5e7eb;border-radius:10px;padding:20px}.section-preview-header{margin-bottom:12px}.section-icon-title{display:flex;align-items:flex-start;gap:12px}.section-icon{font-size:24px;flex-shrink:0}.section-title-info{flex:1}.section-preview-title{font-size:16px;font-weight:600;color:#1f2937;margin:0 0 4px}.section-kind-label{font-size:12px;color:#6b7280;font-weight:500;text-transform:uppercase;letter-spacing:.5px}.section-preview-details{display:flex;flex-direction:column;gap:12px;margin-left:36px}.section-detail{display:flex;flex-direction:column;gap:8px}.detail-label{font-size:13px;font-weight:600;color:#374151}.detail-value{font-size:14px;color:#6b7280}.metrics-list{display:flex;flex-direction:column;gap:8px}.metric-item{display:flex;align-items:center;gap:8px;padding:8px 12px;background:#fff;border:1px solid #e5e7eb;border-radius:6px}.metric-label{font-size:14px;font-weight:500;color:#374151}.metric-formula{font-size:12px;color:#9ca3af;font-family:monospace}.columns-list{display:flex;flex-wrap:wrap;gap:8px}.column-chip{background:#fff;border:1px solid #e5e7eb;color:#374151;padding:6px 12px;border-radius:6px;font-size:13px;font-weight:500}.chart-config{display:flex;flex-direction:column;gap:8px}.chart-config-item{display:flex;align-items:center;gap:12px;padding:8px 12px;background:#fff;border:1px solid #e5e7eb;border-radius:6px}.config-label{font-size:13px;font-weight:600;color:#6b7280;min-width:60px}.config-value{font-size:14px;color:#374151}.template-preview-footer{display:flex;justify-content:flex-end;gap:12px;padding:24px 32px;border-top:1px solid #e5e7eb;background:#fff}.template-preview-btn{display:flex;align-items:center;justify-content:center;gap:8px;padding:12px 24px;border-radius:8px;font-size:15px;font-weight:600;cursor:pointer;transition:all .2s ease}.template-preview-btn .btn-icon{width:18px;height:18px}.cancel-btn{background:#fff;border:1px solid #d1d5db;color:#374151}.cancel-btn:hover{background:#f9fafb;border-color:#9ca3af}.use-template-btn{color:#fff;border:none}.use-template-btn:hover{transform:translateY(-1px);box-shadow:0 4px 12px #0003}@media (max-width: 768px){.template-preview-modal{max-width:95vw;max-height:95vh}.template-preview-header{flex-direction:column;align-items:flex-start;gap:16px;padding:24px}.template-preview-icon{width:60px;height:60px;font-size:30px}.template-preview-title{font-size:24px}.template-preview-content,.preview-section{padding:20px}.template-info-grid{grid-template-columns:1fr}.section-preview-details{margin-left:0}.template-preview-footer{flex-direction:column;padding:20px}.template-preview-btn{width:100%}}.templates-gallery{width:100%;height:100%;display:flex;flex-direction:column;gap:24px}.gallery-header{display:flex;justify-content:space-between;align-items:flex-start;padding-bottom:16px;border-bottom:2px solid #e5e7eb}.gallery-header-left{flex:1}.gallery-title{font-size:28px;font-weight:700;color:#1f2937;margin:0 0 8px}.gallery-subtitle{font-size:15px;color:#6b7280;margin:0}.gallery-search-container{position:relative;width:100%}.gallery-search-icon{position:absolute;left:14px;top:50%;transform:translateY(-50%);width:20px;height:20px;color:#9ca3af}.gallery-search-input{width:100%;padding:14px 40px 14px 46px;border:1px solid #d1d5db;border-radius:10px;font-size:15px;transition:all .2s ease;background:#fff}.gallery-search-input:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.gallery-clear-search{position:absolute;right:14px;top:50%;transform:translateY(-50%);width:28px;height:28px;border:none;background:#e5e7eb;color:#6b7280;border-radius:50%;cursor:pointer;font-size:20px;display:flex;align-items:center;justify-content:center;transition:all .2s ease}.gallery-clear-search:hover{background:#d1d5db;color:#374151}.category-tabs{display:flex;gap:8px;flex-wrap:wrap;padding-bottom:4px;border-bottom:2px solid #e5e7eb;overflow-x:auto}.category-tab{display:flex;align-items:center;gap:8px;padding:12px 20px;background:transparent;border:none;border-bottom:3px solid transparent;color:#6b7280;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s ease;white-space:nowrap;margin-bottom:-6px}.category-tab:hover{color:#374151;background:#f9fafb;border-radius:8px 8px 0 0}.category-tab.active{color:#667eea;border-bottom-color:#667eea}.category-tab-icon{font-size:18px}.category-tab-label{font-size:14px}.category-tab-count{font-size:12px;color:#9ca3af;font-weight:500}.gallery-results-info{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;background:#f9fafb;border-radius:8px;border:1px solid #e5e7eb}.results-text{font-size:14px;color:#6b7280;font-weight:500}.reset-filters-btn-gallery{background:#fff;border:1px solid #d1d5db;color:#374151;padding:6px 16px;border-radius:6px;font-size:13px;font-weight:500;cursor:pointer;transition:all .2s ease}.reset-filters-btn-gallery:hover{background:#f9fafb;border-color:#9ca3af}.templates-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:24px;width:100%}@media (max-width: 768px){.templates-grid{grid-template-columns:1fr}}@media (min-width: 769px) and (max-width: 1024px){.templates-grid{grid-template-columns:repeat(2,1fr)}}@media (min-width: 1025px) and (max-width: 1440px){.templates-grid{grid-template-columns:repeat(3,1fr)}}@media (min-width: 1441px){.templates-grid{grid-template-columns:repeat(3,1fr)}}.empty-templates-state{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:80px 20px;text-align:center}.empty-templates-icon{font-size:80px;margin-bottom:24px;opacity:.6}.empty-templates-title{font-size:24px;font-weight:700;color:#1f2937;margin:0 0 12px}.empty-templates-description{font-size:16px;color:#6b7280;margin:0 0 32px;max-width:400px}.empty-templates-cta{background:linear-gradient(135deg,#667eea,#764ba2);border:none;color:#fff;padding:12px 32px;border-radius:8px;font-size:16px;font-weight:600;cursor:pointer;transition:all .2s ease}.empty-templates-cta:hover{transform:translateY(-2px);box-shadow:0 4px 12px #667eea4d}@media (max-width: 768px){.gallery-header{flex-direction:column;gap:12px}.gallery-title{font-size:24px}.gallery-subtitle{font-size:14px}.category-tabs{gap:4px}.category-tab{padding:10px 16px;font-size:13px}.category-tab-icon{font-size:16px}.gallery-results-info{flex-direction:column;align-items:flex-start;gap:12px}.reset-filters-btn-gallery{width:100%}.empty-templates-icon{font-size:60px}.empty-templates-title{font-size:20px}.empty-templates-description{font-size:14px}}.widget-management-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;padding:20px}.widget-management-modal{background:#fff;border-radius:12px;width:100%;max-width:700px;max-height:85vh;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 20px 40px #00000026}.widget-management-modal__header{display:flex;align-items:flex-start;justify-content:space-between;padding:1.5rem;border-bottom:1px solid #e5e7eb;background:linear-gradient(135deg,#8b5cf60d,#a855f70d)}.widget-management-modal__title-section h2{margin:0 0 .25rem;font-size:1.25rem;font-weight:600;color:#111827}.widget-management-modal__subtitle{margin:0;font-size:.875rem;color:#6b7280}.widget-management-modal__close{padding:.5rem;background:transparent;border:none;border-radius:6px;cursor:pointer;color:#9ca3af;transition:all .2s ease}.widget-management-modal__close:hover{background:#f3f4f6;color:#374151}.widget-management-modal__close svg{width:1.25rem;height:1.25rem}.widget-management-modal__content{flex:1;overflow-y:auto;padding:1.5rem}.widget-management-modal__loading{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:3rem;gap:1rem}.widget-management-modal__loading .loading-spinner{width:2.5rem;height:2.5rem;border:3px solid #e5e7eb;border-top-color:#8b5cf6;border-radius:50%;animation:spin 1s linear infinite}.widget-management-modal__loading p{margin:0;color:#6b7280;font-size:.875rem}.widget-management-modal__error{text-align:center;padding:2rem}.widget-management-modal__error p{color:#ef4444;margin:0 0 1rem}.widget-management-modal__error button{padding:.5rem 1rem;background:#8b5cf6;color:#fff;border:none;border-radius:6px;cursor:pointer;font-weight:500}.widget-management-modal__empty{text-align:center;padding:3rem 2rem}.widget-management-modal__empty .empty-icon{font-size:3rem;margin-bottom:1rem}.widget-management-modal__empty h3{margin:0 0 .5rem;font-size:1.125rem;font-weight:600;color:#374151}.widget-management-modal__empty p{color:#6b7280;font-size:.875rem;max-width:300px;margin:0 auto}.widget-management-modal__list{display:flex;flex-direction:column;gap:1rem}.widget-card{background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:1rem;transition:all .2s ease}.widget-card:hover{border-color:#c4b5fd;box-shadow:0 2px 8px #8b5cf61a}.widget-card__header{display:flex;align-items:flex-start;gap:.75rem;margin-bottom:.75rem}.widget-card__icon{font-size:1.5rem;line-height:1}.widget-card__info{flex:1;min-width:0}.widget-card__name{margin:0 0 .25rem;font-size:1rem;font-weight:600;color:#111827;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.widget-card__meta{display:flex;flex-wrap:wrap;gap:.5rem;font-size:.75rem;color:#6b7280}.widget-card__type{background:#f3f4f6;padding:.125rem .5rem;border-radius:4px;text-transform:capitalize}.widget-card__sections,.widget-card__date{color:#9ca3af}.widget-card__actions{display:flex;flex-wrap:wrap;gap:.5rem;border-top:1px solid #f3f4f6;padding-top:.75rem}.widget-action-btn{display:flex;align-items:center;gap:.375rem;padding:.375rem .75rem;border:1px solid #e5e7eb;border-radius:6px;background:#fff;font-size:.813rem;font-weight:500;cursor:pointer;transition:all .2s ease}.widget-action-btn svg{width:.875rem;height:.875rem}.widget-action-btn:disabled{opacity:.5;cursor:not-allowed}.widget-action-btn--edit{color:#8b5cf6;border-color:#c4b5fd}.widget-action-btn--edit:hover:not(:disabled){background:#8b5cf61a;border-color:#8b5cf6}.widget-action-btn--pin{color:#14b8a6;border-color:#99f6e4}.widget-action-btn--pin:hover:not(:disabled){background:#14b8a61a;border-color:#14b8a6}.widget-action-btn--duplicate{color:#3b82f6;border-color:#93c5fd}.widget-action-btn--duplicate:hover:not(:disabled){background:#3b82f61a;border-color:#3b82f6}.widget-action-btn--delete{color:#ef4444;border-color:#fca5a5}.widget-action-btn--delete:hover:not(:disabled){background:#ef44441a;border-color:#ef4444}.widget-management-modal__footer{display:flex;align-items:center;justify-content:space-between;padding:1rem 1.5rem;border-top:1px solid #e5e7eb;background:#f9fafb}.widget-management-modal__count{font-size:.875rem;color:#6b7280}.widget-management-modal__close-btn{padding:.5rem 1.25rem;background:#fff;border:1px solid #e5e7eb;border-radius:6px;font-size:.875rem;font-weight:500;color:#374151;cursor:pointer;transition:all .2s ease}.widget-management-modal__close-btn:hover{background:#f3f4f6;border-color:#d1d5db}@media (max-width: 640px){.widget-management-modal{max-height:95vh;margin:10px}.widget-management-modal__header,.widget-management-modal__content{padding:1rem}.widget-card__actions{flex-direction:column}.widget-action-btn{justify-content:center;width:100%}}.entity-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:24px;cursor:pointer;transition:all .2s cubic-bezier(.4,0,.2,1);display:flex;flex-direction:column;min-height:180px}.entity-card:hover{transform:translateY(-2px);box-shadow:0 10px 25px -5px #0000001a,0 8px 10px -6px #0000001a;border-color:#d1d5db}.entity-card:active{transform:translateY(0)}.entity-card:focus-visible{outline:2px solid #3b82f6;outline-offset:2px}.entity-card--inactive{opacity:.7}.entity-card__header{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:16px}.entity-card__icon-badge{display:flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:12px;transition:transform .2s ease}.entity-card:hover .entity-card__icon-badge{transform:scale(1.05)}.entity-card__icon{width:24px;height:24px}.entity-card__actions{display:flex;align-items:center;gap:8px}.entity-card__badge{font-size:12px;padding:2px 10px;border-radius:9999px;font-weight:500}.entity-card__badge--inactive{background-color:#f3f4f6;color:#6b7280}.entity-card__menu-container{position:relative}.entity-card__menu-button{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border:none;background:transparent;border-radius:6px;cursor:pointer;transition:background-color .15s ease;color:#9ca3af}.entity-card__menu-button:hover{background-color:#f3f4f6;color:#6b7280}.entity-card__menu-icon{width:16px;height:16px}.entity-card__dropdown{position:absolute;right:0;top:100%;margin-top:4px;width:180px;background:#fff;border:1px solid #e5e7eb;border-radius:8px;box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a;z-index:50;animation:slideDown .15s ease-out;transform-origin:top right;overflow:hidden}@keyframes slideDown{0%{opacity:0;transform:translateY(-8px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}.entity-card__dropdown-item{display:flex;align-items:center;gap:8px;width:100%;padding:10px 16px;border:none;background:transparent;text-align:left;font-size:14px;color:#374151;cursor:pointer;transition:background-color .15s ease}.entity-card__dropdown-item:hover{background-color:#f9fafb}.entity-card__dropdown-item--divider{border-top:1px solid #f3f4f6}.entity-card__dropdown-icon{width:16px;height:16px;color:#6b7280}.entity-card__title{font-size:18px;font-weight:600;color:#111827;margin:0 0 8px;line-height:1.3}.entity-card__title--inactive{opacity:.6}.entity-card__description{font-size:14px;color:#6b7280;margin:0 0 auto;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.entity-card__description--inactive{opacity:.6}.entity-card__footer{display:flex;align-items:center;justify-content:space-between;padding-top:16px;margin-top:16px;border-top:1px solid #f3f4f6}.entity-card__plural{display:flex;align-items:center;gap:8px;font-size:14px;color:#6b7280}.entity-card__footer-icon{width:16px;height:16px;color:#9ca3af}.entity-card__count{display:flex;align-items:center;gap:6px;font-size:14px}.entity-card__count-number{font-weight:600;color:#374151}.entity-card__count-label{color:#9ca3af}.entity-card__stats{display:flex;align-items:center;gap:12px}.entity-card__count--widgets{padding-left:12px;border-left:1px solid #e5e7eb}.entity-card__count--widgets .entity-card__count-number{color:#8b5cf6}.entity-card__widget-count-badge{margin-left:auto;background:linear-gradient(135deg,#8b5cf6,#a855f7);color:#fff;font-size:11px;font-weight:600;padding:2px 8px;border-radius:9999px;min-width:20px;text-align:center}@media (max-width: 768px){.entity-card{padding:20px}.entity-card__icon-badge{width:40px;height:40px;border-radius:10px}.entity-card__icon{width:20px;height:20px}.entity-card__title{font-size:16px}.entity-card__description{font-size:13px}}.entity-type-modal__overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;padding:20px}.entity-type-modal{background:#fff;border-radius:12px;width:100%;max-width:520px;max-height:90vh;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a}.entity-type-modal__header{display:flex;align-items:center;justify-content:space-between;padding:20px 24px;border-bottom:1px solid #e5e7eb}.entity-type-modal__title{font-size:18px;font-weight:600;color:#111827;margin:0}.entity-type-modal__close{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border:none;background:transparent;border-radius:6px;cursor:pointer;color:#6b7280;transition:all .15s ease}.entity-type-modal__close:hover{background-color:#f3f4f6;color:#374151}.entity-type-modal__close svg{width:20px;height:20px}.entity-type-modal__body{padding:24px;overflow-y:auto;flex:1}.entity-type-modal__form-group{margin-bottom:20px}.entity-type-modal__form-group:last-child{margin-bottom:0}.entity-type-modal__form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:20px}.entity-type-modal__form-row .entity-type-modal__form-group{margin-bottom:0}.entity-type-modal__label{display:block;font-size:14px;font-weight:500;color:#374151;margin-bottom:6px}.entity-type-modal__label--required:after{content:" *";color:#ef4444}.entity-type-modal__input{width:100%;padding:10px 12px;font-size:14px;border:1px solid #d1d5db;border-radius:8px;background:#fff;color:#111827;transition:all .15s ease;box-sizing:border-box}.entity-type-modal__input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.entity-type-modal__input::placeholder{color:#9ca3af}.entity-type-modal__textarea{min-height:80px;resize:vertical}.entity-type-modal__color-row{display:flex;gap:8px;align-items:center}.entity-type-modal__color-picker{width:40px;height:40px;padding:2px;border:1px solid #d1d5db;border-radius:8px;cursor:pointer;background:transparent}.entity-type-modal__color-picker::-webkit-color-swatch-wrapper{padding:0}.entity-type-modal__color-picker::-webkit-color-swatch{border:none;border-radius:6px}.entity-type-modal__input--color{flex:1}.entity-type-modal__footer{display:flex;justify-content:flex-end;gap:12px;padding:16px 24px;border-top:1px solid #e5e7eb;background:#f9fafb}.entity-type-modal__btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 20px;font-size:14px;font-weight:500;border-radius:8px;cursor:pointer;transition:all .15s ease;border:none}.entity-type-modal__btn--primary{background-color:#3b82f6;color:#fff}.entity-type-modal__btn--primary:hover:not(:disabled){background-color:#2563eb}.entity-type-modal__btn--primary:disabled{background-color:#93c5fd;cursor:not-allowed}.entity-type-modal__btn--secondary{background-color:#fff;color:#374151;border:1px solid #d1d5db}.entity-type-modal__btn--secondary:hover{background-color:#f9fafb}@media (max-width: 640px){.entity-type-modal__overlay{padding:16px}.entity-type-modal{max-height:95vh}.entity-type-modal__header{padding:16px 20px}.entity-type-modal__body{padding:20px}.entity-type-modal__form-row{grid-template-columns:1fr}.entity-type-modal__footer{padding:12px 20px}}.entity-library-tab{display:flex;flex-direction:column;gap:24px}.entity-library-tab__toolbar{display:flex;flex-wrap:wrap;gap:16px;align-items:center}.entity-library-tab__search{flex:1;min-width:200px;max-width:300px;position:relative;overflow:hidden}.entity-library-tab__search-icon{position:absolute;left:12px;top:50%;transform:translateY(-50%);width:16px;height:16px;color:#9ca3af;pointer-events:none}.entity-library-tab__search-input{width:100%;padding:10px 12px 10px 40px;font-size:14px;border:1px solid #d1d5db;border-radius:8px;background:#fff;color:#111827;transition:all .15s ease;box-shadow:0 1px 2px #0000000d}.entity-library-tab__search-input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.entity-library-tab__search-input::placeholder{color:#9ca3af}.entity-library-tab__filter-toggle{display:flex;align-items:center;gap:8px;padding:10px 16px;background:#f9fafb;border:1px solid #9ca3af;border-radius:8px;cursor:pointer;font-size:14px;font-weight:500;color:#374151;transition:all .15s ease;box-shadow:0 1px 2px #0000000d;box-sizing:border-box;flex-shrink:0}.entity-library-tab__filter-toggle:hover{background-color:#f9fafb}.entity-library-tab__filter-toggle input[type=checkbox]{width:18px;height:18px;accent-color:#3b82f6;cursor:pointer;flex-shrink:0;margin:0;-moz-appearance:auto;appearance:auto;-webkit-appearance:checkbox}.entity-library-tab__button{display:inline-flex;align-items:center;gap:8px;padding:10px 16px;font-size:14px;font-weight:500;border-radius:8px;cursor:pointer;transition:all .15s ease;border:none}.entity-library-tab__button--primary{background-color:#3b82f6;color:#fff}.entity-library-tab__button--primary:hover{background-color:#2563eb}.entity-library-tab__button--error{background-color:#ef4444;color:#fff}.entity-library-tab__button--error:hover{background-color:#dc2626}.entity-library-tab__button-icon{width:16px;height:16px}.entity-library-tab__content{min-height:300px}.entity-library-tab__grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:24px}.entity-library-tab__loading{padding:0}.entity-library-tab__skeleton-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:24px}.entity-library-tab__skeleton-card{height:180px;background:linear-gradient(90deg,#f0f0f0 25%,#e8e8e8,#f0f0f0 75%);background-size:1000px 100%;border-radius:12px;animation:entity-library-shimmer 2s infinite}@keyframes entity-library-shimmer{0%{background-position:-1000px 0}to{background-position:1000px 0}}.entity-library-tab__error{padding:48px 24px}.entity-library-tab__error-content{max-width:400px;margin:0 auto;text-align:center;padding:32px;background:#fef2f2;border:1px solid #fecaca;border-radius:12px}.entity-library-tab__error-icon{width:48px;height:48px;color:#ef4444;margin:0 auto 16px}.entity-library-tab__error-title{font-size:18px;font-weight:600;color:#991b1b;margin:0 0 8px}.entity-library-tab__error-message{font-size:14px;color:#b91c1c;margin:0 0 20px}.entity-library-tab__empty{text-align:center;padding:64px 24px}.entity-library-tab__empty-icon{width:120px;height:120px;margin:0 auto 24px;opacity:.4}.entity-library-tab__empty-icon svg{width:100%;height:100%;color:#9ca3af}.entity-library-tab__empty-title{font-size:20px;font-weight:600;color:#111827;margin:0 0 8px}.entity-library-tab__empty-message{font-size:14px;color:#6b7280;max-width:400px;margin:0 auto 24px;line-height:1.6}.entity-library-tab__no-results{text-align:center;padding:64px 24px}.entity-library-tab__no-results-icon{width:64px;height:64px;color:#d1d5db;margin:0 auto 16px}.entity-library-tab__no-results-title{font-size:18px;font-weight:600;color:#111827;margin:0 0 8px}.entity-library-tab__no-results-message{font-size:14px;color:#6b7280;margin:0}.entity-library-tab__section{margin-bottom:32px}.entity-library-tab__section:last-child{margin-bottom:0}.entity-library-tab__section-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px;padding-bottom:12px;border-bottom:1px solid #e5e7eb}.entity-library-tab__section-title{display:flex;align-items:center;gap:8px;margin:0;font-size:16px;font-weight:600;color:#374151}.entity-library-tab__section-icon{width:20px;height:20px;color:#6b7280}.entity-library-tab__section-count{font-size:13px;color:#9ca3af;font-weight:500}@media (max-width: 1024px){.entity-library-tab__grid{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:20px}}@media (max-width: 768px){.entity-library-tab__toolbar{flex-direction:column;align-items:stretch}.entity-library-tab__search{max-width:none}.entity-library-tab__grid{grid-template-columns:1fr;gap:16px}}.entities-ai-terminal{padding:2rem;max-width:1200px;margin:0 auto}.entities-ai-header{margin-bottom:2rem;text-align:center}.entities-ai-title{font-size:1.875rem;font-weight:700;color:#111827;margin-bottom:.5rem}.entities-ai-subtitle{font-size:1rem;color:#6b7280;margin:0}.entities-ai-available{background:linear-gradient(135deg,#10b9810d,#06b6d40d);border:1px solid rgba(16,185,129,.2);border-radius:12px;padding:1.25rem;margin-bottom:1.5rem}.entities-ai-available-header{display:flex;align-items:center;gap:.5rem;font-size:.938rem;font-weight:600;color:#10b981;margin-bottom:.75rem}.entities-ai-available-icon{width:1.25rem;height:1.25rem;stroke:currentColor}.entities-ai-entity-tags{display:flex;flex-wrap:wrap;gap:.5rem}.entities-ai-entity-tag{display:inline-flex;align-items:center;padding:.375rem .875rem;background:#fff;border:2px solid;border-radius:20px;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s ease}.entities-ai-entity-tag:hover{transform:translateY(-1px);box-shadow:0 2px 8px #0000001a}.entities-ai-examples{background:linear-gradient(135deg,#8b5cf60d,#a855f70d);border:1px solid rgba(139,92,246,.2);border-radius:12px;padding:1.5rem;margin-bottom:2rem}.entities-ai-examples-header{display:flex;align-items:center;gap:.5rem;font-size:1rem;font-weight:600;color:#8b5cf6;margin-bottom:1rem}.entities-ai-examples-icon{width:1.25rem;height:1.25rem;stroke:currentColor}.entities-ai-examples-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:.75rem}.entities-ai-example-item{background:#fff;padding:1rem 1.25rem;border-radius:8px;border:1px solid #e5e7eb;cursor:pointer;transition:all .2s ease;font-size:.938rem;color:#374151}.entities-ai-example-item:hover{border-color:#8b5cf6;background:linear-gradient(135deg,#8b5cf614,#a855f714);color:#8b5cf6;transform:translate(4px)}.entities-ai-input-section{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:1.5rem;margin-bottom:2rem}.entities-ai-input-label{display:block;font-size:.938rem;font-weight:600;color:#374151;margin-bottom:.75rem}.entities-ai-textarea{width:100%;padding:1rem;border:2px solid #e5e7eb;border-radius:8px;font-size:.938rem;font-family:inherit;resize:vertical;min-height:120px;transition:all .2s ease;margin-bottom:1rem;box-sizing:border-box}.entities-ai-textarea:focus{outline:none;border-color:#8b5cf6;box-shadow:0 0 0 3px #8b5cf61a}.entities-ai-textarea:disabled{background-color:#f9fafb;cursor:not-allowed;opacity:.6}.entities-ai-textarea::placeholder{color:#9ca3af}.entities-ai-generate-btn{display:inline-flex;align-items:center;gap:.5rem;padding:.75rem 1.5rem;background:linear-gradient(135deg,#8b5cf6,#a855f7);color:#fff;border:none;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .2s ease}.entities-ai-generate-btn:hover:not(:disabled){background:linear-gradient(135deg,#7c3aed,#9333ea);transform:translateY(-1px);box-shadow:0 4px 12px #8b5cf64d}.entities-ai-generate-btn:disabled{background:#9ca3af;cursor:not-allowed;transform:none}.entities-ai-btn-icon{width:1.25rem;height:1.25rem}.entities-ai-spinner{width:1.25rem;height:1.25rem;animation:entities-spin 1s linear infinite}@keyframes entities-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.entities-ai-spinner-circle{opacity:.25}.entities-ai-spinner-path{opacity:.75}.entities-ai-preview-section{background:#fff;border:2px dashed #e5e7eb;border-radius:12px;min-height:400px}.entities-ai-preview-section:has(.entities-ai-preview-content){border:1px solid #e5e7eb;border-style:solid;display:block}.entities-ai-preview-section:has(.entities-ai-preview-placeholder){display:flex;align-items:center;justify-content:center}.entities-ai-preview-header{display:flex;justify-content:space-between;align-items:center;padding:1.5rem 2rem;border-bottom:1px solid #e5e7eb;background:linear-gradient(135deg,#8b5cf608,#a855f708)}.entities-ai-preview-section-title{font-size:1.25rem;font-weight:700;color:#111827;margin:0}.entities-ai-preview-actions{display:flex;gap:.75rem}.entities-ai-action-btn{display:inline-flex;align-items:center;gap:.5rem;padding:.625rem 1rem;border:1px solid #e5e7eb;border-radius:8px;font-size:.875rem;font-weight:600;cursor:pointer;transition:all .2s ease;background:#fff;color:#374151}.entities-ai-action-icon{width:1rem;height:1rem;stroke:currentColor}.entities-ai-action-btn:hover{border-color:#8b5cf6;background:linear-gradient(135deg,#8b5cf60d,#a855f70d);color:#8b5cf6;transform:translateY(-1px)}.entities-ai-action-regenerate{background:#fff;border-color:#e5e7eb}.entities-ai-action-edit{background:linear-gradient(135deg,#f59e0b,#d97706);color:#fff;border-color:#f59e0b}.entities-ai-action-edit:hover{background:linear-gradient(135deg,#d97706,#b45309);border-color:#d97706;color:#fff}.entities-ai-action-pin{background:linear-gradient(135deg,#8b5cf6,#a855f7);color:#fff;border-color:#8b5cf6}.entities-ai-action-pin:hover{background:linear-gradient(135deg,#7c3aed,#9333ea);border-color:#7c3aed;color:#fff}.entities-ai-preview-content{padding:2rem;max-height:600px;overflow-y:auto}.entities-ai-preview-content table{width:100%;border-collapse:collapse;margin-bottom:1rem}.entities-ai-preview-content th,.entities-ai-preview-content td{padding:.75rem 1rem;text-align:left;border-bottom:1px solid #e5e7eb}.entities-ai-preview-content th{background:#f9fafb;font-weight:600;color:#374151}.entities-ai-preview-content tr:hover{background:#f9fafb}.entities-ai-preview-placeholder{text-align:center;padding:3rem 2rem}.entities-ai-preview-icon{width:4rem;height:4rem;margin:0 auto 1.5rem;stroke:#d1d5db}.entities-ai-preview-title{font-size:1.5rem;font-weight:600;color:#4b5563;margin-bottom:.5rem}.entities-ai-preview-text{font-size:1rem;color:#9ca3af;margin:0}@media (max-width: 768px){.entities-ai-terminal{padding:1rem}.entities-ai-title{font-size:1.5rem}.entities-ai-subtitle{font-size:.875rem}.entities-ai-available,.entities-ai-examples,.entities-ai-input-section{padding:1rem}.entities-ai-textarea{font-size:.875rem}.entities-ai-generate-btn{width:100%;justify-content:center}.entities-ai-preview-header{flex-direction:column;align-items:flex-start;gap:1rem}.entities-ai-preview-actions{width:100%;flex-direction:column}.entities-ai-action-btn{width:100%;justify-content:center}.entities-ai-preview-content{padding:1.5rem}.entities-ai-preview-placeholder{padding:2rem 1rem}.entities-ai-preview-title{font-size:1.25rem}}@media (max-width: 480px){.entities-ai-header{margin-bottom:1.5rem}.entities-ai-title{font-size:1.25rem}.entities-ai-available{padding:.75rem}.entities-ai-entity-tags{gap:.375rem}.entities-ai-entity-tag{padding:.25rem .625rem;font-size:.813rem}.entities-ai-examples{padding:.75rem}.entities-ai-example-item{padding:.75rem 1rem;font-size:.875rem}.entities-ai-input-section{padding:.75rem}}.widget-builder-canvas{min-height:600px;background:transparent;border-radius:12px;overflow:hidden;box-shadow:none;width:100%;max-width:100%}.widget-builder-canvas .edit-mode-banner{background:linear-gradient(135deg,#14b8a61a,#06b6d41a);border-bottom:2px solid #14b8a6;padding:1rem 1.5rem;display:flex;justify-content:space-between;align-items:center}.widget-builder-canvas .edit-mode-banner span{font-weight:600;color:#14b8a6;font-size:1rem}.widget-builder-canvas .edit-mode-banner button{padding:.5rem 1rem;background:#fff;border:1px solid #14b8a6;border-radius:6px;color:#14b8a6;font-weight:500;cursor:pointer;transition:all .2s ease}.widget-builder-canvas .edit-mode-banner button:hover{background:#14b8a6;color:#fff;transform:translate(2px)}.widget-builder-canvas .builder-layout{display:grid;grid-template-columns:minmax(220px,250px) minmax(0,1fr) minmax(280px,300px);gap:0;min-height:600px;width:100%;max-width:100%;overflow:hidden}.widget-builder-canvas .builder-sidebar{background:linear-gradient(180deg,#f0fdfa,#ccfbf1);border-right:2px solid #99f6e4;padding:1.5rem;overflow-y:auto;overflow-x:hidden;min-width:0}.widget-builder-canvas .builder-sidebar h3{font-size:1rem;font-weight:700;color:#14b8a6;margin-bottom:.5rem}.widget-builder-canvas .sidebar-subtitle{font-size:.813rem;color:#9ca3af;margin-bottom:1rem}.widget-builder-canvas .sidebar-divider{height:1px;background:linear-gradient(90deg,transparent,#99f6e4,transparent);margin:1rem 0}.widget-builder-canvas .component-btn{display:flex;align-items:center;gap:.75rem;width:100%;padding:.75rem 1rem;margin-bottom:.5rem;background:#fff;border:1px solid #99f6e4;border-radius:8px;cursor:pointer;transition:all .2s ease}.widget-builder-canvas .component-btn:hover{border-color:#14b8a6;background:linear-gradient(135deg,#14b8a60d,#06b6d40d);transform:translate(4px)}.widget-builder-canvas .component-btn.wizard-btn{background:linear-gradient(135deg,#14b8a61a,#06b6d41a);border-color:#14b8a6}.widget-builder-canvas .component-btn.wizard-btn:hover{background:linear-gradient(135deg,#14b8a6,#06b6d4);color:#fff}.widget-builder-canvas .component-btn.wizard-btn:hover .component-label{color:#fff}.widget-builder-canvas .component-icon{font-size:1.25rem}.widget-builder-canvas .component-label{font-size:.938rem;font-weight:500;color:#111827}.widget-builder-canvas .component-palette-categories{display:flex;flex-direction:column;gap:8px}.widget-builder-canvas .component-category{border:1px solid #99f6e4;border-radius:8px;overflow:hidden;background:#fff}.widget-builder-canvas .category-header{display:flex;align-items:center;gap:8px;width:100%;padding:10px 12px;background:linear-gradient(135deg,#14b8a60d,#06b6d40d);border:none;cursor:pointer;font-weight:600;font-size:.875rem;color:#14b8a6;transition:all .2s ease}.widget-builder-canvas .category-header:hover{background:linear-gradient(135deg,#14b8a61a,#06b6d41a)}.widget-builder-canvas .category-icon{font-size:1rem}.widget-builder-canvas .category-label{flex:1;text-align:left}.widget-builder-canvas .category-chevron{font-size:.625rem;transition:transform .2s ease;color:#14b8a6}.widget-builder-canvas .category-chevron.expanded{transform:rotate(180deg)}.widget-builder-canvas .category-components{display:flex;flex-direction:column;padding:8px;gap:4px;background:#f0fdfa}.widget-builder-canvas .category-components .component-btn{margin-bottom:0;padding:8px 12px;font-size:.875rem;border:1px solid transparent;background:#fff}.widget-builder-canvas .category-components .component-btn:hover{border-color:#14b8a6;background:linear-gradient(135deg,#14b8a614,#06b6d414)}.widget-builder-canvas .category-components .component-icon{font-size:1rem}.widget-builder-canvas .category-components .component-label{font-size:.875rem;font-weight:500}.widget-builder-canvas .builder-canvas{padding:2rem;overflow-y:auto;overflow-x:hidden;max-height:600px;background:#fafbfc;min-width:0}.widget-builder-canvas .widget-title-input{width:100%;font-size:1.5rem;font-weight:700;color:#111827;padding:.75rem 1rem;border:2px solid #e5e7eb;border-radius:8px;margin-bottom:1.5rem;transition:all .2s ease}.widget-builder-canvas .widget-title-input:focus{outline:none;border-color:#14b8a6;box-shadow:0 0 0 3px #14b8a61a}.widget-builder-canvas .widget-title-input::placeholder{color:#d1d5db}.widget-builder-canvas .canvas-empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:4rem 2rem;text-align:center;color:#9ca3af}.widget-builder-canvas .canvas-empty-state .empty-icon{width:4rem;height:4rem;margin-bottom:1rem;color:#d1d5db}.widget-builder-canvas .canvas-empty-state h3{font-size:1.25rem;font-weight:600;color:#6b7280;margin-bottom:.5rem}.widget-builder-canvas .canvas-empty-state p{font-size:1rem;color:#9ca3af;margin:0}.widget-builder-canvas .canvas-section{background:#fff;border:2px dashed #e5e7eb;border-radius:8px;padding:1rem;margin-bottom:1rem;cursor:pointer;transition:all .2s ease}.widget-builder-canvas .canvas-section:hover{border-color:#14b8a6;background:linear-gradient(135deg,#14b8a605,#06b6d405);transform:translate(4px)}.widget-builder-canvas .canvas-section.selected{border-color:#14b8a6;border-style:solid;background:linear-gradient(135deg,#14b8a614,#06b6d414);box-shadow:0 4px 12px #14b8a633}.widget-builder-canvas .canvas-section.dragging{opacity:.5;transform:scale(.95)}.widget-builder-canvas .section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.75rem}.widget-builder-canvas .section-header-left{display:flex;align-items:center;gap:.75rem;flex:1}.widget-builder-canvas .section-type{background:linear-gradient(135deg,#14b8a6,#06b6d4);color:#fff;padding:.25rem .625rem;border-radius:4px;font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.025em}.widget-builder-canvas .section-title{font-weight:600;color:#111827;font-size:.938rem}.widget-builder-canvas .delete-section-btn{padding:.375rem;background:transparent;border:1px solid #e5e7eb;border-radius:4px;color:#9ca3af;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;justify-content:center}.widget-builder-canvas .delete-section-btn svg{width:1rem;height:1rem}.widget-builder-canvas .delete-section-btn:hover{background:#fee2e2;border-color:#ef4444;color:#ef4444}.widget-builder-canvas .section-preview{padding:.75rem;background:#f9fafb;border-radius:6px;border:1px solid #e5e7eb}.widget-builder-canvas .section-description{font-size:.875rem;color:#6b7280;margin:0}.widget-builder-canvas .timeframe-section{background:#fff;border:2px solid #99f6e4;border-radius:8px;padding:1.25rem;margin-bottom:1.5rem}.widget-builder-canvas .timeframe-heading{font-size:1rem;font-weight:600;color:#14b8a6;margin:0 0 1rem}.widget-builder-canvas .timeframe-toggle{display:flex;gap:.5rem;margin-bottom:1rem}.widget-builder-canvas .timeframe-toggle-btn{flex:1;padding:.625rem 1rem;background:#fff;border:1px solid #e5e7eb;border-radius:6px;font-size:.875rem;font-weight:500;color:#6b7280;cursor:pointer;transition:all .2s ease}.widget-builder-canvas .timeframe-toggle-btn.active{background:linear-gradient(135deg,#14b8a6,#06b6d4);color:#fff;border-color:#14b8a6}.widget-builder-canvas .timeframe-toggle-btn:hover:not(.active){border-color:#14b8a6;background:#f9fafb}.widget-builder-canvas .timeframe-clear-btn{padding:.625rem 1rem;background:#fff;border:1px solid #e5e7eb;border-radius:6px;font-size:.875rem;color:#6b7280;cursor:pointer;transition:all .2s ease}.widget-builder-canvas .timeframe-clear-btn:hover:not(:disabled){background:#fee2e2;border-color:#ef4444;color:#ef4444}.widget-builder-canvas .timeframe-clear-btn:disabled{opacity:.5;cursor:not-allowed}.widget-builder-canvas .timeframe-presets{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:.5rem}.widget-builder-canvas .preset-btn{padding:.75rem 1rem;background:#fff;border:1px solid #e5e7eb;border-radius:6px;font-size:.875rem;color:#374151;cursor:pointer;transition:all .2s ease}.widget-builder-canvas .preset-btn:hover{border-color:#14b8a6;background:linear-gradient(135deg,#14b8a60d,#06b6d40d)}.widget-builder-canvas .preset-btn.selected{background:linear-gradient(135deg,#14b8a6,#06b6d4);color:#fff;border-color:#14b8a6;font-weight:600}.widget-builder-canvas .timeframe-custom{display:flex;flex-direction:column;gap:.75rem}.widget-builder-canvas .date-range-inputs{display:grid;grid-template-columns:1fr 1fr auto;gap:.75rem;align-items:end}.widget-builder-canvas .date-input-group{display:flex;flex-direction:column;gap:.375rem}.widget-builder-canvas .date-input-group label{font-size:.813rem;font-weight:500;color:#4b5563}.widget-builder-canvas .date-input-group input[type=date]{padding:.625rem;border:1px solid #d1d5db;border-radius:6px;font-size:.875rem;transition:all .2s ease}.widget-builder-canvas .date-input-group input[type=date]:focus{outline:none;border-color:#14b8a6;box-shadow:0 0 0 3px #14b8a61a}.widget-builder-canvas .apply-custom-btn{padding:.625rem 1.25rem;background:linear-gradient(135deg,#14b8a6,#06b6d4);color:#fff;border:none;border-radius:6px;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s ease;white-space:nowrap}.widget-builder-canvas .apply-custom-btn:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 4px 12px #14b8a666}.widget-builder-canvas .apply-custom-btn:disabled{opacity:.5;cursor:not-allowed}.widget-builder-canvas .timeframe-display{margin-top:1rem;padding:.75rem 1rem;background:linear-gradient(135deg,#14b8a60d,#06b6d40d);border:1px solid #99f6e4;border-radius:6px;display:flex;align-items:center;gap:.75rem}.widget-builder-canvas .timeframe-label{font-size:.875rem;font-weight:500;color:#6b7280}.widget-builder-canvas .timeframe-badge{background:linear-gradient(135deg,#14b8a6,#06b6d4);color:#fff;padding:.375rem .875rem;border-radius:16px;font-size:.813rem;font-weight:600}.widget-builder-canvas .builder-settings{background:linear-gradient(180deg,#f0fdfa,#ccfbf1);border-left:2px solid #99f6e4;padding:1.5rem;overflow-y:auto;overflow-x:hidden;min-width:0}.widget-builder-canvas .builder-settings h3{font-size:1rem;font-weight:700;color:#14b8a6;margin-bottom:1.5rem}.widget-builder-canvas .settings-form{display:flex;flex-direction:column;gap:1rem}.widget-builder-canvas .form-group{display:flex;flex-direction:column;gap:.5rem}.widget-builder-canvas .form-group label{font-size:.875rem;font-weight:600;color:#4b5563}.widget-builder-canvas .form-group input,.widget-builder-canvas .form-group select{width:100%;padding:.625rem;border:1px solid #e5e7eb;border-radius:6px;font-size:.938rem;transition:all .2s ease}.widget-builder-canvas .form-group input:focus,.widget-builder-canvas .form-group select:focus{outline:none;border-color:#14b8a6;box-shadow:0 0 0 3px #14b8a61a}.widget-builder-canvas .type-display{padding:.625rem;background:linear-gradient(135deg,#14b8a61a,#06b6d41a);border:1px solid #99f6e4;border-radius:6px;font-weight:600;color:#14b8a6;text-transform:capitalize}.widget-builder-canvas .settings-help{margin-top:1rem;padding:.75rem;background:linear-gradient(135deg,#14b8a60d,#06b6d40d);border-left:3px solid #14b8a6;border-radius:4px}.widget-builder-canvas .settings-help p{font-size:.813rem;color:#14b8a6;margin:0;line-height:1.5}.widget-builder-canvas .help-text{font-size:.75rem;color:#6b7280;margin-top:.25rem}.widget-builder-canvas .settings-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:3rem 1rem;text-align:center}.widget-builder-canvas .empty-icon-small{width:3rem;height:3rem;margin-bottom:1rem;color:#d1d5db}.widget-builder-canvas .settings-empty p{font-size:.938rem;color:#9ca3af;margin:0}.widget-builder-canvas .fields-container{display:flex;flex-direction:column;gap:8px}.widget-builder-canvas .field-row{display:flex;gap:8px;align-items:center;background:#fff;padding:8px;border-radius:6px;border:1px solid #e5e7eb;transition:all .2s ease}.widget-builder-canvas .field-row:hover{background:#f9fafb;border-color:#d1d5db}.widget-builder-canvas .field-row.dragging{opacity:.5;background:#ccfbf1;border-color:#14b8a6}.widget-builder-canvas .field-row .drag-handle{cursor:grab;font-size:16px;color:#6b7280;-webkit-user-select:none;user-select:none;transition:color .2s ease}.widget-builder-canvas .field-row:hover .drag-handle{color:#14b8a6}.widget-builder-canvas .field-row .drag-handle:active{cursor:grabbing}.widget-builder-canvas .field-row input,.widget-builder-canvas .field-row select{flex:1;padding:6px 8px;border:1px solid #d1d5db;border-radius:4px;font-size:.875rem}.widget-builder-canvas .add-field-btn{padding:8px;background:linear-gradient(135deg,#14b8a6,#06b6d4);color:#fff;border:none;border-radius:6px;cursor:pointer;font-weight:500;transition:all .2s ease}.widget-builder-canvas .add-field-btn:hover{transform:translateY(-2px);box-shadow:0 4px 12px #14b8a666}.widget-builder-canvas .remove-btn{padding:6px 10px;background:#fee2e2;border:1px solid #ef4444;border-radius:4px;color:#ef4444;cursor:pointer;transition:all .2s ease}.widget-builder-canvas .remove-btn:hover{background:#fecaca;transform:scale(1.05)}.widget-builder-canvas .metrics-container{display:flex;flex-direction:column;gap:12px}.widget-builder-canvas .metric-card{padding:12px;background:#f9fafb;border-radius:6px;border:1px solid #e5e7eb;display:flex;flex-direction:column;gap:8px}.widget-builder-canvas .metric-card input,.widget-builder-canvas .metric-card select{width:100%;padding:8px;border-radius:4px;border:1px solid #d1d5db;font-size:.875rem}.widget-builder-canvas .metric-options{display:flex;gap:8px}.widget-builder-canvas .metric-options select{flex:1}.widget-builder-canvas .builder-actions{display:flex;gap:1rem;padding:1.5rem;border-top:2px solid #99f6e4;background:linear-gradient(135deg,#f0fdfa,#ccfbf1)}.widget-builder-canvas .builder-actions button{flex:1;display:flex;align-items:center;justify-content:center;gap:.5rem;padding:.75rem 1.5rem;border-radius:8px;font-weight:600;font-size:.938rem;cursor:pointer;transition:all .2s ease}.widget-builder-canvas .builder-actions button:disabled{opacity:.5;cursor:not-allowed}.widget-builder-canvas .btn-icon{width:1.25rem;height:1.25rem}.widget-builder-canvas .save-library-btn{background:linear-gradient(135deg,#8b5cf6,#a855f7);color:#fff;border:none}.widget-builder-canvas .save-library-btn:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 4px 12px #8b5cf666}.widget-builder-canvas .save-library-btn:disabled{opacity:.6;cursor:not-allowed;transform:none;box-shadow:none}.widget-builder-canvas .save-btn{background:linear-gradient(135deg,#14b8a6,#06b6d4);color:#fff;border:none}.widget-builder-canvas .save-btn:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 4px 12px #14b8a666}.widget-builder-canvas .preview-btn{background:#fff;border:2px solid #14b8a6;color:#14b8a6}.widget-builder-canvas .preview-btn:hover:not(:disabled){background:linear-gradient(135deg,#14b8a61a,#06b6d41a);transform:translateY(-2px)}.widget-builder-canvas .clear-btn{background:#fff;border:1px solid #e5e7eb;color:#6b7280}.widget-builder-canvas .clear-btn:hover{background:#f9fafb;border-color:#d1d5db}.widget-preview-section{margin:0;border-top:3px solid #14b8a6;background:linear-gradient(135deg,#f0fdfa,#fff)}.widget-preview-header{display:flex;align-items:center;justify-content:space-between;padding:1rem 1.5rem;background:linear-gradient(135deg,#14b8a614,#06b6d414);border-bottom:1px solid #99f6e4}.widget-preview-header h3{display:flex;align-items:center;gap:.5rem;margin:0;font-size:1.125rem;font-weight:600;color:#0d9488}.widget-preview-header .preview-icon{width:1.25rem;height:1.25rem;color:#14b8a6}.close-preview-btn{display:flex;align-items:center;gap:.375rem;padding:.5rem 1rem;background:#fff;border:1px solid #e5e7eb;border-radius:6px;color:#6b7280;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s ease}.close-preview-btn:hover{background:#f9fafb;border-color:#d1d5db;color:#374151}.close-preview-btn svg{width:1rem;height:1rem}.widget-preview-content{padding:1.5rem;max-height:70vh;overflow-y:auto;background:#fff}.widget-preview-content .report-container{max-width:100%;margin:0;box-shadow:0 2px 8px #0000000d;border-radius:8px;border:1px solid #e5e7eb}@media (max-width: 1200px){.widget-builder-canvas .builder-layout{grid-template-columns:220px 1fr 280px}}@media (max-width: 1024px){.widget-builder-canvas .builder-layout{grid-template-columns:200px 1fr 250px}.widget-builder-canvas .component-label{font-size:.875rem}.widget-builder-canvas .builder-actions{flex-wrap:wrap}.widget-builder-canvas .builder-actions button{flex:1 1 calc(50% - .5rem);min-width:150px}}@media (max-width: 768px){.widget-builder-canvas .builder-layout{grid-template-columns:1fr}.widget-builder-canvas .builder-sidebar,.widget-builder-canvas .builder-settings{display:none}.widget-builder-canvas .canvas-section{padding:.75rem}.widget-builder-canvas .builder-actions{flex-direction:column;gap:.75rem}.widget-builder-canvas .builder-actions button{width:100%}.widget-builder-canvas .date-range-inputs{grid-template-columns:1fr}.widget-builder-canvas .timeframe-presets{grid-template-columns:1fr 1fr}}.widget-builder-canvas .kanban-columns-list{display:flex;flex-direction:column;gap:.5rem}.widget-builder-canvas .kanban-column-item{display:flex;align-items:center;gap:.5rem}.widget-builder-canvas .kanban-column-item input{flex:1;padding:.5rem;border:1px solid #e5e7eb;border-radius:6px;font-size:.875rem}.widget-builder-canvas .kanban-column-item input:focus{outline:none;border-color:#14b8a6;box-shadow:0 0 0 2px #14b8a61a}.widget-builder-canvas .kanban-column-item .remove-btn{width:28px;height:28px;display:flex;align-items:center;justify-content:center;background:#fff;border:1px solid #e5e7eb;border-radius:6px;color:#9ca3af;font-size:1.25rem;font-weight:300;cursor:pointer;transition:all .2s ease}.widget-builder-canvas .kanban-column-item .remove-btn:hover{background:#fee2e2;border-color:#ef4444;color:#ef4444}.widget-builder-canvas .threshold-info{padding:.5rem;background:#f9fafb;border-radius:6px}@media (max-width: 480px){.widget-builder-canvas .builder-canvas{padding:1rem}.widget-builder-canvas .widget-title-input{font-size:1.25rem;padding:.625rem .75rem}.widget-builder-canvas .section-title{font-size:.875rem}.widget-builder-canvas .builder-actions{padding:1rem}.widget-builder-canvas .timeframe-presets{grid-template-columns:1fr}.widget-builder-canvas .timeframe-section{padding:1rem}}.widget-builder-canvas .actions-config-section{margin-top:1.5rem;padding-top:1.5rem;border-top:1px solid #e5e7eb}.widget-builder-canvas .actions-config-section .section-label{display:flex;align-items:center;gap:.5rem;font-weight:600;color:#14b8a6;font-size:.938rem;margin-bottom:.25rem}.widget-builder-canvas .actions-config-section .section-icon{width:16px;height:16px;stroke:#14b8a6}.widget-builder-canvas .actions-list{display:flex;flex-direction:column;gap:1rem;margin-top:1rem}.widget-builder-canvas .action-config-card{background:linear-gradient(135deg,#f0fdfa,#f9fafb);border:1px solid #99f6e4;border-radius:8px;padding:1rem}.widget-builder-canvas .action-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.75rem;padding-bottom:.5rem;border-bottom:1px solid #e5e7eb}.widget-builder-canvas .action-number{font-weight:600;color:#14b8a6;font-size:.875rem}.widget-builder-canvas .action-field{margin-bottom:.75rem}.widget-builder-canvas .action-field:last-child{margin-bottom:0}.widget-builder-canvas .action-field label{display:block;font-size:.75rem;font-weight:500;color:#6b7280;margin-bottom:.25rem}.widget-builder-canvas .action-field input,.widget-builder-canvas .action-field select{width:100%;padding:.5rem .75rem;border:1px solid #e5e7eb;border-radius:6px;font-size:.875rem;background:#fff;transition:all .2s ease}.widget-builder-canvas .action-field input:focus,.widget-builder-canvas .action-field select:focus{outline:none;border-color:#14b8a6;box-shadow:0 0 0 2px #14b8a61a}.widget-builder-canvas .action-field .help-text{display:block;font-size:.688rem;color:#9ca3af;margin-top:.25rem}.widget-builder-canvas .style-selector{display:flex;flex-wrap:wrap;gap:.375rem}.widget-builder-canvas .style-option{padding:.375rem .625rem;border:2px solid;border-radius:6px;font-size:.688rem;font-weight:500;cursor:pointer;transition:all .2s ease;text-transform:uppercase;letter-spacing:.025em}.widget-builder-canvas .style-option:hover{opacity:.8;transform:translateY(-1px)}.widget-builder-canvas .style-option.selected{box-shadow:0 2px 4px #00000026}.widget-builder-canvas .add-action-btn{background:linear-gradient(135deg,#f0fdfa,#ccfbf1);border:2px dashed #14b8a6;color:#14b8a6;font-weight:500;justify-content:center;padding:.75rem 1rem}.widget-builder-canvas .add-action-btn:hover{background:linear-gradient(135deg,#ccfbf1,#99f6e4);border-style:solid}.widget-builder-canvas .inline-editing-config-section{margin-top:1.5rem;padding-top:1.5rem;border-top:1px solid #e5e7eb}.widget-builder-canvas .toggle-row{margin:.75rem 0}.widget-builder-canvas .toggle-label{display:flex;align-items:center;gap:.5rem;cursor:pointer;padding:.5rem 0}.widget-builder-canvas .toggle-label input[type=checkbox]{width:18px;height:18px;accent-color:#14b8a6;cursor:pointer}.widget-builder-canvas .toggle-text{font-size:.875rem;color:#374151}.widget-builder-canvas .inline-edit-options{margin-left:1.5rem;padding:.75rem;background:#f9fafb;border-radius:8px;display:flex;flex-direction:column;gap:.25rem}.widget-builder-canvas .editable-columns-section{margin-top:1rem}.widget-builder-canvas .subsection-label{font-size:.875rem;font-weight:600;color:#374151;display:block;margin-bottom:.25rem}.widget-builder-canvas .column-checkboxes{display:flex;flex-direction:column;gap:.25rem;margin-top:.5rem;padding:.75rem;background:#f9fafb;border-radius:8px;max-height:200px;overflow-y:auto}.widget-builder-canvas .column-checkbox{display:flex;align-items:center;gap:.5rem;padding:.375rem .5rem;border-radius:4px;cursor:pointer;transition:background .15s ease}.widget-builder-canvas .column-checkbox:hover{background:#e5e7eb}.widget-builder-canvas .column-checkbox.disabled{opacity:.6;cursor:not-allowed}.widget-builder-canvas .column-checkbox.disabled:hover{background:transparent}.widget-builder-canvas .column-checkbox input[type=checkbox]{width:16px;height:16px;accent-color:#14b8a6}.widget-builder-canvas .column-checkbox span{font-size:.8125rem;color:#374151}.widget-builder-canvas .protected-badge{font-size:.6875rem;padding:.125rem .375rem;background:#fef3c7;color:#92400e;border-radius:4px;margin-left:auto}.widget-builder-canvas .no-columns-message{font-size:.8125rem;color:#6b7280;font-style:italic;padding:.75rem;text-align:center}.widget-builder-canvas .inline-edit-quick-actions{display:flex;gap:.5rem;margin-top:.75rem}.widget-builder-canvas .quick-action-btn{flex:1;padding:.5rem .75rem;font-size:.75rem;font-weight:500;background:#fff;border:1px solid #d1d5db;border-radius:6px;color:#374151;cursor:pointer;transition:all .15s ease}.widget-builder-canvas .quick-action-btn:hover{background:#f3f4f6;border-color:#14b8a6;color:#14b8a6}.widget-builder{min-height:100%;padding:24px}.widget-builder__header{margin-bottom:24px;text-align:center}.widget-builder__title{font-size:28px;font-weight:700;color:#111827;margin:0 0 8px;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.widget-builder__subtitle{font-size:15px;color:#6b7280;margin:0}.widget-builder__steps{display:flex;justify-content:center;gap:8px;margin-bottom:32px;padding:0 24px}.widget-builder__step{display:flex;align-items:center;gap:8px;padding:10px 20px;background:#f3f4f6;border-radius:24px;cursor:pointer;transition:all .2s ease}.widget-builder__step:hover{background:#e5e7eb}.widget-builder__step.active{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.widget-builder__step.completed{background:#d1fae5;color:#059669}.widget-builder__step-number{width:24px;height:24px;border-radius:50%;background:#fff3;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:600}.widget-builder__step.active .widget-builder__step-number{background:#ffffff4d}.widget-builder__step.completed .widget-builder__step-number{background:#059669;color:#fff}.widget-builder__step-label{font-size:14px;font-weight:500}.widget-builder__content{max-width:1200px;margin:0 auto}.widget-builder__section-title{font-size:20px;font-weight:600;color:#111827;margin:0 0 20px}.widget-builder__type-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:20px;margin-bottom:40px}.widget-builder__type-card{background:#fff;border:2px solid #e5e7eb;border-radius:12px;padding:24px;cursor:pointer;transition:all .2s ease;position:relative;overflow:hidden}.widget-builder__type-card:before{content:"";position:absolute;top:0;left:0;right:0;height:4px;background:var(--accent-color, #667eea);transform:scaleX(0);transition:transform .2s ease}.widget-builder__type-card:hover{border-color:var(--accent-color, #667eea);transform:translateY(-2px);box-shadow:0 8px 20px #00000014}.widget-builder__type-card:hover:before,.widget-builder__type-card.selected:before{transform:scaleX(1)}.widget-builder__type-card.selected{border-color:var(--accent-color, #667eea);background:linear-gradient(to bottom,#667eea0d,#fff)}.widget-builder__type-icon{font-size:40px;margin-bottom:12px}.widget-builder__type-name{font-size:18px;font-weight:600;color:#111827;margin:0 0 8px}.widget-builder__type-desc{font-size:14px;color:#6b7280;margin:0 0 16px;line-height:1.5}.widget-builder__type-features{list-style:none;padding:0;margin:0}.widget-builder__type-features li{font-size:12px;color:#9ca3af;padding:4px 0 4px 20px;position:relative}.widget-builder__type-features li:before{content:"✓";position:absolute;left:0;color:#10b981}.widget-builder__presets{border-top:1px solid #e5e7eb;padding-top:32px}.widget-builder__preset-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:16px}.widget-builder__preset-card{display:flex;align-items:center;gap:16px;padding:16px;background:#f9fafb;border:1px solid #e5e7eb;border-radius:10px;cursor:pointer;transition:all .2s ease}.widget-builder__preset-card:hover{background:#fff;border-color:#667eea;box-shadow:0 4px 12px #667eea1a}.widget-builder__preset-icon{font-size:32px;flex-shrink:0}.widget-builder__preset-info h5{font-size:14px;font-weight:600;color:#111827;margin:0 0 4px}.widget-builder__preset-info p{font-size:12px;color:#6b7280;margin:0}.widget-builder__entity-group{margin-bottom:32px}.widget-builder__entity-group h4{font-size:16px;font-weight:600;color:#374151;margin:0 0 16px}.widget-builder__entity-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:16px}.widget-builder__entity-card{display:flex;flex-direction:column;align-items:center;padding:20px;background:#fff;border:2px solid #e5e7eb;border-radius:12px;cursor:pointer;transition:all .2s ease;text-align:center}.widget-builder__entity-card:hover{border-color:#667eea;transform:translateY(-2px);box-shadow:0 6px 16px #0000000f}.widget-builder__entity-card.selected{border-color:#667eea;background:linear-gradient(to bottom,#667eea14,#fff)}.widget-builder__entity-icon{font-size:36px;margin-bottom:8px}.widget-builder__entity-name{font-size:15px;font-weight:600;color:#111827}.widget-builder__entity-fields{font-size:12px;color:#9ca3af;margin-top:4px}.widget-builder__configuration{background:#fff;border-radius:12px;border:1px solid #e5e7eb;padding:24px}.widget-builder__config-header{margin-bottom:24px}.widget-builder__title-input{width:100%;padding:12px 16px;font-size:20px;font-weight:600;border:2px solid #e5e7eb;border-radius:8px;transition:border-color .2s ease}.widget-builder__title-input:focus{outline:none;border-color:#667eea}.widget-builder__config-content h4{font-size:16px;font-weight:600;color:#374151;margin:0 0 16px}.widget-builder__metrics-list{display:flex;flex-direction:column;gap:12px;margin-bottom:16px}.widget-builder__metric-row{display:grid;grid-template-columns:1fr 1fr 120px 120px 40px;gap:12px;padding:12px;background:#f9fafb;border-radius:8px;align-items:center}.widget-builder__metric-row input,.widget-builder__metric-row select{padding:8px 12px;border:1px solid #d1d5db;border-radius:6px;font-size:14px}.widget-builder__metric-row input:focus,.widget-builder__metric-row select:focus{outline:none;border-color:#667eea}.widget-builder__chart-types{display:flex;gap:8px;flex-wrap:wrap}.widget-builder__chart-type-btn{display:flex;align-items:center;gap:8px;padding:10px 16px;background:#f3f4f6;border:2px solid transparent;border-radius:8px;cursor:pointer;font-size:14px;transition:all .2s ease}.widget-builder__chart-type-btn:hover{background:#e5e7eb}.widget-builder__chart-type-btn.selected{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.widget-builder__config-row{margin-bottom:16px}.widget-builder__config-row label{display:block;font-size:14px;font-weight:500;color:#374151;margin-bottom:8px}.widget-builder__config-row select{width:100%;padding:10px 12px;border:1px solid #d1d5db;border-radius:6px;font-size:14px;background:#fff}.widget-builder__config-row select:focus{outline:none;border-color:#667eea}.widget-builder__columns-selector{display:grid;grid-template-columns:1fr 1fr;gap:24px}.widget-builder__available-fields h5,.widget-builder__selected-columns h5{font-size:14px;font-weight:600;color:#374151;margin:0 0 12px}.widget-builder__field-list{display:flex;flex-wrap:wrap;gap:8px}.widget-builder__field-btn{padding:6px 12px;background:#f3f4f6;border:1px solid #d1d5db;border-radius:6px;font-size:13px;cursor:pointer;transition:all .15s ease}.widget-builder__field-btn:hover:not(:disabled){background:#667eea;color:#fff;border-color:#667eea}.widget-builder__field-btn:disabled{opacity:.5;cursor:not-allowed}.widget-builder__column-list{display:flex;flex-direction:column;gap:8px}.widget-builder__column-item{display:flex;justify-content:space-between;align-items:center;padding:8px 12px;background:#eff6ff;border:1px solid #bfdbfe;border-radius:6px}.widget-builder__column-item span{font-size:14px;color:#1e40af}.widget-builder__column-item button{background:none;border:none;color:#dc2626;font-size:18px;cursor:pointer;padding:0 4px}.widget-builder__btn--add{padding:10px 20px;background:#f3f4f6;border:2px dashed #d1d5db;border-radius:8px;color:#6b7280;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s ease}.widget-builder__btn--add:hover{background:#e5e7eb;border-color:#667eea;color:#667eea}.widget-builder__btn--icon{width:32px;height:32px;background:#fee2e2;border:none;border-radius:6px;color:#dc2626;font-size:18px;cursor:pointer;transition:all .15s ease}.widget-builder__btn--icon:hover{background:#dc2626;color:#fff}.widget-builder__nav-buttons{display:flex;justify-content:space-between;margin-top:24px;padding-top:24px;border-top:1px solid #e5e7eb}.widget-builder__btn--secondary{padding:12px 24px;background:#fff;border:2px solid #d1d5db;border-radius:8px;color:#374151;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s ease}.widget-builder__btn--secondary:hover{border-color:#667eea;color:#667eea}.widget-builder__btn--primary{padding:12px 24px;background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:8px;color:#fff;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s ease}.widget-builder__btn--primary:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 6px 16px #667eea59}.widget-builder__btn--primary:disabled{opacity:.6;cursor:not-allowed}.widget-builder__loading{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:60px;color:#6b7280}.widget-builder__spinner{width:40px;height:40px;border:3px solid #e5e7eb;border-top-color:#667eea;border-radius:50%;animation:spin .8s linear infinite;margin-bottom:16px}.widget-builder__preview{background:#fff;border-radius:12px;border:1px solid #e5e7eb;padding:24px}.widget-builder__preview-container{background:#f9fafb;border-radius:8px;padding:24px;margin:16px 0;min-height:300px}.widget-builder__preview-info{text-align:center;font-size:13px;color:#9ca3af;margin-bottom:16px}@media (max-width: 1024px){.widget-builder__type-grid{grid-template-columns:repeat(auto-fill,minmax(240px,1fr))}.widget-builder__columns-selector{grid-template-columns:1fr;gap:16px}.widget-builder__metric-row{grid-template-columns:1fr 1fr}}@media (max-width: 768px){.widget-builder{padding:16px}.widget-builder__steps{flex-wrap:wrap;gap:8px}.widget-builder__step{padding:8px 16px}.widget-builder__step-label{font-size:12px}.widget-builder__type-grid,.widget-builder__preset-grid{grid-template-columns:1fr}.widget-builder__entity-grid{grid-template-columns:repeat(2,1fr)}.widget-builder__metric-row{grid-template-columns:1fr;gap:8px}.widget-builder__nav-buttons{flex-direction:column;gap:12px}.widget-builder__btn--secondary,.widget-builder__btn--primary{width:100%;text-align:center}}@media (max-width: 480px){.widget-builder__entity-grid{grid-template-columns:1fr}.widget-builder__chart-types{flex-direction:column}.widget-builder__chart-type-btn{width:100%;justify-content:center}}.widget-builder-wrapper{display:flex;flex-direction:column;width:100%}.wizard-header{display:flex;align-items:center;gap:1rem;padding:1rem 1.5rem;background:linear-gradient(135deg,#14b8a60d,#06b6d40d);border-bottom:2px solid #99f6e4}.back-to-canvas-btn{display:flex;align-items:center;gap:.5rem;padding:.5rem 1rem;background:#fff;border:1px solid #14b8a6;border-radius:6px;color:#14b8a6;font-weight:500;font-size:.875rem;cursor:pointer;transition:all .2s ease}.back-to-canvas-btn:hover{background:#14b8a6;color:#fff}.back-to-canvas-btn svg{width:1rem;height:1rem}.wizard-badge{display:inline-flex;align-items:center;padding:.375rem .875rem;background:linear-gradient(135deg,#14b8a6,#06b6d4);color:#fff;font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;border-radius:16px}.widget-embed-tab{padding:24px;max-width:1600px;margin:0 auto}.widget-embed-layout{display:grid;grid-template-columns:1fr 380px;gap:24px;align-items:start}.widget-embed-main{min-width:0}.widget-embed-loading{text-align:center;padding:60px 20px;color:#6b7280}.widget-embed-header{margin-bottom:32px}.widget-embed-header h2{font-size:28px;font-weight:700;color:#111827;margin:0 0 12px;line-height:1.2}.widget-embed-header p{color:#6b7280;font-size:15px;margin:0;line-height:1.5}.widget-embed-config{background:#fff;border-radius:12px;border:1px solid #E5E7EB;padding:32px;margin-bottom:24px}.config-section{margin-bottom:28px}.config-section:last-child{margin-bottom:0}.config-label{display:flex;align-items:center;gap:12px;font-size:16px;font-weight:600;color:#111827;margin-bottom:12px}.config-number{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border-radius:50%;font-size:14px;font-weight:700;flex-shrink:0}.config-select,.config-input{width:100%;padding:12px 16px;border:2px solid #E5E7EB;border-radius:8px;font-size:14px;transition:all .2s;background:#fff}.config-select:focus,.config-input:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.config-hint{margin:8px 0 0;font-size:13px;color:#6b7280}.config-empty{padding:20px;background:#f9fafb;border-radius:8px;text-align:center}.config-empty p{margin:0 0 8px;color:#6b7280;font-size:14px}.config-empty p:last-child{margin-bottom:0}.code-type-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}.code-type-btn{display:flex;align-items:center;justify-content:center;gap:8px;padding:14px 20px;border:2px solid #E5E7EB;border-radius:8px;background:#fff;color:#6b7280;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s}.code-type-btn svg{width:20px;height:20px}.code-type-btn:hover{border-color:#667eea;color:#667eea}.code-type-btn.active{border-color:#667eea;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.widget-embed-options{background:#fff;border-radius:12px;border:1px solid #E5E7EB;padding:24px 32px;margin-bottom:24px}.widget-embed-options h3{margin:0 0 20px;font-size:18px;font-weight:600;color:#111827}.options-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:16px;margin-bottom:20px}.option-checkbox{display:flex;align-items:center;gap:10px;cursor:pointer;font-size:14px;color:#374151}.option-checkbox input[type=checkbox]{width:18px;height:18px;cursor:pointer;accent-color:#667eea}.options-row{display:flex;gap:20px;flex-wrap:wrap}.option-field{flex:1;min-width:150px}.option-field label{display:block;font-size:13px;font-weight:500;color:#6b7280;margin-bottom:8px}.option-field select,.option-field input{width:100%;padding:10px 12px;border:1px solid #E5E7EB;border-radius:8px;font-size:14px;background:#fff}.option-field select:focus,.option-field input:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.widget-embed-output{background:#fff;border-radius:12px;border:1px solid #E5E7EB;margin-bottom:24px;overflow:hidden}.output-header{display:flex;justify-content:space-between;align-items:center;padding:20px 24px;border-bottom:1px solid #E5E7EB;background:#f9fafb}.output-header h3{margin:0;font-size:18px;font-weight:600;color:#111827}.btn-copy-code{display:flex;align-items:center;gap:8px;padding:10px 20px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:8px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s}.btn-copy-code svg{width:18px;height:18px}.btn-copy-code:hover{transform:translateY(-1px);box-shadow:0 4px 12px #667eea4d}.output-header-buttons{display:flex;gap:10px}.btn-copy-url{display:flex;align-items:center;gap:8px;padding:10px 20px;background:#10b981;color:#fff;border:none;border-radius:8px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s}.btn-copy-url svg{width:18px;height:18px}.btn-copy-url:hover{background:#059669;transform:translateY(-1px);box-shadow:0 4px 12px #10b9814d}.code-block{margin:0;padding:24px;background:#1f2937;overflow-x:auto;max-height:500px;font-family:Monaco,Menlo,Ubuntu Mono,monospace;font-size:13px;line-height:1.6}.code-block code{color:#e5e7eb;white-space:pre}.widget-embed-instructions{background:#fff;border-radius:12px;border:1px solid #E5E7EB;padding:32px;margin-bottom:24px}.widget-embed-instructions h3{margin:0 0 24px;font-size:18px;font-weight:600;color:#111827}.instructions-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:20px}.instruction-card{display:flex;gap:16px;padding:20px;background:#f9fafb;border-radius:8px;border:1px solid #E5E7EB}.instruction-number{display:flex;align-items:center;justify-content:center;width:36px;height:36px;background:linear-gradient(135deg,#10b981,#059669);color:#fff;border-radius:50%;font-size:16px;font-weight:700;flex-shrink:0}.instruction-content h4{margin:0 0 8px;font-size:15px;font-weight:600;color:#111827}.instruction-content p{margin:0;font-size:13px;color:#6b7280;line-height:1.5}.instructions-mobile-section{margin-top:28px;padding:24px;background:linear-gradient(135deg,#eef2ff,#e0e7ff);border-radius:12px;border:1px solid #C7D2FE}.instructions-mobile-section h4{margin:0 0 12px;font-size:16px;font-weight:600;color:#3730a3;display:flex;align-items:center;gap:8px}.instructions-mobile-section h4:before{content:"";display:inline-block;width:24px;height:24px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%233730A3'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M12 18h.01M8 21h8a2 2 0 002-2V5a2 2 0 00-2-2H8a2 2 0 00-2 2v14a2 2 0 002 2z'/%3E%3C/svg%3E");background-size:contain;flex-shrink:0}.instructions-mobile-intro{margin:0 0 16px;font-size:14px;color:#4338ca;line-height:1.5}.instructions-mobile-steps{margin:0 0 16px;padding-left:24px}.instructions-mobile-steps li{font-size:14px;color:#4338ca;line-height:1.8;margin-bottom:8px}.instructions-mobile-steps li:last-child{margin-bottom:0}.instructions-mobile-steps strong{color:#3730a3}.instructions-mobile-note{margin:0;padding:12px 16px;background:#fff9;border-radius:8px;font-size:13px;color:#5b21b6;font-style:italic}.widget-embed-security{background:#fef2f2;border:2px solid #FCA5A5;border-radius:12px;padding:24px 32px;margin-bottom:24px}.widget-embed-security h3{margin:0 0 16px;font-size:18px;font-weight:600;color:#991b1b}.widget-embed-security ul{margin:0;padding-left:20px}.widget-embed-security li{color:#7f1d1d;font-size:14px;line-height:1.7;margin-bottom:8px}.widget-embed-security li:last-child{margin-bottom:0}.widget-embed-security strong{color:#991b1b}.widget-embed-sidebar{display:flex;flex-direction:column;gap:20px;position:-webkit-sticky;position:sticky;top:24px}.sidebar-section{background:#fff;border:1px solid #E5E7EB;border-radius:12px;padding:20px}.sidebar-title{margin:0 0 16px;font-size:16px;font-weight:600;color:#111827}.sidebar-label{display:block;font-size:13px;color:#6b7280;margin-bottom:8px}.sidebar-select{width:100%;padding:10px 12px;border:1px solid #E5E7EB;border-radius:8px;font-size:14px;background:#fff;margin-bottom:12px;cursor:pointer}.sidebar-select:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.sidebar-divider{text-align:center;color:#9ca3af;font-size:12px;font-weight:500;margin:12px 0;position:relative}.sidebar-divider:before,.sidebar-divider:after{content:"";position:absolute;top:50%;width:40%;height:1px;background:#e5e7eb}.sidebar-divider:before{left:0}.sidebar-divider:after{right:0}.sidebar-btn-generate{width:100%;display:flex;align-items:center;justify-content:center;gap:8px;padding:12px 16px;background:#111827;color:#fff;border:none;border-radius:8px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s}.sidebar-btn-generate svg{width:18px;height:18px}.sidebar-btn-generate:hover{background:#374151;transform:translateY(-1px);box-shadow:0 4px 12px #00000026}.domains-list{display:flex;flex-direction:column;gap:8px;margin-bottom:12px}.domain-chip{display:flex;align-items:center;justify-content:space-between;padding:8px 12px;background:#f3f4f6;border-radius:6px;font-size:13px;color:#374151}.domain-remove-btn{background:none;border:none;color:#ef4444;font-size:20px;line-height:1;cursor:pointer;padding:0 4px;transition:color .2s}.domain-remove-btn:hover{color:#dc2626}.domain-add-form{display:flex;flex-direction:column;gap:8px}.domain-input{width:100%;padding:10px 12px;border:1px solid #E5E7EB;border-radius:8px;font-size:13px}.domain-input:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.sidebar-btn-add-domain{width:100%;padding:10px 16px;background:#fff;color:#374151;border:1px solid #E5E7EB;border-radius:8px;font-size:13px;font-weight:500;cursor:pointer;transition:all .2s}.sidebar-btn-add-domain:hover{background:#f9fafb;border-color:#9ca3af}.sidebar-empty{margin:0;padding:16px;background:#f9fafb;border-radius:8px;text-align:center;font-size:13px;color:#6b7280}.sidebar-empty p{margin:0 0 8px}.sidebar-empty p:last-child{margin-bottom:0}.widget-info-section .widget-info-item{display:flex;justify-content:space-between;align-items:center;padding:10px 0;border-bottom:1px solid #F3F4F6}.widget-info-section .widget-info-item:last-child{border-bottom:none}.widget-info-section .info-label{font-size:13px;color:#6b7280}.widget-info-section .info-value{font-size:14px;font-weight:500;color:#111827}@media (max-width: 1024px){.widget-embed-layout{grid-template-columns:1fr}.widget-embed-sidebar{position:static}}@media (max-width: 768px){.widget-embed-tab{padding:16px}.widget-embed-config,.widget-embed-options,.widget-embed-instructions,.widget-embed-security{padding:20px}.instructions-grid,.code-type-options{grid-template-columns:1fr}.output-header{flex-direction:column;gap:12px;align-items:flex-start}.output-header-buttons{width:100%;flex-direction:column}.btn-copy-code,.btn-copy-url{width:100%;justify-content:center}.code-block{font-size:12px;padding:16px}.options-grid{grid-template-columns:1fr}.options-row{flex-direction:column}}.embed-guide{max-width:1000px}.embed-guide-loading{padding:48px;text-align:center;color:#6b7280}.embed-guide-header{margin-bottom:24px}.embed-guide-header h2{margin:0 0 8px;font-size:24px;font-weight:600;color:#111827}.embed-guide-header p{margin:0;font-size:14px;color:#6b7280}.embed-guide-tabs{display:flex;gap:4px;margin-bottom:24px;border-bottom:1px solid #e5e7eb;padding-bottom:0}.tab-btn{padding:10px 16px;border:none;background:none;color:#6b7280;font-size:14px;font-weight:500;cursor:pointer;position:relative;transition:color .2s;margin-bottom:-1px}.tab-btn:hover{color:#374151}.tab-btn.active{color:#4f46e5}.tab-btn.active:after{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;background:#4f46e5;border-radius:2px 2px 0 0}.tab-content{padding:4px 0}.guide-section{margin-bottom:32px}.guide-section h3{margin:0 0 12px;font-size:18px;font-weight:600;color:#111827}.guide-section h4{margin:0 0 12px;font-size:16px;font-weight:600;color:#111827}.guide-section p{margin:0 0 16px;font-size:14px;color:#4b5563;line-height:1.6}.widget-select,.api-key-select{width:100%;max-width:400px;padding:10px 14px;border:1px solid #d1d5db;border-radius:8px;font-size:14px;color:#374151;background:#fff;cursor:pointer;transition:border-color .2s,box-shadow .2s}.widget-select:hover,.api-key-select:hover{border-color:#9ca3af}.widget-select:focus,.api-key-select:focus{outline:none;border-color:#4f46e5;box-shadow:0 0 0 3px #4f46e51a}.empty-state{padding:24px;background:#f9fafb;border:1px dashed #d1d5db;border-radius:8px;text-align:center}.empty-state p{margin:0;color:#6b7280}.code-block{border:1px solid #e5e7eb;border-radius:8px;overflow:hidden;background:#1f2937}.code-block.small{margin-top:8px}.code-header{display:flex;justify-content:space-between;align-items:center;padding:8px 12px;background:#374151;border-bottom:1px solid #4b5563}.code-header span{font-size:12px;font-weight:500;color:#9ca3af;text-transform:uppercase;letter-spacing:.05em}.copy-btn{padding:4px 10px;border:1px solid #4b5563;border-radius:4px;background:#374151;color:#d1d5db;font-size:12px;font-weight:500;cursor:pointer;transition:all .2s}.copy-btn:hover{background:#4b5563;border-color:#6b7280;color:#f9fafb}.code-block pre{margin:0;padding:16px;overflow-x:auto}.code-block code{font-family:JetBrains Mono,Fira Code,SF Mono,Menlo,Monaco,monospace;font-size:13px;line-height:1.6;color:#e5e7eb;white-space:pre}.code-block.small pre{padding:12px}.code-block.small code{font-size:12px}.info-box{padding:20px 24px;background:#eff6ff;border:1px solid #bfdbfe;border-radius:8px}.info-box h4{margin:0 0 12px;color:#1e40af}.info-box ul{margin:0;padding-left:20px}.info-box li{margin-bottom:8px;font-size:14px;color:#1e40af;line-height:1.5}.info-box li:last-child{margin-bottom:0}.config-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:20px}.config-item{display:flex;flex-direction:column;gap:6px}.config-item label{font-size:14px;font-weight:500;color:#374151}.config-item select,.config-item input{padding:10px 12px;border:1px solid #d1d5db;border-radius:6px;font-size:14px;color:#374151;background:#fff;transition:border-color .2s,box-shadow .2s}.config-item select:focus,.config-item input:focus{outline:none;border-color:#4f46e5;box-shadow:0 0 0 3px #4f46e51a}.config-help{font-size:12px;color:#6b7280}.attributes-table-wrapper{overflow-x:auto;border:1px solid #e5e7eb;border-radius:8px}.attributes-table{width:100%;border-collapse:collapse;font-size:14px}.attributes-table th,.attributes-table td{padding:12px 16px;text-align:left;border-bottom:1px solid #e5e7eb}.attributes-table th{background:#f9fafb;font-weight:600;color:#374151;white-space:nowrap}.attributes-table td{color:#4b5563}.attributes-table td code{padding:2px 6px;background:#f3f4f6;border-radius:4px;font-size:13px;color:#1f2937;font-family:JetBrains Mono,Fira Code,monospace}.attributes-table tr:last-child td{border-bottom:none}.attributes-table tbody tr:hover{background:#f9fafb}.api-method{margin-bottom:24px;padding-bottom:24px;border-bottom:1px solid #e5e7eb}.api-method:last-child{margin-bottom:0;padding-bottom:0;border-bottom:none}.method-signature{display:inline-block;padding:8px 14px;background:#1f2937;color:#34d399;border-radius:6px;font-family:JetBrains Mono,Fira Code,monospace;font-size:14px;font-weight:500;margin-bottom:12px}.api-method>p{margin:0 0 8px}.tab-content code{padding:2px 6px;background:#f3f4f6;border-radius:4px;font-size:13px;color:#1f2937;font-family:JetBrains Mono,Fira Code,monospace}@media (max-width: 768px){.embed-guide-tabs{overflow-x:auto;white-space:nowrap;padding-bottom:8px}.tab-btn{padding:8px 12px;font-size:13px}.config-grid{grid-template-columns:1fr}.attributes-table th,.attributes-table td{padding:10px 12px;font-size:13px}.code-block code{font-size:12px}}.custom-entities-page{min-height:100vh;background-color:#fafbfc}.custom-entities-page__header{background:#fff;border-bottom:1px solid #e5e7eb;padding:24px 32px 0}.custom-entities-page__header-content{max-width:1400px;margin:0 auto;display:flex;align-items:flex-start;justify-content:space-between;flex-wrap:wrap;gap:16px;padding-bottom:20px}.custom-entities-page__title-section{flex:1;min-width:200px}.custom-entities-page__title{font-size:24px;font-weight:600;color:#111827;margin:0 0 4px;letter-spacing:-.025em}.custom-entities-page__subtitle{font-size:14px;color:#6b7280;margin:0}.custom-entities-page__tabs{max-width:1400px;margin:0 auto;display:flex;gap:4px;border-bottom:none}.custom-entities-page__tab{display:flex;align-items:center;gap:8px;padding:12px 16px;font-size:14px;font-weight:500;color:#6b7280;background:transparent;border:none;border-bottom:2px solid transparent;cursor:pointer;transition:all .15s ease;margin-bottom:-1px}.custom-entities-page__tab:hover{color:#374151;background-color:#f9fafb}.custom-entities-page__tab--active{color:#3b82f6;border-bottom-color:#3b82f6}.custom-entities-page__tab--active:hover{color:#3b82f6;background-color:transparent}.custom-entities-page__tab-icon{display:flex;align-items:center;justify-content:center;width:18px;height:18px}.custom-entities-page__tab-icon svg{width:100%;height:100%}.custom-entities-page__tab-label{white-space:nowrap}.custom-entities-page__content{max-width:1400px;margin:0 auto;padding:32px}.custom-entities-page__tab-panel{width:100%;height:100%}.custom-entities-page__placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:80px 24px;min-height:400px}.custom-entities-page__placeholder-icon{width:80px;height:80px;color:#d1d5db;margin-bottom:24px}.custom-entities-page__placeholder-icon svg{width:100%;height:100%}.custom-entities-page__placeholder-title{font-size:22px;font-weight:600;color:#111827;margin:0 0 12px}.custom-entities-page__placeholder-text{font-size:15px;color:#6b7280;max-width:400px;line-height:1.6;margin:0 0 20px}.custom-entities-page__placeholder-badge{display:inline-flex;align-items:center;padding:6px 14px;font-size:13px;font-weight:500;color:#6366f1;background:#eef2ff;border-radius:20px}@media (max-width: 1024px){.custom-entities-page__header{padding:20px 24px 0}.custom-entities-page__content{padding:24px}.custom-entities-page__tabs{overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;-ms-overflow-style:none}.custom-entities-page__tabs::-webkit-scrollbar{display:none}}@media (max-width: 768px){.custom-entities-page__header{padding:16px 16px 0}.custom-entities-page__header-content{flex-direction:column;align-items:stretch;padding-bottom:16px}.custom-entities-page__content{padding:16px}.custom-entities-page__title{font-size:20px}.custom-entities-page__tab{padding:10px 12px;font-size:13px}.custom-entities-page__tab-icon{width:16px;height:16px}.custom-entities-page__placeholder{padding:48px 16px;min-height:300px}.custom-entities-page__placeholder-icon{width:60px;height:60px}.custom-entities-page__placeholder-title{font-size:18px}.custom-entities-page__placeholder-text{font-size:14px}}@media (max-width: 480px){.custom-entities-page__tab-label{display:none}.custom-entities-page__tab{padding:10px 14px}}.custom-entities-page__placeholder-btn{display:inline-flex;align-items:center;gap:8px;padding:10px 20px;font-size:14px;font-weight:500;color:#fff;background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:8px;cursor:pointer;transition:all .2s ease;margin-top:8px}.custom-entities-page__placeholder-btn:hover{transform:translateY(-1px);box-shadow:0 4px 12px #667eea66}.custom-entities-page__widget-editor{background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000001a;overflow:hidden}.custom-entities-page__widget-editor-header{display:flex;align-items:center;justify-content:space-between;padding:20px 24px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.custom-entities-page__widget-editor-title{font-size:18px;font-weight:600;margin:0}.custom-entities-page__widget-editor-actions{display:flex;gap:12px}.custom-entities-page__widget-editor-btn{padding:8px 16px;font-size:14px;font-weight:500;border-radius:6px;cursor:pointer;transition:all .2s ease}.custom-entities-page__widget-editor-btn--primary{background:#fff;color:#667eea;border:none}.custom-entities-page__widget-editor-btn--primary:hover{background:#f3f4f6}.custom-entities-page__widget-editor-btn--secondary{background:transparent;color:#fff;border:1px solid rgba(255,255,255,.5)}.custom-entities-page__widget-editor-btn--secondary:hover{background:#ffffff1a;border-color:#fff}.custom-entities-page__widget-editor-preview{padding:24px;border-bottom:1px solid #e5e7eb}.custom-entities-page__widget-editor-preview h4,.custom-entities-page__widget-editor-code h4{font-size:14px;font-weight:600;color:#374151;margin:0 0 16px;text-transform:uppercase;letter-spacing:.05em}.custom-entities-page__widget-preview-content{background:#f9fafb;border-radius:8px;padding:16px;max-height:400px;overflow:auto}.custom-entities-page__widget-editor-code{padding:24px}.custom-entities-page__widget-code-textarea{width:100%;min-height:300px;padding:16px;font-family:Monaco,Menlo,Ubuntu Mono,monospace;font-size:13px;line-height:1.5;color:#1f2937;background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;resize:vertical}.custom-entities-page__widget-code-textarea:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}@media (max-width: 768px){.custom-entities-page__widget-editor-header{flex-direction:column;align-items:flex-start;gap:16px}.custom-entities-page__widget-editor-actions{width:100%}.custom-entities-page__widget-editor-btn{flex:1;text-align:center}}.entity-forms-modal__overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;padding:20px}.entity-forms-modal{background:#fff;border-radius:12px;width:100%;max-width:700px;max-height:85vh;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a}.entity-forms-modal__header{display:flex;align-items:flex-start;justify-content:space-between;padding:20px 24px;border-bottom:1px solid #e5e7eb}.entity-forms-modal__header-content{flex:1}.entity-forms-modal__title{font-size:18px;font-weight:600;color:#111827;margin:0 0 4px}.entity-forms-modal__subtitle{font-size:14px;color:#6b7280;margin:0}.entity-forms-modal__close{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border:none;background:transparent;border-radius:6px;cursor:pointer;color:#6b7280;transition:all .15s ease;flex-shrink:0}.entity-forms-modal__close:hover{background-color:#f3f4f6;color:#374151}.entity-forms-modal__close svg{width:20px;height:20px}.entity-forms-modal__filters{display:flex;align-items:center;justify-content:space-between;padding:12px 24px;background:#f9fafb;border-bottom:1px solid #e5e7eb}.entity-forms-modal__filter-toggle{display:flex;align-items:center;gap:8px;font-size:14px;color:#374151;cursor:pointer}.entity-forms-modal__filter-toggle input[type=checkbox]{width:16px;height:16px;cursor:pointer}.entity-forms-modal__count{font-size:13px;color:#6b7280}.entity-forms-modal__body{flex:1;overflow-y:auto;padding:0;min-height:200px}.entity-forms-modal__loading{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:48px 24px;color:#6b7280}.entity-forms-modal__spinner{width:32px;height:32px;border:3px solid #e5e7eb;border-top-color:#3b82f6;border-radius:50%;animation:spin .8s linear infinite;margin-bottom:12px}.entity-forms-modal__loading p{margin:0;font-size:14px}.entity-forms-modal__error{display:flex;flex-direction:column;align-items:center;padding:48px 24px;text-align:center;color:#dc2626}.entity-forms-modal__error svg{width:40px;height:40px;margin-bottom:12px}.entity-forms-modal__error p{margin:0 0 16px;font-size:14px}.entity-forms-modal__error button{padding:8px 16px;font-size:14px;font-weight:500;color:#dc2626;background:transparent;border:1px solid #dc2626;border-radius:6px;cursor:pointer;transition:all .15s ease}.entity-forms-modal__error button:hover{background:#fef2f2}.entity-forms-modal__empty{display:flex;flex-direction:column;align-items:center;padding:48px 24px;text-align:center}.entity-forms-modal__empty svg{width:48px;height:48px;color:#9ca3af;margin-bottom:16px}.entity-forms-modal__empty h4{font-size:16px;font-weight:600;color:#374151;margin:0 0 8px}.entity-forms-modal__empty p{font-size:14px;color:#6b7280;margin:0 0 20px;max-width:300px}.entity-forms-modal__create-btn{padding:10px 20px;font-size:14px;font-weight:500;color:#fff;background:#3b82f6;border:none;border-radius:8px;cursor:pointer;transition:all .15s ease}.entity-forms-modal__create-btn:hover{background:#2563eb}.entity-forms-modal__list{display:flex;flex-direction:column}.entity-forms-modal__form-item{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 24px;border-bottom:1px solid #e5e7eb;transition:background-color .15s ease}.entity-forms-modal__form-item:last-child{border-bottom:none}.entity-forms-modal__form-item:hover{background-color:#f9fafb}.entity-forms-modal__form-item--inactive{opacity:.7}.entity-forms-modal__form-info{flex:1;min-width:0}.entity-forms-modal__form-header{display:flex;align-items:center;gap:10px;margin-bottom:6px}.entity-forms-modal__form-name{font-size:15px;font-weight:500;color:#111827;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.entity-forms-modal__status-badge{display:inline-flex;align-items:center;padding:2px 8px;font-size:11px;font-weight:500;border-radius:9999px;white-space:nowrap}.entity-forms-modal__status-badge--active{background-color:#dcfce7;color:#166534}.entity-forms-modal__status-badge--inactive{background-color:#f3f4f6;color:#6b7280}.entity-forms-modal__form-meta{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.entity-forms-modal__form-slug{font-size:13px;color:#6b7280;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace}.entity-forms-modal__form-submissions{font-size:13px;color:#6b7280}.entity-forms-modal__form-created{font-size:13px;color:#9ca3af}.entity-forms-modal__form-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}.entity-forms-modal__action-btn{display:inline-flex;align-items:center;gap:4px;padding:6px 10px;font-size:13px;font-weight:500;color:#374151;background:#fff;border:1px solid #d1d5db;border-radius:6px;cursor:pointer;transition:all .15s ease;white-space:nowrap}.entity-forms-modal__action-btn:hover{background:#f9fafb;border-color:#9ca3af}.entity-forms-modal__action-btn svg{width:14px;height:14px}.entity-forms-modal__action-btn span{display:none}@media (min-width: 640px){.entity-forms-modal__action-btn span{display:inline}}.entity-forms-modal__footer{display:flex;justify-content:flex-end;gap:12px;padding:16px 24px;border-top:1px solid #e5e7eb;background:#f9fafb}.entity-forms-modal__btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 20px;font-size:14px;font-weight:500;border-radius:8px;cursor:pointer;transition:all .15s ease;border:none}.entity-forms-modal__btn--primary{background-color:#3b82f6;color:#fff}.entity-forms-modal__btn--primary:hover{background-color:#2563eb}.entity-forms-modal__btn--secondary{background-color:#fff;color:#374151;border:1px solid #d1d5db}.entity-forms-modal__btn--secondary:hover{background-color:#f9fafb}@media (max-width: 640px){.entity-forms-modal__overlay{padding:16px}.entity-forms-modal{max-height:95vh}.entity-forms-modal__header{padding:16px 20px}.entity-forms-modal__filters{padding:12px 20px;flex-direction:column;gap:8px;align-items:flex-start}.entity-forms-modal__form-item{flex-direction:column;align-items:stretch;gap:12px;padding:16px 20px}.entity-forms-modal__form-actions{justify-content:flex-start}.entity-forms-modal__footer{padding:12px 20px}}.entity-records-page{min-height:100vh;background-color:#fafbfc}.entity-records-page__breadcrumb{padding:16px 32px;background:#fff;border-bottom:1px solid #e5e7eb;font-size:14px}.entity-records-page__breadcrumb-link{color:#3b82f6;text-decoration:none;transition:color .15s ease}.entity-records-page__breadcrumb-link:hover{color:#2563eb;text-decoration:underline}.entity-records-page__breadcrumb-separator{margin:0 8px;color:#9ca3af}.entity-records-page__breadcrumb-current{color:#6b7280}.entity-records-page__header{background:#fff;border-bottom:1px solid #e5e7eb;padding:24px 32px}.entity-records-page__header-content{width:100%;display:flex;align-items:flex-start;justify-content:space-between;flex-wrap:wrap;gap:16px}.entity-records-page__title-section{display:flex;align-items:center;gap:16px}.entity-records-page__icon-badge{display:flex;align-items:center;justify-content:center;width:56px;height:56px;border-radius:14px;flex-shrink:0}.entity-records-page__icon{width:28px;height:28px}.entity-records-page__title{font-size:24px;font-weight:600;color:#111827;margin:0 0 4px;letter-spacing:-.025em}.entity-records-page__subtitle{font-size:14px;color:#6b7280;margin:0}.entity-records-page__header-actions{display:flex;align-items:center;gap:12px}.entity-records-page__summary{width:100%;margin:16px 0 0;display:flex;align-items:center;gap:8px}.entity-records-page__count{font-size:14px;font-weight:500;color:#374151}.entity-records-page__count-note{font-size:13px;color:#9ca3af}.entity-records-page__toolbar{background:#fff;border-bottom:1px solid #e5e7eb;padding:16px 32px}.entity-records-page__toolbar-content{width:100%;display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.entity-records-page__toolbar-actions{display:flex;align-items:center;gap:12px}.entity-records-page__search{position:relative;flex:1;max-width:400px;min-width:200px}.entity-records-page__search-icon{position:absolute;left:12px;top:50%;transform:translateY(-50%);width:18px;height:18px;color:#9ca3af;pointer-events:none}.entity-records-page__search-input{width:100%;padding:10px 36px 10px 40px;font-size:14px;border:1px solid #d1d5db;border-radius:8px;background:#fff;color:#111827;outline:none;transition:border-color .15s ease,box-shadow .15s ease}.entity-records-page__search-input:focus{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.entity-records-page__search-input::placeholder{color:#9ca3af}.entity-records-page__search-clear{position:absolute;right:8px;top:50%;transform:translateY(-50%);width:24px;height:24px;display:flex;align-items:center;justify-content:center;border:none;background:transparent;color:#9ca3af;cursor:pointer;border-radius:4px;padding:0}.entity-records-page__search-clear:hover{background:#f3f4f6;color:#6b7280}.entity-records-page__search-clear svg{width:14px;height:14px}.entity-records-page__column-picker{position:relative}.entity-records-page__column-dropdown{position:absolute;top:100%;right:0;margin-top:8px;width:320px;max-height:450px;background:#fff;border:1px solid #e5e7eb;border-radius:10px;box-shadow:0 10px 25px #0000001a;z-index:100;overflow:hidden;display:flex;flex-direction:column}.entity-records-page__column-dropdown-header{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;border-bottom:1px solid #e5e7eb;font-size:14px;font-weight:600;color:#374151}.entity-records-page__column-dropdown-close{width:24px;height:24px;display:flex;align-items:center;justify-content:center;border:none;background:transparent;color:#9ca3af;cursor:pointer;border-radius:4px;padding:0}.entity-records-page__column-dropdown-close:hover{background:#f3f4f6;color:#6b7280}.entity-records-page__column-dropdown-close svg{width:16px;height:16px}.entity-records-page__column-list{padding:8px;flex:1;overflow-y:auto;min-height:0}.entity-records-page__column-item{display:flex;align-items:center;gap:8px;padding:8px 12px;font-size:14px;color:#374151;border-radius:6px;transition:background-color .1s ease}.entity-records-page__column-item:hover{background:#f3f4f6}.entity-records-page__column-item input{width:16px;height:16px;accent-color:#3b82f6;cursor:pointer}.entity-records-page__column-checkbox-label{display:flex;align-items:center;gap:10px;flex:1;cursor:pointer;min-width:0}.entity-records-page__column-checkbox-label span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.entity-records-page__column-reorder{display:flex;align-items:center;gap:2px;margin-left:auto;flex-shrink:0}.entity-records-page__column-reorder-btn{display:flex;align-items:center;justify-content:center;width:24px;height:24px;border:none;background:transparent;color:#9ca3af;cursor:pointer;border-radius:4px;padding:0;transition:all .15s ease}.entity-records-page__column-reorder-btn:hover:not(:disabled){background:#e5e7eb;color:#374151}.entity-records-page__column-reorder-btn:disabled{opacity:.3;cursor:not-allowed}.entity-records-page__column-reorder-btn svg{width:14px;height:14px}.entity-records-page__column-dropdown-footer{padding:12px 16px;border-top:1px solid #e5e7eb;background:#f9fafb}.entity-records-page__column-reset-btn{width:100%;padding:8px 12px;font-size:13px;font-weight:500;color:#6b7280;background:#fff;border:1px solid #d1d5db;border-radius:6px;cursor:pointer;transition:all .15s ease}.entity-records-page__column-reset-btn:hover{background:#f3f4f6;color:#374151}.entity-records-page__bulk-bar{display:flex;align-items:center;justify-content:space-between;margin-top:12px;padding:12px 16px;background:#eff6ff;border:1px solid #bfdbfe;border-radius:8px}.entity-records-page__bulk-count{font-size:14px;font-weight:500;color:#1d4ed8}.entity-records-page__bulk-actions{display:flex;align-items:center;gap:8px}.entity-records-page__button{display:inline-flex;align-items:center;gap:8px;padding:10px 16px;font-size:14px;font-weight:500;border-radius:8px;cursor:pointer;transition:all .15s ease;border:none}.entity-records-page__button--primary{background-color:#3b82f6;color:#fff}.entity-records-page__button--primary:hover{background-color:#2563eb}.entity-records-page__button--secondary{background-color:#fff;color:#374151;border:1px solid #d1d5db}.entity-records-page__button--secondary:hover{background-color:#f9fafb}.entity-records-page__button--danger{background-color:#ef4444;color:#fff}.entity-records-page__button--danger:hover{background-color:#dc2626}.entity-records-page__button--danger:disabled{background-color:#fca5a5;cursor:not-allowed}.entity-records-page__button-icon{width:16px;height:16px}.entity-records-page__button-spinner{width:14px;height:14px;border:2px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:spin .8s linear infinite}.entity-records-page__content{width:100%;max-width:none;box-sizing:border-box;padding:24px 32px}.entity-records-page__loading{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:64px 24px;color:#6b7280}.entity-records-page__spinner{width:40px;height:40px;border:3px solid #e5e7eb;border-top-color:#3b82f6;border-radius:50%;animation:spin .8s linear infinite;margin-bottom:16px}.entity-records-page__error{text-align:center;padding:64px 24px}.entity-records-page__error-icon{width:48px;height:48px;color:#ef4444;margin:0 auto 16px}.entity-records-page__error h3{font-size:18px;font-weight:600;color:#111827;margin:0 0 8px}.entity-records-page__error p{font-size:14px;color:#6b7280;margin:0 0 20px}.entity-records-page__empty{text-align:center;padding:64px 24px}.entity-records-page__empty-icon{width:80px;height:80px;color:#d1d5db;margin:0 auto 24px}.entity-records-page__empty h3{font-size:18px;font-weight:600;color:#111827;margin:0 0 8px}.entity-records-page__empty p{font-size:14px;color:#6b7280;max-width:400px;margin:0 auto}.entity-records-page__table-wrapper{width:100%;max-width:100%;background:#fff;border:1px solid #e5e7eb;border-radius:12px;overflow-x:auto;-webkit-overflow-scrolling:touch}.entity-records-page__table{width:-webkit-max-content;width:max-content;min-width:100%;border-collapse:separate;border-spacing:0;font-size:14px}.entity-records-page__table thead{background:#f9fafb;border-bottom:1px solid #e5e7eb}.entity-records-page__table th{padding:12px 16px;text-align:left;font-weight:600;color:#374151;white-space:nowrap;min-width:160px;border-bottom:1px solid #e5e7eb}.entity-records-page__table tbody tr{border-bottom:1px solid #f3f4f6;transition:background-color .1s ease}.entity-records-page__table tbody tr:last-child{border-bottom:none}.entity-records-page__table tbody tr:hover{background-color:#f9fafb}.entity-records-page__row--clickable{cursor:pointer}.entity-records-page__row--clickable:focus{outline:none;background-color:#f3f4f6}.entity-records-page__row--clickable:focus-visible{outline:2px solid #3b82f6;outline-offset:-2px}.entity-records-page__table td{padding:14px 16px;color:#374151;min-width:160px;max-width:280px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-bottom:1px solid #f3f4f6}.entity-records-page__table th.entity-records-page__th--date,.entity-records-page__table td.entity-records-page__cell--date{min-width:180px;max-width:200px}.entity-records-page__cell--date{color:#6b7280;font-size:13px;white-space:nowrap}.entity-records-page__cell--form{color:#3b82f6;font-weight:500}.entity-records-page__table th.entity-records-page__th--checkbox,.entity-records-page__table td.entity-records-page__cell--checkbox{width:44px;min-width:44px;max-width:44px;padding-left:16px;padding-right:8px}.entity-records-page__checkbox{width:16px;height:16px;accent-color:#3b82f6;cursor:pointer}.entity-records-page__table th.entity-records-page__th--actions,.entity-records-page__table td.entity-records-page__cell--actions{position:-webkit-sticky;position:sticky;right:0;width:104px;min-width:104px;max-width:104px;text-align:center;white-space:nowrap;overflow:visible;border-left:1px solid #e5e7eb;box-shadow:-8px 0 12px -8px #1118272e}.entity-records-page__th--actions{z-index:4;background:#f9fafb}.entity-records-page__cell--actions{z-index:3;background:#fff}.entity-records-page__table tbody tr:hover .entity-records-page__cell--actions{background-color:#f9fafb}.entity-records-page__row--clickable:focus .entity-records-page__cell--actions{background-color:#f3f4f6}.entity-records-page__row--selected .entity-records-page__cell--actions{background-color:#eff6ff}.entity-records-page__row--selected:hover .entity-records-page__cell--actions{background-color:#dbeafe}.entity-records-page__row--editing .entity-records-page__cell--actions{background-color:#fefce8}.entity-records-page__row--editing:hover .entity-records-page__cell--actions{background-color:#fef9c3}.entity-records-page__action-button{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border:none;background:transparent;color:#9ca3af;cursor:pointer;border-radius:6px;transition:all .15s ease;padding:0}.entity-records-page__action-button:hover{background:#f3f4f6;color:#6b7280}.entity-records-page__action-button--delete:hover{background:#fef2f2;color:#ef4444}.entity-records-page__action-button svg{width:16px;height:16px}.entity-records-page__action-button--edit:hover{background:#eff6ff;color:#3b82f6}.entity-records-page__action-button--save{color:#059669}.entity-records-page__action-button--save:hover{background:#ecfdf5;color:#059669}.entity-records-page__action-button--save:disabled{opacity:.5;cursor:not-allowed}.entity-records-page__action-button--cancel:hover{background:#fef2f2;color:#ef4444}.entity-records-page__action-button--cancel:disabled{opacity:.5;cursor:not-allowed}.entity-records-page__action-spinner{display:inline-block;width:14px;height:14px;border:2px solid #d1fae5;border-top-color:#059669;border-radius:50%;animation:spin .8s linear infinite}.entity-records-page__row--editing{background-color:#fefce8!important;box-shadow:inset 0 0 0 2px #fbbf24}.entity-records-page__row--editing:hover{background-color:#fef9c3!important}.entity-records-page__row--editing td{cursor:default}.entity-records-page__cell--editing{padding:8px 12px!important}.entity-records-page__inline-input{width:100%;min-width:80px;padding:6px 10px;font-size:14px;font-family:inherit;color:#111827;background:#fff;border:1px solid #d1d5db;border-radius:6px;outline:none;transition:border-color .15s ease,box-shadow .15s ease}.entity-records-page__inline-input:focus{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f626}.entity-records-page__inline-select{width:100%;min-width:80px;padding:6px 10px;font-size:14px;font-family:inherit;color:#111827;background:#fff;border:1px solid #d1d5db;border-radius:6px;cursor:pointer;outline:none;transition:border-color .15s ease,box-shadow .15s ease}.entity-records-page__inline-select:focus{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f626}.entity-records-page__row--selected{background-color:#eff6ff!important}.entity-records-page__row--selected:hover{background-color:#dbeafe!important}.entity-records-page__pagination{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-top:16px}.entity-records-page__pagination-info{display:flex;align-items:center}.entity-records-page__page-size{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:500;color:#6b7280}.entity-records-page__page-size-select{padding:6px 10px;font-size:13px;color:#374151;background:#fff;border:1px solid #d1d5db;border-radius:6px;cursor:pointer}.entity-records-page__page-size-select:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.entity-records-page__pagination-controls{display:flex;align-items:center;gap:8px}.entity-records-page__page-numbers{display:flex;align-items:center;gap:4px}.entity-records-page__page-btn{display:inline-flex;align-items:center;justify-content:center;min-width:36px;padding:8px 12px;font-size:13px;font-weight:500;color:#374151;background:#fff;border:1px solid #d1d5db;border-radius:6px;cursor:pointer}.entity-records-page__page-btn:hover:not(:disabled){background:#f9fafb;border-color:#3b82f6;color:#2563eb}.entity-records-page__page-btn--active{background:#3b82f6;border-color:#3b82f6;color:#fff}.entity-records-page__page-btn:disabled{opacity:.5;cursor:not-allowed;background:#f9fafb;color:#9ca3af}.entity-records-page__page-ellipsis{padding:8px 6px;color:#9ca3af;-webkit-user-select:none;user-select:none}.entity-records-page__no-results{padding:48px 24px;text-align:center}.entity-records-page__no-results p{font-size:14px;color:#6b7280;margin:0 0 16px}@media (max-width: 1024px){.entity-records-page__breadcrumb{padding:12px 24px}.entity-records-page__header{padding:20px 24px}.entity-records-page__toolbar{padding:16px 24px}.entity-records-page__content{padding:24px}}@media (max-width: 768px){.entity-records-page__breadcrumb{padding:12px 16px}.entity-records-page__header{padding:16px}.entity-records-page__header-content{flex-direction:column;align-items:stretch}.entity-records-page__header-actions{flex-wrap:wrap}.entity-records-page__title-section{flex-direction:column;align-items:flex-start;gap:12px}.entity-records-page__toolbar{padding:12px 16px}.entity-records-page__toolbar-content{flex-direction:column;align-items:stretch}.entity-records-page__search{max-width:none}.entity-records-page__toolbar-actions{justify-content:flex-end;flex-wrap:wrap}.entity-records-page__bulk-bar{flex-direction:column;gap:12px;align-items:stretch}.entity-records-page__bulk-actions{justify-content:flex-end}.entity-records-page__column-dropdown{left:0;right:auto;width:calc(100vw - 32px);max-width:320px}.entity-records-page__content{padding:16px}.entity-records-page__table-wrapper{overflow-x:auto;-webkit-overflow-scrolling:touch}.entity-records-page__table{min-width:700px}.entity-records-page__pagination{flex-direction:column;align-items:stretch}.entity-records-page__pagination-controls{justify-content:center;flex-wrap:wrap}.entity-records-page__title{font-size:20px}.entity-records-page__inline-input,.entity-records-page__inline-select{font-size:16px;padding:8px 10px}.entity-records-page__row--editing{box-shadow:inset 0 0 0 1px #fbbf24}}.entity-record-detail-page{max-width:1200px;margin:0 auto;padding:24px}.entity-record-detail-page__breadcrumb{display:flex;align-items:center;gap:8px;margin-bottom:24px;font-size:14px}.entity-record-detail-page__breadcrumb-link{color:#3b82f6;text-decoration:none;transition:color .15s ease}.entity-record-detail-page__breadcrumb-link:hover{color:#2563eb;text-decoration:underline}.entity-record-detail-page__breadcrumb-separator{color:#9ca3af}.entity-record-detail-page__breadcrumb-current{color:#6b7280}.entity-record-detail-page__loading{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:80px 24px;color:#6b7280}.entity-record-detail-page__spinner{width:40px;height:40px;border:3px solid #e5e7eb;border-top-color:#3b82f6;border-radius:50%;animation:spin .8s linear infinite;margin-bottom:16px}@keyframes spin{to{transform:rotate(360deg)}}.entity-record-detail-page__loading p{margin:0;font-size:15px}.entity-record-detail-page__error{display:flex;flex-direction:column;align-items:center;padding:80px 24px;text-align:center}.entity-record-detail-page__error svg{width:48px;height:48px;color:#dc2626;margin-bottom:16px}.entity-record-detail-page__error h3{font-size:18px;font-weight:600;color:#111827;margin:0 0 8px}.entity-record-detail-page__error p{font-size:14px;color:#6b7280;margin:0 0 24px}.entity-record-detail-page__error button{padding:10px 20px;font-size:14px;font-weight:500;color:#fff;background:#3b82f6;border:none;border-radius:8px;cursor:pointer;transition:background-color .15s ease}.entity-record-detail-page__error button:hover{background:#2563eb}.entity-record-detail-page__header{margin-bottom:32px}.entity-record-detail-page__header-content{display:flex;align-items:flex-start;gap:16px}.entity-record-detail-page__back-btn{display:inline-flex;align-items:center;gap:6px;padding:8px 12px;font-size:14px;font-weight:500;color:#374151;background:#fff;border:1px solid #d1d5db;border-radius:8px;cursor:pointer;transition:all .15s ease;flex-shrink:0}.entity-record-detail-page__back-btn:hover{background:#f9fafb;border-color:#9ca3af}.entity-record-detail-page__back-btn svg{width:16px;height:16px}.entity-record-detail-page__title-section{flex:1}.entity-record-detail-page__header-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}.entity-record-detail-page__edit-btn{display:inline-flex;align-items:center;gap:6px;padding:10px 18px;font-size:14px;font-weight:500;color:#fff;background:#3b82f6;border:none;border-radius:8px;cursor:pointer;transition:all .15s ease}.entity-record-detail-page__edit-btn:hover{background:#2563eb}.entity-record-detail-page__edit-btn svg{width:16px;height:16px}.entity-record-detail-page__cancel-btn{display:inline-flex;align-items:center;gap:6px;padding:10px 18px;font-size:14px;font-weight:500;color:#374151;background:#fff;border:1px solid #d1d5db;border-radius:8px;cursor:pointer;transition:all .15s ease}.entity-record-detail-page__cancel-btn:hover{background:#f3f4f6;border-color:#9ca3af}.entity-record-detail-page__cancel-btn:disabled{opacity:.6;cursor:not-allowed}.entity-record-detail-page__save-btn{display:inline-flex;align-items:center;gap:6px;padding:10px 18px;font-size:14px;font-weight:500;color:#fff;background:#059669;border:none;border-radius:8px;cursor:pointer;transition:all .15s ease}.entity-record-detail-page__save-btn:hover{background:#047857}.entity-record-detail-page__save-btn:disabled{background:#9ca3af;cursor:not-allowed}.entity-record-detail-page__save-btn svg{width:16px;height:16px}.entity-record-detail-page__spinner-small{width:16px;height:16px;border:2px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:spin .8s linear infinite}.entity-record-detail-page__title{font-size:24px;font-weight:600;color:#111827;margin:0 0 4px}.entity-record-detail-page__subtitle{font-size:14px;color:#6b7280;margin:0}.entity-record-detail-page__content{display:grid;grid-template-columns:1fr 340px;gap:32px}.entity-record-detail-page__section{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:24px}.entity-record-detail-page__section-title{font-size:16px;font-weight:600;color:#111827;margin:0 0 20px;padding-bottom:12px;border-bottom:1px solid #e5e7eb}.entity-record-detail-page__fields{display:flex;flex-direction:column;gap:16px}.entity-record-detail-page__field{display:flex;flex-direction:column;gap:4px}.entity-record-detail-page__field-label{font-size:13px;font-weight:500;color:#6b7280;text-transform:uppercase;letter-spacing:.025em}.entity-record-detail-page__field-value{font-size:15px;color:#111827;margin:0;word-wrap:break-word;overflow-wrap:break-word;white-space:pre-wrap}.entity-record-detail-page__no-data{font-size:14px;color:#9ca3af;font-style:italic;margin:0}.entity-record-detail-page__field--editing{padding:12px;background:#f9fafb;border-radius:8px;border:1px solid #e5e7eb}.entity-record-detail-page__field--editing .entity-record-detail-page__field-label{margin-bottom:6px}.entity-record-detail-page__edit-input{width:100%;padding:10px 12px;font-size:14px;font-family:inherit;color:#111827;background:#fff;border:1px solid #d1d5db;border-radius:6px;transition:border-color .15s ease,box-shadow .15s ease}.entity-record-detail-page__edit-input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f626}.entity-record-detail-page__edit-input:disabled{background:#f3f4f6;cursor:not-allowed}.entity-record-detail-page__edit-textarea{width:100%;padding:10px 12px;font-size:14px;font-family:inherit;color:#111827;background:#fff;border:1px solid #d1d5db;border-radius:6px;resize:vertical;min-height:100px;transition:border-color .15s ease,box-shadow .15s ease}.entity-record-detail-page__edit-textarea:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f626}.entity-record-detail-page__edit-textarea:disabled{background:#f3f4f6;cursor:not-allowed}.entity-record-detail-page__edit-select{width:100%;padding:10px 40px 10px 12px;font-size:14px;font-family:inherit;color:#111827;background:#fff;border:1px solid #d1d5db;border-radius:6px;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");background-position:right 10px center;background-repeat:no-repeat;background-size:20px 20px;transition:border-color .15s ease,box-shadow .15s ease}.entity-record-detail-page__edit-select:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f626}.entity-record-detail-page__edit-select:disabled{background-color:#f3f4f6;cursor:not-allowed}.entity-record-detail-page__sidebar{display:flex;flex-direction:column;gap:20px}.entity-record-detail-page__card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:20px}.entity-record-detail-page__card-title{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:600;color:#374151;margin:0 0 16px}.entity-record-detail-page__card-title svg{width:18px;height:18px}.entity-record-detail-page__card--voice .entity-record-detail-page__card-title{color:#059669}.entity-record-detail-page__card-content{display:flex;flex-direction:column;gap:12px}.entity-record-detail-page__meta-item{display:flex;flex-direction:column;gap:2px}.entity-record-detail-page__meta-label{font-size:12px;font-weight:500;color:#9ca3af;text-transform:uppercase;letter-spacing:.025em}.entity-record-detail-page__meta-value{font-size:14px;color:#111827}.entity-record-detail-page__badge{display:inline-flex;align-items:center;padding:2px 8px;font-size:12px;font-weight:500;background:#f3f4f6;border-radius:4px;color:#374151;width:-webkit-fit-content;width:fit-content}.entity-record-detail-page__mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:13px}.entity-record-detail-page__truncate{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.entity-record-detail-page__link{display:inline-flex;align-items:center;gap:4px;font-size:14px;font-weight:500;color:#3b82f6;text-decoration:none;transition:color .15s ease}.entity-record-detail-page__link:hover{color:#2563eb;text-decoration:underline}.entity-record-detail-page__linked-files{display:grid;gap:16px}.entity-record-detail-page__linked-file-card{border:1px solid #e5e7eb;border-radius:12px;padding:16px;background:#fff}.entity-record-detail-page__linked-file-main{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:12px}.entity-record-detail-page__linked-file-title{font-size:15px;font-weight:600;color:#111827;margin-bottom:6px;word-break:break-word}.entity-record-detail-page__linked-file-meta{display:flex;flex-wrap:wrap;gap:8px 12px;font-size:13px;color:#6b7280}.entity-record-detail-page__ocr-status{display:inline-flex;align-items:center;justify-content:center;padding:6px 10px;border-radius:999px;font-size:12px;font-weight:600;white-space:nowrap;flex-shrink:0}.entity-record-detail-page__linked-file-actions{display:flex;flex-wrap:wrap;gap:8px}.entity-record-detail-page__action-btn{display:inline-flex;align-items:center;justify-content:center;padding:8px 12px;min-height:36px;border:1px solid #d1d5db;border-radius:8px;background:#fff;color:#374151;font-size:13px;font-weight:500;cursor:pointer;text-decoration:none;transition:background-color .15s ease,border-color .15s ease,color .15s ease}.entity-record-detail-page__action-btn:hover{background:#f9fafb;border-color:#9ca3af}.entity-record-detail-page__action-btn:disabled{opacity:.6;cursor:not-allowed}.entity-record-detail-page__action-btn--link{color:#2563eb}.entity-record-detail-page__modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#111827ad;display:flex;align-items:center;justify-content:center;padding:24px;z-index:1200}.entity-record-detail-page__modal{width:min(760px,100%);max-height:min(86vh,920px);background:#fff;border-radius:16px;box-shadow:0 24px 60px #0f172a47;display:flex;flex-direction:column;overflow:hidden}.entity-record-detail-page__modal--wide{width:min(940px,100%)}.entity-record-detail-page__modal-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 20px;border-bottom:1px solid #e5e7eb}.entity-record-detail-page__modal-header h3{margin:0;font-size:18px;font-weight:600;color:#111827}.entity-record-detail-page__modal-close{width:36px;height:36px;border:none;border-radius:999px;background:transparent;color:#6b7280;font-size:28px;line-height:1;cursor:pointer}.entity-record-detail-page__modal-close:hover{background:#f3f4f6;color:#111827}.entity-record-detail-page__modal-body{padding:20px;overflow:auto}.entity-record-detail-page__preview-image{width:100%;height:auto;display:block;border-radius:12px;border:1px solid #e5e7eb}.entity-record-detail-page__ocr-panel{display:grid;gap:20px}.entity-record-detail-page__ocr-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}.entity-record-detail-page__ocr-grid>div{display:flex;flex-direction:column;gap:6px;padding:14px;border:1px solid #e5e7eb;border-radius:12px;background:#f9fafb}.entity-record-detail-page__ocr-grid strong{font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.02em;color:#6b7280}.entity-record-detail-page__ocr-grid span{font-size:14px;color:#111827;word-break:break-word}.entity-record-detail-page__ocr-text{display:grid;gap:10px}.entity-record-detail-page__ocr-text strong{font-size:14px;color:#111827}.entity-record-detail-page__ocr-text pre{margin:0;padding:16px;background:#111827;color:#f9fafb;border-radius:12px;font-size:13px;line-height:1.5;white-space:pre-wrap;word-break:break-word;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace}@media (max-width: 1024px){.entity-record-detail-page__content{grid-template-columns:1fr}.entity-record-detail-page__sidebar{flex-direction:row;flex-wrap:wrap}.entity-record-detail-page__card{flex:1;min-width:280px}}@media (max-width: 640px){.entity-record-detail-page{padding:16px}.entity-record-detail-page__header-content{flex-direction:column;gap:12px}.entity-record-detail-page__back-btn{align-self:flex-start}.entity-record-detail-page__header-actions{width:100%;justify-content:flex-start}.entity-record-detail-page__edit-btn,.entity-record-detail-page__cancel-btn,.entity-record-detail-page__save-btn{flex:1;justify-content:center}.entity-record-detail-page__sidebar{flex-direction:column}.entity-record-detail-page__card{min-width:auto}.entity-record-detail-page__section,.entity-record-detail-page__card{padding:16px}.entity-record-detail-page__edit-input,.entity-record-detail-page__edit-textarea,.entity-record-detail-page__edit-select{font-size:16px}.entity-record-detail-page__linked-file-main{flex-direction:column;align-items:stretch}.entity-record-detail-page__linked-file-actions{flex-direction:column}.entity-record-detail-page__action-btn,.entity-record-detail-page__action-btn--link{width:100%}.entity-record-detail-page__modal-backdrop{padding:12px}.entity-record-detail-page__modal-header,.entity-record-detail-page__modal-body{padding:16px}}:root{--embed-bg: #ffffff;--embed-text: #111827;--embed-text-secondary: #6B7280;--embed-border: #E5E7EB;--embed-primary: #667eea;--embed-primary-hover: #5a67d8;--embed-surface: #F9FAFB;--embed-error: #EF4444;--embed-success: #10B981}[data-embed-theme=dark]{--embed-bg: #1F2937;--embed-text: #F9FAFB;--embed-text-secondary: #9CA3AF;--embed-border: #374151;--embed-primary: #818CF8;--embed-primary-hover: #6366F1;--embed-surface: #111827;--embed-error: #F87171;--embed-success: #34D399}.embed-widget-container{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;background:var(--embed-bg);color:var(--embed-text);min-height:100%;box-sizing:border-box}.embed-widget-container *,.embed-widget-container *:before,.embed-widget-container *:after{box-sizing:border-box}.embed-widget-container.with-border{border:1px solid var(--embed-border);border-radius:8px;overflow:hidden}.embed-widget-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:48px 24px;gap:16px;color:var(--embed-text-secondary)}.embed-spinner{width:32px;height:32px;border:3px solid var(--embed-border);border-top-color:var(--embed-primary);border-radius:50%;animation:embed-spin 1s linear infinite}@keyframes embed-spin{to{transform:rotate(360deg)}}.embed-widget-error{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:48px 24px;gap:12px;color:var(--embed-error);text-align:center}.embed-error-icon{width:48px;height:48px}.embed-widget-header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding:20px 24px;border-bottom:1px solid var(--embed-border);background:var(--embed-surface)}.embed-header-content{flex:1;min-width:0}.embed-widget-title{margin:0;font-size:18px;font-weight:600;color:var(--embed-text)}.embed-widget-description{margin:8px 0 0;font-size:14px;color:var(--embed-text-secondary)}.embed-header-actions{display:flex;flex-direction:column;align-items:flex-end;gap:6px;flex-shrink:0}.embed-refresh-btn{display:flex;align-items:center;gap:6px;padding:8px 12px;border:1px solid var(--embed-border);border-radius:6px;background:var(--embed-bg);color:var(--embed-text);font-size:13px;font-weight:500;cursor:pointer;transition:all .2s}.embed-refresh-btn:hover:not(:disabled){border-color:var(--embed-primary);color:var(--embed-primary)}.embed-refresh-btn:disabled{opacity:.6;cursor:not-allowed}.embed-refresh-btn.refreshing .embed-refresh-icon{animation:embed-spin 1s linear infinite}.embed-refresh-icon{flex-shrink:0}.embed-auto-refresh-indicator{font-size:11px;color:var(--embed-text-secondary);padding:2px 6px;background:var(--embed-bg);border-radius:4px}.embed-widget-search{padding:16px 24px;border-bottom:1px solid var(--embed-border)}.embed-search-input{width:100%;padding:10px 14px;border:1px solid var(--embed-border);border-radius:6px;font-size:14px;background:var(--embed-bg);color:var(--embed-text);transition:border-color .2s,box-shadow .2s}.embed-search-input:focus{outline:none;border-color:var(--embed-primary);box-shadow:0 0 0 3px #667eea26}.embed-search-input::placeholder{color:var(--embed-text-secondary)}.embed-widget-content{padding:24px}.embed-widget-empty{text-align:center;padding:32px;color:var(--embed-text-secondary)}.embed-section{margin-bottom:24px}.embed-section:last-child{margin-bottom:0}.embed-section-title{margin:0 0 16px;font-size:16px;font-weight:600;color:var(--embed-text)}.embed-metric-section{display:flex;gap:16px;flex-wrap:wrap}.embed-metric-card{flex:1;min-width:150px;padding:20px;background:var(--embed-surface);border:1px solid var(--embed-border);border-radius:8px;text-align:center}.embed-metric-label{display:block;font-size:13px;color:var(--embed-text-secondary);margin-bottom:8px}.embed-metric-value{display:block;font-size:28px;font-weight:700;color:var(--embed-text)}.embed-table-wrapper{overflow-x:auto}.embed-table{width:100%;border-collapse:collapse;font-size:14px}.embed-table th,.embed-table td{padding:12px 16px;text-align:left;border-bottom:1px solid var(--embed-border)}.embed-table th{background:var(--embed-surface);font-weight:600;color:var(--embed-text);white-space:nowrap}.embed-table td{color:var(--embed-text)}.embed-table tbody tr:hover{background:var(--embed-surface)}.embed-table-empty{text-align:center;color:var(--embed-text-secondary);padding:32px 16px!important}.embed-chart-section{min-height:200px}.embed-chart-container{position:relative;height:300px;width:100%;background:var(--embed-bg);border:1px solid var(--embed-border);border-radius:8px;padding:16px}.embed-chart-container canvas{max-width:100%}.embed-chart-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;height:100%;color:var(--embed-text-secondary);text-align:center}.embed-chart-empty svg{opacity:.5}.embed-chart-summary{margin-top:12px;padding:8px 12px;background:var(--embed-surface);border-radius:4px;font-size:12px;color:var(--embed-text-secondary);text-align:center}.embed-chart-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:48px 24px;background:var(--embed-surface);border:1px dashed var(--embed-border);border-radius:8px;color:var(--embed-text-secondary)}.embed-chart-placeholder svg{width:48px;height:48px;opacity:.5}.embed-list{list-style:none;margin:0;padding:0}.embed-list-item{padding:12px 16px;border-bottom:1px solid var(--embed-border);color:var(--embed-text)}.embed-list-item:last-child{border-bottom:none}.embed-list-empty{padding:32px 16px;text-align:center;color:var(--embed-text-secondary)}.embed-widget-pagination{display:flex;align-items:center;justify-content:center;gap:16px;padding:16px 24px;border-top:1px solid var(--embed-border);background:var(--embed-surface)}.embed-pagination-btn{padding:8px 16px;border:1px solid var(--embed-border);border-radius:6px;background:var(--embed-bg);color:var(--embed-text);font-size:14px;cursor:pointer;transition:all .2s}.embed-pagination-btn:hover:not(:disabled){border-color:var(--embed-primary);color:var(--embed-primary)}.embed-pagination-btn:disabled{opacity:.5;cursor:not-allowed}.embed-pagination-info{font-size:14px;color:var(--embed-text-secondary)}.embed-widget-footer{padding:12px 24px;border-top:1px solid var(--embed-border);background:var(--embed-surface);text-align:center}.embed-powered-by{font-size:12px;color:var(--embed-text-secondary)}.embed-powered-by a{color:var(--embed-primary);text-decoration:none}.embed-powered-by a:hover{text-decoration:underline}@media (max-width: 640px){.embed-widget-header{padding:16px}.embed-widget-search{padding:12px 16px}.embed-widget-content{padding:16px}.embed-table th,.embed-table td{padding:10px 12px}.embed-metric-card{min-width:120px;padding:16px}.embed-metric-value{font-size:24px}.embed-widget-pagination{flex-wrap:wrap;padding:12px 16px}}.form-preview-page{min-height:100vh;background:linear-gradient(135deg,#f5f7fa,#e4e8ec);display:flex;flex-direction:column;align-items:center;padding:40px 20px}.form-preview-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:300px;color:#6b7280}.form-preview-spinner{width:40px;height:40px;border:3px solid #E5E7EB;border-top-color:#3b82f6;border-radius:50%;animation:form-preview-spin 1s linear infinite;margin-bottom:16px}@keyframes form-preview-spin{to{transform:rotate(360deg)}}.form-preview-error{text-align:center;padding:60px 20px;max-width:500px;background:#fff;border-radius:12px;box-shadow:0 4px 6px #0000000d,0 1px 3px #0000001a}.form-preview-error svg{color:#ef4444;margin-bottom:16px}.form-preview-error h2{font-size:24px;font-weight:600;color:#111827;margin:0 0 12px}.form-preview-error p{color:#6b7280;margin:0 0 24px;line-height:1.5}.form-preview-home-link{display:inline-block;padding:10px 20px;background:#3b82f6;color:#fff;text-decoration:none;border-radius:8px;font-weight:500;transition:background-color .2s}.form-preview-home-link:hover{background:#2563eb}.form-preview-header{text-align:center;margin-bottom:32px;max-width:600px}.form-preview-title{font-size:32px;font-weight:700;color:#111827;margin:0 0 12px}.form-preview-description{font-size:16px;color:#6b7280;margin:0;line-height:1.6}.form-preview-content{width:100%;max-width:600px;background:#fff;border-radius:12px;box-shadow:0 4px 6px #0000000d,0 1px 3px #0000001a;padding:32px;margin-bottom:32px}.form-preview-form-container{width:100%}.form-preview-form-container .dynamic-form-container{max-width:100%;margin:0}.form-preview-form-container .form-section{margin-bottom:24px;padding:20px;background:#f9fafb;border-radius:8px;border:1px solid #E5E7EB}.form-preview-form-container .section-title{font-size:16px;font-weight:600;color:#3b82f6;margin:0 0 16px;padding-bottom:8px;border-bottom:1px solid #E5E7EB}.form-preview-form-container .form-group{margin-bottom:20px}.form-preview-form-container .form-group:last-child{margin-bottom:0}.form-preview-form-container label{display:block;font-size:14px;font-weight:500;color:#374151;margin-bottom:6px}.form-preview-form-container .required-indicator{color:#ef4444;margin-left:4px}.form-preview-form-container input[type=text],.form-preview-form-container input[type=email],.form-preview-form-container input[type=tel],.form-preview-form-container input[type=number],.form-preview-form-container input[type=url],.form-preview-form-container input[type=date],.form-preview-form-container input[type=time],.form-preview-form-container input[type=datetime-local],.form-preview-form-container select,.form-preview-form-container textarea{width:100%;padding:10px 14px;border:1px solid #D1D5DB;border-radius:8px;font-size:15px;color:#111827;background:#fff;transition:border-color .2s,box-shadow .2s;box-sizing:border-box}.form-preview-form-container input[type=text]:focus,.form-preview-form-container input[type=email]:focus,.form-preview-form-container input[type=tel]:focus,.form-preview-form-container input[type=number]:focus,.form-preview-form-container input[type=url]:focus,.form-preview-form-container input[type=date]:focus,.form-preview-form-container input[type=time]:focus,.form-preview-form-container input[type=datetime-local]:focus,.form-preview-form-container select:focus,.form-preview-form-container textarea:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.form-preview-form-container textarea{min-height:120px;resize:vertical}.form-preview-form-container select{cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236B7280'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;background-size:16px;padding-right:40px}.form-preview-form-container .radio-group,.form-preview-form-container .checkbox-group{display:flex;flex-direction:column;gap:10px}.form-preview-form-container .radio-option,.form-preview-form-container .checkbox-option{display:flex;align-items:center;gap:8px;cursor:pointer}.form-preview-form-container input[type=radio],.form-preview-form-container input[type=checkbox]{width:18px;height:18px;cursor:pointer;accent-color:#3B82F6}.form-preview-form-container .radio-label,.form-preview-form-container .checkbox-label{font-size:14px;color:#374151;cursor:pointer}.form-preview-form-container button[type=submit]{width:100%;padding:14px 24px;background:linear-gradient(135deg,#3b82f6,#2563eb);color:#fff;border:none;border-radius:8px;font-size:16px;font-weight:600;cursor:pointer;transition:all .2s;margin-top:24px}.form-preview-form-container button[type=submit]:hover:not(:disabled){background:linear-gradient(135deg,#2563eb,#1d4ed8);transform:translateY(-1px);box-shadow:0 4px 12px #3b82f666}.form-preview-form-container button[type=submit]:disabled{background:#9ca3af;cursor:not-allowed;transform:none;box-shadow:none}.form-preview-footer{text-align:center;color:#9ca3af;font-size:13px}.form-preview-footer a{color:#3b82f6;text-decoration:none}.form-preview-footer a:hover{text-decoration:underline}@media (max-width: 640px){.form-preview-page{padding:20px 16px}.form-preview-title{font-size:24px}.form-preview-content{padding:20px}.form-preview-form-container .form-section{padding:16px}}.embed-form-page{min-height:100vh;background:#fff;padding:20px;box-sizing:border-box}.embed-form-loading{display:flex;align-items:center;justify-content:center;min-height:200px}.embed-form-spinner{width:32px;height:32px;border:3px solid #E5E7EB;border-top-color:#3b82f6;border-radius:50%;animation:embed-form-spin 1s linear infinite}@keyframes embed-form-spin{to{transform:rotate(360deg)}}.embed-form-error{text-align:center;padding:40px 20px;color:#ef4444}.embed-form-error p{margin:0;font-size:14px}.embed-form-success{text-align:center;padding:40px 20px}.embed-form-success svg{color:#10b981;margin-bottom:16px}.embed-form-success h2{font-size:20px;font-weight:600;color:#111827;margin:0 0 8px}.embed-form-success p{font-size:14px;color:#6b7280;margin:0 0 20px}.embed-form-reset-btn{padding:10px 20px;background:#3b82f6;color:#fff;border:none;border-radius:6px;font-size:14px;font-weight:500;cursor:pointer;transition:background-color .2s}.embed-form-reset-btn:hover{background:#2563eb}.embed-form-container{max-width:100%}.embed-form-title{font-size:20px;font-weight:600;color:#111827;margin:0 0 20px;padding-bottom:12px;border-bottom:1px solid #E5E7EB}.embed-form-message{padding:12px 16px;border-radius:6px;margin-bottom:16px;font-size:14px;animation:embed-message-slide .3s ease}@keyframes embed-message-slide{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.embed-form-message--success{background:#d1fae5;color:#065f46;border:1px solid #A7F3D0}.embed-form-message--error{background:#fee2e2;color:#991b1b;border:1px solid #FECACA}.embed-form-content{width:100%}.embed-form-content .dynamic-form-container{max-width:100%;margin:0}.embed-form-content .form-section{margin-bottom:20px;padding:16px;background:#f9fafb;border-radius:8px;border:1px solid #E5E7EB}.embed-form-content .section-title{font-size:14px;font-weight:600;color:#3b82f6;margin:0 0 12px;padding-bottom:8px;border-bottom:1px solid #E5E7EB}.embed-form-content .form-group{margin-bottom:16px}.embed-form-content .form-group:last-child{margin-bottom:0}.embed-form-content label{display:block;font-size:13px;font-weight:500;color:#374151;margin-bottom:4px}.embed-form-content .required-indicator{color:#ef4444;margin-left:2px}.embed-form-content input[type=text],.embed-form-content input[type=email],.embed-form-content input[type=tel],.embed-form-content input[type=number],.embed-form-content input[type=url],.embed-form-content input[type=date],.embed-form-content input[type=time],.embed-form-content input[type=datetime-local],.embed-form-content select,.embed-form-content textarea{width:100%;padding:8px 12px;border:1px solid #D1D5DB;border-radius:6px;font-size:14px;color:#111827;background:#fff;transition:border-color .2s,box-shadow .2s;box-sizing:border-box}.embed-form-content input:focus,.embed-form-content select:focus,.embed-form-content textarea:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 2px #3b82f61a}.embed-form-content textarea{min-height:80px;resize:vertical}.embed-form-content select{cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236B7280'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 10px center;background-size:14px;padding-right:36px}.embed-form-content .radio-group,.embed-form-content .checkbox-group{display:flex;flex-direction:column;gap:8px}.embed-form-content .radio-option,.embed-form-content .checkbox-option{display:flex;align-items:center;gap:6px;cursor:pointer}.embed-form-content input[type=radio],.embed-form-content input[type=checkbox]{width:16px;height:16px;cursor:pointer;accent-color:#3B82F6}.embed-form-content .radio-label,.embed-form-content .checkbox-label{font-size:13px;color:#374151;cursor:pointer}.embed-form-content button[type=submit]{width:100%;padding:12px 20px;background:#3b82f6;color:#fff;border:none;border-radius:6px;font-size:14px;font-weight:600;cursor:pointer;transition:background-color .2s;margin-top:16px}.embed-form-content button[type=submit]:hover:not(:disabled){background:#2563eb}.embed-form-content button[type=submit]:disabled{background:#9ca3af;cursor:not-allowed}@media (max-width: 480px){.embed-form-page{padding:16px}.embed-form-title{font-size:18px}.embed-form-content .form-section{padding:12px}}
