:root{--brand: #1d4ed8;--brand-dark: #1e3a8a;--brand-light: #dbeafe;--brand-2: #0ea5e9;--brand-gradient: linear-gradient(135deg, #1d4ed8 0%, #0ea5e9 100%);--navy: #0f172a;--teal: #1d4ed8;--bg: #f8fafc;--card-bg: #ffffff;--border: #e2e8f0;--border-strong: #cbd5e1;--text: #0f172a;--text-muted: #64748b;--danger: #b91c1c;--danger-bg: #fef2f2;--radius: 10px;--radius-sm: 8px;--shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 4px 14px rgba(15, 23, 42, .06);--shadow-lg: 0 2px 6px rgba(15, 23, 42, .06), 0 16px 40px rgba(15, 23, 42, .14);font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-feature-settings:"cv11","ss01";-webkit-font-smoothing:antialiased;color-scheme:light}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-size:14px}a{color:var(--brand);text-decoration:none}a:hover{text-decoration:underline}.icon{flex-shrink:0}.app-shell{min-height:100vh;display:flex;flex-direction:column}.global-header{position:sticky;top:0;z-index:30;height:56px;background:#ffffffeb;-webkit-backdrop-filter:saturate(180%) blur(10px);backdrop-filter:saturate(180%) blur(10px);border-bottom:1px solid var(--border);display:flex;align-items:center;gap:1rem;padding:0 1.25rem}.global-header .global-search{max-width:520px}.global-header .global-actions{margin-left:auto}.global-header .menu-btn{display:none}.brand-mark{display:inline-flex;width:fit-content}.brand-mark:hover{text-decoration:none}.brand-logo{display:inline-flex;align-items:center;gap:.45rem;height:36px;color:var(--text);font-weight:800;font-size:1.1rem;letter-spacing:-.02em}.brand-logo svg{width:30px;height:30px;flex-shrink:0}.global-search{position:relative;width:100%}.global-search input{width:100%;height:36px;border:1px solid var(--border-strong);border-radius:var(--radius);padding:0 .75rem 0 2.2rem;font:inherit;background:#fff}.global-search input:focus{outline:none;border-color:var(--brand);box-shadow:0 0 0 1px var(--brand)}.global-search-icon{position:absolute;left:.7rem;top:50%;transform:translateY(-50%);color:var(--text-muted);pointer-events:none}.global-actions{display:flex;justify-content:flex-end;align-items:center;gap:.35rem}.header-menu{position:relative}.header-icon-btn{position:relative;display:grid;place-items:center;width:36px;height:36px;border:none;border-radius:50%;background:transparent;color:var(--text-muted);cursor:pointer}.header-icon-btn:hover,.header-icon-btn.active{background:#f1f5f9;color:var(--brand)}.header-icon-btn:focus-visible,.avatar-btn:focus-visible{outline:2px solid var(--brand);outline-offset:1px}.header-badge{position:absolute;top:-3px;right:-5px;min-width:14px;height:16px;padding:0 3px;border-radius:9px;background:var(--danger);color:#fff;font-size:.68rem;font-weight:700;line-height:16px;text-align:center;border:2px solid #fff;box-sizing:content-box}.avatar-btn{display:grid;place-items:center;width:34px;height:34px;margin-left:.35rem;border:none;border-radius:50%;background:var(--navy);color:#fff;font-weight:700;font-size:.78rem;cursor:pointer}.avatar-btn.large{width:44px;height:44px;margin:0;font-size:.95rem;cursor:default}.dropdown-panel{position:absolute;top:calc(100% + 6px);z-index:40;background:#fff;border:1px solid var(--border);border-radius:var(--radius);box-shadow:0 4px 14px #0f172a29;padding:.35rem 0;min-width:240px;max-height:70vh;overflow-y:auto}.header-panel{right:0}.search-results{left:0;right:0}.notifications-panel{width:360px}.help-panel{width:300px}.dropdown-group+.dropdown-group{border-top:1px solid var(--border);margin-top:.3rem;padding-top:.3rem}.dropdown-group-label{padding:.4rem 1rem;font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--text-muted)}.dropdown-header{display:flex;justify-content:space-between;align-items:center;padding:.5rem 1rem;border-bottom:1px solid var(--border)}.dropdown-item{display:flex;align-items:flex-start;gap:.65rem;width:100%;padding:.55rem 1rem;border:none;background:none;color:var(--text);font:inherit;text-align:left;cursor:pointer}.dropdown-item .icon{margin-top:1px;color:var(--text-muted)}.dropdown-item:hover{background:#f1f5f9;text-decoration:none}.dropdown-item span{display:flex;flex-direction:column;gap:.1rem;min-width:0}.dropdown-item strong{font-weight:600}.dropdown-item small{color:var(--text-muted);font-size:.78rem}.dropdown-item.notification.unread{background:#f0f6fe}.dropdown-item.notification.unread strong:before{content:"";display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--brand);margin-right:6px;vertical-align:1px}.dropdown-empty{padding:1rem;color:var(--text-muted);text-align:center}.user-panel{width:280px}.user-panel-head{display:flex;gap:.75rem;padding:.75rem 1rem;border-bottom:1px solid var(--border);margin-bottom:.3rem}.user-panel-head div{display:flex;flex-direction:column;gap:.15rem;min-width:0}.user-panel-head small{color:var(--text-muted);overflow-wrap:anywhere}.content{flex:1;max-width:1280px;width:100%;margin:0 auto;padding:.75rem .75rem 2rem}h1{font-size:1.15rem;font-weight:700;margin:0}h3{font-size:.95rem;font-weight:700;margin:0 0 .75rem}.muted{color:var(--text-muted)}.small{font-size:.8rem}.mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.8rem;overflow-wrap:anywhere}.capitalize{text-transform:capitalize}.object-icon{display:inline-grid;place-items:center;border-radius:var(--radius);background:linear-gradient(135deg,#eef2ff,#e0f2fe);color:var(--brand);box-shadow:inset 0 0 0 1px #1d4ed81a;flex-shrink:0}.page-header-card{background:var(--card-bg);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);padding:.9rem 1rem;margin-bottom:.75rem}.page-header-main{display:flex;align-items:center;gap:.75rem}.page-header-label{font-size:.78rem;color:var(--text-muted)}.page-header-actions{margin-left:auto;display:flex;align-items:center;gap:.5rem;flex-wrap:wrap;justify-content:flex-end}.view-picker{field-sizing:content;font:inherit;font-size:1.15rem;font-weight:700;border:none;background:transparent;padding:0;cursor:pointer;color:var(--text)}.highlights{display:flex;flex-wrap:wrap;gap:.5rem 2.5rem;margin:.9rem 0 0;padding-top:.75rem;border-top:1px solid var(--border)}.highlights dt,.field-list dt{font-size:.75rem;color:var(--text-muted);margin-bottom:.15rem}.highlights dd,.field-list dd{margin:0}.card,.list-card{background:var(--card-bg);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);padding:1rem;margin-bottom:.75rem;min-width:0}.list-card{padding:0;overflow:hidden}.list-card .filters{padding:.75rem 1rem;margin:0;border-bottom:1px solid var(--border)}.list-card .case-table{box-shadow:none;border-radius:0}.list-card .empty-state{border-radius:0}.card-header{display:flex;justify-content:space-between;align-items:center;gap:.75rem;margin-bottom:.75rem}.card-header h3{margin:0}.detail-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.6fr);gap:.75rem;align-items:start}.field-list{display:flex;flex-direction:column;margin:0}.field-list>div{padding:.5rem 0;border-bottom:1px solid #f1f5f9}.home-greeting{margin:.25rem 0 .9rem}.home-greeting h1{font-size:1.4rem}.home-greeting p{margin:.2rem 0 0}.home-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:.75rem;align-items:start}.home-grid .card{margin:0}.item-list{list-style:none;margin:0;padding:0}.item-list li{padding:.55rem 0;border-bottom:1px solid #f1f5f9}.item-list li:last-child{border-bottom:none}.item-meta{display:flex;flex-wrap:wrap;align-items:center;gap:.4rem;margin-top:.3rem;font-size:.78rem;color:var(--text-muted)}.setup-grid,.report-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:.75rem;align-items:start}.setup-grid .card,.report-grid .card{margin:0}.setup-grid{margin-bottom:.75rem}.plain-list{margin:0 0 .75rem;padding-left:1.1rem}.plain-list li{padding:.2rem 0}.inline-form{display:flex;gap:.5rem}.inline-form input{flex:1;min-width:0;border:1px solid var(--border-strong);border-radius:var(--radius);padding:.45rem .6rem;font:inherit}.help-page p{line-height:1.55;margin:0 0 .6rem}kbd{display:inline-block;min-width:1.6em;padding:.1rem .4rem;border:1px solid var(--border-strong);border-bottom-width:2px;border-radius:8px;font-family:inherit;font-size:.8rem;text-align:center;background:#f8fafc}.setup-content{max-width:1440px}.setup-shell{display:grid;grid-template-columns:240px minmax(0,1fr);gap:.75rem;align-items:start}.setup-sidebar{position:sticky;top:72px;background:var(--card-bg);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);padding:.75rem 0 .5rem;max-height:calc(100vh - 88px);overflow-y:auto}.quick-find{position:relative;margin:0 .75rem .5rem}.quick-find .icon{position:absolute;left:.55rem;top:50%;transform:translateY(-50%);color:var(--text-muted)}.quick-find input{width:100%;border:1px solid var(--border-strong);border-radius:var(--radius);padding:.4rem .5rem .4rem 1.8rem;font:inherit;font-size:.85rem}.setup-sidebar-section{padding:.35rem 0}.setup-sidebar-title{padding:.35rem 1rem;font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--text-muted)}.setup-sidebar-item{display:block;padding:.45rem 1rem .45rem 1.25rem;color:var(--text);font-size:.88rem;border-left:3px solid transparent}.setup-sidebar-item:hover{background:#f1f5f9;text-decoration:none}.setup-sidebar-item.active{background:#eef4ff;border-left-color:var(--brand);color:var(--brand-dark);font-weight:600}.setup-sidebar-empty{padding:0 1rem}.setup-sidebar-object{display:flex;align-items:center;gap:.6rem;padding:0 1rem .75rem;margin-bottom:.5rem;border-bottom:1px solid var(--border)}.setup-sidebar-object div{display:flex;flex-direction:column;min-width:0}.setup-breadcrumb{font-size:.82rem;color:var(--text-muted);margin:.1rem 0 .6rem}.setup-breadcrumb.inner{margin-top:0}.setup-tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:.75rem}.setup-tile{display:block;color:var(--text);margin:0}.setup-tile:hover{text-decoration:none;border-color:var(--brand)}.setup-tile-head{display:flex;justify-content:space-between;align-items:center;min-height:2rem;margin-bottom:.4rem}.setup-tile-head h3{margin:0}.setup-tile-head h3{color:var(--brand)}.setup-tile-count{font-size:1.4rem;font-weight:600}.setup-tile p{margin:0;font-size:.85rem}.setup-queue-table{margin-top:.75rem}.field-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:0 2rem;margin:0}.field-grid>div{padding:.55rem 0;border-bottom:1px solid #f1f5f9}.field-grid dt{font-size:.75rem;color:var(--text-muted);margin-bottom:.15rem}.field-grid dd{margin:0}.default-cell{color:var(--text-muted);font-size:.82rem}.policy{margin-top:.6rem}.policy-name{margin-bottom:.3rem}.code-block{display:block;background:#f8fafc;border:1px solid var(--border);border-radius:var(--radius);padding:.55rem .7rem;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.8rem;overflow-x:auto;white-space:pre-wrap;word-break:break-word}.table-section-title{padding:.6rem 1rem;font-size:.8rem;font-weight:700;background:#fff;border-bottom:1px solid var(--border)}.case-table+.table-section-title,.empty-state+.table-section-title{border-top:1px solid var(--border)}.row-actions{text-align:right;white-space:nowrap}.custom-field-inputs{border:none;border-top:1px solid var(--border);margin:.25rem 0 0;padding:.75rem 0 0;display:flex;flex-direction:column;gap:.9rem;min-width:0}.custom-field-inputs legend{font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--text-muted);padding:0 .4rem 0 0}.field-help{display:block;font-weight:400;color:var(--text-muted);font-size:.75rem}.modal label.checkbox-label,label.checkbox-label{flex-direction:row;align-items:flex-start;gap:.55rem;font-weight:600}.checkbox-label input{margin:.15rem 0 0;width:16px;height:16px;accent-color:var(--brand);flex-shrink:0}.checkbox-label span{display:flex;flex-direction:column;gap:.15rem}.checkbox-group{display:flex;flex-direction:column;gap:.75rem;padding:.75rem;background:#f8f9fb;border:1px solid var(--border);border-radius:var(--radius)}.pre-wrap{white-space:pre-wrap}.btn-secondary.danger{color:var(--danger)}.btn-secondary.danger:hover{background:var(--danger-bg)}input.mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.badge-active{background:#dcfce7;color:#166534}.badge-inactive{background:#e5e7eb;color:#4b5563}.inactive-row td{color:var(--text-muted)}.row-actions-sep{color:var(--border-strong);margin:0 .4rem}label.checkbox-label.inline{display:inline-flex;align-items:center;font-weight:400;font-size:.85rem}.checkbox-label.inline input{margin:0}.input-with-button{display:flex;gap:.5rem}.input-with-button input{flex:1;min-width:0}.credentials{margin:0;border:1px solid var(--border);border-radius:var(--radius);background:#f8f9fb}.credentials>div{display:grid;grid-template-columns:110px 1fr;gap:.5rem;padding:.55rem .8rem;border-bottom:1px solid var(--border)}.credentials>div:last-child{border-bottom:none}.credentials dt{color:var(--text-muted);font-size:.8rem}.credentials dd{margin:0;font-size:.9rem;overflow-wrap:anywhere}.profile-matrix{margin-top:.75rem}.case-table .center{text-align:center}.case-table td.granted{color:#166534;font-weight:700}.case-table td.denied{color:var(--text-muted)}.profile-users{margin:.6rem 0 0;color:var(--text)}.profile-description{margin:.75rem 0 0;color:var(--text-muted)}.object-permission-table td:first-child{min-width:10rem}.object-permission-table input[type=checkbox]{width:1.05rem;height:1.05rem;cursor:pointer}.object-permission-table input[type=checkbox]:disabled{cursor:default}.object-permission-table input.inactive{opacity:.45}.object-permission-links{white-space:nowrap;text-align:right}.object-permission-links a+a{margin-left:1rem}.object-permissions .card-actions{display:flex;gap:1rem}.object-permission-actions{display:flex;justify-content:flex-end;align-items:center;gap:.6rem;margin-top:.9rem}.permission-list{list-style:none;margin:0;padding:0}.permission-list li{display:flex;gap:.75rem;padding:.6rem 0;border-bottom:1px solid #f1f5f9}.permission-list li:last-child{border-bottom:none}.permission-mark{width:1.2rem;font-weight:700;text-align:center;flex-shrink:0}.permission-list li.granted .permission-mark{color:#166534}.permission-list li.denied{color:var(--text-muted)}.permission-list li.denied strong{font-weight:500}.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.owner-control{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}.owner-control select{border:1px solid var(--border-strong);border-radius:var(--radius);padding:.3rem .5rem;font:inherit;font-size:.85rem}.btn-primary,.btn-secondary{display:inline-flex;align-items:center;justify-content:center;height:32px;padding:0 1rem;border-radius:var(--radius);font:inherit;font-weight:600;cursor:pointer;white-space:nowrap}.btn-primary{background:var(--brand);color:#fff;border:1px solid var(--brand)}.btn-primary:hover{background:var(--brand-dark);border-color:var(--brand-dark)}.btn-primary:disabled{opacity:.55;cursor:not-allowed}.btn-secondary{background:#fff;color:var(--brand);border:1px solid var(--border-strong)}.btn-secondary:hover{background:#f1f5f9;text-decoration:none}.btn-secondary:disabled,.btn-secondary:disabled:hover{background:#f8fafc;color:#94a3b8;border-color:var(--border);cursor:not-allowed}.btn-secondary.small{height:26px;padding:0 .7rem;font-size:.8rem}.btn-link{background:none;border:none;color:var(--brand);cursor:pointer;font:inherit;font-size:.85rem;padding:0}.btn-link:hover{text-decoration:underline}.filters{display:flex;align-items:center;gap:.75rem;margin-bottom:1rem;flex-wrap:wrap}.filters select,.filters input,label input,label select,label textarea{border:1px solid var(--border-strong);border-radius:var(--radius);padding:.45rem .6rem;font-size:.9rem;font-family:inherit;background:#fff}.filters input{min-width:240px}.result-count{color:var(--text-muted);font-size:.8rem;margin-left:auto}.case-table{width:100%;border-collapse:collapse;background:var(--card-bg)}.case-table th{text-align:left;background:#f8fafc;padding:.55rem .8rem;font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.02em;color:var(--text-muted);border-bottom:1px solid var(--border);white-space:nowrap}.case-table td{padding:.6rem .8rem;border-bottom:1px solid #f1f5f9;font-size:.88rem}.case-table tbody tr:hover td{background:#eff6ff}.case-table tfoot td{font-weight:700;border-top:1px solid var(--border);border-bottom:none}.case-table .num{text-align:right;font-variant-numeric:tabular-nums}.case-table.compact td,.case-table.compact th{padding:.45rem .6rem}.card .case-table{border:1px solid var(--border)}.list-card,.card:has(>.case-table){overflow-x:auto}.badge{display:inline-block;padding:.12rem .5rem;border-radius:999px;font-size:.72rem;font-weight:600;white-space:nowrap}.badge-status-new{background:#e0ecff;color:#1d4ed8}.badge-status-in-progress{background:#fef3c7;color:#92400e}.badge-status-escalated{background:#fee2e2;color:#991b1b}.badge-status-on-hold{background:#f3e8ff;color:#6b21a8}.badge-status-closed,.badge-priority-low{background:#e5e7eb;color:#374151}.badge-priority-medium{background:#dbeafe;color:#1e40af}.badge-priority-high{background:#fed7aa;color:#9a3412}.badge-priority-urgent{background:#fecaca;color:#991b1b}.badge-priority-other{background:var(--bg);color:#334155;box-shadow:inset 0 0 0 1px var(--border)}.empty-state{text-align:center;padding:2.5rem;color:var(--text-muted);background:var(--card-bg);border-radius:var(--radius)}.empty-state.small{padding:1rem}.error-banner{background:var(--danger-bg);color:var(--danger);padding:.6rem .9rem;border-radius:var(--radius);margin-bottom:.75rem;font-size:.88rem}.error-banner.small{margin-top:.5rem}.stat-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:.75rem;margin-bottom:.75rem}.stat-tile{display:block;background:var(--card-bg);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);padding:.85rem 1rem;color:var(--text)}.stat-tile.link:hover{text-decoration:none;border-color:var(--brand)}.stat-label{font-size:.78rem;color:var(--text-muted)}.stat-value{font-size:1.9rem;font-weight:600;line-height:1.2;margin-top:.2rem}.stat-sub{font-size:.75rem;color:var(--text-muted);margin-top:.15rem}.dashboard-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(340px,1fr));gap:.75rem}.dashboard-grid .card{margin:0}.bar-list{display:flex;flex-direction:column;gap:.2rem}.bar-row{position:relative;display:grid;grid-template-columns:minmax(80px,34%) 1fr 2.5rem;align-items:center;gap:.75rem;padding:.3rem .25rem;border-radius:var(--radius)}.bar-row.hover{background:#f8fafc}.bar-label{font-size:.82rem;color:#334155;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bar-track{display:block;min-width:0}.bar-fill{display:block;height:18px;min-width:2px;border-radius:0 8px 8px 0}.bar-value{font-size:.8rem;font-weight:600;color:var(--text);font-variant-numeric:tabular-nums}.chart-empty{padding:1.5rem;text-align:center;color:var(--text-muted)}.chart-tooltip{position:absolute;z-index:5;display:flex;flex-direction:column;gap:.2rem;background:#fff;color:var(--text);border:1px solid var(--border);border-radius:8px;box-shadow:0 4px 12px #0f172a24;padding:.45rem .65rem;font-size:.78rem;pointer-events:none;white-space:nowrap}.bar-tooltip{left:34%;bottom:calc(100% - 2px)}.tooltip-row{display:flex;align-items:center;gap:.4rem}.tooltip-row b{margin-left:auto;padding-left:1rem;font-variant-numeric:tabular-nums}.chart-legend{display:flex;gap:1rem;margin-bottom:.5rem;font-size:.8rem;color:#334155}.legend-item{display:inline-flex;align-items:center;gap:.35rem}.legend-swatch{display:inline-block;width:10px;height:10px;border-radius:4px}.trend-plot{position:relative;width:100%}.trend-plot svg{display:block}.chart-grid{stroke:#eeedea;stroke-width:1}.chart-baseline{stroke:var(--border-strong);stroke-width:1}.chart-crosshair{stroke:#898781;stroke-width:1}.chart-axis-text{fill:#747474;font-size:11px;font-variant-numeric:tabular-nums}@media (max-width: 900px){.detail-grid,.setup-shell{grid-template-columns:minmax(0,1fr)}.setup-sidebar{position:static;max-height:none}}@media (max-width: 640px){.global-header{grid-template-columns:auto 1fr auto;gap:.5rem;padding:0 .5rem}.content{padding:.5rem .5rem 2rem}.page-header-main{flex-wrap:wrap}.page-header-actions{margin-left:0;width:100%;justify-content:flex-start}.filters input{min-width:0;flex:1}.notifications-panel,.help-panel,.user-panel{position:fixed;top:60px;left:.5rem;right:.5rem;width:auto}.header-icon-btn{width:32px}}.login-page{min-height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(160deg,var(--navy),var(--brand))}.login-card{background:#fff;padding:2.5rem;border-radius:10px;width:340px;display:flex;flex-direction:column;gap:.9rem;box-shadow:0 10px 30px #0f172a33}.login-card h1{font-size:1.3rem;color:var(--navy)}.subtitle{margin:-.5rem 0 .25rem;color:var(--text-muted);font-size:.9rem}.login-card label,.modal label,.form-row label{display:flex;flex-direction:column;gap:.25rem;font-size:.85rem;font-weight:600;color:#374151}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a80;display:flex;align-items:center;justify-content:center;padding:16px;z-index:100}.modal{background:#fff;border-radius:8px;padding:0 1.75rem;width:520px;max-width:100%;display:flex;flex-direction:column;gap:.9rem;max-height:calc(100vh - 32px);overflow-y:auto;box-shadow:var(--shadow-lg)}.modal h2{position:sticky;top:0;z-index:1;margin:0 -1.75rem;padding:1.25rem 1.75rem .75rem;background:#fff;border-bottom:1px solid var(--border);font-size:1.15rem}.form-row{display:flex;gap:.9rem}.form-row label{flex:1}.modal-actions{position:sticky;bottom:0;z-index:1;display:flex;justify-content:flex-end;gap:.6rem;margin:.25rem -1.75rem 0;padding:.85rem 1.75rem 1.1rem;background:#fff;border-top:1px solid var(--border)}.back-link{color:var(--teal);text-decoration:none;font-size:.9rem;display:inline-block;margin-bottom:1rem}.case-header{display:flex;align-items:center;gap:.75rem;margin-bottom:.75rem}.case-meta{background:var(--card-bg);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);padding:1rem 1.25rem;display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:.5rem 1.5rem;font-size:.88rem;margin-bottom:1rem}.case-description{background:var(--card-bg);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);padding:1rem 1.25rem;margin-bottom:1rem}.case-description h3{margin-top:0}.status-control{background:var(--card-bg);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);padding:1rem 1.25rem;margin-bottom:1rem}.status-control h3{margin-top:0}.status-buttons{display:flex;gap:.5rem;flex-wrap:wrap}.status-pill{border:1px solid var(--border);background:#fff;padding:.4rem .9rem;border-radius:999px;font-size:.85rem;cursor:pointer}.status-pill.active{background:var(--navy);color:#fff;border-color:var(--navy)}.status-pill:disabled{cursor:not-allowed;opacity:.7}.comments-section{background:var(--card-bg);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);padding:1rem 1.25rem}.comments-section h3{margin-top:0}.comment-list{display:flex;flex-direction:column;gap:.75rem;margin-bottom:1rem}.comment{border-left:3px solid var(--teal);padding:.4rem .8rem;background:#f8fafc;border-radius:0 8px 8px 0}.comment-meta{display:flex;justify-content:space-between;font-size:.78rem;color:var(--text-muted);margin-bottom:.2rem}.comment p{margin:0;font-size:.9rem}.comment-form{display:flex;gap:.6rem;align-items:flex-start}.comment-form textarea{flex:1;resize:vertical;font:inherit;border:1px solid var(--border-strong);border-radius:var(--radius);padding:.45rem .6rem}.error-inline{color:var(--danger);font-size:.8rem}.filters input[type=checkbox]{min-width:0;padding:0;border:none}.copyable-id{display:inline-flex;align-items:center;gap:.3rem}.icon-btn{display:inline-grid;place-items:center;width:24px;height:24px;border:none;border-radius:8px;background:transparent;color:var(--text-muted);cursor:pointer}.icon-btn:hover{background:#f1f5f9;color:var(--brand)}.id-anatomy{font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.id-anatomy .org-part{background:#dbeafe;color:var(--brand-dark);border-radius:6px;padding:0 1px}.picklist-note{margin:-.25rem 0 .75rem}.order-cell{white-space:nowrap;width:1%}.order-cell .icon-btn{width:20px;height:20px;font-size:.6rem}.icon-btn:disabled{opacity:.3;cursor:default}.btn-link:disabled{color:var(--text-muted);cursor:default}.btn-link.danger-link{color:var(--danger)}.settings-note{margin:-.25rem 0 .75rem}.inline-select{border:1px solid var(--border-strong);border-radius:var(--radius);padding:.3rem .5rem;font:inherit;font-size:.85rem;max-width:100%}.criteria-cell{min-width:220px}.criteria-list{list-style:none;margin:0;padding:0;font-size:.82rem}.criteria-join{display:inline-block;font-size:.68rem;font-weight:700;color:var(--text-muted);margin-right:.35rem}.rule-conditions .condition-row{display:grid;grid-template-columns:1fr 1fr 1.4fr auto;gap:.4rem;align-items:center}.condition-row select,.condition-row input{border:1px solid var(--border-strong);border-radius:var(--radius);padding:.4rem .5rem;font:inherit;font-size:.85rem;min-width:0}.add-condition{align-self:flex-start}@media (max-width: 640px){.rule-conditions .condition-row{grid-template-columns:1fr 1fr}}.notice-banner{background:#fff8e6;border:1px solid #f3d38a;color:#5c4400;padding:.7rem .9rem;border-radius:var(--radius);margin-bottom:.75rem;font-size:.88rem;line-height:1.5}.notice-banner code{background:#0f172a0f;padding:.05rem .3rem;border-radius:6px}.badge-email-sent{background:#dcfce7;color:#166534}.badge-email-failed{background:#fee2e2;color:#991b1b}.badge-email-not_configured{background:#fef3c7;color:#92400e}.badge-email-pending{background:#e5e7eb;color:#374151}.email-subject{text-align:left;font-size:.88rem}.email-body-row td{background:#f8fafc}.email-body{margin:0;white-space:pre-wrap;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.8rem;line-height:1.5}.queue-email-note{margin:.75rem 0 0}.member-add{margin-bottom:.75rem}.member-add select{flex:1;min-width:0;border:1px solid var(--border-strong);border-radius:var(--radius);padding:.45rem .6rem;font:inherit}.case-table .mono{white-space:nowrap}.case-activity .card-header{flex-wrap:wrap}.activity-actions{display:flex;gap:.4rem;flex-wrap:wrap}.activity-actions .btn-secondary{gap:.3rem}.timeline-heading{margin:.9rem 0 .4rem;font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--text-muted)}.timeline{list-style:none;margin:0;padding:0;border-left:2px solid var(--border);margin-left:.6rem}.timeline-item{position:relative;display:flex;align-items:flex-start;gap:.6rem;padding:.55rem 0 .55rem .9rem;margin-left:-.75rem}.timeline-icon{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;color:#fff;flex-shrink:0;box-shadow:0 0 0 3px var(--card-bg)}.timeline-icon.event{background:#d6504a}.timeline-icon.email{background:#5a6fd6}.timeline-icon.email.inbound{background:#0b8f82}.task-check{width:18px;height:18px;margin:3px 3px 0;accent-color:#15803d;flex-shrink:0;box-shadow:0 0 0 3px var(--card-bg);cursor:pointer}.timeline-body{flex:1;min-width:0}.timeline-title{display:flex;align-items:center;gap:.4rem;flex-wrap:wrap}.timeline-subject{font-weight:600;text-align:left;font-size:.9rem}.timeline-item.completed .timeline-subject{text-decoration:line-through;color:var(--text-muted)}.timeline-meta{font-size:.78rem;color:var(--text-muted);margin-top:.15rem;overflow-wrap:anywhere}.timeline-meta .overdue{color:var(--danger);font-weight:600}.timeline-text{margin:.3rem 0 0;font-size:.85rem;white-space:pre-wrap}.timeline-email{margin-top:.5rem;padding:.6rem .75rem;background:#f8fafc;border:1px solid var(--border);border-radius:var(--radius)}.timeline-actions{display:flex;align-items:center;white-space:nowrap;font-size:.82rem}.timeline-actions .btn-link{display:inline-flex;align-items:center;gap:.2rem}.badge-email-received{background:#ccfbf1;color:#115e59}@media (max-width: 640px){.timeline-item{flex-wrap:wrap}.timeline-actions{width:100%;padding-left:30px}}.attachment-chip{display:inline-flex;align-items:center;gap:.35rem;max-width:100%;padding:.2rem .55rem;border:1px solid var(--border);border-radius:999px;background:#fff;font:inherit;font-size:.8rem;color:var(--brand);cursor:pointer}.attachment-chip:hover{border-color:var(--brand);background:#eff6ff}.attachment-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:260px}.attachment-list{display:flex;flex-wrap:wrap;gap:.35rem;margin-top:.4rem}.case-files.dragging{outline:2px dashed var(--brand);outline-offset:-6px;background:#eff6ff}.case-files .btn-secondary,.composer-attach-row .btn-secondary{gap:.3rem}.composer-file-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.35rem;max-height:160px;overflow-y:auto}.composer-file-list .checkbox-label{font-weight:400}.composer-attach-row{display:flex;align-items:center;gap:.6rem;flex-wrap:wrap}.composer-file-list .checkbox-label span{flex-direction:row;align-items:baseline;gap:.4rem}.milestone-list,.escalation-list{list-style:none;margin:0;padding:0}.milestone{display:flex;align-items:center;gap:.7rem;padding:.6rem .75rem;border:1px solid var(--border);border-left-width:4px;border-radius:var(--radius);margin-bottom:.5rem}.milestone-body{flex:1;min-width:0}.milestone-title{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}.milestone-meta{font-size:.8rem;color:var(--text-muted);margin-top:.15rem}.milestone.ms-open{border-left-color:#2563eb}.milestone.ms-warning{border-left-color:#d98c00}.milestone.ms-violated{border-left-color:var(--danger);background:#fff7f6}.milestone.ms-completed{border-left-color:#15803d}.milestone.ms-late{border-left-color:#8a6d3b}.milestone.ms-open .icon{color:#2563eb}.milestone.ms-warning .icon{color:#b36b00}.milestone.ms-violated .icon{color:var(--danger)}.milestone.ms-completed .icon{color:#15803d}.milestone.ms-late .icon{color:#8a6d3b}.ms-badge.ms-open{background:#e0ecff;color:#1d4ed8}.ms-badge.ms-warning{background:#fef3c7;color:#92400e}.ms-badge.ms-violated{background:#fee2e2;color:#991b1b}.ms-badge.ms-completed{background:#dcfce7;color:#166534}.ms-badge.ms-late{background:#f3ead8;color:#6b4f1d}.escalation-list li{display:flex;align-items:flex-start;gap:.5rem;padding:.35rem 0;font-size:.85rem}.escalation-list .icon{color:var(--danger);margin-top:2px}.target-pill{display:inline-block;margin:0 .35rem .2rem 0;padding:.05rem .45rem;border-radius:999px;background:#f1f3f6;white-space:nowrap}.target-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:.6rem}.target-grid label{font-weight:600}.sales-path{display:flex;list-style:none;margin:0;padding:0;gap:6px;overflow-x:auto}.path-step{flex:1;min-width:96px}.path-step button{display:flex;flex-direction:column;align-items:stretch;gap:8px;width:100%;border:none;background:none;padding:4px 0;color:var(--text-muted);font:inherit;font-size:.8rem;text-align:left;cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.path-step button:before{content:"";display:block;height:6px;border-radius:999px;background:var(--border);transition:background .15s}.path-step button:hover:before{background:#bfdbfe}.path-step button:hover{color:var(--text)}.path-step.done button:before{background:#93c5fd}.path-step.done button{color:#334155}.path-step.current button:before{background:var(--brand-gradient)}.path-step.current button{color:var(--brand);font-weight:700}.path-step.current.won button:before{background:#16a34a}.path-step.current.won button{color:#15803d}.path-step.current.lost button:before{background:#94a3b8}.path-step.current.lost button{color:#475569}.path-note{margin:.6rem 0 0}.converted-banner{border-left:4px solid #15803d}.lead-description{margin-top:.75rem}.rating{font-size:.8rem;font-weight:600}.rating-hot{color:#c23934}.rating-warm{color:#b36b00}.rating-cold{color:#2563eb}.overdue-date{color:var(--danger)}.standalone-filters{background:var(--card-bg);border:1px solid var(--border);border-radius:var(--radius);padding:.6rem 1rem;margin-bottom:.75rem}.segmented{display:inline-flex;border:1px solid var(--border-strong);border-radius:var(--radius);overflow:hidden}.segmented button{display:grid;place-items:center;width:34px;height:30px;border:none;background:#fff;color:var(--text-muted);cursor:pointer}.segmented button+button{border-left:1px solid var(--border-strong)}.segmented button.active{background:#eef4ff;color:var(--brand)}.perf-figures{display:flex;gap:2rem;flex-wrap:wrap;margin-bottom:.5rem}.perf-figures small{display:block;font-size:.72rem;text-transform:uppercase;letter-spacing:.03em;color:var(--text-muted)}.perf-figures strong{font-size:1.15rem}.pipeline-board{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(220px,1fr);gap:.6rem;overflow-x:auto;padding-bottom:.5rem;align-items:start}.board-column{background:var(--bg);border:1px solid var(--border);border-radius:var(--radius);min-height:160px;display:flex;flex-direction:column}.board-column.drop-target{outline:2px dashed var(--brand);outline-offset:-3px;background:#dbeafe}.board-column-head{display:flex;flex-direction:column;gap:.1rem;padding:.55rem .7rem;border-bottom:3px solid #2563eb;background:#fff;border-radius:var(--radius) var(--radius) 0 0}.board-column.won .board-column-head{border-bottom-color:#15803d}.board-column.lost .board-column-head{border-bottom-color:#8a8d91}.board-cards{display:flex;flex-direction:column;gap:.45rem;padding:.5rem}.board-card{background:#fff;border:1px solid var(--border);border-radius:var(--radius);padding:.55rem .65rem;box-shadow:var(--shadow);cursor:grab}.board-card:active{cursor:grabbing}.board-card.moving{opacity:.5}.board-card-title{font-weight:600;font-size:.86rem;display:block}.board-card-meta{font-size:.78rem;color:var(--text-muted);margin-top:.1rem}.board-card-foot{display:flex;justify-content:space-between;align-items:baseline;margin-top:.4rem;font-size:.85rem}.board-card-move{width:100%;margin-top:.4rem;border:1px solid var(--border);border-radius:var(--radius);font:inherit;font-size:.75rem;padding:.15rem .3rem;color:var(--text-muted);background:#f8fafc}.board-empty{text-align:center;padding:.75rem 0;margin:0}.page-header-actions .btn-secondary{gap:.3rem}.btn-secondary.has-filters{border-color:var(--brand);background:#eef4ff}.filter-panel .filter-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:.75rem 1rem}.filter-grid label,.filter-grid .range-filter{display:flex;flex-direction:column;gap:.25rem;font-size:.8rem;font-weight:600;color:#374151;min-width:0}.filter-grid select,.filter-grid input{border:1px solid var(--border-strong);border-radius:var(--radius);padding:.4rem .5rem;font:inherit;font-size:.85rem;font-weight:400;min-width:0}.range-filter{border:none;margin:0;padding:0;display:grid!important;grid-template-columns:1fr auto 1fr;align-items:center}.range-filter legend{padding:0;margin-bottom:.25rem}.filter-chips{display:flex;flex-wrap:wrap;align-items:center;gap:.4rem;margin-bottom:.75rem}.filter-chip{display:inline-flex;align-items:center;gap:.35rem;padding:.2rem .3rem .2rem .65rem;border-radius:999px;background:#eef4ff;border:1px solid #b9d3f7;font-size:.8rem}.filter-chip button{border:none;background:none;cursor:pointer;color:var(--text-muted);font-size:.75rem;padding:0 .25rem}.clickable-row{cursor:pointer}.case-table tbody tr.selected-row td{background:#e0ecff;font-weight:600}.report-records{margin-top:.75rem}.records-header{padding:.8rem 1rem 0}.report-records .case-table td{white-space:nowrap;max-width:320px;overflow:hidden;text-overflow:ellipsis}.sort-btn{display:inline-flex;align-items:center;gap:.3rem;border:none;background:none;font:inherit;text-transform:inherit;letter-spacing:inherit;color:inherit;cursor:pointer;padding:0}.sort-btn.active{color:var(--brand-dark)}.sort-arrow{font-size:.65rem;opacity:.6}.sort-btn.active .sort-arrow{opacity:1}.pager{display:flex;justify-content:flex-end;align-items:center;gap:.6rem;padding:.7rem 1rem;border-top:1px solid var(--border)}.modal.modal-wide{width:760px}.import-steps{display:flex;gap:.4rem;margin:0;padding:0;list-style:none;counter-reset:step;font-size:.8rem;color:var(--text-muted)}.import-steps li{flex:1;counter-increment:step;padding-top:.4rem;border-top:3px solid var(--border)}.import-steps li:before{content:counter(step) ". "}.import-steps li.complete{border-top-color:var(--brand-light)}.import-steps li.current{border-top-color:var(--brand);color:var(--text);font-weight:600}.import-intro{margin:0;font-size:.9rem}.import-drop{display:flex;flex-direction:column;align-items:center;gap:.3rem;padding:2rem 1rem;border:2px dashed var(--border-strong);border-radius:8px;color:var(--text-muted);font-size:.85rem;cursor:pointer;text-align:center}.import-drop strong{color:var(--brand);font-size:.95rem}.import-drop:hover,.import-drop:focus-visible{border-color:var(--brand);background:#f4f8fe}.import-notes{margin:0;padding-left:1.1rem;font-size:.82rem;color:var(--text-muted);display:flex;flex-direction:column;gap:.25rem}.import-table-wrap{max-height:46vh;overflow:auto;border:1px solid var(--border);border-radius:var(--radius)}.import-table{width:100%;border-collapse:collapse;font-size:.85rem}.import-table th{position:sticky;top:0;background:#f1f5f9;text-align:left;font-weight:600;padding:.45rem .6rem;border-bottom:1px solid var(--border)}.import-table td{padding:.4rem .6rem;border-bottom:1px solid #eee;vertical-align:top;overflow-wrap:anywhere}.import-table select{width:100%}.import-sample{max-width:220px;color:var(--text-muted)}.import-summary{display:flex;flex-wrap:wrap;gap:.6rem 1.5rem;font-size:.9rem}.import-summary strong{font-size:1.3rem;margin-right:.2rem}.import-review-bar{display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap}.import-ok{color:#15803d}.import-bad{color:var(--danger)}.import-warn{color:#8c4b02}.import-more{padding:.5rem .6rem;font-size:.8rem}.import-progress{display:flex;flex-direction:column;gap:.6rem;padding:1.5rem 0 2rem}.import-progress-track{height:8px;border-radius:8px;background:#e5e7eb;overflow:hidden}.import-progress-fill{height:100%;background:var(--brand);transition:width .3s ease}.modal>.btn-link{align-self:flex-start}.pre-line{white-space:pre-line}.setup-intro{margin:0 0 1rem;font-size:.9rem;color:var(--text-muted);line-height:1.5}.settings-form{display:flex;flex-direction:column;gap:1rem;max-width:720px}.settings-form label:not(.checkbox-label){display:flex;flex-direction:column;gap:.25rem;font-size:.85rem;font-weight:600}.settings-form .field-help{font-weight:400}.settings-actions{display:flex;align-items:center;gap:.75rem}.saved-note{color:#15803d;font-size:.85rem}.w2c-link{display:flex;align-items:center;gap:.4rem;overflow-wrap:anywhere}pre.code-block{margin:0;max-height:420px;overflow:auto}.support-page{min-height:100vh;background:var(--bg);padding:48px 16px}.support-card{max-width:560px;margin:0 auto;background:var(--card-bg);border-radius:8px;padding:28px 32px;box-shadow:0 2px 10px #0f172a14}.support-card h1{font-size:1.35rem;margin:0 0 .3rem}.support-card form{display:flex;flex-direction:column;gap:.9rem;margin-top:1.25rem}.support-card label{display:flex;flex-direction:column;gap:.25rem;font-size:.85rem;font-weight:600}.support-trap{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}@media (max-width: 560px){.support-card{padding:22px 18px}.support-card .form-row{flex-direction:column}}.settings-form .checkbox-label{display:flex}.settings-form .checkbox-label .field-help{display:block;margin-top:.15rem}.api-key-reveal{padding:.6rem .75rem;background:#f8fafc;border:1px solid var(--border);border-radius:var(--radius);overflow-wrap:anywhere}.table-scroll{overflow-x:auto}.connected-apps-table .client-id-cell{max-width:230px}.connected-apps-table .client-id-cell .copyable-id{display:flex;align-items:flex-start}.connected-apps-table .client-id-cell .mono{min-width:0;white-space:normal;word-break:break-all}.connected-apps-table .row-actions{white-space:nowrap}.sso-button{width:100%;justify-content:center}.login-divider{display:flex;align-items:center;gap:.6rem;color:var(--text-muted);font-size:.8rem}.login-divider:before,.login-divider:after{content:"";flex:1;height:1px;background:var(--border)}.sso-retry{display:inline-block;margin-top:1rem;text-align:center;text-decoration:none}.sso-test-row{display:flex;align-items:center;gap:.6rem;flex-wrap:wrap;margin:.4rem 0 .25rem;font-size:.85rem}.settings-subhead{margin:.75rem 0 0;font-size:1rem}.settings-form .indent{margin-left:1.6rem;max-width:260px}.settings-form .half-width{max-width:calc(50% - .45rem)}@media (max-width: 640px){.settings-form .half-width{max-width:none}}.help-sso h4{margin:1.25rem 0 .4rem;font-size:.95rem}.help-sso ol{margin:0 0 .5rem;padding-left:1.3rem;display:flex;flex-direction:column;gap:.45rem;line-height:1.5}.help-values{margin:.5rem 0;display:grid;gap:.35rem}.help-values div{display:flex;gap:.75rem;align-items:baseline;flex-wrap:wrap}.help-values dt{min-width:110px;color:var(--text-muted);font-size:.85rem}.help-values dd{margin:0;overflow-wrap:anywhere}.help-table td:first-child{width:40%}.login-history{margin-top:1rem}.login-history .card-header{padding:.9rem 1rem 0}.badge-failed{background:var(--danger-bg);color:var(--danger)}.login-history .nowrap{white-space:nowrap}.login-history .login-detail{max-width:280px;overflow-wrap:anywhere;font-size:.82rem}.login-as-banner{display:flex;align-items:center;justify-content:center;gap:.75rem;flex-wrap:wrap;padding:.5rem 1rem;background:#fef3c7;color:#713f12;border-bottom:1px solid #f59e0b;font-size:.88rem;text-align:center}.login-as-banner button{border:1px solid #b45309;background:#fff;color:#7c2d12;border-radius:var(--radius);padding:.25rem .7rem;font:inherit;font-weight:600;cursor:pointer}.login-as-banner button:hover{background:#fffbeb}.page-note{margin:0 0 .75rem;color:var(--text-muted);font-size:.9rem}.align-start{align-self:flex-start}.opportunity-products{margin-top:1rem}.opportunity-products tfoot td{font-weight:600}.product-picker{max-height:260px;overflow-y:auto;border:1px solid var(--border);border-radius:var(--radius)}.product-option{display:flex;justify-content:space-between;gap:.75rem;width:100%;padding:.55rem .75rem;border:0;border-bottom:1px solid #f1f5f9;background:none;font:inherit;text-align:left;cursor:pointer}.product-option:hover{background:#f7f9fc}.product-option.selected{background:var(--brand-light)}.badge-info{background:#dbeafe;color:#1e40af}.sync-badge{margin-left:.4rem}.sync-note{margin:0 0 .75rem;padding:.5rem .75rem;background:#eff6ff;border:1px solid #bfdbfe;border-radius:var(--radius);font-size:.85rem}.related-quotes,.quote-lines{margin-top:1rem}.path-row{display:flex;align-items:center;gap:.75rem;margin-bottom:.9rem;flex-wrap:wrap}.path-row .sales-path{flex:1;min-width:0;margin:0}.path-other{max-width:200px}.quote-totals{margin:.75rem 0 0 auto;max-width:320px;display:grid;gap:.3rem;font-size:.9rem}.quote-totals div{display:flex;justify-content:space-between;gap:1rem}.quote-totals dt{color:var(--text-muted)}.quote-totals dd{margin:0;font-variant-numeric:tabular-nums}.quote-totals .grand{border-top:1px solid var(--border);padding-top:.4rem;font-weight:700}.quote-totals .grand dt{color:var(--text)}.field-list.two-col{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));column-gap:1.5rem}.print-page{max-width:820px;margin:0 auto;padding:32px 24px 48px;background:#fff;color:#111;min-height:100vh}.print-toolbar{display:flex;align-items:center;gap:1rem;margin-bottom:1.5rem}.print-header{display:flex;justify-content:space-between;gap:2rem;flex-wrap:wrap;border-bottom:2px solid #111;padding-bottom:1rem}.print-header h1{margin:0;font-size:1.6rem}.print-header dl,.print-header p{margin:0}.print-header dl div{display:flex;gap:.75rem;justify-content:space-between;font-size:.9rem}.print-header dd{margin:0;font-weight:600}.print-parties{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1.5rem;margin:1.25rem 0}.print-parties h2{font-size:.75rem;text-transform:uppercase;letter-spacing:.05em;color:#555;margin:0 0 .3rem}.print-parties p{margin:0;line-height:1.5}.print-lines{width:100%;border-collapse:collapse;font-size:.9rem}.print-lines th{text-align:left;border-bottom:1px solid #111;padding:.4rem .3rem}.print-lines td{border-bottom:1px solid #ddd;padding:.45rem .3rem;vertical-align:top}.print-lines .num{text-align:right}.print-notes{margin-top:1.5rem;font-size:.85rem;color:#333}@media print{.no-print{display:none!important}.print-page{padding:0}body{background:#fff}}.period-nav{display:inline-flex;align-items:center;gap:.4rem}.period-nav .icon-btn{font-size:1.1rem}.forecast-tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:.75rem;margin-bottom:1rem}.forecast-tile{display:flex;flex-direction:column;gap:.2rem;padding:.85rem 1rem;background:var(--card-bg);border:1px solid var(--border);border-radius:8px;text-align:left;font:inherit;color:inherit}.forecast-tile.clickable{cursor:pointer}.forecast-tile.clickable:hover{border-color:var(--brand)}.forecast-tile strong{font-size:1.3rem;font-variant-numeric:tabular-nums}.tile-label{font-size:.75rem;text-transform:uppercase;letter-spacing:.03em;color:var(--text-muted)}.tile-sub{font-size:.8rem;color:var(--text-muted)}.forecast-table tfoot td{font-weight:600}.forecast-table .num,.forecast-months .num{font-variant-numeric:tabular-nums}.forecast-months{margin-top:1rem}.forecasts-page .list-card .card-header{padding:.9rem 1rem .4rem}.attainment{display:flex;align-items:center;gap:.5rem;min-width:140px;font-size:.85rem;font-variant-numeric:tabular-nums}.attainment-track{flex:1;height:8px;border-radius:8px;background:#e5e7eb;overflow:hidden}.attainment-fill{height:100%;border-radius:8px;background:var(--brand)}.sharing-table select{max-width:420px}.add-member-row select{max-width:280px}.currency-badge{margin-left:8px}.money-converted{font-weight:400;font-size:.92em}.mcp-snippet{margin-top:16px}.mcp-snippet h4{margin:0;font-size:.95rem}.consent-list{padding-left:20px;line-height:1.6}.consent-list li{margin-bottom:8px}.consent-actions{display:flex;gap:8px;justify-content:flex-end;margin-top:16px}.mcp-subhead{margin:20px 0 6px;font-size:.95rem}.mcp-steps{padding-left:20px;line-height:1.6;margin:0 0 6px}.support-card label.checkbox-label{flex-direction:row;align-items:flex-start;gap:.5rem;font-size:.9rem}.approval-banner{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;border-radius:8px;padding:12px 16px;margin-bottom:12px;font-size:.9rem;border:1px solid}.approval-banner ul{margin:6px 0 0;padding-left:18px}.approval-banner.needed{background:#fff8e6;border-color:#f2cf7a;color:#6b4a00}.approval-banner.pending{background:#eef4ff;border-color:#b3cdfb;color:#1b3a73}.approval-banner.approved{background:#effaf2;border-color:#a9dcb7;color:#1d5b2c}.approval-comment{margin:6px 0 0;font-style:italic}.approval-actions{display:flex;gap:8px;flex-shrink:0}.badge.approval-pending{background:#e0ecff;color:#1d4ed8}.badge.approval-approved{background:#dcfce7;color:#166534}.badge.approval-rejected{background:#fee2e2;color:#991b1b}.badge.approval-recalled{background:#e5e7eb;color:#4b5563}.items-to-approve{margin-bottom:16px;border-left:3px solid var(--brand)}.template-preview{margin-top:4px}.template-preview-box{margin-top:8px;border:1px solid var(--border, var(--border));border-radius:8px;padding:10px 12px;background:#fafbfc}.template-preview-box pre{white-space:pre-wrap;font-family:inherit;margin:6px 0 0;font-size:.9rem}.chat-page{min-height:100vh;background:var(--bg, #f1f5f9);display:flex;justify-content:center;align-items:flex-start;padding:32px 16px}.chat-page.embedded{padding:0;background:#fff;align-items:stretch}.chat-card{width:100%;max-width:440px;background:#fff;border-radius:12px;box-shadow:0 2px 12px #0f172a14;display:flex;flex-direction:column;overflow:hidden;height:min(640px,calc(100vh - 64px))}.chat-page.embedded .chat-card{max-width:none;height:100vh;border-radius:0;box-shadow:none}.chat-card-head{background:var(--brand, var(--brand));color:#fff;padding:14px 16px;display:flex;flex-direction:column;gap:2px}.chat-card-head span{font-size:.8rem;opacity:.9}.chat-form{padding:16px;display:flex;flex-direction:column;gap:10px;overflow-y:auto}.chat-form label{display:flex;flex-direction:column;gap:4px;font-size:.85rem;font-weight:600}.chat-form input,.chat-form textarea{font:inherit;padding:8px 10px;border:1px solid var(--border-strong);border-radius:8px}.chat-form-actions{display:flex;gap:8px;justify-content:flex-end}.chat-welcome{margin:0;color:#444}.chat-center{padding:32px 16px;text-align:center}.chat-conversation{display:flex;flex-direction:column;flex:1;min-height:0}.chat-status{display:flex;justify-content:space-between;align-items:center;padding:8px 14px;font-size:.8rem;color:#555;border-bottom:1px solid #eee}.chat-messages{flex:1;overflow-y:auto;padding:12px;display:flex;flex-direction:column;gap:8px;background:#fafafa;min-height:0}.chat-msg{max-width:80%;padding:8px 11px;border-radius:12px;white-space:pre-wrap;word-wrap:break-word;font-size:.92rem;line-height:1.35}.chat-msg.visitor{align-self:flex-end;background:var(--brand, var(--brand));color:#fff;border-bottom-right-radius:4px}.chat-msg.agent{align-self:flex-start;background:#fff;border:1px solid var(--border);border-bottom-left-radius:4px}.chat-msg.system{align-self:center;background:none;color:#777;font-size:.78rem;text-align:center}.chat-msg-who{font-size:.72rem;font-weight:600;color:#666;margin-bottom:2px}.chat-hint{padding:6px 14px;text-align:center}.chat-compose{display:flex;gap:8px;padding:10px;border-top:1px solid #eee;background:#fff}.chat-compose textarea{flex:1;resize:none;font:inherit;padding:8px 10px;border:1px solid var(--border-strong);border-radius:8px}.chat-dock{position:fixed;right:16px;bottom:0;z-index:900;width:360px;max-width:calc(100vw - 32px)}.chat-dock-bar{display:flex;align-items:center;justify-content:space-between;gap:8px;background:#1b2a3a;color:#fff;padding:6px 10px;border-radius:10px 10px 0 0;box-shadow:0 -2px 10px #0f172a26}.chat-dock-toggle{background:none;border:0;color:inherit;font:600 .9rem system-ui,sans-serif;display:flex;align-items:center;gap:8px;cursor:pointer}.chat-dock-bar select{font-size:.8rem;padding:2px 4px;border-radius:8px}.presence-dot{width:9px;height:9px;border-radius:50%;background:#9aa5b1}.presence-dot.online{background:#2ecc71}.presence-dot.busy{background:#f39c12}.chat-dock-badge{background:#e74c3c;color:#fff;border-radius:10px;padding:0 7px;font-size:.75rem}.chat-dock-panel{background:#fff;border:1px solid var(--border);border-top:0;height:480px;max-height:calc(100vh - 120px);display:flex;flex-direction:column;box-shadow:0 0 16px #0f172a26}.chat-dock-empty{padding:16px}.chat-dock-error{padding:6px 10px}.chat-offer{display:flex;justify-content:space-between;gap:8px;padding:10px 12px;background:#fff8e6;border-bottom:1px solid #f2cf7a;font-size:.88rem}.chat-offer-question{margin-top:4px;font-style:italic}.chat-offer-actions{display:flex;flex-direction:column;gap:6px}.chat-tabs{display:flex;gap:2px;overflow-x:auto;border-bottom:1px solid var(--border);background:#f5f6f7}.chat-tab{border:0;background:none;padding:8px 12px;font-size:.85rem;cursor:pointer;white-space:nowrap;border-bottom:2px solid transparent}.chat-tab.active{border-bottom-color:var(--brand, var(--brand));font-weight:600;background:#fff}.chat-tab.ended{color:#888}.chat-tab.unread:after{content:"";display:inline-block;width:7px;height:7px;border-radius:50%;background:#e74c3c;margin-left:6px;vertical-align:middle}.chat-view{display:flex;flex-direction:column;flex:1;min-height:0}.chat-view-head{display:flex;justify-content:space-between;gap:8px;padding:8px 12px;border-bottom:1px solid #eee;font-size:.88rem}.chat-view-actions{display:flex;gap:6px;align-items:flex-start;flex-shrink:0}.chat-page-url{max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.code-inline{font-family:ui-monospace,monospace;font-size:.8rem;background:#f4f4f4;padding:6px 8px;border-radius:8px;word-break:break-all}.chat-typing{align-self:flex-start;font-size:.78rem;color:#777;font-style:italic;padding:2px 4px}.chat-rating{display:flex;flex-direction:column;align-items:center;gap:6px;margin-bottom:10px}.chat-rating textarea{width:100%;font:inherit;padding:6px 8px;border:1px solid var(--border-strong);border-radius:8px}.chat-stars button{background:none;border:0;font-size:1.6rem;color:#ccc;cursor:pointer;padding:0 2px}.chat-stars button.on{color:#f5b301}.chat-rating-thanks{color:#2e7d32}.chat-panel{display:flex;flex-wrap:wrap;gap:6px;align-items:center;padding:8px 12px;border-bottom:1px solid #eee;background:#f8f9fb}.chat-panel select{flex:1;min-width:0}.chat-replies{flex-direction:column;align-items:stretch;max-height:220px;overflow-y:auto;border-top:1px solid #eee;border-bottom:0}.chat-replies ul{list-style:none;margin:0;padding:0}.chat-replies li button{width:100%;text-align:left;background:#fff;border:1px solid var(--border);border-radius:8px;padding:6px 8px;margin-top:4px;cursor:pointer;display:flex;flex-direction:column;gap:2px}.chat-replies li button:hover{border-color:var(--brand, var(--brand))}.chat-replies-btn{align-self:flex-end}.chat-transfer-tag{margin-left:6px;font-size:.72rem;background:#e0ecff;color:#1d4ed8;padding:1px 6px;border-radius:8px}.business-hours{display:flex;flex-direction:column;gap:8px;max-width:520px}.business-hours input[type=time]{padding:3px 6px}.chat-stat-tiles{grid-template-columns:repeat(5,minmax(0,1fr))}.chat-question{max-width:320px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-stars-cell{color:#f5b301;letter-spacing:1px;white-space:nowrap}.badge.chat-status-ended{background:#dcfce7;color:#166534}.badge.chat-status-missed{background:#fee2e2;color:#991b1b}.badge.chat-status-active{background:#e0ecff;color:#1d4ed8}.badge.chat-status-waiting,.badge.chat-status-offered{background:#fef3c7;color:#92400e}.chat-transcript{max-height:420px;border:1px solid #eee;border-radius:8px}.pagination{display:flex;gap:8px;align-items:center;justify-content:flex-end;padding:10px 12px}.app-shell:has(.chat-dock) .content{padding-bottom:64px}.help-toc ul{columns:3 220px;margin:8px 0 0;padding-left:18px}.help-toc li{margin-bottom:4px}.help-page h4{margin:14px 0 6px;font-size:.95rem}.audit-filters input{flex:1;min-width:180px}.audit-table td{vertical-align:top}.audit-detail{margin-top:2px;word-break:break-word}.nowrap{white-space:nowrap}.page-tabs{display:flex;gap:4px;margin-top:12px;border-bottom:1px solid var(--border)}.page-tabs button{background:none;border:0;border-bottom:2px solid transparent;padding:8px 14px;font-size:.9rem;cursor:pointer;color:#444}.page-tabs button.active{border-bottom-color:var(--brand, var(--brand));color:var(--brand, var(--brand));font-weight:600}.history-period{display:flex;justify-content:flex-end;margin-bottom:12px}.sup-tiles{grid-template-columns:repeat(6,minmax(0,1fr))}.sup-tiles .sup-alert{border-color:#f2cf7a;background:#fffaf0}.sup-late{color:#b42318;font-weight:600}.sup-agents td{vertical-align:top}.sup-load{display:flex;align-items:center;gap:8px;min-width:110px}.sup-load-bar{flex:1;height:8px;background:#eef1f4;border-radius:8px;overflow:hidden}.sup-load-bar span{display:block;height:100%;background:#2ecc71}.sup-load-bar span.full{background:#f39c12}.sup-chips{display:flex;flex-wrap:wrap;gap:6px}.sup-chip{border:1px solid var(--border);background:#fff;border-radius:14px;padding:4px 10px;font-size:.82rem;cursor:pointer;text-align:left}.sup-chip:hover{border-color:var(--brand, var(--brand))}.sup-chip.slow{border-color:#f5a3a3;background:#fff5f5}.sup-slow{display:block;color:#b42318;font-size:.75rem}.sup-typing{color:#777;font-style:italic}.presence-dot{display:inline-block;vertical-align:middle}@media (max-width: 900px){.sup-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}}.chat-msg.has-file{padding:6px}.chat-file-thumb{border:0;padding:0;background:none;cursor:pointer;display:block}.chat-file-thumb img{max-width:220px;max-height:180px;border-radius:8px;display:block}.chat-file-link{border:0;background:#ffffffe6;color:#1b2a3a;border-radius:8px;padding:8px 10px;cursor:pointer;display:flex;gap:6px;align-items:center;font:inherit;font-size:.88rem;text-align:left;max-width:240px}.chat-file-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600}.chat-file-size{color:#666;font-size:.78rem;white-space:nowrap}.chat-file-error{font-size:.75rem;color:#b42318}.chat-msg.visitor .chat-file-error{color:#ffe0e0}.chat-attach-btn{font-size:1rem;line-height:1}.chat-compose-tools{display:flex;flex-direction:column;gap:4px;align-self:flex-end}.chat-view-head{flex-wrap:wrap;row-gap:6px}.chat-view-head>div:first-child{flex:1 1 150px;min-width:0;overflow-wrap:anywhere}.chat-view-actions{flex-shrink:1;flex-wrap:wrap;justify-content:flex-end;margin-left:auto;max-width:100%}.chat-tab{max-width:150px;overflow:hidden;text-overflow:ellipsis;flex-shrink:0}.kb-layout{display:grid;grid-template-columns:240px minmax(0,1fr);gap:16px;align-items:start}.kb-categories ul{list-style:none;margin:0;padding:0}.kb-categories li{display:flex;align-items:center;justify-content:space-between;gap:4px}.kb-categories li>button{flex:1;text-align:left;background:none;border:0;padding:6px 8px;border-radius:8px;cursor:pointer;font:inherit}.kb-categories li>button.active{background:#eef4ff;color:var(--brand, var(--brand));font-weight:600}.kb-cat-actions{display:flex;gap:2px}.kb-list{list-style:none;margin:0;padding:0}.kb-list li{padding:12px 16px;border-bottom:1px solid #eee}.kb-title{font-weight:600;font-size:1rem}.kb-meta{display:flex;flex-wrap:wrap;gap:10px;font-size:.78rem;color:#666;margin:4px 0;align-items:center}.kb-public{color:#166534;font-weight:600}.kb-snippet{display:block;font-size:.85rem;color:#555}.kb-snippet mark{background:#fff3b0;padding:0 1px}.badge.kb-status-draft{background:#fef3c7;color:#92400e}.badge.kb-status-published{background:#dcfce7;color:#166534}.badge.kb-status-archived{background:#e5e7eb;color:#4b5563}.kb-article-grid{grid-template-columns:minmax(0,2fr) minmax(260px,1fr)}.kb-summary{font-size:1.02rem;color:#444;border-left:3px solid var(--brand, var(--brand));padding-left:10px}.kb-feedback{display:flex;gap:8px;align-items:center;border-top:1px solid #eee;margin-top:20px;padding-top:12px}.kb-cases-title{margin-top:18px}.kb-editor{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;align-items:start}.kb-body-input{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.86rem}.kb-preview{max-height:calc(100vh - 180px);overflow-y:auto}.kb-preview-title{margin:0 0 8px}.markdown{line-height:1.55}.markdown h3,.markdown h4,.markdown h5{margin:18px 0 6px}.markdown code{background:#f2f4f7;padding:1px 5px;border-radius:8px;font-size:.88em}.markdown .md-code{background:#1e2733;color:#e6edf3;padding:12px;border-radius:8px;overflow-x:auto}.markdown .md-code code{background:none;color:inherit;padding:0}.markdown blockquote{margin:10px 0;padding:8px 12px;background:#f5f8ff;border-left:3px solid #9bb8f5}.case-knowledge input{width:100%;margin:4px 0 8px}.kb-case-list{list-style:none;margin:0 0 8px;padding:0}.kb-case-item{display:flex;justify-content:space-between;gap:10px;padding:8px 0;border-bottom:1px solid #f0f0f0}.kb-case-actions{display:flex;gap:6px;align-items:flex-start;flex-shrink:0}.kb-case-heading{margin:10px 0 2px;font-size:.8rem;text-transform:uppercase;letter-spacing:.04em;color:#666}.kb-title-btn{font-weight:600;text-align:left;padding:0}.kb-modal-body{max-height:55vh;overflow-y:auto}@media (max-width: 900px){.kb-layout,.kb-editor,.kb-article-grid{grid-template-columns:1fr}}.hc-page{min-height:100vh;background:#f6f7f9}.hc-header{background:var(--brand, var(--brand));color:#fff}.hc-header-inner{max-width:880px;margin:0 auto;padding:14px 16px;display:flex;justify-content:space-between;align-items:center}.hc-brand{color:#fff;font-weight:700;font-size:1.1rem;text-decoration:none}.hc-contact{color:#fff;font-size:.9rem}.hc-main{max-width:880px;margin:0 auto;padding:24px 16px 48px}.hc-hero{text-align:center;margin-bottom:20px}.hc-hero h1{margin:8px 0 14px}.hc-hero input{width:100%;max-width:560px;font-size:1.05rem;padding:12px 14px;border:1px solid #c9ced6;border-radius:10px}.hc-categories{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin-bottom:18px}.hc-categories button{border:1px solid var(--border);background:#fff;border-radius:16px;padding:6px 12px;cursor:pointer;font:inherit;font-size:.88rem}.hc-categories button.active{border-color:var(--brand, var(--brand));color:var(--brand, var(--brand));font-weight:600}.hc-categories span{color:#888;font-size:.8rem;margin-left:2px}.hc-list{list-style:none;margin:0;padding:0;background:#fff;border-radius:10px;box-shadow:0 1px 4px #0f172a0f}.hc-list li{padding:14px 18px;border-bottom:1px solid #eee}.hc-list li a{font-weight:600;font-size:1.02rem}.hc-list li p{margin:4px 0 0;color:#555;font-size:.9rem}.hc-cat{display:inline-block;margin-top:4px;font-size:.75rem;color:#666;background:#f0f2f5;border-radius:8px;padding:1px 8px}.hc-empty{text-align:center;padding:24px}.hc-article{background:#fff;border-radius:10px;padding:24px 28px;box-shadow:0 1px 4px #0f172a0f}.hc-crumbs{font-size:.85rem;color:#666;margin:0 0 8px}.hc-summary{color:#444;font-size:1.05rem}.hc-feedback{display:flex;gap:8px;align-items:center;flex-wrap:wrap;border-top:1px solid #eee;margin-top:24px;padding-top:14px}.support-suggestions{margin-top:6px;padding:8px 10px;background:#f5f8ff;border:1px solid #cfe0fb;border-radius:8px;font-size:.85rem;font-weight:400}.support-suggestions ul{margin:4px 0 0;padding-left:18px}.wf-editor{display:flex;flex-direction:column;gap:1rem;margin-bottom:1rem}.wf-editor .card{margin:0}.wf-editor .settings-form,.wf-editor.settings-form{max-width:none}.wf-editor h3{margin:0}.wf-timing{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:.75rem}.settings-form label.wf-timing-option{flex-direction:row;align-items:flex-start;gap:.6rem;padding:.75rem;border:1px solid var(--border-strong);border-radius:var(--radius);cursor:pointer;background:#fff}.wf-timing-option.selected{border-color:var(--brand);box-shadow:0 0 0 1px var(--brand);background:#f5f9ff}.wf-timing-option input{margin-top:.2rem;accent-color:var(--brand)}.wf-timing-option>span{display:flex;flex-direction:column;gap:.2rem}.rule-conditions .condition-row.wf-condition-row{grid-template-columns:1.5rem 1fr 1fr 1.4fr auto}.wf-cond-number{font-weight:600;color:var(--text-muted);font-size:.8rem;text-align:center}.wf-conditions{display:flex;flex-direction:column;gap:.5rem}.condition-row select[multiple]{padding:.2rem}.wf-criteria-footer{display:flex;flex-wrap:wrap;align-items:flex-end;gap:.75rem}.settings-form label.wf-inline-label{flex-direction:row;align-items:center;gap:.4rem}.wf-action{border:1px solid var(--border);border-radius:var(--radius);padding:.75rem 1rem 1rem;display:flex;flex-direction:column;gap:.75rem;min-width:0;background:#fbfcfd}.wf-action legend{font-weight:600;font-size:.9rem;padding:0 .3rem}.wf-action .form-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:.75rem}.wf-remove-action{align-self:flex-start}.wf-add-actions{display:flex;flex-wrap:wrap;gap:.5rem}.wf-delay{display:flex;flex-wrap:wrap;align-items:center;gap:.4rem;font-weight:400}.wf-delay input{width:5rem}.wf-merge-fields summary{cursor:pointer;font-size:.85rem;color:var(--brand)}.wf-merge-group{display:flex;flex-wrap:wrap;align-items:center;gap:.3rem;margin-top:.4rem;font-size:.8rem}.wf-merge-group strong{min-width:6rem}.wf-token{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.75rem;border:1px solid var(--border);background:#fff;border-radius:8px;padding:.1rem .35rem;cursor:pointer}.wf-token:hover{border-color:var(--brand);color:var(--brand)}.wf-history-filters{padding:.75rem .75rem 0}.wf-result{max-width:32rem;overflow-wrap:anywhere}.card .wf-history-filters{padding:0}@media (max-width: 640px){.rule-conditions .condition-row.wf-condition-row{grid-template-columns:1.5rem 1fr}.rule-conditions .condition-row.wf-condition-row>:nth-child(n+3){grid-column:2}}.segmented.wf-tabs button{width:auto;padding:0 .9rem;font:inherit;font-size:.85rem}.wf-editor .form-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:.75rem}.wf-editor select,.wf-editor input:not([type=checkbox]):not([type=radio]),.wf-editor textarea{max-width:100%;min-width:0}.wf-table{min-width:720px}.case-description-fields{display:flex;flex-direction:column;gap:.75rem;margin:0}.case-description-fields dt{font-size:.8rem;color:var(--text-muted);margin-bottom:.15rem}.case-description-fields dd{margin:0;overflow-wrap:anywhere}.modal:has(.formula-editor){width:760px}.formula-editor{display:flex;flex-direction:column;gap:.4rem;font-weight:400;min-width:0}.formula-toolbar{display:flex;flex-wrap:wrap;gap:.4rem}.formula-toolbar select{flex:1 1 180px;min-width:0;max-width:100%;border:1px solid var(--border-strong);border-radius:var(--radius);padding:.35rem .5rem;font:inherit;font-size:.85rem;background:#fff}textarea.formula-input{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.85rem;line-height:1.5;resize:vertical}.formula-result{font-size:.85rem;padding:.5rem .65rem;border-radius:var(--radius);line-height:1.45}.formula-result.ok{background:#ecfdf3;color:#14532d;border:1px solid #bbf7d0}.formula-result.error{background:var(--danger-bg);color:var(--danger);border:1px solid #fecaca}.formula-help summary{cursor:pointer;font-size:.8rem;color:var(--brand)}.formula-help ul{margin:.4rem 0 0;padding-left:1.1rem;display:flex;flex-direction:column;gap:.25rem;color:var(--text-muted)}.formula-display{white-space:pre-wrap;overflow-wrap:anywhere}code.formula-inline{font-size:.8rem;white-space:pre-wrap;overflow-wrap:anywhere;display:inline-block;max-width:28rem}.danger-text{color:var(--danger)}.modal label.vr-active{align-self:end;padding-bottom:.5rem}.survey-card h1{margin:.2rem 0 .4rem}.survey-org{margin:0;font-size:.8rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--brand)}.survey-question{border:0;padding:0;margin:1.4rem 0 0}.survey-question legend{font-weight:600;margin-bottom:.6rem;padding:0}.survey-required{color:var(--danger)}.survey-question textarea{width:100%;border:1px solid var(--border-strong);border-radius:var(--radius);padding:.55rem .65rem;font:inherit}.survey-scale{display:flex;align-items:center;flex-wrap:wrap;gap:.25rem}.survey-star{font-size:2rem;line-height:1;background:none;border:none;cursor:pointer;color:#d1d5db;padding:.1rem .15rem;transition:transform .1s,color .1s}.survey-star.on{color:#f59e0b}.survey-star:hover{transform:scale(1.12)}.survey-scale-label{margin-left:.6rem;font-size:.9rem;color:var(--text-muted)}.survey-nps{display:grid;grid-template-columns:repeat(11,minmax(0,1fr));gap:.3rem}.survey-nps button{border:1px solid var(--border-strong);background:#fff;border-radius:var(--radius);padding:.55rem 0;font:inherit;font-weight:600;cursor:pointer}.survey-nps button.on{background:var(--brand);border-color:var(--brand);color:#fff}.survey-nps-ends{display:flex;justify-content:space-between;font-size:.78rem;color:var(--text-muted);margin-top:.3rem}.survey-options{display:flex;flex-wrap:wrap;gap:.5rem}.survey-option,.support-card label.survey-option{display:inline-flex;flex-direction:row;align-items:center;font-weight:500;gap:.4rem;border:1px solid var(--border-strong);border-radius:999px;padding:.4rem .9rem;cursor:pointer}.survey-option.on{border-color:var(--brand);background:var(--brand-light)}.survey-option input{accent-color:var(--brand)}.survey-submit{width:100%;margin-top:1.6rem;padding:.75rem;font-size:1rem}.survey-done{text-align:center;padding:1.5rem 0}.survey-done-icon{width:56px;height:56px;margin:0 auto .75rem;border-radius:50%;display:grid;place-items:center;background:#ecfdf3;color:#15803d;font-size:1.6rem;font-weight:700}.survey-stars{color:#f59e0b;letter-spacing:.05em;white-space:nowrap}.survey-stars-off{color:#d1d5db}.case-survey+.case-survey{border-top:1px solid var(--border);margin-top:.75rem;padding-top:.75rem}.case-survey-head{display:flex;align-items:center;flex-wrap:wrap;gap:.5rem}.case-survey-send{display:flex;gap:.4rem;align-items:center}.case-survey-answers{margin:.6rem 0 0;display:grid;gap:.5rem}.case-survey-answers dt{font-size:.8rem;color:var(--text-muted)}.case-survey-answers dd{margin:.1rem 0 0}.survey-tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:.75rem;margin-bottom:1rem}.survey-tile{padding:.9rem 1rem;margin:0}.survey-tile-label{font-size:.75rem;text-transform:uppercase;letter-spacing:.04em;color:var(--text-muted)}.survey-tile-value{font-size:1.6rem;font-weight:700;margin:.2rem 0}.survey-comment{max-width:28rem;overflow-wrap:anywhere}.survey-q-edit .form-row{align-items:end}.survey-q-actions{display:flex;gap:1rem}@media (max-width: 520px){.survey-nps{grid-template-columns:repeat(6,minmax(0,1fr))}}.login-brand{display:flex;align-items:center;gap:.5rem;letter-spacing:-.02em}.login-brand svg{width:30px;height:30px;flex-shrink:0}.app-shell.with-sidebar{display:grid;grid-template-columns:236px minmax(0,1fr);grid-template-rows:auto 1fr;flex-direction:unset}.app-shell.with-sidebar>.login-as-banner{grid-column:1 / -1}.main-column{display:flex;flex-direction:column;min-width:0}.sidebar{position:sticky;top:0;height:100vh;display:flex;flex-direction:column;gap:.25rem;padding:.9rem .75rem .75rem;background:#fff;border-right:1px solid var(--border);overflow-y:auto;z-index:40}.sidebar-brand{padding:0 .4rem .6rem}.workspace-switch{display:grid;grid-template-columns:1fr 1fr;gap:2px;padding:3px;margin:.25rem 0 .75rem;background:#f1f5f9;border-radius:var(--radius)}.workspace-switch button{border:none;background:none;padding:.4rem .5rem;border-radius:var(--radius-sm);font:inherit;font-size:.85rem;font-weight:600;color:var(--text-muted);cursor:pointer}.workspace-switch button.active{background:#fff;color:var(--brand);box-shadow:0 1px 2px #0f172a14,0 1px 6px #0f172a0f}.side-nav{display:flex;flex-direction:column;gap:2px}.side-link{display:flex;align-items:center;gap:.65rem;padding:.5rem .65rem;border-radius:var(--radius-sm);color:#334155;font-weight:500}.side-link .icon{color:#94a3b8;flex-shrink:0}.side-link:hover{background:#f1f5f9;text-decoration:none;color:var(--text)}.side-link.active{background:var(--brand-light);color:var(--brand);font-weight:600}.side-link.active .icon{color:var(--brand)}.side-section{margin:.75rem .65rem .35rem;font-size:.72rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#94a3b8}.side-back{display:flex;align-items:center;gap:.4rem;padding:.4rem .65rem;font-size:.85rem;font-weight:500}.side-footer{margin-top:auto;padding-top:.75rem;border-top:1px solid var(--border);display:flex;flex-direction:column;gap:2px}.side-tenant{padding:.5rem .65rem 0;font-size:.75rem;color:var(--text-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar-scrim{display:none}.app-shell.with-sidebar .content{max-width:1320px;padding:1rem 1.25rem 2rem}.app-shell.with-sidebar .setup-content{max-width:1480px}@media (max-width: 900px){.app-shell.with-sidebar{grid-template-columns:minmax(0,1fr)}.sidebar{position:fixed;inset:0 auto 0 0;width:264px;transform:translate(-100%);transition:transform .2s ease;box-shadow:var(--shadow-lg)}.app-shell.menu-open .sidebar{transform:none}.sidebar-scrim{display:block;position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a59;z-index:35}.global-header .menu-btn{display:grid}.global-header{padding:0 .75rem;gap:.5rem}.app-shell.with-sidebar .content{padding:.75rem .5rem 2rem}}@media (prefers-reduced-motion: reduce){.sidebar{transition:none}}.pa-badge{font-size:.65rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#fff;background:var(--navy);border-radius:999px;padding:.12rem .45rem;vertical-align:2px}.pa-header-note{color:var(--text-muted);font-size:.85rem}.pa-tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:.75rem;margin-bottom:1rem}.pa-tile{margin:0;padding:.9rem 1rem;color:var(--text)}a.pa-tile:hover{text-decoration:none;border-color:#bfdbfe}.pa-tile-label{font-size:.72rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:var(--text-muted)}.pa-tile-value{font-size:1.6rem;font-weight:700;margin:.15rem 0}.pa-two{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:.75rem}.pa-two>.card{margin:0 0 .75rem}.pa-list{list-style:none;margin:0;padding:0}.pa-list li{padding:.55rem 0;border-top:1px solid var(--border)}.pa-list li:first-child{border-top:0;padding-top:0}.pa-message{max-width:26rem;white-space:pre-wrap;overflow-wrap:anywhere}.pa-features{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:.45rem 1rem}.pa-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#cbd5e1;margin-right:.3rem}.pa-dot.on{background:#16a34a}.side-link.pa-signout{border:none;background:none;font:inherit;cursor:pointer;text-align:left;width:100%}.support-banner{background:#1e3a8a;color:#fff}.support-banner button{color:#1e3a8a}.side-setup-slot{margin-top:.35rem}.sidebar .setup-sidebar{position:static;max-height:none;overflow:visible;background:none;border:0;border-radius:0;box-shadow:none;padding:0}.sidebar .quick-find{margin:0 0 .35rem}.sidebar .quick-find input{background:#f8fafc}.sidebar .setup-sidebar-section{padding:.25rem 0}.sidebar .setup-sidebar-title{padding:.55rem .65rem .3rem;color:#94a3b8;letter-spacing:.06em}.sidebar .setup-sidebar-item{padding:.42rem .65rem;border-left:0;border-radius:var(--radius-sm);color:#334155;font-weight:500}.sidebar .setup-sidebar-item:hover{background:#f1f5f9;color:var(--text)}.sidebar .setup-sidebar-item.active{background:var(--brand-light);color:var(--brand);font-weight:600}.sidebar .setup-sidebar-object{padding:.25rem .4rem .6rem}.badge-pending{background:#fef3c7;color:#92400e}.lic-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:.75rem}.lic-grid>.card{margin:0 0 .75rem}.lic-plan-head{display:flex;justify-content:space-between;align-items:flex-start;gap:.5rem}.lic-plan-head h3{margin:.1rem 0 0;font-size:1.25rem}.lic-price{margin:.75rem 0}.lic-price strong,.lic-seats strong{font-size:1.6rem;font-weight:700}.lic-facts{display:grid;gap:.35rem;margin:0 0 .75rem}.lic-facts>div{display:flex;justify-content:space-between;gap:1rem;font-size:.9rem}.lic-facts dt{color:var(--text-muted)}.lic-facts dd{margin:0;text-align:right}.lic-features{margin:0;padding-left:1.1rem;font-size:.88rem;color:var(--text-muted)}.lic-seats{margin:.4rem 0 .6rem}.lic-meter{height:8px;border-radius:999px;background:var(--border);overflow:hidden;margin-bottom:.75rem}.lic-meter span{display:block;height:100%;border-radius:999px;background:var(--brand)}.lic-meter span.full{background:#d97706}.pa-subhead{margin:1rem 0 .4rem;font-size:.95rem}.pa-lic{margin:.25rem 0 .5rem}.pa-cycle{border:0;padding:0;margin:0 0 .75rem;display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:.5rem}.pa-cycle legend{font-size:.85rem;font-weight:600;margin-bottom:.3rem;padding:0}.pa-cycle-option{display:flex!important;flex-direction:row!important;align-items:flex-start;gap:.5rem;border:1px solid var(--border);border-radius:var(--radius-sm);padding:.6rem .7rem;cursor:pointer;margin:0!important}.pa-cycle-option input{width:auto;margin-top:.2rem}.pa-cycle-option.selected{border-color:var(--brand);background:#eff6ff}.pa-quote{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--bg);padding:.7rem .85rem;margin:.25rem 0 .5rem;font-size:.9rem}.pa-quote strong{display:block;font-size:1.15rem;margin:.15rem 0}.pa-actions{display:flex;gap:.5rem;flex-wrap:wrap}.pa-extend{margin-bottom:.75rem}.pa-extend button{height:34px}.pa-storage{margin-bottom:.25rem}.pa-storage>div{min-width:0}.pa-ok{color:#047857;font-weight:600}.pa-bad{color:var(--danger);font-weight:600}.pa-credentials{background:var(--bg);border:1px solid var(--border);border-radius:var(--radius-sm);padding:.75rem .9rem;font-size:.88rem;white-space:pre-wrap;overflow-wrap:anywhere;margin:.5rem 0 .75rem}.history-list{list-style:none;margin:0;padding:0}.history-entry{padding:.6rem 0;border-top:1px solid var(--border);font-size:.88rem}.history-entry:first-child{border-top:0;padding-top:0}.history-head{display:flex;flex-wrap:wrap;gap:.25rem .35rem;align-items:baseline}.history-meta{margin-left:auto}.history-changes{list-style:none;margin:.3rem 0 0;padding:0 0 0 .75rem;border-left:2px solid var(--border)}.history-changes li{padding:.1rem 0;overflow-wrap:anywhere}.history-field{color:var(--text-muted);font-weight:600}.history-toggle-bar{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap;padding:.75rem 1rem;border-bottom:1px solid var(--border)}.history-toggle-bar .spacer{flex:1}.history-tick{width:auto;margin:0}.change-log{padding:.25rem 1rem .75rem}.inline-date{display:inline-flex!important;flex-direction:row!important;align-items:center;gap:.35rem;font-size:.85rem;color:var(--text-muted);margin:0!important}.inline-date input{width:auto}.layout-preview{margin-bottom:.75rem}.preview-as{width:auto;font-size:.85rem;padding:.35rem .5rem}.layout-column>.card:first-child{margin-top:0}.layout-section .card-header h3{margin:0}.section-toggle{border:0;background:none;padding:0;font:inherit;font-weight:600;color:inherit;cursor:pointer;display:inline-flex;align-items:center;gap:.4rem}.section-toggle .chev{color:var(--text-muted);font-size:.8em;width:.8em}.layout-fields{display:grid;gap:.6rem 1.5rem;margin:0}.layout-fields.cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.layout-fields.cols-1{grid-template-columns:minmax(0,1fr)}.layout-fields .wide{grid-column:1 / -1}.layout-fields>div{min-width:0;border-bottom:1px solid var(--border);padding-bottom:.45rem}.layout-fields dt{font-size:.78rem;color:var(--text-muted);margin-bottom:.15rem}.layout-fields dd{margin:0;overflow-wrap:anywhere}@media (max-width: 640px){.layout-fields.cols-2{grid-template-columns:minmax(0,1fr)}}.layout-form-section{border:0;padding:0;margin:0 0 .75rem;min-width:0}.layout-form-section>legend{font-weight:600;font-size:.78rem;color:var(--text-muted);text-transform:uppercase;letter-spacing:.05em;padding:0;margin-bottom:.4rem}.layout-form-grid{display:grid;gap:.75rem .9rem}.layout-form-grid label{margin:0}.layout-form-section.cols-2 .layout-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.layout-form-grid>div{min-width:0}.layout-form-grid>.wide{grid-column:1 / -1}@media (max-width: 560px){.layout-form-section.cols-2 .layout-form-grid{grid-template-columns:minmax(0,1fr)}}.plain-fieldset{border:0;padding:0;margin:0;min-width:0}.is-readonly input,.is-readonly select,.is-readonly textarea{background:var(--bg)}.layout-editor{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:1rem;align-items:start}@media (max-width: 1000px){.layout-editor{grid-template-columns:minmax(0,1fr)}}.layout-editor-main{min-width:0}.le-sections,.le-side-group{border:0;padding:0;margin:0;min-width:0;display:grid;gap:.75rem}.le-sections>.card,.le-side-group>.card,.layout-editor-side>.card{margin:0}.layout-editor-side{display:grid;gap:.75rem;min-width:0}.le-sections>.btn-secondary{justify-self:start}.le-section.droppable{outline:2px dashed var(--border-strong);outline-offset:-4px}.le-section-head{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;margin-bottom:.6rem}.le-section-head .spacer{flex:1}.le-section-head select{width:auto}.le-title{font-weight:600;min-width:10rem;flex:1 1 14rem}.le-empty{padding:.75rem;border:1px dashed var(--border-strong);border-radius:var(--radius-sm);margin:0}.le-fields{list-style:none;margin:0;padding:0;display:grid;gap:.4rem}.le-fields.cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}@media (max-width: 720px){.le-fields.cols-2{grid-template-columns:minmax(0,1fr)}}.le-field{display:flex;flex-wrap:wrap;align-items:center;gap:.35rem .6rem;border:1px solid var(--border);border-radius:var(--radius-sm);padding:.4rem .55rem;background:#fff;font-size:.88rem;min-width:0}.le-field[draggable=true]{cursor:grab}.le-placeholder{visibility:hidden;display:inline-flex;gap:.6rem}.le-grip{color:var(--text-muted);letter-spacing:-2px}.le-name{flex:1 1 8rem;min-width:0;overflow-wrap:anywhere}.le-tools{display:inline-flex;align-items:center;gap:.2rem;margin-left:auto}.le-tools select{width:auto;font-size:.8rem;padding:.15rem .3rem}.icon-btn{border:1px solid var(--border);background:none;border-radius:6px;width:26px;height:26px;display:inline-grid;place-items:center;cursor:pointer;color:var(--text-muted);font-size:.85rem;padding:0}.icon-btn:disabled{opacity:.35;cursor:default}.icon-btn:not(:disabled):hover{color:var(--brand);border-color:var(--brand)}.le-palette{display:flex;flex-wrap:wrap;gap:.35rem}.le-chip{border:1px dashed var(--border-strong);background:none;border-radius:999px;padding:.2rem .65rem;font:inherit;font-size:.82rem;cursor:pointer}.le-chip:hover{border-color:var(--brand);color:var(--brand)}.le-list{margin:0 0 .5rem;padding:0;list-style:none;display:grid;gap:.3rem}.le-list li{display:flex;align-items:center;gap:.5rem;font-size:.88rem;border:1px solid var(--border);border-radius:var(--radius-sm);padding:.3rem .5rem}.le-preview{font-size:.78rem}.lp-header{border:1px solid var(--border);border-radius:var(--radius-sm);padding:.5rem;margin-bottom:.4rem;display:grid;gap:.35rem}.lp-title{font-weight:700;font-size:.9rem}.lp-buttons,.lp-highlights{display:flex;flex-wrap:wrap;gap:.3rem}.lp-btn{border:1px solid var(--brand);color:var(--brand);border-radius:6px;padding:0 .4rem}.lp-highlights span{background:var(--bg);border-radius:4px;padding:.05rem .35rem;color:var(--text-muted)}.lp-section,.lp-card{border:1px solid var(--border);border-radius:var(--radius-sm);padding:.4rem .5rem;margin-bottom:.35rem}.lp-card{color:var(--text-muted);border-style:dashed}.lp-section-title{font-weight:600;margin-bottom:.25rem}.lp-fields{display:grid;gap:.15rem .5rem;color:var(--text-muted)}.lp-fields.cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lp-fields span{overflow-wrap:anywhere}.fls-table select{width:auto;min-width:7.5rem;font-size:.85rem;padding:.25rem .4rem}.fls-table td.fls-read select{border-color:#d97706}.fls-table td.fls-hidden select{border-color:var(--danger);color:var(--danger)}.fls-table .focus{background:#eff6ff}.permission-picker{border:1px solid var(--border);border-radius:var(--radius-sm);padding:.5rem .75rem;max-height:16rem;overflow:auto}.permission-picker legend{font-weight:600;font-size:.85rem;padding:0 .25rem}.lookup-input{position:relative}.lookup-row{display:flex;gap:.35rem;align-items:center}.lookup-row input{flex:1;min-width:0}.lookup-results{position:absolute;z-index:30;left:0;right:0;top:calc(100% + 2px);margin:0;padding:.25rem 0;list-style:none;background:#fff;border:1px solid var(--border-strong);border-radius:var(--radius-sm);box-shadow:0 8px 24px #0f172a1f;max-height:16rem;overflow:auto}.lookup-results li{padding:.35rem .65rem;cursor:pointer;font-size:.9rem}.lookup-results li.active,.lookup-results li:hover{background:#eff6ff}.th-sort{border:0;background:none;padding:0;font:inherit;color:inherit;text-transform:inherit;letter-spacing:inherit;cursor:pointer}.obj-custom{margin-left:.4rem;font-size:.7rem}.report-builder{display:grid;gap:1rem}.report-builder .form-grid.two{display:grid;grid-template-columns:repeat(auto-fit,minmax(16rem,1fr));gap:.9rem 1.25rem}.report-builder .form-grid.two>label,.report-add-column{display:flex;flex-direction:column;gap:.3rem;font-size:.85rem;font-weight:600;color:var(--text);min-width:0}.report-builder .form-grid.two>label input,.report-builder .form-grid.two>label select,.report-add-column select{width:100%;font-weight:400}.report-visibility .checkbox-label{font-weight:400}.report-builder .span-2{grid-column:1 / -1}.report-visibility{border:none;padding:0;margin:0;display:flex;flex-wrap:wrap;gap:.35rem 1.25rem;align-items:center}.report-visibility legend{font-size:.85rem;font-weight:600;margin-bottom:.3rem;width:100%}.report-visibility .field-help{width:100%}.report-columns{list-style:none;margin:0 0 1rem;padding:0;border:1px solid var(--border);border-radius:8px}.report-columns li{display:flex;justify-content:space-between;align-items:center;padding:.45rem .75rem;border-bottom:1px solid var(--border)}.report-columns li:last-child{border-bottom:none}.report-column-actions{display:flex;gap:.35rem}.report-column-actions button:disabled{opacity:.3}.report-add-column{max-width:20rem;margin-bottom:1rem}.saved-filter-note{margin:0 0 .75rem;color:var(--text-muted)}.confirm-inline{font-size:.9rem}.dash-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:.75rem;align-items:start}.dash-grid .card{margin:0;min-width:0}.dash-grid .w-third{grid-column:span 2}.dash-grid .w-half{grid-column:span 3}.dash-grid .w-full{grid-column:1 / -1}@media (max-width: 900px){.dash-grid .w-third,.dash-grid .w-half{grid-column:1 / -1}}.dash-metric{padding:.5rem 0 .25rem}.dash-metric-value{font-size:2rem;font-weight:700;line-height:1.1;font-variant-numeric:tabular-nums}.dash-controls{display:grid;grid-template-columns:repeat(auto-fit,minmax(9rem,1fr));gap:.4rem;padding:.6rem;margin-bottom:.75rem;background:#f8fafc;border:1px dashed var(--border);border-radius:8px}.dash-controls select,.dash-controls input{width:100%;min-width:0;font-size:.85rem}.dash-field{display:flex;flex-direction:column;gap:.2rem;font-size:.75rem;font-weight:600;color:var(--text-muted);min-width:0}.dash-field.wide{grid-column:1 / -1}.dash-adding{border:2px solid var(--primary, #2563eb)}.dash-control-buttons{display:flex;gap:.5rem;align-items:center;justify-content:flex-end;grid-column:1 / -1}.dash-add{min-height:8rem;border:2px dashed var(--border);background:transparent;color:var(--text-muted);font-size:.95rem;cursor:pointer}.dash-add:hover{color:var(--primary, #2563eb);border-color:currentColor}.dash-settings{display:grid;grid-template-columns:repeat(auto-fit,minmax(16rem,1fr));gap:.9rem 1.25rem;margin-bottom:.5rem}.dash-settings>label{display:flex;flex-direction:column;gap:.3rem;font-size:.85rem;font-weight:600}.dash-settings input{width:100%;font-weight:400}.column-chart{display:flex;align-items:flex-end;gap:.5rem;height:200px;overflow-x:auto;padding-top:.5rem}.column-item{position:relative;flex:1 0 2.75rem;max-width:5rem;height:100%;display:flex;flex-direction:column;align-items:center;gap:.25rem}.column-value{font-size:.75rem;font-variant-numeric:tabular-nums;color:var(--text)}.column-track{flex:1;width:60%;display:flex;align-items:flex-end}.column-fill{width:100%;min-height:2px;border-radius:4px 4px 0 0}.column-item.hover .column-fill{filter:brightness(1.1)}.column-label{font-size:.72rem;color:var(--text-muted);max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.column-tooltip{bottom:100%;left:50%;transform:translate(-50%);white-space:nowrap}.report-preview{border:2px solid var(--primary, #2563eb)}.report-preview h3 .badge{margin-left:.4rem;vertical-align:middle}.report-preview-actions{display:flex;align-items:center;gap:.6rem;flex-wrap:wrap}.report-preview .pager{display:none}.report-preview .is-stale{opacity:.55}.preview-banner{display:flex;justify-content:space-between;align-items:center;gap:.75rem;flex-wrap:wrap}.my-settings-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(16rem,1fr));gap:.9rem 1.25rem;margin:.5rem 0 .75rem}.my-settings-form label{display:flex;flex-direction:column;gap:.3rem;font-size:.85rem;font-weight:600}.my-settings-form input{font-weight:400}.my-settings-form.password{max-width:56rem}.my-settings-actions{grid-column:1 / -1;display:flex;gap:.6rem}.notice-banner.success{background:#ecfdf5;border-color:#a7f3d0;color:#065f46}.workspace-choice{display:grid;grid-template-columns:repeat(auto-fit,minmax(16rem,1fr));gap:.75rem;margin-top:.5rem}.workspace-option{display:flex;gap:.6rem;align-items:flex-start;border:1px solid var(--border);border-radius:10px;padding:.8rem .9rem;cursor:pointer}.workspace-option.selected{border-color:var(--primary, #2563eb);background:#eef4ff}.workspace-option span{display:flex;flex-direction:column;gap:.15rem}.workspace-option small{color:var(--text-muted)}.security-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(17rem,1fr));gap:1rem 1.5rem;margin-top:.75rem}.security-grid>label:not(.checkbox-label){display:flex;flex-direction:column;gap:.3rem;font-size:.85rem;font-weight:600}.security-grid select,.security-grid input[type=number]{font-weight:400;max-width:100%}.security-check{display:flex;flex-direction:row;align-items:flex-start;gap:.6rem;align-self:center;font-size:.9rem;font-weight:600}.security-check input{margin-top:.2rem}.security-check span{display:flex;flex-direction:column;gap:.15rem}.security-subhead{margin:1.25rem 0 .5rem}.password-required{max-width:560px;width:100%;margin:8vh auto 0;display:flex;flex-direction:column;gap:.5rem}.password-required .my-settings-form{grid-template-columns:1fr}.password-required .btn-link{align-self:flex-start}.sharing-table .sharing-group th{background:#f8fafc;font-size:.75rem;letter-spacing:.05em;text-transform:uppercase;color:var(--text-muted)}.consent-check{align-self:end;padding-bottom:.4rem}.consent-flag{margin-left:.4rem;vertical-align:middle}.support-access-row{display:flex;align-items:flex-end;gap:.75rem;flex-wrap:wrap}.support-access-row label{display:flex;flex-direction:column;gap:.3rem;font-size:.85rem;font-weight:600}.pa-reset{margin-left:.4rem}.pa-temp-password{font-size:1.05rem;padding:.6rem .8rem;background:#f8fafc;border:1px dashed var(--border-strong);border-radius:8px;margin:.5rem 0}.support-ticket-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(16rem,1fr));gap:.9rem 1.25rem;margin:.5rem 0 .75rem}.support-ticket-form>label:not(.checkbox-label){display:flex;flex-direction:column;gap:.3rem;font-size:.85rem;font-weight:600}.support-ticket-form input,.support-ticket-form select,.support-ticket-form textarea{font-weight:400}.support-ticket-form .wide{grid-column:1 / -1}.support-grant span{display:flex;flex-direction:column;gap:.15rem}.survey-preview{position:fixed;top:0;right:0;bottom:0;left:0;z-index:110;overflow-y:auto;background:var(--bg)}.survey-preview .support-page{min-height:0;padding-top:32px}.survey-preview-bar{position:sticky;top:0;z-index:1;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.5rem 1rem;padding:10px 16px;background:var(--brand-light);border-bottom:1px solid var(--border);color:var(--brand-dark);font-size:.9rem}.survey-preview-actions{display:flex;gap:.5rem}.survey-row-actions{white-space:nowrap}.survey-row-actions .btn-link+.btn-link{margin-left:1rem}.reports-layout{display:grid;grid-template-columns:200px minmax(0,1fr);gap:1rem;align-items:start}.reports-views{display:flex;flex-direction:column;gap:2px;background:var(--card-bg);border:1px solid var(--border);border-radius:var(--radius);padding:6px}.reports-views button{display:flex;justify-content:space-between;align-items:center;gap:.5rem;border:0;background:none;border-radius:var(--radius-sm);padding:.5rem .65rem;font:inherit;font-size:.9rem;color:var(--text);text-align:left;cursor:pointer}.reports-views button:hover{background:var(--bg)}.reports-views button.active{background:var(--brand-light);color:var(--brand-dark);font-weight:600}.reports-view-count{color:var(--text-muted);font-size:.78rem;font-variant-numeric:tabular-nums}.reports-views button.active .reports-view-count{color:var(--brand-dark)}.reports-table .report-star-col{width:2rem;padding-right:0}.report-star{border:0;background:none;padding:0 .15rem;font-size:1.05rem;line-height:1;color:var(--border-strong);cursor:pointer}.report-star:hover{color:#d97706}.report-star.on{color:#f59e0b}h1 .report-star{margin-left:.4rem;font-size:1.2rem;vertical-align:.1em}@media (max-width: 900px){.reports-layout{grid-template-columns:minmax(0,1fr)}.reports-views{flex-direction:row;overflow-x:auto}.reports-views button{flex:none}}.reports-table .report-name-cell{min-width:16rem}.reports-table .report-name-cell .small{margin-top:2px}.reports-layout .table-scroll{position:relative}.login-card-wide{width:400px}@media (max-width: 440px){.login-card,.login-card-wide{width:calc(100vw - 32px);padding:1.75rem 1.25rem}}.login-label-row{display:flex;justify-content:space-between;align-items:baseline;gap:.5rem}.login-aside-link{font-weight:500;font-size:.8rem}.login-note{margin:0;font-size:.88rem;line-height:1.5;color:var(--text)}.login-note.muted{color:var(--text-muted)}.login-footer{margin:.25rem 0 0;text-align:center;font-size:.85rem;color:var(--text-muted)}.login-button-link{text-align:center;justify-content:center;text-decoration:none}.field-help-error{color:var(--danger)}.login-page{flex-direction:column;padding:40px 16px 20px;box-sizing:border-box;background:radial-gradient(1200px 600px at 85% 110%,rgba(14,165,233,.35),transparent 60%),linear-gradient(160deg,var(--navy) 0%,#172554 45%,var(--brand) 100%)}.login-main{flex:1;width:100%;display:flex;align-items:center;justify-content:center}.login-card{width:440px;max-width:100%;box-sizing:border-box;padding:2.75rem 2.75rem 2.25rem;gap:1.15rem;border-radius:14px;box-shadow:0 1px 2px #02061733,0 28px 64px #02061761}.login-card.login-card-wide{width:500px}.login-card .login-brand{font-size:1.3rem;margin:0}.login-card .login-brand svg{width:32px;height:32px}.login-heading{margin:.35rem 0 .4rem}.login-heading h2{margin:0;font-size:1.65rem;line-height:1.2;letter-spacing:-.02em;color:var(--navy);text-wrap:balance}.login-heading .subtitle{margin:.4rem 0 0;font-size:.95rem;line-height:1.5;color:var(--text-muted)}.login-card label{gap:.4rem;font-size:.88rem;color:#1f2937}.login-card input{height:46px;padding:0 .9rem;font-size:.98rem;border:1px solid var(--border-strong);border-radius:8px;background:#fff;transition:border-color .15s,box-shadow .15s}.login-card input::placeholder{color:#9ca3af}.login-card input:focus{outline:none;border-color:var(--brand);box-shadow:0 0 0 3px #1d4ed826}.login-card .btn-primary,.login-card .btn-secondary{height:46px;width:100%;font-size:1rem;font-weight:600;border-radius:8px;display:inline-flex;align-items:center;justify-content:center}.login-card .btn-primary{margin-top:.35rem}.login-card .field-help{font-weight:400;font-size:.8rem}.login-card .login-footer{margin-top:.4rem;padding-top:1.1rem;border-top:1px solid var(--border);font-size:.9rem}.login-card .login-note{font-size:.93rem}.login-copyright{padding-top:28px;text-align:center;font-size:.8rem;color:#e2e8f0bf}@media (max-width: 520px){.login-page{padding-top:20px}.login-card,.login-card.login-card-wide{width:100%;padding:2rem 1.35rem 1.75rem}.login-heading h2{font-size:1.4rem}}.login-page>.login-card,.login-page>.card{margin-top:auto}.login-page>.login-copyright{margin-top:auto}.list-card-head{padding:.9rem 1rem .4rem}.list-card-head h3,.filters-title{margin:0;font-size:1rem}.info-banner{background:#eff6ff;border:1px solid #bfdbfe;color:#1e3a8a;border-radius:var(--radius-sm);padding:.6rem .85rem;margin-bottom:1rem;font-size:.9rem}.debug-flag-levels{max-width:420px}.debug-chip{display:inline-flex;align-items:center;gap:.3rem;margin:0 .3rem .3rem 0;padding:.1rem .45rem;border-radius:999px;background:#f1f5f9;border:1px solid var(--border);font-size:.72rem;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;white-space:nowrap}.debug-chip-toggle{cursor:pointer;opacity:.55}.debug-chip-toggle.on{opacity:1;background:var(--brand-light);border-color:#bfdbfe;color:var(--brand-dark)}.debug-cat-toggles{display:inline-flex;flex-wrap:wrap;align-items:center}.debug-method{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.78em;font-weight:700;color:var(--text-muted)}.debug-request{max-width:420px;word-break:break-all}.debug-title{word-break:break-all}.debug-levels-head{display:flex;justify-content:space-between;align-items:baseline;gap:1rem;margin-top:.4rem}.debug-presets{display:flex;gap:.9rem;font-size:.85rem}.debug-levels{border:1px solid var(--border);border-radius:var(--radius-sm);max-height:320px;overflow-y:auto}.debug-level-row{display:grid;grid-template-columns:minmax(0,1fr) 110px;gap:.75rem;align-items:center;padding:.55rem .75rem;border-bottom:1px solid var(--border)}.debug-level-row:last-child{border-bottom:0}.debug-level-name{font-weight:600;font-size:.88rem}.debug-lines{width:100%;border-collapse:collapse;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.8rem}.debug-lines th{text-align:left;font-family:inherit;font-size:.7rem;text-transform:uppercase;letter-spacing:.04em;color:var(--text-muted);padding:.45rem .6rem;border-bottom:1px solid var(--border);background:#f8fafc}.debug-lines td{padding:.3rem .6rem;border-bottom:1px solid #f1f5f9;vertical-align:top}.debug-lines .num{text-align:right;color:var(--text-muted);font-variant-numeric:tabular-nums}.debug-cat{color:var(--brand-dark);font-weight:600}.debug-level{color:var(--text-muted)}.debug-message{white-space:pre-wrap;word-break:break-word}.debug-line.debug-error{background:#fef2f2}.debug-line.debug-error .debug-level,.debug-line.debug-error .debug-message{color:#991b1b}.debug-line.debug-warn{background:#fffbeb}.debug-line.debug-warn .debug-level{color:#92400e}.debug-data{margin:.35rem 0 .2rem;padding:.5rem .65rem;background:#0f172a;color:#e2e8f0;border-radius:6px;font-size:.75rem;max-height:320px;overflow:auto;white-space:pre}.coql-layout{display:grid;grid-template-columns:250px minmax(0,1fr);gap:1rem;align-items:start}.coql-browser{background:var(--card-bg);border:1px solid var(--border);border-radius:var(--radius);padding:.6rem;max-height:calc(100vh - 140px);overflow-y:auto;position:sticky;top:12px}.coql-browser>input{width:100%;box-sizing:border-box;margin-bottom:.4rem;border:1px solid var(--border-strong);border-radius:var(--radius-sm);padding:.4rem .55rem;font:inherit;font-size:.85rem}.coql-browser ul{list-style:none;margin:0 0 .4rem;padding:0 0 0 .9rem}.coql-browser button{border:0;background:none;font:inherit;cursor:pointer;text-align:left;color:inherit;padding:.12rem .3rem;border-radius:4px;width:100%}.coql-browser button:hover{background:#eff6ff}.coql-object-name{display:flex!important;gap:.35rem;align-items:center;font-weight:600!important;font-family:ui-monospace,SFMono-Regular,Menlo,monospace!important;font-size:.85rem!important}.coql-object-name .small{margin-left:auto}.coql-browser li>button{display:flex;justify-content:space-between;gap:.4rem;font-size:.8rem}.coql-browser code{font-size:.78rem;word-break:break-all}.coql-type{color:var(--text-muted);font-size:.7rem;flex-shrink:0}.coql-insert-object{color:var(--brand)!important;font-size:.78rem!important}.coql-related{padding-left:.7rem;border-left:2px solid var(--border);margin:.1rem 0 .25rem .3rem}.coql-related button code{color:var(--text-muted)}.coql-main{display:flex;flex-direction:column;gap:1rem;min-width:0}.coql-editor-card{padding:0;overflow:hidden}.coql-editor{display:block;width:100%;box-sizing:border-box;min-height:150px;border:0;border-bottom:1px solid var(--border);padding:.85rem 1rem;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.9rem;line-height:1.55;resize:vertical;background:#0f172a;color:#e2e8f0;caret-color:#93c5fd;-moz-tab-size:2;tab-size:2}.coql-editor:focus{outline:none}.coql-editor::selection{background:#1d4ed8;color:#fff}.coql-toolbar{display:flex;flex-wrap:wrap;gap:.6rem;align-items:center;padding:.65rem 1rem}.coql-toolbar select{border:1px solid var(--border-strong);border-radius:var(--radius);padding:.4rem .55rem;font:inherit;font-size:.88rem;background:#fff;max-width:220px}.coql-hint{margin-left:auto}.coql-error{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.85rem;margin:0}.coql-table-wrap{max-height:65vh;overflow:auto}.coql-table thead th{position:sticky;top:0;background:#f8fafc;z-index:1;text-transform:none;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:0}.coql-table td{white-space:nowrap;max-width:360px;overflow:hidden;text-overflow:ellipsis}.coql-table td.num{text-align:right;font-variant-numeric:tabular-nums}.coql-table .mono,td.mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.82rem}kbd{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.78em;border:1px solid var(--border-strong);border-bottom-width:2px;border-radius:4px;padding:0 .3em;background:#fff}@media (max-width: 900px){.coql-layout{grid-template-columns:minmax(0,1fr)}.coql-browser{position:static;max-height:260px}}.help-code{background:#0f172a;color:#e2e8f0;border-radius:8px;padding:.8rem 1rem;font-size:.82rem;line-height:1.55;overflow-x:auto}.comment-meta{justify-content:flex-start;align-items:center;gap:.5rem}.comment-meta>span:last-child{margin-left:auto}.comment-meta .badge{font-size:.68rem}.comment-form{flex-wrap:wrap}.comment-form textarea{flex:1 1 100%}.comment-form-actions{display:flex;flex:1 1 100%;justify-content:flex-end;align-items:center;gap:.8rem}.support-ticket-grid{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:1rem;align-items:start}.support-ticket-main{display:flex;flex-direction:column;gap:1rem;min-width:0}.support-ticket-main .card h3,.support-ticket-files h3{margin-top:0}.ticket-description{white-space:pre-wrap;margin:0;line-height:1.55}.ticket-thread{list-style:none;margin:0 0 1rem;padding:0;display:flex;flex-direction:column;gap:.75rem}.ticket-message{border-radius:10px;padding:.7rem .9rem;border:1px solid var(--border);max-width:88%}.ticket-message.from-customer{align-self:flex-end;background:#eff6ff;border-color:#bfdbfe}.ticket-message.from-crmsix{align-self:flex-start;background:#f8fafc}.ticket-message-meta{display:flex;gap:.5rem;align-items:center;font-size:.8rem;color:var(--text-muted);margin-bottom:.25rem}.ticket-message-meta strong{color:var(--text)}.ticket-message-meta>span:last-child{margin-left:auto}.ticket-message p{margin:.2rem 0 0;white-space:pre-wrap;word-break:break-word;line-height:1.5}.ticket-reply textarea{width:100%;box-sizing:border-box;font:inherit;border:1px solid var(--border-strong);border-radius:var(--radius);padding:.6rem .7rem;resize:vertical}.ticket-reply-actions{display:flex;justify-content:flex-end;gap:.6rem;margin-top:.6rem}.support-ticket-files ul{list-style:none;margin:0 0 .8rem;padding:0;display:flex;flex-direction:column;gap:.6rem}.support-ticket-files .btn-link{word-break:break-all;text-align:left}@media (max-width: 900px){.support-ticket-grid{grid-template-columns:minmax(0,1fr)}.ticket-message{max-width:100%}}.limits-card{margin-bottom:1rem}.limits-table td:first-child{width:40%}.limits-table td:nth-child(2){width:30%}.limit-usage{display:flex;align-items:center;gap:.6rem;min-width:180px}.limit-bar{flex:1;height:8px;border-radius:999px;background:#e2e8f0;overflow:hidden}.limit-fill{display:block;height:100%;border-radius:999px;background:var(--brand)}.limit-fill.high{background:#d97706}.limit-fill.full{background:var(--danger)}.limit-count{font-size:.85rem;white-space:nowrap;font-variant-numeric:tabular-nums}.limit-count.high{color:#92400e}.limit-count.full{color:var(--danger);font-weight:600}.locale-date{position:relative;display:flex;align-items:stretch;width:100%}.locale-date>input[type=text]{flex:1;min-width:0;width:100%;padding-right:2.2rem}.locale-date-pick{position:absolute;right:.35rem;top:50%;transform:translateY(-50%);border:0;background:none;color:var(--text-muted);padding:.2rem;border-radius:4px;cursor:pointer;display:inline-flex}.locale-date-pick:hover:not(:disabled){color:var(--brand);background:var(--brand-light)}.locale-date-native{position:absolute;right:0;bottom:0;width:1px;height:1px;opacity:0;pointer-events:none;border:0;padding:0}.login-copyright{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:.6rem 1rem}.language-switcher select{background:#ffffff1a;color:#e2e8f0;border:1px solid rgba(226,232,240,.35);border-radius:6px;padding:.25rem .5rem;font:inherit;font-size:.8rem;cursor:pointer}.language-switcher select option{color:#0f172a}.language-switcher.public-language{display:flex;justify-content:center;margin:1rem auto 0}.language-switcher.public-language select{background:var(--card-bg);color:var(--text-muted);border-color:var(--border)}.success-banner{background:#ecfdf3;border:1px solid #abefc6;color:#166534;padding:.7rem .9rem;border-radius:var(--radius);margin-bottom:.75rem;font-size:.88rem;line-height:1.5}.page-intro{margin:-.25rem 0 1rem;max-width:70ch}.select-col{width:2rem}.export-progress{display:grid;gap:.4rem;margin:.75rem 0}.export-progress progress{width:100%;height:.6rem}.export-objects td.num,.export-objects th.num{text-align:right;font-variant-numeric:tabular-nums}label.export-files{display:flex;align-items:center;margin:.5rem 0 .75rem}.export-object-label{font-weight:400;cursor:pointer}.verify-banner{grid-column:1 / -1;display:flex;align-items:center;justify-content:center;gap:.6rem;flex-wrap:wrap;padding:.5rem 1rem;background:#eff6ff;color:#1e3a8a;border-bottom:1px solid #93c5fd;font-size:.88rem;text-align:center}.verify-banner button{border:1px solid #2563eb;background:#fff;color:#1d4ed8;border-radius:var(--radius);padding:.25rem .7rem;font:inherit;font-weight:600;cursor:pointer}.verify-banner button:hover:not(:disabled){background:#f8fbff}.flow-meta{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap;margin-top:.5rem}.flow-tabs{display:flex;gap:.25rem;border-bottom:1px solid var(--border);margin:.25rem 0 .9rem}.flow-tabs button{border:0;background:none;padding:.55rem .9rem;font:inherit;font-weight:600;color:var(--text-muted);border-bottom:2px solid transparent;cursor:pointer}.flow-tabs button.active{color:var(--brand);border-bottom-color:var(--brand)}.flow-problems{background:var(--danger-bg);border:1px solid #fecaca;color:var(--danger);border-radius:var(--radius);padding:.6rem .9rem;margin-bottom:.75rem;font-size:.88rem}.flow-problems ul{margin:.3rem 0 0;padding-left:1.1rem}.flow-problems .btn-link{color:var(--danger);text-align:left}.flow-debug-banner{background:#eef2ff;border:1px solid #c7d2fe;color:#312e81;border-radius:var(--radius);padding:.6rem .9rem;margin-bottom:.75rem;font-size:.88rem}.flow-builder{display:grid;grid-template-columns:minmax(0,1fr) 400px;gap:1rem;align-items:start}.flow-canvas{background-color:#f8fafc;background-image:radial-gradient(#cbd5e1 1px,transparent 1px);background-size:18px 18px;border:1px solid var(--border);border-radius:var(--radius);padding:1.5rem 1rem 2rem;overflow:auto;min-height:560px;max-height:calc(100vh - 220px)}.flow-canvas-inner{display:flex;flex-direction:column;align-items:center;width:max-content;min-width:100%}.flow-panel{background:var(--card-bg);border:1px solid var(--border);border-radius:var(--radius);padding:1rem;position:sticky;top:72px;max-height:calc(100vh - 100px);overflow:auto}.fl-list{display:flex;flex-direction:column;align-items:center;min-width:260px}.fl-node{position:relative;display:flex;align-items:center;gap:.65rem;width:260px;padding:.6rem .75rem;background:var(--card-bg);border:1px solid var(--border-strong);border-left:4px solid var(--fl-color, var(--brand));border-radius:var(--radius-sm);box-shadow:var(--shadow);text-align:left;font:inherit;cursor:pointer}.fl-node:hover{border-color:var(--fl-color, var(--brand))}.fl-node.selected{outline:3px solid var(--brand-light);border-color:var(--brand)}.fl-node.has-error{border-color:#fca5a5}.fl-icon{flex:0 0 auto;display:grid;place-items:center;width:30px;height:30px;border-radius:8px;background:var(--fl-color, var(--brand));color:#fff;font-size:.95rem;font-weight:700}.fl-icon.small{width:24px;height:24px;font-size:.8rem}.fl-text{display:flex;flex-direction:column;min-width:0}.fl-text strong{font-size:.88rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fl-sub{font-size:.76rem;color:var(--text-muted);overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.fl-badge-error{position:absolute;top:-8px;right:-8px;width:20px;height:20px;border-radius:50%;background:var(--danger);color:#fff;font-size:.75rem;font-weight:700;display:grid;place-items:center}.fl-start{--fl-color: #059669}.fl-decision{--fl-color: #d97706}.fl-get_records{--fl-color: #db2777}.fl-update_records,.fl-create_record{--fl-color: #e11d48}.fl-send_email,.fl-create_task,.fl-webhook{--fl-color: #2563eb}.fl-wait{--fl-color: #7c3aed}.fl-end{--fl-color: #475569}.fl-node.debug-hit{box-shadow:0 0 0 3px #a7f3d0,var(--shadow)}.fl-node.debug-error{box-shadow:0 0 0 3px #fecaca,var(--shadow)}.fl-node.debug-miss{opacity:.45}.fl-terminal{margin-top:.25rem;padding:.35rem 1.1rem;border-radius:999px;background:#475569;color:#fff;font-size:.8rem;font-weight:700}.fl-add{position:relative;display:flex;justify-content:center;height:44px;width:100%}.fl-add:before{content:"";position:absolute;top:0;bottom:0;left:50%;width:2px;margin-left:-1px;background:var(--border-strong)}.fl-add-btn{position:relative;align-self:center;width:24px;height:24px;border-radius:50%;border:1px solid var(--border-strong);background:#fff;color:var(--text-muted);font-weight:700;line-height:1;cursor:pointer;opacity:.7}.fl-add-btn:hover,.fl-add-btn[aria-expanded=true]{opacity:1;color:#fff;background:var(--brand);border-color:var(--brand)}.fl-add-menu{position:absolute;top:36px;left:50%;transform:translate(-50%);z-index:20;width:320px;background:#fff;border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow-lg);padding:.35rem;display:grid}.fl-add-menu button{display:flex;align-items:center;gap:.6rem;border:0;background:none;text-align:left;font:inherit;font-size:.86rem;padding:.45rem .5rem;border-radius:8px;cursor:pointer}.fl-add-menu button:hover{background:var(--bg)}.fl-add-menu .fl-icon{--fl-color: var(--brand)}.fl-decision-block{display:flex;flex-direction:column;align-items:center}.fl-branches{position:relative;display:flex;margin-top:22px}.fl-branches:before{content:"";position:absolute;top:-22px;left:50%;height:22px;width:2px;margin-left:-1px;background:var(--border-strong)}.fl-branch{position:relative;display:flex;flex-direction:column;align-items:center;padding:18px .65rem 0}.fl-branch:before,.fl-branch:after{content:"";position:absolute;left:0;right:0;height:2px;background:var(--border-strong)}.fl-branch:before{top:0}.fl-branch:after{bottom:0}.fl-branch:first-child:before,.fl-branch:first-child:after{left:50%}.fl-branch:last-child:before,.fl-branch:last-child:after{right:50%}.fl-branch>.fl-outcome{position:relative}.fl-branch>.fl-outcome:before{content:"";position:absolute;top:-18px;left:50%;height:18px;width:2px;margin-left:-1px;background:var(--border-strong)}.fl-branch.debug-path .fl-outcome{background:#d1fae5;border-color:#6ee7b7}.fl-outcome{border:1px solid #fcd34d;background:#fffbeb;color:#92400e;font:inherit;font-size:.78rem;font-weight:700;padding:.2rem .65rem;border-radius:999px;max-width:240px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:pointer}.fl-outcome.default{border-color:var(--border-strong);background:#f1f5f9;color:#475569}.flow-props-head{display:flex;align-items:center;gap:.5rem;margin-bottom:.25rem}.flow-props-head .fl-icon{--fl-color: var(--brand)}.flow-props-sub{margin:.9rem 0 .3rem;font-size:.82rem;text-transform:uppercase;letter-spacing:.05em;color:var(--text-muted)}.flow-props-foot{margin-top:1rem;padding-top:.75rem;border-top:1px solid var(--border)}.flow-cond{display:grid;grid-template-columns:22px minmax(0,1fr);gap:.35rem .5rem;align-items:center;padding:.5rem;border:1px solid var(--border);border-radius:var(--radius-sm);margin-bottom:.4rem;background:var(--bg)}.flow-cond>:not(.wf-cond-number){grid-column:2;min-width:0}.flow-cond .btn-link{justify-self:start;font-size:.82rem}.flow-set{border:1px solid var(--border);border-radius:var(--radius-sm);padding:.5rem .6rem;margin-bottom:.5rem;background:var(--bg)}.flow-outcome{border:1px solid #fde68a;border-radius:var(--radius-sm);padding:.5rem .75rem .75rem;margin:0 0 .75rem;background:#fffdf5}.flow-outcome legend{display:flex;align-items:center;gap:.5rem;font-weight:700;font-size:.85rem}.flow-outcome-tools{display:inline-flex;gap:.35rem}.flow-match{display:flex;gap:.75rem;flex-wrap:wrap;margin-top:.5rem}.flow-secret{margin-top:.75rem;padding-top:.75rem;border-top:1px solid var(--border)}.flow-run-steps td{background:var(--bg)}.flow-run-steps ol{margin:0;padding-left:1.25rem;font-size:.86rem;display:grid;gap:.25rem}.error-text{color:var(--danger)}.flow-versions-note,.flow-danger{padding:0 1rem .75rem}@media (max-width: 1100px){.flow-builder{grid-template-columns:minmax(0,1fr)}.flow-panel{position:static;max-height:none}}.flow-panel .rule-conditions .condition-row.wf-condition-row{display:grid;grid-template-columns:22px minmax(0,1fr);gap:.35rem .5rem;align-items:center;padding:.5rem;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--bg)}.flow-panel .rule-conditions .condition-row.wf-condition-row>:not(.wf-cond-number){grid-column:2;min-width:0;width:100%}.flow-panel .rule-conditions .condition-row.wf-condition-row>.btn-link{width:auto;justify-self:start}.flow-panel .wf-criteria-footer{display:flex;flex-wrap:wrap;gap:.5rem .75rem;align-items:flex-end}.flow-cond select,.flow-cond input,.flow-cond textarea{width:100%;padding:.45rem .6rem;border:1px solid var(--border-strong);border-radius:var(--radius-sm);font:inherit;font-size:.88rem;background:#fff;color:var(--text)}.fl-branch>.fl-list{flex:1 1 auto}.fl-branch>.fl-list>.fl-add.last{flex:1 1 auto;height:auto;min-height:44px}.fl-branch>.fl-list>.fl-add.last .fl-add-btn{align-self:flex-start;margin-top:10px}.fl-branch.ends:after{display:none}.fl-loop{--fl-color: #0d9488}.fl-loop-block{display:flex;flex-direction:column;align-items:center}.fl-loop-body{position:relative;display:flex;flex-direction:column;align-items:center;margin-top:22px;padding:.6rem 1.25rem .5rem;border:2px dashed #5eead4;border-radius:14px;background:#f0fdfa8c}.fl-loop-body:before{content:"";position:absolute;top:-24px;left:50%;height:22px;width:2px;margin-left:-1px;background:var(--border-strong)}.fl-loop-body.debug-path{border-color:#34d399}.fl-outcome.fl-loop-label{border-color:#5eead4;background:#ccfbf1;color:#115e59;cursor:default}.fl-loop-back{margin-top:.15rem;font-size:.75rem;font-weight:600;color:#0f766e}.fl-loop-after{position:relative;margin-top:22px;cursor:default}.fl-loop-after:before{content:"";position:absolute;top:-24px;left:50%;height:22px;width:2px;margin-left:-1px;background:var(--border-strong)}.flow-canvas-wrap{position:relative;min-width:0}.flow-zoom{position:absolute;top:10px;right:10px;z-index:5;display:inline-flex;align-items:center;background:#fff;border:1px solid var(--border-strong);border-radius:var(--radius-sm);box-shadow:var(--shadow);overflow:hidden}.flow-zoom button{border:0;background:none;font:inherit;min-width:34px;height:32px;font-size:1.1rem;font-weight:600;color:var(--text);cursor:pointer}.flow-zoom button:hover:not(:disabled){background:var(--bg)}.flow-zoom button:disabled{color:var(--border-strong);cursor:default}.flow-zoom .flow-zoom-level{min-width:54px;font-size:.8rem;color:var(--text-muted);border-left:1px solid var(--border);border-right:1px solid var(--border)}.pa-section-title{margin:0;padding:14px 16px 10px;font-size:14px;border-bottom:1px solid var(--border)}.pa-incident{padding:14px 16px;border-top:1px solid var(--border)}.pa-section-title+.pa-incident{border-top:0}.pa-incident-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;flex-wrap:wrap}.pa-incident-actions{display:flex;align-items:center;gap:12px}.pa-incident-updates{list-style:none;margin:10px 0 0;padding:0 0 0 12px;border-left:2px solid var(--border)}.pa-incident-updates li+li{margin-top:10px}.pa-incident-updates p{margin:2px 0 0;white-space:pre-wrap}.pa-checks{border:0;padding:0;margin:0 0 12px;display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:6px 16px}.pa-checks legend{font-weight:600;font-size:13px;margin-bottom:6px}
