/*! tailwindcss v4.3.3 | 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-border-style:solid;--tw-font-weight:initial}}}@layer theme{:root,:host{--font-sans:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--spacing:.25rem;--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--font-weight-semibold:600;--radius-md:.375rem;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.fixed{position:fixed}.static{position:static}.grid{display:grid}.inline-flex{display:inline-flex}.w-full{width:100%}.grow{flex-grow:1}.items-center{align-items:center}.gap-2{gap:calc(var(--spacing) * 2)}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.rounded-md{border-radius:var(--radius-md)}.border{border-style:var(--tw-border-style);border-width:1px}.px-3{padding-inline:calc(var(--spacing) * 3)}.py-2{padding-block:calc(var(--spacing) * 2)}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.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,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}}:root{--font-family:Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--app-bg:#f6f8fb;--surface:#fff;--surface-muted:#f8fafc;--surface-hover:#eef4ff;--border:#e5e9f0;--border-strong:#d0d5dd;--text:#172033;--text-muted:#667085;--brand:#175cd3;--brand-soft:#eef4ff;--brand-border:#d6e4ff;--shadow:0 1px 3px #10182814;--success-bg:#ecfdf3;--success-text:#027a48;--success-border:#abefc6;--warning-bg:#fffaeb;--warning-text:#b54708;--warning-border:#fedf89;--danger-bg:#fef3f2;--danger-text:#b42318;--danger-border:#fecdca;--neutral-bg:#f2f4f7;--neutral-text:#344054;--neutral-border:#d0d5dd;--chart-grid:#e5e9f0}:root[data-theme=dark]{--app-bg:#0f172a;--surface:#111827;--surface-muted:#1f2937;--surface-hover:#172554;--border:#334155;--border-strong:#475569;--text:#e5e7eb;--text-muted:#94a3b8;--brand:#93c5fd;--brand-soft:#1e3a8a;--brand-border:#1d4ed8;--shadow:0 1px 3px #00000059;--success-bg:#052e1b;--success-text:#86efac;--success-border:#166534;--warning-bg:#451a03;--warning-text:#fbbf24;--warning-border:#92400e;--danger-bg:#450a0a;--danger-text:#fca5a5;--danger-border:#991b1b;--neutral-bg:#1f2937;--neutral-text:#cbd5e1;--neutral-border:#475569;--chart-grid:#334155}html,body,#root{height:100%;margin:0}body{font-family:var(--font-family);background:var(--app-bg);color:var(--text);overflow:hidden}a{color:inherit}.text-brand{color:var(--brand);font-weight:600;text-decoration:none}.text-brand:hover{text-decoration:underline}.app-shell{background:var(--app-bg);flex-direction:column;height:100vh;display:flex;overflow:hidden}.topbar{border-bottom:1px solid var(--border);background:var(--surface);justify-content:space-between;align-items:center;gap:12px;padding:12px 16px;font-weight:700;display:flex}.topbar-left{align-items:center;gap:12px;min-width:0;display:flex}.topbar-left strong{white-space:nowrap;text-overflow:ellipsis;font-size:clamp(14px,2.5vw,17px);overflow:hidden}.sidebar-toggle{background:var(--surface-muted);border:1px solid var(--border);color:var(--text);cursor:pointer;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;padding:6px;display:none}.sidebar-toggle:hover{background:var(--surface-hover);color:var(--brand)}.theme-toggle{background:var(--surface-muted);border-color:var(--border);color:var(--text)}.theme-toggle:hover{background:var(--surface-hover);color:var(--brand)}.app-body{flex:1;min-height:0;display:flex;position:relative}.sidebar{background:var(--surface);border-right:1px solid var(--border);flex-shrink:0;width:220px;height:100%;padding:24px 18px}.sidebar-overlay{display:none}.sidebar-title{margin-bottom:24px;font-size:16px;font-weight:700}.sidebar-item{margin-bottom:4px}.sidebar a{color:var(--neutral-text);border-radius:8px;align-items:center;gap:10px;padding:9px 12px;font-size:14px;text-decoration:none;display:flex}.sidebar a svg{flex:none}.sidebar a:hover,.sidebar a.active{background:var(--surface-hover);color:var(--brand)}.main-content{box-sizing:border-box;flex:1;min-width:0;height:100%;padding:20px 16px 40px;overflow:hidden auto}.page-header{flex-wrap:wrap;align-items:center;gap:14px;margin-bottom:20px;display:flex}.page-header-icon{border:1px solid #d6e4ff;border-color:var(--brand-border);background:var(--brand-soft);width:42px;height:42px;color:var(--brand);border-radius:12px;flex:none;justify-content:center;align-items:center;display:inline-flex}.page-header h1{margin:0 0 6px;font-size:clamp(20px,3.5vw,28px);line-height:1.2}.page-header p{color:var(--text-muted);margin:0;font-size:14px}.content-card{background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow);border-radius:14px;min-width:0;padding:16px;overflow:hidden}.content-card h2{margin:0 0 16px;font-size:clamp(16px,2.2vw,20px)}.metric-card{background:var(--surface-muted);border:1px solid var(--border);border-radius:12px;min-width:0;min-height:72px;padding:14px 16px}.metric-card-header{justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px;display:flex}.metric-card-icon{background:var(--success-bg);width:34px;height:34px;color:var(--success-text);border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;display:inline-flex}.metric-label{color:var(--text-muted);margin-bottom:0;font-size:13px}.metric-value{word-break:break-word;font-size:clamp(20px,2.5vw,24px);font-weight:700;line-height:1}.metric-card.e-card .e-card-header{justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px;padding:0;display:flex}.metric-card.e-card .e-card-header .e-card-header-caption{margin:0}.metric-card.e-card .e-card-header .e-card-title{color:var(--text-muted);margin:0;font-size:13px;font-weight:600;line-height:1.2}.metric-card.e-card .e-card-header .e-card-header-icon{background:var(--success-bg);width:34px;height:34px;color:var(--success-text);border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;margin:0;padding:0;display:inline-flex}.metric-card.e-card .e-card-content{padding:0}.info-card{background:var(--surface-muted);border:1px solid var(--border);border-radius:12px;padding:16px}.e-grid{border-radius:10px;overflow:hidden}.e-grid .e-headercell{font-weight:600;position:relative}.e-grid .e-rowcell,.e-grid .e-headercell{font-size:13px}.e-grid .e-headercelldiv{text-overflow:ellipsis;align-items:center;gap:4px;min-width:0;max-width:calc(100% - 22px);display:block;overflow:hidden;white-space:nowrap!important;padding-right:44px!important}.e-grid .e-headercell .e-headertext{text-overflow:ellipsis;vertical-align:middle;max-width:100%;display:inline-block;overflow:hidden;white-space:nowrap!important}.e-grid .e-sortfilterdiv,.e-grid .e-columnmenu{justify-content:center;align-items:center;width:16px;height:16px;top:50%;transform:translateY(-50%);float:none!important;margin:0!important;display:inline-flex!important;position:absolute!important}.e-grid .e-sortfilterdiv{color:var(--text-muted);opacity:0;font-size:12px;right:26px}.e-grid .e-sortfilterdiv.e-ascending,.e-grid .e-sortfilterdiv.e-descending,.e-grid .e-sortfilterdiv.e-filter,.e-grid .e-sortfilterdiv[class*=e-filter],.e-grid .e-sortfilterdiv.e-sortnumber,.e-grid .e-sortfilterdiv.e-icon-ascending,.e-grid .e-sortfilterdiv.e-icon-descending{opacity:1}.e-grid .e-columnmenu{cursor:pointer;right:6px}.e-grid .e-ascending,.e-grid .e-descending,.e-grid .e-sortnumber{vertical-align:middle;float:none!important;margin:0!important;line-height:1!important;display:inline-flex!important}.status-badge,.metric-badge{border:1px solid var(--neutral-border);background:var(--neutral-bg);min-width:74px;color:var(--neutral-text);white-space:nowrap;border-radius:999px;justify-content:center;align-items:center;padding:3px 10px;font-size:12px;font-weight:700;line-height:1.35;display:inline-flex}.status-active,.status-closedwon,.metric-strong{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}.status-prospect,.status-discovery,.status-qualification,.status-proposal,.metric-medium{background:var(--brand-soft);border-color:var(--brand-border);color:var(--brand)}.status-atrisk,.status-negotiation,.metric-low{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}.status-inactive,.status-closedlost,.metric-risk{background:var(--danger-bg);border-color:var(--danger-border);color:var(--danger-text)}.dashboard-page{flex-direction:column;gap:20px;display:flex}.dashboard-kpi-card{padding:16px 18px}.kpi-grid{grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:16px;display:grid}.dashboard-grid,.account-details-grid{grid-template-columns:minmax(0,1.45fr) minmax(0,.9fr);align-items:start;gap:20px;display:grid}.account-meta{grid-template-columns:1fr 1fr;gap:12px 20px;margin:0;display:grid}.account-meta dt{color:var(--text-muted);text-transform:uppercase;font-size:12px;font-weight:700}.account-meta dd{margin:4px 0 0;font-size:15px}.text-muted{color:var(--text-muted)}.dashboard-chart-card,.dashboard-table-card{min-width:0}.dashboard-chart-card h2,.dashboard-table-card h2{margin:0 0 16px;font-size:clamp(16px,2.2vw,20px)}.dashboard-table-card .e-grid{max-height:360px}.e-card .e-card-header{padding:16px 16px 4px}.e-card .e-card-header h2{margin:0;font-size:clamp(16px,2.2vw,20px)}.e-card .e-card-content{padding:12px 16px 16px}.e-card .kpi-grid{margin:4px 0 0}.forecast-summary-strip{grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:14px;margin-bottom:20px;display:grid}.forecast-summary-item{border:1px solid var(--border);background:var(--surface-muted);border-radius:10px;gap:6px;min-width:0;padding:14px;display:grid}.forecast-summary-item span{color:var(--text-muted);font-size:13px}.forecast-summary-item strong{font-size:clamp(16px,2vw,18px)}.forecast-summary-item.e-card .e-card-header{margin-bottom:4px;padding:0}.forecast-summary-item.e-card .e-card-title{color:var(--text-muted);font-size:13px;font-weight:600;line-height:1.2}.forecast-summary-item.e-card .e-card-content{padding:0}.forecast-summary-item.e-card .e-card-content strong{font-size:clamp(16px,2vw,18px);font-weight:700}.e-chart,.e-chart text,.e-chart svg text,.e-accumulationchart,.e-accumulationchart text{font-family:var(--font-family)!important}.e-chart .e-gridline,.e-chart .e-major-grid-line,.e-chart path[id*=MajorGridLine],.e-chart path[id*=MajorGridLines],.e-chart path[id*=majorGridLines]{stroke:var(--chart-grid)!important}.documents-layout,.ai-assistant-layout,.territory-layout{align-items:start;gap:20px;display:grid}.documents-layout{grid-template-columns:320px minmax(0,1fr)}.documents-list h2,.ai-risk-list h2{margin:0 0 14px;font-size:18px}.document-list-item,.risk-item{border:1px solid var(--border);background:var(--surface);text-align:left;width:100%;color:var(--text);cursor:pointer;border-radius:8px;margin-bottom:10px;padding:12px}.document-list-item:hover,.document-list-item.active,.risk-item:hover{border-color:var(--brand);background:var(--surface-hover)}.document-list-item strong,.document-list-item span,.risk-item strong,.risk-item span,.risk-item small{display:block}.document-list-item span,.risk-item span,.risk-item small,.document-meta p{color:var(--text-muted);margin-top:4px;font-size:12px}.document-editor-panel{min-width:0}.document-meta{justify-content:space-between;align-items:start;gap:16px;margin-bottom:12px;display:flex}.document-meta h2{margin:0;font-size:20px}.document-meta span{border:1px solid var(--border-strong);color:var(--neutral-text);background:var(--surface-muted);border-radius:999px;padding:4px 10px;font-size:12px}.territory-layout{grid-template-columns:minmax(0,1.35fr) minmax(0,320px);align-items:start;min-height:0}.territory-map-card{padding:14px}.territory-summary{align-content:start;gap:12px;display:grid}.territory-page{flex-direction:column;min-height:0;display:flex}.territory-card{gap:4px;display:grid}.territory-card span,.territory-card small{color:var(--text-muted)}.territory-card div{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.pipeline-card-template{align-content:start;gap:8px;min-height:140px;padding:10px;display:grid}.pipeline-card-topline{gap:8px;display:grid}.pipeline-card-template strong,.pipeline-card-template dt,.pipeline-card-template dd{color:var(--text);font-size:14px;font-weight:800;line-height:1.3}.pipeline-card-account{color:var(--text-muted);font-size:13px;font-weight:600;line-height:1.35}.pipeline-card-template b{color:var(--success-text);font-size:14px;font-weight:800;line-height:1.2}.pipeline-card-meta{grid-template-columns:1fr 1fr;gap:7px 10px;margin:2px 0 0;display:grid}.pipeline-card-meta div{min-width:0}.pipeline-card-meta-wide{grid-column:1/-1}.pipeline-card-meta dt{color:var(--text-muted);text-transform:uppercase;margin:0 0 2px;font-size:10px;font-weight:800;line-height:1.2}.pipeline-card-meta dd{min-width:0;color:var(--text);text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:11px;font-weight:700;line-height:1.25;overflow:hidden}.forecast-chip,.priority-chip{border:1px solid var(--brand-border);background:var(--brand-soft);width:max-content;max-width:100%;color:var(--brand);border-radius:999px;justify-content:center;align-items:center;padding:2px 8px;font-size:11px;font-weight:800;line-height:1.25;display:inline-flex}.priority-high{color:var(--danger-text);background:var(--danger-bg);border-color:var(--danger-border)}.priority-medium{color:var(--warning-text);background:var(--warning-bg);border-color:var(--warning-border)}.priority-low{color:var(--success-text);background:var(--success-bg);border-color:var(--success-border)}.ai-assistant-layout{grid-template-columns:340px minmax(0,1fr)}.ai-risk-list,.ai-assist-panel{min-width:0}.e-aiassistview{border-radius:8px;overflow:hidden}:root[data-theme=dark] .e-grid,:root[data-theme=dark] .e-grid .e-gridheader,:root[data-theme=dark] .e-grid .e-headercontent,:root[data-theme=dark] .e-grid .e-content,:root[data-theme=dark] .e-grid .e-row,:root[data-theme=dark] .e-grid .e-pager,:root[data-theme=dark] .e-grid .e-filterbar,:root[data-theme=dark] .e-grid .e-filterbarcell,:root[data-theme=dark] .e-grid .e-frozenheader,:root[data-theme=dark] .e-grid .e-frozencontent,:root[data-theme=dark] .e-schedule,:root[data-theme=dark] .e-schedule .e-schedule-toolbar,:root[data-theme=dark] .e-schedule .e-toolbar-items,:root[data-theme=dark] .e-schedule .e-table-wrap,:root[data-theme=dark] .e-schedule .e-month-view,:root[data-theme=dark] .e-kanban,:root[data-theme=dark] .e-kanban .e-kanban-table,:root[data-theme=dark] .e-aiassistview,:root[data-theme=dark] .e-aiassistview .e-view-header,:root[data-theme=dark] .e-aiassistview .e-view-content,:root[data-theme=dark] .e-aiassistview .e-output-container,:root[data-theme=dark] .e-aiassistview .e-content-container{background:var(--surface);color:var(--text)}:root[data-theme=dark] .e-grid .e-headercell,:root[data-theme=dark] .e-grid .e-rowcell,:root[data-theme=dark] .e-grid .e-pager,:root[data-theme=dark] .e-grid .e-filterbarcell,:root[data-theme=dark] .e-schedule .e-header-cells,:root[data-theme=dark] .e-schedule .e-work-cells,:root[data-theme=dark] .e-schedule .e-date-header-wrap,:root[data-theme=dark] .e-schedule .e-content-wrap,:root[data-theme=dark] .e-schedule .e-month-view .e-date-header,:root[data-theme=dark] .e-kanban .e-header-cells,:root[data-theme=dark] .e-kanban .e-card{background:var(--surface);border-color:var(--border);color:var(--text)}:root[data-theme=dark] .e-grid .e-altrow,:root[data-theme=dark] .e-grid .e-filterbarcell input,:root[data-theme=dark] .e-grid .e-input-group,:root[data-theme=dark] .e-grid .e-control.e-textbox,:root[data-theme=dark] .e-pager .e-pagercontainer,:root[data-theme=dark] .e-pager .e-numericitem,:root[data-theme=dark] .e-pager .e-prevpagedisabled,:root[data-theme=dark] .e-pager .e-nextpagedisabled,:root[data-theme=dark] .e-pager .e-prevpage,:root[data-theme=dark] .e-pager .e-nextpage,:root[data-theme=dark] .e-kanban .e-content-row .e-content-cells{background:var(--surface-muted);border-color:var(--border);color:var(--text)}:root[data-theme=dark] .e-chart,:root[data-theme=dark] .e-maps{background:var(--surface)}:root[data-theme=dark] .e-chart text,:root[data-theme=dark] .e-chart svg text,:root[data-theme=dark] .e-accumulationchart text{fill:var(--text)!important;color:var(--text)!important}:root[data-theme=dark] .e-chart .e-axis-label,:root[data-theme=dark] .e-chart .e-chart-title,:root[data-theme=dark] .e-chart .e-chart-subtitle,:root[data-theme=dark] .e-chart .e-legendtext{fill:var(--text)!important}:root[data-theme=dark] .e-grid .e-filterbarcell input::placeholder,:root[data-theme=dark] .e-input::placeholder{color:var(--text-muted)}:root[data-theme=dark] .e-pager .e-currentitem{background:var(--brand);color:#0f172a}:root[data-theme=dark] .e-toolbar,:root[data-theme=dark] .e-toolbar .e-toolbar-items,:root[data-theme=dark] .e-toolbar .e-tbar-btn,:root[data-theme=dark] .e-toolbar .e-tbar-btn-text,:root[data-theme=dark] .e-toolbar .e-icons{background:var(--surface);color:var(--text)}:root[data-theme=dark] .e-toolbar .e-tbar-btn:hover,:root[data-theme=dark] .e-toolbar .e-tbar-btn:focus,:root[data-theme=dark] .e-toolbar .e-active-view .e-tbar-btn{background:var(--surface-hover);color:var(--brand)}:root[data-theme=dark] .e-aiassistview .e-view-header,:root[data-theme=dark] .e-aiassistview .e-toolbar,:root[data-theme=dark] .e-aiassistview .e-footer,:root[data-theme=dark] .e-aiassistview .e-prompt-container,:root[data-theme=dark] .e-aiassistview .e-output,:root[data-theme=dark] .e-aiassistview .e-output-content,:root[data-theme=dark] .e-aiassistview .e-response,:root[data-theme=dark] .e-aiassistview .e-response-item,:root[data-theme=dark] .e-aiassistview .e-suggestions,:root[data-theme=dark] .e-aiassistview .e-suggestion-list{background:var(--surface)!important;color:var(--text)!important;border-color:var(--border)!important}:root[data-theme=dark] .e-aiassistview .e-prompt-text,:root[data-theme=dark] .e-aiassistview .e-output,:root[data-theme=dark] .e-aiassistview .e-output *,:root[data-theme=dark] .e-aiassistview .e-response *,:root[data-theme=dark] .e-aiassistview .e-suggestions *,:root[data-theme=dark] .e-aiassistview .e-view-header *{color:var(--text)!important}:root[data-theme=dark] .e-aiassistview .e-prompt,:root[data-theme=dark] .e-aiassistview .e-prompt-content{background:var(--surface-muted)!important;color:var(--text)!important}@media(min-width:1280px){.main-content{padding:24px 32px 48px}.topbar{padding:14px 32px}}@media(max-width:1024px){.kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-grid,.account-details-grid{grid-template-columns:1fr}.forecast-summary-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.territory-layout,.ai-assistant-layout,.documents-layout{grid-template-columns:1fr}}@media(max-width:640px){.account-meta{grid-template-columns:1fr}}@media(max-width:768px){.sidebar-toggle{display:inline-flex}.sidebar{z-index:50;width:260px;max-width:80vw;transition:transform .25s;position:fixed;top:0;bottom:0;left:0;overflow-y:auto;transform:translate(-100%);box-shadow:2px 0 14px #00000040}.sidebar.open{transform:translate(0)}.sidebar-overlay{z-index:40;opacity:0;pointer-events:none;background:#00000073;transition:opacity .2s;display:block;position:fixed;top:0;right:0;bottom:0;left:0}.sidebar-overlay.open{opacity:1;pointer-events:auto}.app-shell{flex-direction:column}.main-content{height:auto;min-height:100vh;padding:16px 14px 36px}body{overflow:auto}.topbar{gap:8px;padding:10px 14px}.topbar-left strong{font-size:clamp(13px,3.5vw,16px)}.theme-toggle{padding:6px 10px}.theme-toggle span{display:none}.kpi-grid{grid-template-columns:1fr;gap:12px}.dashboard-grid{grid-template-columns:1fr;gap:16px}.forecast-summary-strip{grid-template-columns:1fr}.content-card{padding:14px}.metric-card{padding:12px 14px}.e-grid,.e-schedule,.e-kanban,.e-maps,.e-aiassistview{width:100%!important;min-width:0!important}.e-grid .e-gridcontent,.e-schedule .e-table-wrap{overflow-x:auto}.e-kanban .e-kanban-table{min-width:720px}}@media(max-width:640px){.main-content{padding:12px 10px 32px}.topbar{padding:8px 12px}.content-card{border-radius:12px;padding:12px}.dashboard-grid{gap:12px}.kpi-grid,.forecast-summary-strip{gap:10px}.documents-layout,.ai-assistant-layout,.territory-layout{gap:12px}.e-kanban .e-kanban-table{min-width:600px}.pipeline-card-meta{grid-template-columns:1fr}.document-meta{flex-direction:column;gap:6px}}@media(max-width:480px){.topbar-left strong{font-size:13px}.page-header h1{font-size:18px}.page-header p{font-size:12px}.metric-value{font-size:18px}.metric-card-icon{width:30px;height:30px}.e-kanban .e-kanban-table{min-width:500px}}@media(max-width:360px){.topbar{padding:6px 8px}.main-content{padding:10px 6px 28px}.content-card{padding:10px}.e-kanban .e-kanban-table{min-width:440px}}.e-grid,.e-schedule,.e-kanban,.e-maps,.e-aiassistview,.e-documenteditor{min-width:0;max-width:100%}.e-grid .e-gridcontent,.e-schedule .e-table-wrap,.e-kanban .e-kanban-table{-webkit-overflow-scrolling:touch;overflow-x:auto}@media(max-width:768px){.document-editor-panel .e-documenteditor-container,.document-editor-panel .e-documenteditor{height:420px!important}}@media(min-width:1920px){.topbar{padding:16px 40px}.sidebar{width:240px}.main-content{padding:28px 40px 56px}body{font-size:17px}.sidebar a{font-size:15px}.e-grid .e-rowcell,.e-grid .e-headercell,.metric-label{font-size:14px}.kpi-grid,.forecast-summary-strip{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.page-header h1{font-size:clamp(22px,3vw,32px)}.metric-value{font-size:clamp(22px,2.6vw,28px)}.content-card h2{font-size:clamp(18px,2.2vw,24px)}.dashboard-chart-card .e-chart,.territory-map-card .e-maps,.forecast-chart-card .e-chart{height:380px!important}.dashboard-table-card .e-grid{height:400px!important}}@media(min-width:2560px){.topbar{padding:18px 56px}.sidebar{width:260px}.main-content{max-width:2200px;margin-inline:auto;padding:36px 56px 72px}body{font-size:18px}.sidebar a{font-size:16px}.e-grid .e-rowcell,.e-grid .e-headercell,.metric-label{font-size:15px}.kpi-grid,.forecast-summary-strip{grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}.page-header h1{font-size:clamp(26px,3vw,36px)}.page-header p{font-size:16px}.metric-value{font-size:clamp(24px,2.6vw,32px)}.content-card h2{font-size:clamp(20px,2.2vw,26px)}.dashboard-chart-card .e-chart,.territory-map-card .e-maps,.forecast-chart-card .e-chart{height:420px!important}.dashboard-table-card .e-grid{height:440px!important}}@media(min-width:3440px){.topbar{padding:18px 72px}.main-content{max-width:2800px;padding:44px 72px 88px}.page-header h1{font-size:clamp(30px,3vw,40px)}.metric-value{font-size:clamp(28px,2.6vw,36px)}.content-card h2{font-size:clamp(22px,2.2vw,28px)}.dashboard-chart-card .e-chart,.territory-map-card .e-maps,.forecast-chart-card .e-chart{height:480px!important}.dashboard-table-card .e-grid{height:520px!important}}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-font-weight{syntax:"*";inherits:false}
