.crmhero-root{--text-2xs:11px;--text-xs:12px;--text-sm:13px;--text-base:14px;--text-md:15px;--text-lg:16px;--text-xl:18px;--text-2xl:20px;--text-3xl:24px;--text-4xl:30px;--text-5xl:38px;--leading-tight:1.2;--leading-snug:1.35;--leading-normal:1.5;--weight-regular:400;--weight-medium:500;--weight-semibold:600;--weight-bold:700;--tracking-tight:-0.014em;--tracking-normal:0em;--tracking-wide:0.02em;--tracking-caps:0.06em;--space-0:0px;--space-px:1px;--space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-5:20px;--space-6:24px;--space-8:32px;--space-10:40px;--space-12:48px;--space-16:64px;--space-20:80px;--radius:0.5rem;--radius-sm:4px;--radius-md:6px;--radius-lg:8px;--radius-xl:12px;--radius-2xl:16px;--radius-full:9999px;--ch-primary-50:#eef6f1;--ch-primary-100:#d6e9df;--ch-primary-200:#aed3c0;--ch-primary-300:#7fb89d;--ch-primary-400:#4f9a78;--ch-primary-500:#2f6b4f;--ch-primary-600:#285c44;--ch-primary-700:#214b38;--ch-primary-800:#1b3c2d;--ch-primary-900:#142d22;--ch-neutral-0:#ffffff;--ch-neutral-50:#f6f8fa;--ch-neutral-100:#eef1f5;--ch-neutral-200:#e2e7ee;--ch-neutral-300:#cbd3dd;--ch-neutral-400:#9aa6b5;--ch-neutral-500:#6b7888;--ch-neutral-600:#4d5868;--ch-neutral-700:#39424f;--ch-neutral-800:#262d38;--ch-neutral-900:#171c24;--ch-neutral-950:#0e1116}.crmhero-root,.crmhero-root.light{color-scheme:light;--background:hsl(210 28.6% 97.3%);--foreground:hsl(216.9 22% 11.6%);--card:hsl(0 0% 100%);--card-foreground:hsl(216.9 22% 11.6%);--popover:hsl(0 0% 100%);--popover-foreground:hsl(216.9 22% 11.6%);--surface:hsl(0 0% 100%);--surface-2:hsl(210 28.6% 97.3%);--muted:hsl(214.3 25.9% 94.7%);--muted-foreground:hsl(213.1 11.9% 47.6%);--subtle-foreground:hsl(215.6 14.9% 35.5%);--primary:hsl(152 39% 30.2%);--primary-hover:hsl(152.3 39.4% 25.9%);--primary-foreground:hsl(0 0% 100%);--secondary:hsl(214.3 25.9% 94.7%);--secondary-hover:hsl(215 26.1% 91%);--secondary-foreground:hsl(215.5 16.2% 26.7%);--accent:hsl(214.3 25.9% 94.7%);--accent-foreground:hsl(216.9 22% 11.6%);--destructive:hsl(0 62% 53.5%);--destructive-hover:hsl(1.3 59.3% 45.3%);--destructive-foreground:hsl(0 0% 100%);--border:hsl(215 26.1% 91%);--border-strong:hsl(213.3 20.9% 83.1%);--input:hsl(213.3 20.9% 83.1%);--ring:hsl(152 39% 30.2%);--success:hsl(145.2 63.3% 33.1%);--warning:hsl(38.9 86% 42.2%);--danger:hsl(0 62% 53.5%);--info:hsl(210.9 58.4% 44.3%);--cat-anfrage:hsl(210.9 58.4% 44.3%);--cat-angebot:hsl(170.4 83.7% 33.7%);--cat-werbung:hsl(254 56.1% 58%);--cat-spam:hsl(348.3 41% 49.2%);--prio-niedrig:hsl(213.3 15.4% 65.7%);--prio-normal:hsl(210.9 58.4% 44.3%);--prio-hoch:hsl(38.9 86% 42.2%);--prio-dringend:hsl(0 62% 53.5%);--tint-soft:10%;--tint-medium:16%;--shadow-xs:0 1px 2px rgba(16,22,32,0.06);--shadow-sm:0 1px 2px rgba(16,22,32,0.06),0 1px 3px rgba(16,22,32,0.08);--shadow-md:0 2px 4px -2px rgba(16,22,32,0.06),0 4px 10px -2px rgba(16,22,32,0.1);--shadow-lg:0 4px 8px -4px rgba(16,22,32,0.08),0 14px 28px -8px rgba(16,22,32,0.14);--shadow-focus:0 0 0 3px color-mix(in srgb,var(--ring) 32%,transparent)}.crmhero-root.dark{color-scheme:dark;--background:hsl(217.5 22.2% 7.1%);--foreground:hsl(216 26.3% 92.5%);--card:hsl(216.9 22% 11.6%);--card-foreground:hsl(216 26.3% 92.5%);--popover:hsl(217.5 22.9% 13.7%);--popover-foreground:hsl(216 26.3% 92.5%);--surface:hsl(216.9 22% 11.6%);--surface-2:hsl(217.5 22.9% 13.7%);--muted:hsl(212 19% 15.5%);--muted-foreground:hsl(213.3 15.4% 65.7%);--subtle-foreground:hsl(212.7 17.7% 75.7%);--primary:hsl(152.8 32.2% 45.7%);--primary-hover:hsl(152.7 31.5% 50.8%);--primary-foreground:hsl(152.7 33.3% 6.5%);--secondary:hsl(211.8 19.5% 17.1%);--secondary-hover:hsl(211.6 17.8% 21%);--secondary-foreground:hsl(212 20.5% 85.7%);--accent:hsl(211.8 19.5% 17.1%);--accent-foreground:hsl(216 26.3% 92.5%);--destructive:hsl(0 69.2% 61.8%);--destructive-hover:hsl(0 72.1% 67.6%);--destructive-foreground:hsl(0 30% 7.8%);--border:hsl(214.7 18.4% 20.2%);--border-strong:hsl(215 17.1% 27.5%);--input:hsl(215 17.1% 27.5%);--ring:hsl(152.8 32.2% 45.7%);--success:hsl(145.5 51.7% 45.5%);--warning:hsl(39.8 72.8% 55.3%);--danger:hsl(0 69.2% 61.8%);--info:hsl(210 63.2% 58.4%);--cat-anfrage:hsl(210 63.2% 58.4%);--cat-angebot:hsl(169.9 63.2% 45.9%);--cat-werbung:hsl(254.4 66.7% 70.6%);--cat-spam:hsl(348.2 50.8% 62.5%);--prio-niedrig:hsl(213.1 11.9% 47.6%);--prio-normal:hsl(210 63.2% 58.4%);--prio-hoch:hsl(39.8 72.8% 55.3%);--prio-dringend:hsl(0 69.2% 61.8%);--tint-soft:14%;--tint-medium:22%;--shadow-xs:0 1px 2px rgba(0,0,0,0.4);--shadow-sm:0 1px 2px rgba(0,0,0,0.45),0 1px 3px rgba(0,0,0,0.4);--shadow-md:0 2px 4px -2px rgba(0,0,0,0.45),0 6px 14px -3px rgba(0,0,0,0.55);--shadow-lg:0 6px 12px -4px rgba(0,0,0,0.5),0 18px 36px -10px rgba(0,0,0,0.65);--shadow-focus:0 0 0 3px color-mix(in srgb,var(--ring) 40%,transparent)}.crmhero-root *,.crmhero-root :after,.crmhero-root :before{box-sizing:border-box}.crmhero-root *{margin:0}.crmhero-root{font-family:var(--font-sans);font-size:var(--text-base);line-height:var(--leading-normal);color:var(--foreground);background:var(--background);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;font-feature-settings:"cv01","ss01"}.crmhero-root button,.crmhero-root input,.crmhero-root select,.crmhero-root textarea{font:inherit;color:inherit}.crmhero-root button{cursor:pointer;background:none;border:none}.crmhero-root a{color:inherit;text-decoration:none}.crmhero-root ol,.crmhero-root ul{list-style:none;padding:0}.crmhero-root :focus-visible{outline:none}.crmhero-root .tabular{font-feature-settings:"tnum"}.crmhero-root .mono{font-family:var(--font-mono)}.crmhero-root .truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.crmhero-root .ds-root{min-height:100vh;display:flex;flex-direction:column}.crmhero-root .ds-topbar{position:sticky;top:0;z-index:40;height:56px;display:flex;align-items:center;gap:var(--space-4);padding:0 var(--space-6);background:color-mix(in srgb,var(--surface) 86%,transparent);backdrop-filter:saturate(1.1) blur(10px);border-bottom:1px solid var(--border)}.crmhero-root .ds-brand{display:flex;align-items:center;gap:var(--space-3);font-weight:var(--weight-semibold);letter-spacing:var(--tracking-tight)}.crmhero-root .ds-brand-mark{width:28px;height:28px;border-radius:7px;flex:none;display:grid;place-items:center;color:#fff;background:linear-gradient(160deg,var(--ch-primary-400),var(--ch-primary-600));box-shadow:inset 0 1px 0 rgba(255,255,255,.25),var(--shadow-xs)}.crmhero-root .ds-brand-sub{font-size:var(--text-xs);color:var(--muted-foreground);font-weight:var(--weight-medium);border-left:1px solid var(--border);padding-left:var(--space-3);margin-left:var(--space-1)}.crmhero-root .ds-tabs{display:flex;gap:var(--space-1);margin-left:var(--space-4)}.crmhero-root .ds-tab{height:32px;padding:0 var(--space-3);border-radius:var(--radius-md);font-size:var(--text-sm);font-weight:var(--weight-medium);color:var(--muted-foreground);display:inline-flex;align-items:center;transition:background .12s,color .12s}.crmhero-root .ds-tab:hover,.crmhero-root .ds-tab[data-active=true]{background:var(--accent);color:var(--foreground)}.crmhero-root .ds-topbar-spacer{flex:1}.crmhero-root .ds-main{flex:1;width:100%;max-width:1200px;margin:0 auto;padding:var(--space-10) var(--space-6) var(--space-20)}.crmhero-root .ds-section{margin-bottom:var(--space-16);scroll-margin-top:72px}.crmhero-root .ds-section-head{margin-bottom:var(--space-6)}.crmhero-root .ds-eyebrow{font-size:var(--text-xs);font-weight:var(--weight-semibold);letter-spacing:var(--tracking-caps);text-transform:uppercase;color:var(--primary)}.crmhero-root .ds-h1{font-size:var(--text-4xl);font-weight:var(--weight-bold);letter-spacing:var(--tracking-tight);line-height:var(--leading-tight)}.crmhero-root .ds-h2{font-size:var(--text-2xl);font-weight:var(--weight-semibold);letter-spacing:var(--tracking-tight)}.crmhero-root .ds-h3{font-size:var(--text-lg);font-weight:var(--weight-semibold)}.crmhero-root .ds-lead{font-size:var(--text-md);color:var(--subtle-foreground);max-width:70ch;line-height:var(--leading-normal)}.crmhero-root .ds-label{font-size:var(--text-xs);font-weight:var(--weight-semibold);letter-spacing:var(--tracking-caps);text-transform:uppercase;color:var(--muted-foreground)}.crmhero-root .ds-grid{display:grid;gap:var(--space-4)}.crmhero-root .ds-divider{height:1px;background:var(--border);border:0;margin:var(--space-8) 0}.crmhero-root .ds-demo{border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface);box-shadow:var(--shadow-xs);overflow:clip}.crmhero-root .ds-demo-head{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3);padding:var(--space-3) var(--space-4);border-bottom:1px solid var(--border)}.crmhero-root .ds-demo-title{font-size:var(--text-sm);font-weight:var(--weight-semibold)}.crmhero-root .ds-demo-body{padding:var(--space-6);display:flex;flex-wrap:wrap;gap:var(--space-4);align-items:center}.crmhero-root .ds-demo-body.col{flex-direction:column;align-items:stretch}.crmhero-root .ds-demo-note{font-size:var(--text-xs);color:var(--muted-foreground)}.crmhero-root .btn{--btn-h:36px;display:inline-flex;align-items:center;justify-content:center;gap:var(--space-2);height:var(--btn-h);padding:0 var(--space-4);border-radius:var(--radius-md);font-size:var(--text-base);font-weight:var(--weight-medium);line-height:1;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;user-select:none;border:1px solid transparent;transition:background .12s ease,border-color .12s ease,color .12s ease,box-shadow .12s ease,transform .04s ease}.crmhero-root .btn:active{transform:translateY(.5px)}.crmhero-root .btn:focus-visible{box-shadow:var(--shadow-focus)}.crmhero-root .btn:disabled{opacity:.5;pointer-events:none}.crmhero-root .btn svg{width:16px;height:16px;flex:none}.crmhero-root .btn--sm{--btn-h:30px;padding:0 var(--space-3);font-size:var(--text-sm)}.crmhero-root .btn--lg{--btn-h:42px;padding:0 var(--space-5);font-size:var(--text-md)}.crmhero-root .btn--icon{width:var(--btn-h);padding:0}.crmhero-root .btn--block{width:100%}.crmhero-root .btn--primary{background:var(--primary);color:var(--primary-foreground);box-shadow:var(--shadow-xs)}.crmhero-root .btn--primary:hover{background:var(--primary-hover)}.crmhero-root .btn--secondary{background:var(--surface);color:var(--secondary-foreground);border-color:var(--border-strong);box-shadow:var(--shadow-xs)}.crmhero-root .btn--secondary:hover{background:var(--accent)}.crmhero-root .btn--ghost{background:transparent;color:var(--subtle-foreground)}.crmhero-root .btn--ghost:hover{background:var(--accent);color:var(--foreground)}.crmhero-root .btn--destructive{background:var(--destructive);color:var(--destructive-foreground);box-shadow:var(--shadow-xs)}.crmhero-root .btn--destructive:hover{background:var(--destructive-hover)}.crmhero-root .btn--outline{background:var(--background);color:var(--foreground);border-color:var(--input)}.crmhero-root .btn--outline:hover{background:var(--accent);color:var(--accent-foreground)}.crmhero-root .btn--link{background:transparent;color:var(--primary);height:auto;padding:0;text-underline-offset:4px}.crmhero-root .btn--link:hover{text-decoration:underline}.crmhero-root .card{background:var(--card);color:var(--card-foreground);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-xs)}.crmhero-root .card-head{padding:var(--space-4) var(--space-5);border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;gap:var(--space-3)}.crmhero-root .card-title{font-size:var(--text-md);font-weight:var(--weight-semibold);letter-spacing:var(--tracking-tight)}.crmhero-root .card-desc{font-size:var(--text-sm);color:var(--muted-foreground);margin-top:2px}.crmhero-root .card-body{padding:var(--space-5)}.crmhero-root .card-foot{padding:var(--space-4) var(--space-5);border-top:1px solid var(--border);display:flex;gap:var(--space-2)}.crmhero-root .stat-card .stat-value{font-size:var(--text-3xl);font-weight:var(--weight-bold);letter-spacing:var(--tracking-tight);line-height:1.1}.crmhero-root .stat-card .stat-label{font-size:var(--text-xs);color:var(--muted-foreground);font-weight:var(--weight-medium)}.crmhero-root .stat-delta{font-size:var(--text-xs);font-weight:var(--weight-semibold);display:inline-flex;align-items:center;gap:3px}.crmhero-root .stat-delta.up{color:var(--success)}.crmhero-root .stat-delta.down{color:var(--danger)}.crmhero-root .badge{--c:var(--muted-foreground);display:inline-flex;align-items:center;gap:5px;height:21px;padding:0 8px;border-radius:var(--radius-full);font-size:var(--text-xs);font-weight:var(--weight-semibold);line-height:1;white-space:nowrap;color:var(--c);background:color-mix(in srgb,var(--c) var(--tint-soft),var(--surface));border:1px solid color-mix(in srgb,var(--c) 25%,transparent)}.crmhero-root .badge .dot{width:6px;height:6px;border-radius:var(--radius-full);background:var(--c);flex:none}.crmhero-root .badge--solid{color:#fff;background:var(--c);border-color:transparent}.crmhero-root .badge--square{border-radius:var(--radius-sm)}.crmhero-root .badge--anfrage{--c:var(--cat-anfrage)}.crmhero-root .badge--angebot{--c:var(--cat-angebot)}.crmhero-root .badge--werbung{--c:var(--cat-werbung)}.crmhero-root .badge--spam{--c:var(--cat-spam)}.crmhero-root .badge--success{--c:var(--success)}.crmhero-root .badge--warning{--c:var(--warning)}.crmhero-root .badge--danger{--c:var(--danger)}.crmhero-root .badge--info{--c:var(--info)}.crmhero-root .badge--neutral{--c:var(--muted-foreground)}.crmhero-root .status{display:inline-flex;align-items:center;gap:6px;font-size:var(--text-sm);font-weight:var(--weight-medium);color:var(--subtle-foreground)}.crmhero-root .status .ring{width:9px;height:9px;border-radius:var(--radius-full);flex:none;border:2px solid var(--c,var(--muted-foreground))}.crmhero-root .status .fill{width:9px;height:9px;border-radius:var(--radius-full);flex:none;background:var(--c,var(--muted-foreground))}.crmhero-root .status--neu{--c:var(--info)}.crmhero-root .status--entwurf{--c:var(--warning)}.crmhero-root .status--pruefung{--c:var(--cat-werbung)}.crmhero-root .status--freigegeben{--c:var(--success)}.crmhero-root .status--gesendet{--c:var(--muted-foreground)}.crmhero-root .status--abgelehnt{--c:var(--danger)}.crmhero-root .prio{display:inline-flex;align-items:center;gap:var(--space-2);font-size:var(--text-sm);font-weight:var(--weight-medium);color:var(--subtle-foreground)}.crmhero-root .prio-bars{display:inline-flex;align-items:flex-end;gap:2px;height:13px}.crmhero-root .prio-bars i{width:3.5px;border-radius:1px;background:var(--border-strong);display:block}.crmhero-root .prio-bars i:first-child{height:5px}.crmhero-root .prio-bars i:nth-child(2){height:9px}.crmhero-root .prio-bars i:nth-child(3){height:13px}.crmhero-root .prio[data-level=niedrig]{--pc:var(--prio-niedrig)}.crmhero-root .prio[data-level=normal]{--pc:var(--prio-normal)}.crmhero-root .prio[data-level=hoch]{--pc:var(--prio-hoch)}.crmhero-root .prio[data-level=dringend]{--pc:var(--prio-dringend)}.crmhero-root .prio[data-level=dringend] .prio-bars i,.crmhero-root .prio[data-level=hoch] .prio-bars i:nth-child(-n+3),.crmhero-root .prio[data-level=niedrig] .prio-bars i:nth-child(-n+1),.crmhero-root .prio[data-level=normal] .prio-bars i:nth-child(-n+2){background:var(--pc)}.crmhero-root .prio[data-level=dringend] .prio-label{color:var(--pc);font-weight:var(--weight-semibold)}.crmhero-root .prio-dot{width:8px;height:8px;border-radius:var(--radius-full);background:var(--pc);flex:none}.crmhero-root .prio[data-level=dringend] .prio-dot{box-shadow:0 0 0 3px color-mix(in srgb,var(--pc) 22%,transparent)}.crmhero-root .field{display:flex;flex-direction:column;gap:6px}.crmhero-root .field-label{font-size:var(--text-sm);font-weight:var(--weight-medium)}.crmhero-root .field-hint{font-size:var(--text-xs);color:var(--muted-foreground)}.crmhero-root .field-error{font-size:var(--text-xs);color:var(--danger);font-weight:var(--weight-medium)}.crmhero-root .input,.crmhero-root .select,.crmhero-root .textarea{width:100%;height:36px;padding:0 var(--space-3);background:var(--surface);color:var(--foreground);border:1px solid var(--input);border-radius:var(--radius-md);font-size:var(--text-base);transition:border-color .12s,box-shadow .12s}.crmhero-root .textarea{height:auto;min-height:76px;padding:var(--space-2) var(--space-3);resize:vertical;line-height:var(--leading-snug)}.crmhero-root .input::-moz-placeholder,.crmhero-root .textarea::-moz-placeholder{color:var(--muted-foreground)}.crmhero-root .input::placeholder,.crmhero-root .textarea::placeholder{color:var(--muted-foreground)}.crmhero-root .input:focus,.crmhero-root .select:focus,.crmhero-root .textarea:focus{border-color:var(--ring);box-shadow:var(--shadow-focus)}.crmhero-root .input:disabled{background:var(--muted);color:var(--muted-foreground);cursor:not-allowed}.crmhero-root .input[aria-invalid=true],.crmhero-root .textarea[aria-invalid=true]{border-color:var(--danger)}.crmhero-root .input[aria-invalid=true]:focus{box-shadow:0 0 0 3px color-mix(in srgb,var(--danger) 30%,transparent)}.crmhero-root .input-group{position:relative;display:flex;align-items:center}.crmhero-root .input-group .input{padding-left:34px}.crmhero-root .input-group .input-icon{position:absolute;left:10px;color:var(--muted-foreground);display:grid;place-items:center;pointer-events:none}.crmhero-root .input-group .input-icon svg{width:16px;height:16px}.crmhero-root .switch{position:relative;width:36px;height:20px;border-radius:var(--radius-full);background:var(--border-strong);transition:background .15s;flex:none}.crmhero-root .switch[data-on=true]{background:var(--primary)}.crmhero-root .switch:after{content:"";position:absolute;top:2px;left:2px;width:16px;height:16px;border-radius:var(--radius-full);background:#fff;box-shadow:var(--shadow-xs);transition:transform .15s}.crmhero-root .switch[data-on=true]:after{transform:translateX(16px)}.crmhero-root .checkbox{width:16px;height:16px;border-radius:var(--radius-sm);border:1.5px solid var(--input);background:var(--surface);display:grid;place-items:center;flex:none;transition:background .12s,border-color .12s}.crmhero-root .checkbox[data-on=true]{background:var(--primary);border-color:var(--primary);color:#fff}.crmhero-root .checkbox svg{width:12px;height:12px;opacity:0}.crmhero-root .checkbox[data-on=true] svg{opacity:1}.crmhero-root .alert{--c:var(--info);display:flex;gap:var(--space-3);padding:var(--space-3) var(--space-4);border-radius:var(--radius-md);border:1px solid color-mix(in srgb,var(--c) 30%,transparent);background:color-mix(in srgb,var(--c) var(--tint-soft),var(--surface))}.crmhero-root .alert--success{--c:var(--success)}.crmhero-root .alert--warning{--c:var(--warning)}.crmhero-root .alert--danger{--c:var(--danger)}.crmhero-root .alert .alert-icon{color:var(--c);flex:none;margin-top:1px}.crmhero-root .alert .alert-title{font-size:var(--text-sm);font-weight:var(--weight-semibold)}.crmhero-root .alert .alert-text{font-size:var(--text-sm);color:var(--subtle-foreground);margin-top:2px}.crmhero-root .table-wrap{border:1px solid var(--border);border-radius:var(--radius-lg);overflow:hidden;background:var(--surface)}.crmhero-root .table{width:100%;border-collapse:collapse;font-size:var(--text-base)}.crmhero-root .table thead th{text-align:left;font-size:var(--text-xs);font-weight:var(--weight-semibold);letter-spacing:var(--tracking-wide);text-transform:uppercase;color:var(--muted-foreground);padding:var(--space-2) var(--space-4);background:var(--surface-2);border-bottom:1px solid var(--border);white-space:nowrap}.crmhero-root .table tbody td{padding:var(--space-3) var(--space-4);border-bottom:1px solid var(--border);vertical-align:middle}.crmhero-root .table tbody tr:last-child td{border-bottom:0}.crmhero-root .table tbody tr{transition:background .1s}.crmhero-root .table tbody tr:hover{background:var(--accent)}.crmhero-root .table tbody tr[data-selected=true]{background:color-mix(in srgb,var(--primary) 8%,var(--surface))}.crmhero-root .table .col-num{text-align:right;font-variant-numeric:tabular-nums}.crmhero-root .mailrow{display:grid;grid-template-columns:22px 22px 1fr auto;align-items:center;gap:var(--space-3);padding:var(--space-3) var(--space-4);border-bottom:1px solid var(--border);cursor:pointer;transition:background .1s}.crmhero-root .mailrow:hover{background:var(--accent)}.crmhero-root .mailrow[data-unread=true] .mail-sender,.crmhero-root .mailrow[data-unread=true] .mail-subject{font-weight:var(--weight-semibold)}.crmhero-root .mailrow[data-selected=true]{background:color-mix(in srgb,var(--primary) 8%,var(--surface));box-shadow:inset 2px 0 0 var(--primary)}.crmhero-root .mail-main{min-width:0}.crmhero-root .mail-line1{display:flex;align-items:center;gap:var(--space-2)}.crmhero-root .mail-sender{font-size:var(--text-base);color:var(--foreground)}.crmhero-root .mail-time{font-size:var(--text-xs);color:var(--muted-foreground);margin-left:auto;flex:none}.crmhero-root .mail-subject{font-size:var(--text-sm);color:var(--subtle-foreground);margin-top:1px}.crmhero-root .mail-snippet{color:var(--muted-foreground)}.crmhero-root .mail-meta{display:flex;align-items:center;gap:var(--space-3);flex:none}.crmhero-root .mail-flag{color:var(--muted-foreground);display:grid;place-items:center;width:20px;height:20px;border-radius:var(--radius-sm)}.crmhero-root .mail-flag[data-on=true]{color:var(--warning)}.crmhero-root .mail-flag:hover{background:var(--accent)}.crmhero-root .shell{display:grid;grid-template-columns:232px 1fr;height:720px;background:var(--background);border:1px solid var(--border);border-radius:var(--radius-xl);overflow:hidden;box-shadow:var(--shadow-lg)}.crmhero-root .shell--bare{box-shadow:none}.crmhero-root .sidebar{display:flex;flex-direction:column;background:var(--surface);border-right:1px solid var(--border)}.crmhero-root .sidebar-brand{display:flex;align-items:center;gap:var(--space-3);padding:var(--space-4) var(--space-4);height:56px;border-bottom:1px solid var(--border)}.crmhero-root .sidebar-brand .name{font-weight:var(--weight-semibold);letter-spacing:var(--tracking-tight);font-size:var(--text-md)}.crmhero-root .sidebar-brand .tier{font-size:10px;color:var(--muted-foreground)}.crmhero-root .nav{padding:var(--space-3) var(--space-2);display:flex;flex-direction:column;gap:2px;overflow-y:auto;flex:1}.crmhero-root .nav-group-label{font-size:10px;font-weight:var(--weight-semibold);letter-spacing:var(--tracking-caps);text-transform:uppercase;color:var(--muted-foreground);padding:var(--space-3) var(--space-3) var(--space-1)}.crmhero-root .nav-item{display:flex;align-items:center;gap:var(--space-3);height:34px;padding:0 var(--space-3);border-radius:var(--radius-md);color:var(--subtle-foreground);font-size:var(--text-base);font-weight:var(--weight-medium);transition:background .1s,color .1s}.crmhero-root .nav-item svg{width:17px;height:17px;flex:none;color:var(--muted-foreground)}.crmhero-root .nav-item:hover{background:var(--accent);color:var(--foreground)}.crmhero-root .nav-item[data-active=true]{background:color-mix(in srgb,var(--primary) 12%,var(--surface));color:var(--primary);font-weight:var(--weight-semibold)}.crmhero-root .nav-item[data-active=true] svg{color:var(--primary)}.crmhero-root .nav-badge{margin-left:auto;font-size:var(--text-xs);font-weight:var(--weight-semibold);background:var(--muted);color:var(--subtle-foreground);border-radius:var(--radius-full);padding:1px 7px;min-width:20px;text-align:center}.crmhero-root .nav-item[data-active=true] .nav-badge{background:var(--primary);color:var(--primary-foreground)}.crmhero-root .nav-item[data-soon=true]{opacity:.55;cursor:default}.crmhero-root .nav-item[data-soon=true]:hover{background:transparent;color:var(--subtle-foreground)}.crmhero-root .nav-soon{margin-left:auto;font-size:9px;font-weight:var(--weight-semibold);letter-spacing:var(--tracking-caps);text-transform:uppercase;color:var(--muted-foreground);border:1px solid var(--border);border-radius:var(--radius-full);padding:1px 6px}.crmhero-root .sidebar-foot{border-top:1px solid var(--border);padding:var(--space-3)}.crmhero-root .user-chip{display:flex;align-items:center;gap:var(--space-3);padding:var(--space-2);border-radius:var(--radius-md)}.crmhero-root .user-chip:hover{background:var(--accent)}.crmhero-root .user-chip[data-active=true]{background:color-mix(in srgb,var(--primary) 12%,var(--surface))}.crmhero-root .user-chip[data-active=true] .u-name{color:var(--primary);font-weight:var(--weight-semibold)}.crmhero-root .avatar{width:30px;height:30px;border-radius:var(--radius-full);flex:none;display:grid;place-items:center;font-size:var(--text-xs);font-weight:var(--weight-semibold);color:#fff;background:linear-gradient(150deg,var(--ch-primary-400),var(--ch-primary-600))}.crmhero-root .user-chip .u-name{font-size:var(--text-sm);font-weight:var(--weight-medium)}.crmhero-root .user-chip .u-role{font-size:var(--text-xs);color:var(--muted-foreground)}.crmhero-root .workarea{display:flex;flex-direction:column;min-width:0;overflow:hidden}.crmhero-root .app-topbar{height:56px;flex:none;display:flex;align-items:center;gap:var(--space-3);padding:0 var(--space-5);border-bottom:1px solid var(--border);background:var(--surface)}.crmhero-root .app-topbar .crumbs{display:flex;align-items:center;gap:var(--space-2);font-size:var(--text-sm);color:var(--muted-foreground)}.crmhero-root .app-topbar .crumbs .here{color:var(--foreground);font-weight:var(--weight-semibold)}.crmhero-root .topbar-search{margin-left:var(--space-2);width:300px;max-width:34vw}.crmhero-root .topbar-search.is-disabled{opacity:.65;cursor:not-allowed}.crmhero-root .topbar-search-hint{position:absolute;right:8px;font-size:var(--text-xs);color:var(--muted-foreground);pointer-events:none;white-space:nowrap}.crmhero-root .topbar-actions{margin-left:auto;display:flex;align-items:center;gap:var(--space-2)}.crmhero-root .icon-btn{width:34px;height:34px;border-radius:var(--radius-md);display:grid;place-items:center;color:var(--subtle-foreground);position:relative;transition:background .1s,color .1s}.crmhero-root .icon-btn:hover{background:var(--accent);color:var(--foreground)}.crmhero-root .icon-btn svg{width:18px;height:18px}.crmhero-root .icon-btn .pip{position:absolute;top:6px;right:7px;width:7px;height:7px;border-radius:var(--radius-full);background:var(--danger);border:2px solid var(--surface)}.crmhero-root .content{flex:1;overflow:auto;padding:var(--space-6)}.crmhero-root .content-grid{display:grid;grid-template-columns:minmax(0,1fr) 312px;gap:var(--space-5);align-items:start}.crmhero-root .page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:var(--space-4);margin-bottom:var(--space-5)}.crmhero-root .page-title{font-size:var(--text-2xl);font-weight:var(--weight-bold);letter-spacing:var(--tracking-tight)}.crmhero-root .page-sub{font-size:var(--text-sm);color:var(--muted-foreground);margin-top:2px}.crmhero-root .toolbar{display:flex;align-items:center;gap:var(--space-2);margin-bottom:var(--space-4);flex-wrap:wrap}.crmhero-root .segment{display:inline-flex;padding:3px;background:var(--muted);border-radius:var(--radius-md);gap:2px}.crmhero-root .segment button{height:28px;padding:0 var(--space-3);border-radius:var(--radius-sm);font-size:var(--text-sm);font-weight:var(--weight-medium);color:var(--muted-foreground);display:inline-flex;align-items:center;gap:6px;transition:background .1s,color .1s}.crmhero-root .segment button[data-active=true]{background:var(--surface);color:var(--foreground);box-shadow:var(--shadow-xs)}.crmhero-root .segment button:focus-visible{box-shadow:var(--shadow-focus)}.crmhero-root .seg-count{font-size:11px;background:var(--surface-2);color:var(--muted-foreground);border-radius:var(--radius-full);padding:0 6px}.crmhero-root .segment button[data-active=true] .seg-count{background:var(--muted)}.crmhero-root .dist-bar{display:flex;height:10px;border-radius:var(--radius-full);overflow:hidden;gap:2px;background:transparent}.crmhero-root .dist-bar span{display:block;height:100%;border-radius:2px}.crmhero-root .dist-legend{display:flex;flex-direction:column;gap:var(--space-2);margin-top:var(--space-4)}.crmhero-root .dist-row{display:flex;align-items:center;gap:var(--space-2);font-size:var(--text-sm)}.crmhero-root .dist-row .swatch{width:9px;height:9px;border-radius:3px;flex:none}.crmhero-root .dist-row .d-name{color:var(--subtle-foreground)}.crmhero-root .dist-row .d-val{margin-left:auto;font-weight:var(--weight-semibold);font-variant-numeric:tabular-nums}.crmhero-root .dist-row .d-pct{color:var(--muted-foreground);width:38px;text-align:right;font-variant-numeric:tabular-nums}.crmhero-root .deadline{display:flex;gap:var(--space-3);padding:var(--space-3) 0;border-bottom:1px solid var(--border)}.crmhero-root .deadline:last-child{border-bottom:0}.crmhero-root .deadline-date{flex:none;width:42px;text-align:center}.crmhero-root .deadline-date .dd{font-size:var(--text-lg);font-weight:var(--weight-bold);line-height:1}.crmhero-root .deadline-date .mm{font-size:10px;text-transform:uppercase;color:var(--muted-foreground);letter-spacing:var(--tracking-wide)}.crmhero-root .deadline-body{min-width:0;flex:1}.crmhero-root .deadline-title{font-size:var(--text-sm);font-weight:var(--weight-medium)}.crmhero-root .deadline-meta{font-size:var(--text-xs);color:var(--muted-foreground);margin-top:2px;display:flex;align-items:center;gap:6px}.crmhero-root .deadline-accent{width:3px;border-radius:2px;flex:none;background:var(--c,var(--border-strong))}.crmhero-root .state-wrap{display:grid;place-items:center;padding:var(--space-16) var(--space-6);text-align:center}.crmhero-root .state-icon{width:52px;height:52px;border-radius:var(--radius-xl);display:grid;place-items:center;margin-bottom:var(--space-4);background:var(--muted);color:var(--muted-foreground)}.crmhero-root .state-icon svg{width:24px;height:24px}.crmhero-root .state-icon.danger{background:color-mix(in srgb,var(--danger) var(--tint-soft),var(--surface));color:var(--danger)}.crmhero-root .state-title{font-size:var(--text-md);font-weight:var(--weight-semibold)}.crmhero-root .state-text{font-size:var(--text-sm);color:var(--muted-foreground);max-width:42ch;margin:var(--space-2) auto var(--space-5)}@keyframes ds-shimmer{0%{background-position:-200px 0}to{background-position:calc(200px + 100%) 0}}.crmhero-root .sk{border-radius:var(--radius-sm);background:var(--muted);background-image:linear-gradient(90deg,transparent,color-mix(in srgb,var(--surface) 60%,transparent),transparent);background-size:200px 100%;background-repeat:no-repeat;animation:ds-shimmer 1.3s ease-in-out infinite}.crmhero-root .sk-row{display:grid;grid-template-columns:22px 1fr auto;gap:var(--space-3);align-items:center;padding:var(--space-3) var(--space-4);border-bottom:1px solid var(--border)}.crmhero-root .sk-line{height:10px}.crmhero-root .sk-circle{border-radius:var(--radius-full)}@keyframes ds-spin{to{transform:rotate(1turn)}}.crmhero-root .spinner{width:18px;height:18px;border-radius:var(--radius-full);border:2px solid color-mix(in srgb,var(--primary) 25%,transparent);border-top-color:var(--primary);animation:ds-spin .7s linear infinite}.crmhero-root .row{display:flex;align-items:center;gap:var(--space-3)}.crmhero-root .col{display:flex;flex-direction:column}.crmhero-root .between{justify-content:space-between}.crmhero-root .wrap{flex-wrap:wrap}.crmhero-root .gap-2{gap:var(--space-2)}.crmhero-root .gap-4{gap:var(--space-4)}.crmhero-root .gap-6{gap:var(--space-6)}.crmhero-root .muted{color:var(--muted-foreground)}.crmhero-root .subtle{color:var(--subtle-foreground)}.crmhero-root .sb,.crmhero-root .tcap{font-weight:var(--weight-semibold)}.crmhero-root .tcap{text-transform:uppercase;letter-spacing:var(--tracking-caps);font-size:var(--text-xs);color:var(--muted-foreground)}.crmhero-root .swatch-card{border:1px solid var(--border);border-radius:var(--radius-md);overflow:hidden;background:var(--surface)}.crmhero-root .swatch-chip{height:56px}.crmhero-root .swatch-meta{padding:var(--space-2) var(--space-3)}.crmhero-root .swatch-name{font-size:var(--text-xs);font-weight:var(--weight-semibold)}.crmhero-root .swatch-val{font-size:11px;color:var(--muted-foreground);font-family:var(--font-mono)}.crmhero-root .token-table{width:100%;border-collapse:collapse;font-size:var(--text-sm)}.crmhero-root .token-table td{padding:var(--space-2) var(--space-3);border-bottom:1px solid var(--border)}.crmhero-root .token-table tr:last-child td{border-bottom:0}.crmhero-root .token-table .t-name{font-family:var(--font-mono);font-size:var(--text-xs);color:var(--subtle-foreground);white-space:nowrap}.crmhero-root .token-table .t-prev{width:1%}@media (max-width:920px){.crmhero-root .content-grid{grid-template-columns:1fr}.crmhero-root .shell{grid-template-columns:64px 1fr}.crmhero-root .nav-badge,.crmhero-root .nav-group-label,.crmhero-root .sidebar .label-text,.crmhero-root .sidebar-brand .name,.crmhero-root .sidebar-brand .tier,.crmhero-root .user-chip .u-meta{display:none}}.crmhero-root .screen-vp{height:100vh;display:flex;flex-direction:column;background:var(--background);overflow:hidden}.crmhero-root .demobar{flex:none;height:38px;display:flex;align-items:center;gap:var(--space-3);padding:0 var(--space-4);background:var(--surface-2);border-bottom:1px solid var(--border);font-size:var(--text-xs)}.crmhero-root .demobar .demo-label{display:inline-flex;align-items:center;gap:6px;color:var(--muted-foreground);font-weight:var(--weight-semibold);letter-spacing:var(--tracking-caps);text-transform:uppercase}.crmhero-root .demobar .demo-label svg{width:13px;height:13px}.crmhero-root .demobar .spacer{flex:1}.crmhero-root .demobar .demo-link{color:var(--muted-foreground);font-weight:var(--weight-medium);display:inline-flex;align-items:center;gap:6px}.crmhero-root .demobar .demo-link svg{width:13px;height:13px}.crmhero-root .demobar .segment button{height:26px}.crmhero-root .appframe{flex:1;display:grid;grid-template-columns:250px minmax(0,1fr);min-height:0}.crmhero-root .appframe .sidebar,.crmhero-root .appframe .workarea{min-height:0}.crmhero-root .appframe .content{background:var(--background)}.crmhero-root .brandrow{display:flex;align-items:center;gap:var(--space-3);padding:0 var(--space-3);height:56px;border-bottom:1px solid var(--border);flex:none}.crmhero-root .brandrow .name{font-weight:var(--weight-semibold);letter-spacing:var(--tracking-tight);font-size:var(--text-md)}.crmhero-root .brandrow .tier{font-size:10px;color:var(--muted-foreground);letter-spacing:var(--tracking-wide);text-transform:uppercase}.crmhero-root .switcher-wrap{position:relative;padding:var(--space-3);border-bottom:1px solid var(--border);flex:none}.crmhero-root .switcher-label{font-size:10px;font-weight:var(--weight-semibold);letter-spacing:var(--tracking-caps);text-transform:uppercase;color:var(--muted-foreground);padding:0 var(--space-1) var(--space-2);display:flex;align-items:center;gap:5px}.crmhero-root .mandant-switcher{width:100%;display:flex;align-items:center;gap:var(--space-3);padding:var(--space-2) var(--space-3);border-radius:var(--radius-md);border:1px solid var(--border-strong);background:var(--surface);box-shadow:var(--shadow-xs);text-align:left;transition:border-color .12s,box-shadow .12s,background .12s}.crmhero-root .mandant-switcher:hover{background:var(--accent)}.crmhero-root .mandant-switcher:focus-visible{box-shadow:var(--shadow-focus);border-color:var(--ring)}.crmhero-root .mandant-switcher[data-agency=true]{border-color:color-mix(in srgb,var(--primary) 45%,var(--border-strong));background:color-mix(in srgb,var(--primary) 6%,var(--surface))}.crmhero-root .mandant-switcher .ms-ava{width:30px;height:30px;border-radius:7px;flex:none;display:grid;place-items:center;color:#fff;font-size:var(--text-xs);font-weight:var(--weight-bold);background:var(--mc,var(--primary));box-shadow:inset 0 1px 0 rgba(255,255,255,.22)}.crmhero-root .mandant-switcher .ms-ava.agency{background:linear-gradient(160deg,var(--ch-primary-400),var(--ch-primary-600))}.crmhero-root .mandant-switcher .ms-body{min-width:0;flex:1}.crmhero-root .mandant-switcher .ms-name{font-size:var(--text-sm);font-weight:var(--weight-semibold);letter-spacing:var(--tracking-tight);line-height:1.25}.crmhero-root .mandant-switcher .ms-sub{font-size:11px;color:var(--muted-foreground);display:flex;align-items:center;gap:5px}.crmhero-root .mandant-switcher .ms-chev{color:var(--muted-foreground);flex:none}.crmhero-root .mandant-menu{position:absolute;z-index:60;left:var(--space-3);right:var(--space-3);top:calc(100% - var(--space-1));background:var(--popover);border:1px solid var(--border-strong);border-radius:var(--radius-lg);box-shadow:var(--shadow-lg);padding:var(--space-2);max-height:70vh;overflow:auto}.crmhero-root .menu-section{font-size:10px;font-weight:var(--weight-semibold);letter-spacing:var(--tracking-caps);text-transform:uppercase;color:var(--muted-foreground);padding:var(--space-2) var(--space-2) var(--space-1)}.crmhero-root .menu-item{width:100%;display:flex;align-items:center;gap:var(--space-3);padding:var(--space-2);border-radius:var(--radius-md);text-align:left;transition:background .1s}.crmhero-root .menu-item:hover{background:var(--accent)}.crmhero-root .menu-item[data-active=true]{background:color-mix(in srgb,var(--primary) 10%,var(--surface))}.crmhero-root .menu-item .mi-ava{width:26px;height:26px;border-radius:6px;flex:none;display:grid;place-items:center;color:#fff;font-size:10px;font-weight:var(--weight-bold);background:var(--mc,var(--primary))}.crmhero-root .menu-item .mi-ava.agency{background:linear-gradient(160deg,var(--ch-primary-400),var(--ch-primary-600))}.crmhero-root .menu-item .mi-name{font-size:var(--text-sm);font-weight:var(--weight-medium)}.crmhero-root .menu-item .mi-meta{font-size:11px;color:var(--muted-foreground)}.crmhero-root .menu-item .mi-count{margin-left:auto;font-size:11px;font-weight:var(--weight-semibold);color:var(--subtle-foreground);background:var(--muted);border-radius:var(--radius-full);padding:1px 8px;font-variant-numeric:tabular-nums}.crmhero-root .menu-div{height:1px;background:var(--border);margin:var(--space-2) var(--space-1)}.crmhero-root .hitl-pill{display:inline-flex;align-items:center;gap:7px;height:28px;padding:0 var(--space-3);border-radius:var(--radius-full);font-size:var(--text-xs);font-weight:var(--weight-semibold);color:var(--primary);background:color-mix(in srgb,var(--primary) var(--tint-soft),var(--surface));border:1px solid color-mix(in srgb,var(--primary) 28%,transparent);white-space:nowrap}.crmhero-root .hitl-pill svg{width:14px;height:14px}.crmhero-root .level-strip{display:flex;align-items:center;gap:var(--space-3);padding:var(--space-3) var(--space-4);border-radius:var(--radius-md);background:color-mix(in srgb,var(--primary) 7%,var(--surface));border:1px solid color-mix(in srgb,var(--primary) 22%,transparent);margin-bottom:var(--space-5)}.crmhero-root .level-strip .ls-icon{color:var(--primary);flex:none}.crmhero-root .level-strip .ls-text{font-size:var(--text-sm);color:var(--subtle-foreground)}.crmhero-root .level-strip .ls-text b{color:var(--foreground);font-weight:var(--weight-semibold)}.crmhero-root .m-chip{display:inline-flex;align-items:center;gap:7px;min-width:0}.crmhero-root .m-chip .m-ava{width:20px;height:20px;border-radius:5px;flex:none;display:grid;place-items:center;color:#fff;font-size:9px;font-weight:var(--weight-bold);background:var(--mc,var(--muted-foreground))}.crmhero-root .m-chip .m-ava.lg{width:26px;height:26px;font-size:11px;border-radius:6px}.crmhero-root .m-chip .m-name{font-size:var(--text-sm);font-weight:var(--weight-semibold);color:var(--foreground);white-space:nowrap}.crmhero-root .m-chip .m-name.truncate{min-width:0}.crmhero-root .m-badge{display:inline-flex;align-items:center;gap:6px;height:22px;padding:0 9px 0 7px;border-radius:var(--radius-full);font-size:var(--text-xs);font-weight:var(--weight-semibold);color:var(--subtle-foreground);background:color-mix(in srgb,var(--mc) var(--tint-soft),var(--surface));border:1px solid color-mix(in srgb,var(--mc) 26%,transparent);white-space:nowrap}.crmhero-root .m-badge .m-pt{width:7px;height:7px;border-radius:var(--radius-full);background:var(--mc);flex:none}.crmhero-root .kpi-card .card-body{padding:var(--space-4)}.crmhero-root .kpi-top{display:flex;align-items:center;justify-content:space-between;gap:var(--space-2)}.crmhero-root .kpi-icon{width:32px;height:32px;border-radius:var(--radius-md);display:grid;place-items:center;flex:none;color:var(--c,var(--primary));background:color-mix(in srgb,var(--c,var(--primary)) var(--tint-soft),var(--surface));border:1px solid color-mix(in srgb,var(--c,var(--primary)) 20%,transparent)}.crmhero-root .kpi-icon svg{width:17px;height:17px}.crmhero-root .kpi-label{font-size:var(--text-xs);color:var(--muted-foreground);font-weight:var(--weight-medium)}.crmhero-root .kpi-value{font-family:var(--font-mono);font-size:var(--text-4xl);font-weight:var(--weight-semibold);letter-spacing:-.02em;line-height:1.05;margin-top:var(--space-3)}.crmhero-root .kpi-foot{display:flex;align-items:center;gap:6px;margin-top:var(--space-2);font-size:var(--text-xs);color:var(--muted-foreground)}.crmhero-root .kpi-trend{display:inline-flex;align-items:center;gap:3px;font-weight:var(--weight-semibold)}.crmhero-root .kpi-trend svg{width:12px;height:12px}.crmhero-root .kpi-trend.up{color:var(--success)}.crmhero-root .kpi-trend.down{color:var(--danger)}.crmhero-root .kpi-trend.warn{color:var(--warning)}.crmhero-root .kpi-trend.flat{color:var(--muted-foreground)}.crmhero-root .spark{display:flex;align-items:flex-end;gap:2px;height:18px}.crmhero-root .spark i{width:3px;border-radius:1px;background:color-mix(in srgb,var(--c,var(--primary)) 35%,var(--muted));flex:none}.crmhero-root .spark i.on{background:var(--c,var(--primary))}.crmhero-root .home-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-5);align-items:start}.crmhero-root .list-flush{padding:0!important}.crmhero-root .lrow{display:flex;align-items:center;gap:var(--space-3);padding:var(--space-3) var(--space-4);border-bottom:1px solid var(--border);transition:background .1s;cursor:pointer}.crmhero-root .lrow:last-child{border-bottom:0}.crmhero-root .lrow:hover{background:var(--accent)}.crmhero-root .lrow .lr-main{min-width:0;flex:1}.crmhero-root .lrow .lr-title{font-size:var(--text-sm);font-weight:var(--weight-semibold);color:var(--foreground)}.crmhero-root .lrow .lr-sub{font-size:var(--text-xs);color:var(--muted-foreground);margin-top:2px;display:flex;align-items:center;gap:7px;flex-wrap:wrap}.crmhero-root .lrow .lr-right{flex:none;display:flex;align-items:center;gap:var(--space-3)}.crmhero-root .lr-time{font-size:var(--text-xs);color:var(--muted-foreground);font-variant-numeric:tabular-nums;white-space:nowrap}.crmhero-root .card-foot-link{padding:var(--space-2) var(--space-3);border-top:1px solid var(--border);display:flex}.crmhero-root .card-foot-link .btn{width:100%;justify-content:space-between}.crmhero-root .wait{display:inline-flex;align-items:center;gap:5px;font-size:var(--text-xs);font-weight:var(--weight-medium);color:var(--muted-foreground);font-variant-numeric:tabular-nums}.crmhero-root .wait svg{width:12px;height:12px}.crmhero-root .wait.warn{color:var(--warning);font-weight:var(--weight-semibold)}.crmhero-root .progress{height:6px;border-radius:var(--radius-full);background:var(--muted);overflow:hidden}.crmhero-root .progress>span{display:block;height:100%;border-radius:var(--radius-full);background:var(--primary)}.crmhero-root .progress.warn>span{background:var(--warning)}.crmhero-root .avatar-stack{display:flex;align-items:center}.crmhero-root .avatar-stack .avatar{width:24px;height:24px;font-size:9px;border:2px solid var(--surface);margin-left:-7px}.crmhero-root .avatar-stack .avatar:first-child{margin-left:0}.crmhero-root .avatar-stack .more{width:24px;height:24px;margin-left:-7px;border:2px solid var(--surface);background:var(--muted);color:var(--subtle-foreground);display:grid;place-items:center;font-size:9px}.crmhero-root .avatar-stack .more,.crmhero-root .num-pill{border-radius:var(--radius-full);font-weight:var(--weight-semibold)}.crmhero-root .num-pill{display:inline-grid;place-items:center;min-width:26px;height:22px;padding:0 7px;font-size:var(--text-xs);font-variant-numeric:tabular-nums;background:var(--muted);color:var(--subtle-foreground)}.crmhero-root .num-pill.warn{background:color-mix(in srgb,var(--warning) var(--tint-medium),var(--surface));color:var(--warning)}.crmhero-root .num-pill.zero{color:var(--muted-foreground);background:transparent}.crmhero-root .table tbody tr.click-row{cursor:pointer}.crmhero-root .table .cell-arrow{color:var(--muted-foreground)}.crmhero-root .table tbody tr.click-row:hover .cell-arrow{color:var(--primary)}.crmhero-root .mail-split{display:grid;grid-template-columns:clamp(300px,var(--mail-list-w,360px),560px) auto minmax(0,1fr);gap:var(--space-2);align-items:start;height:100%;min-height:0}.crmhero-root .mail-split[data-reading-collapsed]{grid-template-columns:minmax(0,1fr)}.crmhero-root .mail-split[data-dragging]{-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:col-resize}.crmhero-root .mail-resizer{position:relative;align-self:stretch;width:7px;display:flex;align-items:center;justify-content:center;cursor:col-resize;touch-action:none}.crmhero-root .mail-resizer:before{content:"";position:absolute;inset:0 -5px}.crmhero-root .mail-resizer-grip{width:2px;height:28px;border-radius:var(--radius-full);background:var(--border);transition:background .12s,height .12s}.crmhero-root .mail-resizer:hover .mail-resizer-grip,.crmhero-root .mail-split[data-dragging] .mail-resizer-grip{background:var(--primary);height:46px}.crmhero-root .mail-resizer:focus-visible{outline:none}.crmhero-root .mail-resizer:focus-visible .mail-resizer-grip{background:var(--primary);height:46px;box-shadow:0 0 0 3px color-mix(in srgb,var(--primary) 30%,transparent)}.crmhero-root .mail-split[data-density=compact] .mli-body{padding-top:var(--space-2);padding-bottom:var(--space-2)}.crmhero-root .mail-split[data-density=compact] .mli-subj{margin-top:1px}.crmhero-root .mail-split[data-density=compact] .mli-meta{margin-top:5px}.crmhero-root .layout-controls{margin-left:auto;display:inline-flex;align-items:center;gap:var(--space-2)}@media (max-width:920px){.crmhero-root .mail-split,.crmhero-root .mail-split[data-reading-collapsed]{grid-template-columns:minmax(0,1fr);height:auto}.crmhero-root .mail-resizer{display:none}.crmhero-root .mail-split .mail-list-card{height:auto;max-height:60vh}.crmhero-root .mail-split .mail-detail{height:auto}}.crmhero-root .mail-list-card{display:flex;flex-direction:column;min-height:0;height:100%}.crmhero-root .mail-list-scroll{overflow-y:auto;overflow-x:hidden;min-height:0;flex:1}.crmhero-root .mail-listbox{outline:none}.crmhero-root .mail-listbox:focus-visible .mli[data-selected=true]{box-shadow:inset 0 0 0 2px var(--ring)}.crmhero-root .mail-list-head{padding:var(--space-3) var(--space-4);border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;gap:var(--space-2);flex:none}.crmhero-root .mli{display:grid;grid-template-columns:4px 1fr;gap:0;border-bottom:1px solid var(--border);cursor:pointer;transition:background .1s}.crmhero-root .mli:hover{background:var(--accent)}.crmhero-root .mli .mli-rail{background:transparent}.crmhero-root .mli[data-selected=true]{background:color-mix(in srgb,var(--primary) 8%,var(--surface))}.crmhero-root .mli[data-selected=true] .mli-rail{background:var(--primary)}.crmhero-root .mli-body{padding:var(--space-3) var(--space-4) var(--space-3) var(--space-3);min-width:0}.crmhero-root .mli-l1{display:flex;align-items:center;gap:var(--space-2)}.crmhero-root .mli-sender{font-size:var(--text-sm);color:var(--foreground);min-width:0}.crmhero-root .mli[data-unread=true] .mli-sender{font-weight:var(--weight-semibold)}.crmhero-root .mli-unread-dot{width:7px;height:7px;border-radius:var(--radius-full);background:var(--info);flex:none}.crmhero-root .mli-time{margin-left:auto;font-size:11px;color:var(--muted-foreground);flex:none;font-variant-numeric:tabular-nums}.crmhero-root .mli-subj{font-size:var(--text-sm);color:var(--subtle-foreground);margin-top:2px}.crmhero-root .mli[data-unread=true] .mli-subj{font-weight:var(--weight-semibold);color:var(--foreground)}.crmhero-root .mli-snip{font-size:var(--text-xs);color:var(--muted-foreground);margin-top:2px;line-height:1.45}.crmhero-root .mli-meta{display:flex;align-items:center;gap:6px;margin-top:var(--space-2);flex-wrap:wrap}.crmhero-root .ki-hint{display:inline-flex;align-items:center;gap:4px;font-size:11px;font-weight:var(--weight-semibold);color:var(--primary)}.crmhero-root .ki-hint svg{width:12px;height:12px}.crmhero-root .conf{display:inline-flex;align-items:center;gap:4px;font-size:11px;color:var(--muted-foreground);font-weight:var(--weight-medium)}.crmhero-root .conf-bar{width:34px;height:5px;border-radius:var(--radius-full);background:var(--muted);overflow:hidden}.crmhero-root .conf-bar>span{display:block;height:100%;background:var(--primary);border-radius:var(--radius-full)}.crmhero-root .conf-bar.mid>span{background:var(--warning)}.crmhero-root .conf-bar.low>span{background:var(--muted-foreground)}.crmhero-root .frist-chip{display:inline-flex;align-items:center;gap:5px;height:20px;padding:0 8px;border-radius:var(--radius-full);font-size:11px;font-weight:var(--weight-semibold);color:var(--warning);background:color-mix(in srgb,var(--warning) var(--tint-soft),var(--surface));border:1px solid color-mix(in srgb,var(--warning) 26%,transparent);white-space:nowrap}.crmhero-root .frist-chip svg{width:11px;height:11px}.crmhero-root .frist-chip.soon{color:var(--danger);background:color-mix(in srgb,var(--danger) var(--tint-soft),var(--surface));border-color:color-mix(in srgb,var(--danger) 26%,transparent)}.crmhero-root .mail-detail{display:flex;flex-direction:column;min-height:0;height:100%;overflow:hidden}.crmhero-root .md-scroll{overflow-y:auto;overflow-x:hidden;min-height:0;flex:1}.crmhero-root .md-head{padding:var(--space-5);border-bottom:1px solid var(--border);flex:none}.crmhero-root .md-subject{font-size:var(--text-xl);font-weight:var(--weight-semibold);letter-spacing:var(--tracking-tight);line-height:var(--leading-snug)}.crmhero-root .md-addr{display:flex;align-items:center;gap:var(--space-3);margin-top:var(--space-3)}.crmhero-root .md-addr .md-who{min-width:0}.crmhero-root .md-addr .md-from{font-size:var(--text-sm);font-weight:var(--weight-semibold)}.crmhero-root .md-addr .md-to{font-size:var(--text-xs);color:var(--muted-foreground)}.crmhero-root .md-addr .md-mail{font-family:var(--font-mono);font-size:11px;color:var(--muted-foreground)}.crmhero-root .thread{padding:var(--space-5);display:flex;flex-direction:column;gap:var(--space-4)}.crmhero-root .msg{border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface);overflow:hidden}.crmhero-root .msg.collapsed{background:var(--surface-2)}.crmhero-root .msg-head{display:flex;align-items:center;gap:var(--space-3);padding:var(--space-3) var(--space-4);cursor:pointer}.crmhero-root .msg-head .msg-from{font-size:var(--text-sm);font-weight:var(--weight-semibold)}.crmhero-root .msg-head .msg-time{margin-left:auto;font-size:var(--text-xs);color:var(--muted-foreground);font-variant-numeric:tabular-nums}.crmhero-root .msg-body{padding:0 var(--space-4) var(--space-4);font-size:var(--text-sm);color:var(--subtle-foreground);line-height:var(--leading-normal)}.crmhero-root .msg-body p{margin-bottom:var(--space-3)}.crmhero-root .msg-body p:last-child{margin-bottom:0}.crmhero-root .msg-collapsed-preview{padding:0 var(--space-4) var(--space-3);font-size:var(--text-xs);color:var(--muted-foreground)}.crmhero-root .attach-row{display:flex;align-items:center;gap:var(--space-2);flex-wrap:wrap;padding:var(--space-3) var(--space-4);border-top:1px solid var(--border)}.crmhero-root .attach{display:inline-flex;align-items:center;gap:7px;height:30px;padding:0 10px;border-radius:var(--radius-md);border:1px solid var(--border);background:var(--surface-2);font-size:var(--text-xs);font-weight:var(--weight-medium)}.crmhero-root .attach svg{width:14px;height:14px;color:var(--muted-foreground)}.crmhero-root .attach .att-size{color:var(--muted-foreground);font-variant-numeric:tabular-nums}.crmhero-root .ai-panel{margin:var(--space-5);border:1px solid color-mix(in srgb,var(--primary) 32%,transparent);border-radius:var(--radius-lg);background:color-mix(in srgb,var(--primary) var(--tint-soft),var(--surface));overflow:hidden}.crmhero-root .ai-head{display:flex;align-items:center;gap:var(--space-3);padding:var(--space-3) var(--space-4);border-bottom:1px solid color-mix(in srgb,var(--primary) 20%,transparent)}.crmhero-root .ai-head .ai-mark{width:26px;height:26px;border-radius:7px;display:grid;place-items:center;color:#fff;background:linear-gradient(160deg,var(--ch-primary-400),var(--ch-primary-600));flex:none}.crmhero-root .ai-head .ai-mark svg{width:15px;height:15px}.crmhero-root .ai-head .ai-title{font-size:var(--text-sm);font-weight:var(--weight-bold);letter-spacing:var(--tracking-tight)}.crmhero-root .ai-head .ai-model{font-size:11px;color:var(--muted-foreground);font-family:var(--font-mono)}.crmhero-root .ai-conf{margin-left:auto;text-align:right;flex:none}.crmhero-root .ai-conf .acv{font-size:var(--text-sm);font-weight:var(--weight-bold);font-family:var(--font-mono);color:var(--primary)}.crmhero-root .ai-conf .acl{font-size:10px;color:var(--muted-foreground);text-transform:uppercase;letter-spacing:var(--tracking-wide)}.crmhero-root .ai-body{padding:var(--space-4);display:flex;flex-direction:column;gap:var(--space-4);background:var(--surface)}.crmhero-root .ai-block .ai-bl{font-size:10px;font-weight:var(--weight-semibold);letter-spacing:var(--tracking-caps);text-transform:uppercase;color:var(--muted-foreground);margin-bottom:var(--space-2);display:flex;align-items:center;gap:6px}.crmhero-root .ai-block .ai-bl svg{width:12px;height:12px}.crmhero-root .ai-reason,.crmhero-root .ai-summary{font-size:var(--text-sm);color:var(--subtle-foreground);line-height:var(--leading-normal)}.crmhero-root .ai-summary--empty{color:var(--muted-foreground);font-style:italic}.crmhero-root .ai-chips{display:flex;flex-direction:column;gap:var(--space-2)}.crmhero-root .ai-date-chip{display:flex;align-items:center;gap:var(--space-3);padding:var(--space-2) var(--space-3);border-radius:var(--radius-md);border:1px solid var(--border);background:var(--surface-2)}.crmhero-root .ai-date-chip .adc-cal{width:34px;flex:none;text-align:center}.crmhero-root .ai-date-chip .adc-dd{font-size:var(--text-lg);font-weight:var(--weight-bold);line-height:1;font-variant-numeric:tabular-nums}.crmhero-root .ai-date-chip .adc-mm{font-size:10px;text-transform:uppercase;color:var(--muted-foreground)}.crmhero-root .ai-date-chip .adc-title{font-size:var(--text-sm);font-weight:var(--weight-medium)}.crmhero-root .ai-date-chip .adc-sub{font-size:var(--text-xs);color:var(--muted-foreground)}.crmhero-root .ai-date-chip--action{flex-direction:column;align-items:stretch;gap:var(--space-2)}.crmhero-root .ai-date-chip--action .adc-actions{display:flex;align-items:center;gap:var(--space-2);flex-wrap:wrap;padding-top:var(--space-2);border-top:1px solid var(--border)}.crmhero-root .ai-mood{display:flex;gap:var(--space-2);flex-wrap:wrap}.crmhero-root .mood-tag{display:inline-flex;align-items:center;gap:6px;height:26px;padding:0 10px;border-radius:var(--radius-md);font-size:var(--text-xs);font-weight:var(--weight-semibold);border:1px solid var(--border);background:var(--surface-2);color:var(--subtle-foreground)}.crmhero-root .mood-tag svg{width:13px;height:13px}.crmhero-root .mood-tag .mt-dot{width:8px;height:8px;border-radius:var(--radius-full);background:var(--c,var(--muted-foreground))}.crmhero-root .md-actions{flex:none;padding:var(--space-3) var(--space-5);border-top:1px solid var(--border);background:var(--surface);display:flex;align-items:center;gap:var(--space-2);flex-wrap:wrap}.crmhero-root .md-actions .hitl-inline{font-size:var(--text-xs);color:var(--muted-foreground);display:inline-flex;align-items:center;gap:6px}.crmhero-root .md-actions .hitl-inline svg{width:13px;height:13px;color:var(--primary)}.crmhero-root .review-grid{display:grid;grid-template-columns:minmax(320px,.82fr) minmax(0,1.18fr) 260px;gap:var(--space-5);align-items:start}@media (max-width:1280px){.crmhero-root .review-grid{grid-template-columns:minmax(300px,1fr) minmax(0,1.2fr)}.crmhero-root .review-grid .audit-col{grid-column:1/-1}}.crmhero-root .hitl-banner{display:flex;align-items:center;gap:var(--space-3);padding:var(--space-4) var(--space-5);border-radius:var(--radius-lg);border:1px solid color-mix(in srgb,var(--warning) 40%,transparent);background:color-mix(in srgb,var(--warning) var(--tint-soft),var(--surface));margin-bottom:var(--space-5)}.crmhero-root .hitl-banner .hb-icon{width:36px;height:36px;border-radius:var(--radius-md);display:grid;place-items:center;flex:none;color:var(--warning);background:color-mix(in srgb,var(--warning) var(--tint-medium),var(--surface))}.crmhero-root .hitl-banner .hb-title{font-size:var(--text-sm);font-weight:var(--weight-bold)}.crmhero-root .hitl-banner .hb-text{font-size:var(--text-sm);color:var(--subtle-foreground);margin-top:1px}.crmhero-root .hitl-banner.sent{border-color:color-mix(in srgb,var(--success) 40%,transparent);background:color-mix(in srgb,var(--success) var(--tint-soft),var(--surface))}.crmhero-root .hitl-banner.sent .hb-icon{color:var(--success);background:color-mix(in srgb,var(--success) var(--tint-medium),var(--surface))}.crmhero-root .hitl-banner.err{border-color:color-mix(in srgb,var(--danger) 40%,transparent);background:color-mix(in srgb,var(--danger) var(--tint-soft),var(--surface))}.crmhero-root .hitl-banner.err .hb-icon{color:var(--danger);background:color-mix(in srgb,var(--danger) var(--tint-medium),var(--surface))}.crmhero-root .hitl-banner.rejected .hb-icon{color:var(--muted-foreground);background:var(--muted)}.crmhero-root .hitl-banner.rejected{border-color:var(--border-strong);background:var(--surface-2)}.crmhero-root .ctx-quote{border-left:3px solid var(--cat-anfrage);padding:var(--space-3) var(--space-4);background:var(--surface-2);border-radius:0 var(--radius-md) var(--radius-md) 0;font-size:var(--text-sm);color:var(--subtle-foreground);line-height:var(--leading-normal)}.crmhero-root .ctx-meta-row{display:flex;align-items:center;gap:var(--space-2);padding:var(--space-2) 0;border-bottom:1px solid var(--border);font-size:var(--text-sm)}.crmhero-root .ctx-meta-row:last-child{border-bottom:0}.crmhero-root .ctx-meta-row .cm-key{width:84px;flex:none;color:var(--muted-foreground);font-size:var(--text-xs)}.crmhero-root .ctx-info{display:flex;flex-direction:column;gap:var(--space-2)}.crmhero-root .ctx-info-item{display:flex;gap:var(--space-3);align-items:flex-start}.crmhero-root .ctx-info-item .cii-ic{width:28px;height:28px;border-radius:var(--radius-md);background:var(--muted);color:var(--subtle-foreground);display:grid;place-items:center;flex:none}.crmhero-root .ctx-info-item .cii-ic svg{width:15px;height:15px}.crmhero-root .ctx-info-item .cii-k{font-size:var(--text-xs);color:var(--muted-foreground)}.crmhero-root .ctx-info-item .cii-v{font-size:var(--text-sm);font-weight:var(--weight-medium)}.crmhero-root .draft-card{display:flex;flex-direction:column}.crmhero-root .draft-banner{display:flex;align-items:center;gap:var(--space-3);padding:var(--space-3) var(--space-5);border-bottom:1px solid color-mix(in srgb,var(--primary) 22%,transparent);background:color-mix(in srgb,var(--primary) var(--tint-soft),var(--surface))}.crmhero-root .draft-banner .db-mark{width:28px;height:28px;border-radius:7px;display:grid;place-items:center;color:#fff;background:linear-gradient(160deg,var(--ch-primary-400),var(--ch-primary-600));flex:none}.crmhero-root .draft-banner .db-mark svg{width:16px;height:16px}.crmhero-root .draft-banner .db-title{font-size:var(--text-sm);font-weight:var(--weight-bold)}.crmhero-root .draft-banner .db-model{font-size:11px;color:var(--muted-foreground);font-family:var(--font-mono)}.crmhero-root .draft-banner .db-ver{margin-left:auto}.crmhero-root .ver-chip{display:inline-flex;align-items:center;gap:6px;height:24px;padding:0 10px;border-radius:var(--radius-full);font-size:var(--text-xs);font-weight:var(--weight-semibold);font-family:var(--font-mono);color:var(--subtle-foreground);background:var(--surface);border:1px solid var(--border-strong)}.crmhero-root .ver-chip svg{width:12px;height:12px}.crmhero-root .draft-fields{padding:var(--space-4) var(--space-5);display:flex;flex-direction:column;gap:0}.crmhero-root .draft-line{display:flex;align-items:center;gap:var(--space-3);padding:var(--space-3) 0;border-bottom:1px solid var(--border)}.crmhero-root .draft-line .dl-key{width:78px;flex:none;font-size:var(--text-xs);color:var(--muted-foreground);font-weight:var(--weight-medium)}.crmhero-root .draft-line .dl-val{flex:1;font-size:var(--text-sm)}.crmhero-root .draft-line .dl-val.editable{border:1px solid transparent;border-radius:var(--radius-sm);padding:4px 8px;margin:-4px -8px;transition:border-color .12s,background .12s}.crmhero-root .draft-line.editing .dl-val.editable{border-color:var(--input);background:var(--surface)}.crmhero-root .draft-line.editing .dl-val.editable:focus{border-color:var(--ring);box-shadow:var(--shadow-focus);outline:none}.crmhero-root .draft-body-wrap{padding:var(--space-4) var(--space-5) var(--space-5)}.crmhero-root .draft-body{font-size:var(--text-base);line-height:1.65;color:var(--foreground);white-space:pre-wrap;border:1px solid transparent;border-radius:var(--radius-md);padding:var(--space-3);margin:calc(-1 * var(--space-3))}.crmhero-root .draft-body.editing{border-color:var(--input);background:var(--surface)}.crmhero-root .draft-body.editing:focus{border-color:var(--ring);box-shadow:var(--shadow-focus);outline:none}.crmhero-root .draft-sig{margin-top:var(--space-5);padding-top:var(--space-4);border-top:1px solid var(--border);font-size:var(--text-sm);color:var(--subtle-foreground);line-height:1.6;white-space:pre-wrap}.crmhero-root .edit-hint{display:flex;align-items:center;gap:7px;margin-top:var(--space-3);font-size:var(--text-xs);color:var(--muted-foreground)}.crmhero-root .edit-hint svg{width:13px;height:13px;color:var(--primary);flex:none}.crmhero-root .action-bar{display:flex;align-items:center;gap:var(--space-2);padding:var(--space-4) var(--space-5);border-top:1px solid var(--border);background:var(--surface);flex-wrap:wrap;border-radius:0 0 var(--radius-lg) var(--radius-lg)}.crmhero-root .action-bar .ab-spacer{flex:1}.crmhero-root .action-bar.disabled{opacity:.55;pointer-events:none}.crmhero-root .audit-timeline{position:relative;padding-left:var(--space-2)}.crmhero-root .audit-item{position:relative;padding:0 0 var(--space-5) var(--space-6)}.crmhero-root .audit-item:before{content:"";position:absolute;left:6px;top:16px;bottom:-4px;width:1.5px;background:var(--border)}.crmhero-root .audit-item:last-child{padding-bottom:0}.crmhero-root .audit-item:last-child:before{display:none}.crmhero-root .audit-dot{position:absolute;left:0;top:3px;width:13px;height:13px;border-radius:var(--radius-full);border:2px solid var(--surface);background:var(--muted-foreground);box-shadow:0 0 0 1px var(--border)}.crmhero-root .audit-dot.create{background:var(--primary)}.crmhero-root .audit-dot.edit{background:var(--warning)}.crmhero-root .audit-dot.approve{background:var(--success)}.crmhero-root .audit-dot.send{background:var(--info)}.crmhero-root .audit-dot.reject{background:var(--danger)}.crmhero-root .audit-item .au-line{font-size:var(--text-sm)}.crmhero-root .audit-item .au-line b{font-weight:var(--weight-semibold)}.crmhero-root .audit-item .au-meta{font-size:var(--text-xs);color:var(--muted-foreground);margin-top:2px;display:flex;align-items:center;gap:6px;font-variant-numeric:tabular-nums}.crmhero-root .audit-item .au-ver{font-family:var(--font-mono);font-size:10px;font-weight:var(--weight-semibold);color:var(--subtle-foreground);background:var(--muted);border-radius:var(--radius-sm);padding:1px 6px}.crmhero-root .four-eyes{display:flex;align-items:center;gap:var(--space-2);padding:var(--space-3);border-radius:var(--radius-md);background:color-mix(in srgb,var(--success) var(--tint-soft),var(--surface));border:1px solid color-mix(in srgb,var(--success) 24%,transparent);margin-bottom:var(--space-4)}.crmhero-root .four-eyes svg{width:16px;height:16px;color:var(--success);flex:none}.crmhero-root .four-eyes .fe-text{font-size:var(--text-xs);color:var(--subtle-foreground)}.crmhero-root .four-eyes .fe-text b{color:var(--foreground);font-weight:var(--weight-semibold)}.crmhero-root .diff{font-size:var(--text-sm);line-height:1.6;border:1px solid var(--border);border-radius:var(--radius-md);overflow:hidden}.crmhero-root .diff-line{display:flex;gap:var(--space-2);padding:2px var(--space-3)}.crmhero-root .diff-line .df-sign{width:12px;flex:none;font-family:var(--font-mono);font-weight:var(--weight-bold);text-align:center}.crmhero-root .diff-line.add{background:color-mix(in srgb,var(--success) var(--tint-soft),var(--surface));color:var(--success)}.crmhero-root .diff-line.add .df-sign{color:var(--success)}.crmhero-root .diff-line.del{background:color-mix(in srgb,var(--danger) var(--tint-soft),var(--surface));color:var(--danger);text-decoration:line-through;text-decoration-color:color-mix(in srgb,var(--danger) 50%,transparent)}.crmhero-root .diff-line.del .df-sign{color:var(--danger)}.crmhero-root .diff-line.ctx{color:var(--subtle-foreground)}.crmhero-root .diff-line .df-text{min-width:0}.crmhero-root .modal-overlay{position:absolute;inset:0;z-index:80;background:color-mix(in srgb,var(--ch-neutral-950) 55%,transparent);backdrop-filter:blur(2px);display:grid;place-items:center;padding:var(--space-6)}.crmhero-root .modal{width:100%;max-width:480px;background:var(--popover);border:1px solid var(--border-strong);border-radius:var(--radius-xl);box-shadow:var(--shadow-lg);overflow:hidden}.crmhero-root .modal-head{padding:var(--space-5) var(--space-5) var(--space-3)}.crmhero-root .modal-head .mh-ic{width:40px;height:40px;border-radius:var(--radius-md);display:grid;place-items:center;margin-bottom:var(--space-3);color:var(--primary);background:color-mix(in srgb,var(--primary) var(--tint-soft),var(--surface));border:1px solid color-mix(in srgb,var(--primary) 22%,transparent)}.crmhero-root .modal-title{font-size:var(--text-lg);font-weight:var(--weight-bold);letter-spacing:var(--tracking-tight)}.crmhero-root .modal-text{font-size:var(--text-sm);color:var(--subtle-foreground);margin-top:var(--space-2);line-height:var(--leading-normal)}.crmhero-root .modal-body{padding:0 var(--space-5) var(--space-4)}.crmhero-root .summary-box{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface-2);padding:var(--space-3) var(--space-4)}.crmhero-root .summary-row{display:flex;gap:var(--space-3);padding:var(--space-2) 0;border-bottom:1px dashed var(--border);font-size:var(--text-sm)}.crmhero-root .summary-row:last-child{border-bottom:0}.crmhero-root .summary-row .sr-k{width:86px;flex:none;color:var(--muted-foreground);font-size:var(--text-xs)}.crmhero-root .summary-row .sr-v{font-weight:var(--weight-medium);min-width:0}.crmhero-root .modal-foot{padding:var(--space-4) var(--space-5);border-top:1px solid var(--border);display:flex;gap:var(--space-2);background:var(--surface-2)}.crmhero-root .modal-foot .btn{flex:1}.crmhero-root .btn .mini-spin{width:14px;height:14px;border-radius:var(--radius-full);border:2px solid color-mix(in srgb,currentColor 35%,transparent);border-top-color:currentcolor;animation:ds-spin .7s linear infinite}.crmhero-root .toast{position:absolute;bottom:var(--space-5);left:50%;transform:translateX(-50%);z-index:90;align-items:center;background:var(--ch-neutral-900);color:#fff;font-size:var(--text-sm)}.crmhero-root .toast svg{width:16px;height:16px;color:var(--ch-primary-300)}.crmhero-root .mini-head{font-size:10px;font-weight:var(--weight-semibold);letter-spacing:var(--tracking-caps);text-transform:uppercase;color:var(--muted-foreground);margin-bottom:var(--space-2);display:flex;align-items:center;gap:6px}.crmhero-root .mini-head svg{width:12px;height:12px}.crmhero-root .tabs{display:flex;gap:var(--space-1);border-bottom:1px solid var(--border);margin-bottom:var(--space-5)}.crmhero-root .tabs button{height:36px;padding:0 var(--space-3);font-size:var(--text-sm);font-weight:var(--weight-medium);color:var(--muted-foreground);border-bottom:2px solid transparent;margin-bottom:-1px;transition:color .12s,border-color .12s;display:inline-flex;align-items:center;gap:7px}.crmhero-root .tabs button:hover{color:var(--foreground)}.crmhero-root .tabs button[data-active=true]{color:var(--primary);border-bottom-color:var(--primary);font-weight:var(--weight-semibold)}.crmhero-root .tabs button .tab-count{font-size:11px;background:var(--muted);border-radius:var(--radius-full);padding:0 6px;font-variant-numeric:tabular-nums}.crmhero-root .card .state-wrap{padding:var(--space-12) var(--space-6)}.crmhero-root .content::-webkit-scrollbar,.crmhero-root .mail-list-scroll::-webkit-scrollbar,.crmhero-root .mandant-menu::-webkit-scrollbar,.crmhero-root .md-scroll::-webkit-scrollbar{width:10px;height:10px}.crmhero-root .content::-webkit-scrollbar-thumb,.crmhero-root .mail-list-scroll::-webkit-scrollbar-thumb,.crmhero-root .mandant-menu::-webkit-scrollbar-thumb,.crmhero-root .md-scroll::-webkit-scrollbar-thumb{background:var(--border-strong);border-radius:99px;border:3px solid var(--surface)}.crmhero-root .content::-webkit-scrollbar-thumb{border-color:var(--background)}.crmhero-root{--role-owner:hsl(38.9 86% 42.2%);--role-admin:hsl(254 56.1% 58%);--role-agent:hsl(210.9 58.4% 44.3%);--role-viewer:hsl(213.1 11.9% 47.6%)}.crmhero-root.dark{--role-owner:hsl(39.8 72.8% 55.3%);--role-admin:hsl(254.4 66.7% 70.6%);--role-agent:hsl(210 63.2% 58.4%);--role-viewer:hsl(213.3 15.4% 65.7%)}.crmhero-root .role-badge{--c:var(--muted-foreground);display:inline-flex;align-items:center;gap:5px;height:22px;padding:0 9px 0 7px;border-radius:var(--radius-full);font-size:var(--text-xs);font-weight:var(--weight-semibold);line-height:1;white-space:nowrap;color:var(--c);background:color-mix(in srgb,var(--c) var(--tint-soft),var(--surface));border:1px solid color-mix(in srgb,var(--c) 26%,transparent)}.crmhero-root .role-badge .rb-dot{width:6px;height:6px;border-radius:var(--radius-full);background:var(--c);flex:none}.crmhero-root .role-badge.owner{--c:var(--role-owner)}.crmhero-root .role-badge.admin{--c:var(--role-admin)}.crmhero-root .role-badge.agent{--c:var(--role-agent)}.crmhero-root .role-badge.viewer{--c:var(--role-viewer)}.crmhero-root .member-cell{display:flex;align-items:center;gap:var(--space-3);min-width:0;max-width:360px}.crmhero-root .member-cell .mc-body{min-width:0}.crmhero-root .member-cell .mc-name{display:flex;align-items:center;gap:7px;font-size:var(--text-base);font-weight:var(--weight-semibold);color:var(--foreground);min-width:0}.crmhero-root .member-cell .mc-name .mc-text{min-width:0}.crmhero-root .member-cell .mc-email{font-size:var(--text-xs);color:var(--muted-foreground);font-family:var(--font-mono)}.crmhero-root .self-tag{display:inline-flex;align-items:center;height:17px;padding:0 6px;border-radius:var(--radius-sm);font-size:10px;font-weight:var(--weight-bold);letter-spacing:var(--tracking-wide);text-transform:uppercase;color:var(--primary);background:color-mix(in srgb,var(--primary) var(--tint-medium),var(--surface));flex:none}.crmhero-root .member-row[data-self=true]{background:color-mix(in srgb,var(--primary) 5%,var(--surface))}.crmhero-root .mc-count-wrap{position:relative;display:inline-flex}.crmhero-root .mc-count{display:inline-flex;align-items:center;gap:7px;height:26px;padding:0 10px 0 8px;border-radius:var(--radius-full);border:1px solid var(--border-strong);background:var(--surface);font-size:var(--text-sm);font-weight:var(--weight-medium);color:var(--subtle-foreground);cursor:default}.crmhero-root .mc-count svg{width:14px;height:14px;color:var(--muted-foreground)}.crmhero-root .mc-count.zero{color:var(--muted-foreground);border-style:dashed}.crmhero-root .mc-count .mcc-stack{display:flex;align-items:center}.crmhero-root .mc-count .mcc-stack .m-dot{width:16px;height:16px;border-radius:4px;margin-left:-5px;border:1.5px solid var(--surface);flex:none}.crmhero-root .mc-count .mcc-stack .m-dot:first-child{margin-left:0}.crmhero-root .mc-pop{position:absolute;left:0;top:calc(100% + 6px);z-index:60;min-width:220px;background:var(--popover);border:1px solid var(--border-strong);border-radius:var(--radius-lg);box-shadow:var(--shadow-lg);padding:var(--space-2);opacity:0;visibility:hidden;transform:translateY(-4px);transition:opacity .12s,transform .12s,visibility .12s}.crmhero-root .mc-count-wrap:hover .mc-pop{opacity:1;visibility:visible;transform:translateY(0)}.crmhero-root .mc-pop .mcp-head{font-size:10px;font-weight:var(--weight-semibold);letter-spacing:var(--tracking-caps);text-transform:uppercase;color:var(--muted-foreground);padding:var(--space-1) var(--space-2) var(--space-2)}.crmhero-root .mc-pop .mcp-item{display:flex;align-items:center;padding:var(--space-1) var(--space-2);border-radius:var(--radius-sm)}.crmhero-root .mc-pop .mcp-item:hover{background:var(--accent)}.crmhero-root .cell-actions{text-align:right;white-space:nowrap}.crmhero-root .row-menu-wrap{position:relative;display:inline-flex}.crmhero-root .row-menu{position:absolute;right:0;top:calc(100% + 4px);z-index:70;min-width:220px;background:var(--popover);border:1px solid var(--border-strong);border-radius:var(--radius-lg);box-shadow:var(--shadow-lg);padding:var(--space-1);text-align:left}.crmhero-root .row-menu .menu-cap{font-size:10px;font-weight:var(--weight-semibold);letter-spacing:var(--tracking-caps);text-transform:uppercase;color:var(--muted-foreground);padding:var(--space-2) var(--space-2) var(--space-1)}.crmhero-root .row-menu button{width:100%;display:flex;align-items:center;gap:8px;padding:var(--space-2);border-radius:var(--radius-sm);font-size:var(--text-sm);color:var(--foreground)}.crmhero-root .row-menu button svg{color:var(--muted-foreground);flex:none}.crmhero-root .row-menu button:hover{background:var(--accent)}.crmhero-root .row-menu button.danger,.crmhero-root .row-menu button.danger svg{color:var(--danger)}.crmhero-root .row-menu button.danger:hover{background:color-mix(in srgb,var(--danger) var(--tint-soft),var(--surface))}.crmhero-root .row-menu button:disabled{color:var(--muted-foreground);cursor:not-allowed}.crmhero-root .row-menu button:disabled svg{color:var(--muted-foreground)}.crmhero-root .with-tip{position:relative;display:inline-flex}.crmhero-root .with-tip .tip{position:absolute;bottom:calc(100% + 8px);right:0;z-index:80;width:220px;padding:var(--space-2) var(--space-3);border-radius:var(--radius-md);background:var(--ch-neutral-900);color:#fff;font-size:var(--text-xs);line-height:var(--leading-snug);box-shadow:var(--shadow-lg);opacity:0;visibility:hidden;transform:translateY(4px);transition:opacity .12s,transform .12s,visibility .12s;pointer-events:none}.crmhero-root .with-tip:hover .tip{opacity:1;visibility:visible;transform:translateY(0)}.crmhero-root .with-tip .tip:after{content:"";position:absolute;top:100%;right:14px;border:5px solid transparent;border-top:5px solid var(--ch-neutral-900)}.crmhero-root .invite-code{display:inline-flex;align-items:center;gap:7px}.crmhero-root .invite-code .ic-code{font-family:var(--font-mono);font-size:var(--text-sm);font-weight:var(--weight-medium);letter-spacing:.02em;color:var(--foreground)}.crmhero-root .invite-code .ic-copy{width:26px;height:26px;border-radius:var(--radius-sm);display:grid;place-items:center;color:var(--muted-foreground);border:1px solid var(--border);background:var(--surface);flex:none}.crmhero-root .invite-code .ic-copy:hover{background:var(--accent);color:var(--foreground)}.crmhero-root .uses-pill{font-family:var(--font-mono);font-size:var(--text-sm);font-variant-numeric:tabular-nums;color:var(--subtle-foreground)}.crmhero-root .uses-pill .up-max{color:var(--muted-foreground)}.crmhero-root .secret-note{display:flex;align-items:center;gap:8px;font-size:var(--text-xs);color:var(--subtle-foreground)}.crmhero-root .secret-note svg{width:14px;height:14px;color:var(--muted-foreground);flex:none}.crmhero-root .invite-result-ic{color:var(--success)!important;background:color-mix(in srgb,var(--success) var(--tint-soft),var(--surface))!important;border-color:color-mix(in srgb,var(--success) 22%,transparent)!important}.crmhero-root .link-box{border:1px solid color-mix(in srgb,var(--primary) 30%,transparent);border-radius:var(--radius-lg);background:color-mix(in srgb,var(--primary) var(--tint-soft),var(--surface));padding:var(--space-4)}.crmhero-root .link-box .lb-label{font-size:10px;font-weight:var(--weight-semibold);letter-spacing:var(--tracking-caps);text-transform:uppercase;color:var(--muted-foreground);margin-bottom:var(--space-2)}.crmhero-root .link-box .lb-code{font-family:var(--font-mono);font-size:var(--text-2xl);font-weight:var(--weight-semibold);letter-spacing:.06em;color:var(--foreground);text-align:center;padding:var(--space-3);background:var(--surface);border:1px dashed var(--border-strong);border-radius:var(--radius-md)}.crmhero-root .copy-field{display:flex;align-items:center;gap:var(--space-2);margin-top:var(--space-3)}.crmhero-root .copy-field .cf-url{flex:1;height:36px;display:flex;align-items:center;padding:0 var(--space-3);border:1px solid var(--input);border-radius:var(--radius-md);background:var(--surface);font-family:var(--font-mono);font-size:var(--text-xs);color:var(--subtle-foreground);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.crmhero-root .invite-summary{display:flex;gap:var(--space-4);flex-wrap:wrap;margin-top:var(--space-4);font-size:var(--text-sm)}.crmhero-root .invite-summary .is-item{display:flex;flex-direction:column;gap:2px}.crmhero-root .invite-summary .is-k{font-size:var(--text-xs);color:var(--muted-foreground)}.crmhero-root .ro-banner{display:flex;align-items:center;gap:var(--space-3);padding:var(--space-3) var(--space-4);border-radius:var(--radius-md);background:var(--surface-2);border:1px solid var(--border);margin-bottom:var(--space-5)}.crmhero-root .ro-banner .rb-ic{width:32px;height:32px;border-radius:var(--radius-md);display:grid;place-items:center;flex:none;color:var(--subtle-foreground);background:var(--muted)}.crmhero-root .ro-banner .rb-title{font-size:var(--text-sm);font-weight:var(--weight-semibold)}.crmhero-root .ro-banner .rb-text{font-size:var(--text-xs);color:var(--muted-foreground);margin-top:1px}.crmhero-root .actions-ro{opacity:.4;pointer-events:none}.crmhero-root .active-cell{font-size:var(--text-sm);color:var(--subtle-foreground);white-space:nowrap}.crmhero-root .modal--lg{max-width:560px}.crmhero-root .choice-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:var(--space-2)}.crmhero-root .choice{--c:var(--primary);display:inline-flex;align-items:center;gap:8px;height:38px;padding:0 var(--space-3);border-radius:var(--radius-md);border:1px solid var(--border-strong);background:var(--surface);font-size:var(--text-sm);font-weight:var(--weight-medium);color:var(--foreground);text-align:left}.crmhero-root .choice:hover{background:var(--accent)}.crmhero-root .choice[data-on=true]{border-color:color-mix(in srgb,var(--c) 55%,transparent);background:color-mix(in srgb,var(--c) var(--tint-soft),var(--surface));box-shadow:0 0 0 1px color-mix(in srgb,var(--c) 40%,transparent) inset}.crmhero-root .form-grid2{display:grid;grid-template-columns:repeat(2,1fr);gap:var(--space-3)}.crmhero-root .status-badge{--c:var(--muted-foreground);display:inline-flex;align-items:center;gap:6px;height:22px;padding:0 9px 0 8px;border-radius:var(--radius-full);font-size:var(--text-xs);font-weight:var(--weight-semibold);white-space:nowrap;color:var(--c);background:color-mix(in srgb,var(--c) var(--tint-soft),var(--surface));border:1px solid color-mix(in srgb,var(--c) 26%,transparent)}.crmhero-root .status-badge .sb-dot{width:7px;height:7px;border-radius:50%;background:var(--c);flex:none}.crmhero-root .status-badge[data-s=aktiv]{--c:var(--success)}.crmhero-root .status-badge[data-s=aktiv] .sb-dot{box-shadow:0 0 0 3px color-mix(in srgb,var(--success) 20%,transparent)}.crmhero-root .status-badge[data-s=ausstehend]{--c:var(--warning)}.crmhero-root .status-badge[data-s=ausstehend] .sb-dot{background:transparent;border:1.5px solid var(--c);width:8px;height:8px}.crmhero-root .status-badge[data-s=deaktiviert]{--c:var(--muted-foreground)}.crmhero-root .member-row[data-status=deaktiviert] td{opacity:.58;transition:opacity .12s}.crmhero-root .member-row[data-status=deaktiviert] td.cell-actions{opacity:1}.crmhero-root .member-row[data-status=deaktiviert]:hover td{opacity:.9}.crmhero-root .member-row[data-status=ausstehend] .mc-email{font-style:italic}.crmhero-root .plat-chip{display:inline-flex;align-items:center;gap:6px;height:22px;padding:0 9px;border-radius:var(--radius-sm);font-size:11px;font-weight:var(--weight-semibold);white-space:nowrap}.crmhero-root .plat-chip svg{width:12px;height:12px;flex:none}.crmhero-root .plat-chip[data-p=agency_admin]{color:var(--primary);background:color-mix(in srgb,var(--primary) var(--tint-soft),var(--surface));border:1px solid color-mix(in srgb,var(--primary) 24%,transparent)}.crmhero-root .plat-chip[data-p=staff]{color:var(--muted-foreground);background:var(--surface-2);border:1px solid var(--border)}.crmhero-root .role-picker{display:flex;flex-direction:column;gap:var(--space-2)}.crmhero-root .role-opt{display:flex;align-items:flex-start;gap:var(--space-3);padding:var(--space-3);border:1px solid var(--border-strong);border-radius:var(--radius-md);background:var(--surface);text-align:left;transition:border-color .12s,background .12s}.crmhero-root .role-opt:hover{background:var(--accent)}.crmhero-root .role-opt[data-on=true]{border-color:var(--primary);background:color-mix(in srgb,var(--primary) 6%,var(--surface));box-shadow:inset 0 0 0 1px var(--primary)}.crmhero-root .role-opt .ro-radio{width:18px;height:18px;border-radius:50%;border:2px solid var(--border-strong);flex:none;margin-top:1px;display:grid;place-items:center;transition:border-color .12s}.crmhero-root .role-opt[data-on=true] .ro-radio{border-color:var(--primary)}.crmhero-root .role-opt[data-on=true] .ro-radio:after{content:"";width:9px;height:9px;border-radius:50%;background:var(--primary)}.crmhero-root .role-opt .ro-info{min-width:0}.crmhero-root .role-opt .ro-name{font-size:var(--text-sm);font-weight:var(--weight-semibold);display:flex;align-items:center;gap:8px}.crmhero-root .role-opt .ro-desc{font-size:var(--text-xs);color:var(--muted-foreground);margin-top:2px;line-height:var(--leading-snug)}.crmhero-root .dialog-info{display:flex;align-items:flex-start;gap:8px;padding:var(--space-3) var(--space-4);border-radius:var(--radius-md);background:color-mix(in srgb,var(--primary) var(--tint-soft),var(--surface));border:1px solid color-mix(in srgb,var(--primary) 22%,transparent);font-size:var(--text-xs);color:var(--subtle-foreground);line-height:var(--leading-snug)}.crmhero-root .dialog-info svg{width:14px;height:14px;flex:none;margin-top:1px;color:var(--primary)}.crmhero-root .dialog-info b{color:var(--foreground);font-weight:var(--weight-semibold)}.crmhero-root .modal.modal--danger .mh-ic{color:var(--danger);background:color-mix(in srgb,var(--danger) var(--tint-soft),var(--surface));border-color:color-mix(in srgb,var(--danger) 24%,transparent)}.crmhero-root .del-target{display:flex;align-items:center;gap:var(--space-3);padding:var(--space-3) var(--space-4);border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface-2);margin-bottom:var(--space-3)}.crmhero-root .del-target .dt-body{min-width:0}.crmhero-root .del-target .dt-name{font-size:var(--text-sm);font-weight:var(--weight-semibold)}.crmhero-root .del-target .dt-mail{font-size:var(--text-xs);color:var(--muted-foreground);font-family:var(--font-mono)}.crmhero-root .consequences{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:var(--space-2)}.crmhero-root .consequences li{display:flex;align-items:flex-start;gap:8px;font-size:var(--text-xs);color:var(--subtle-foreground);line-height:var(--leading-snug)}.crmhero-root .consequences li svg{width:13px;height:13px;flex:none;margin-top:1px;color:var(--danger)}.crmhero-root .confirm-input-note{font-size:var(--text-xs);color:var(--muted-foreground);margin:var(--space-3) 0 var(--space-2)}.crmhero-root .confirm-input-note b{color:var(--foreground);font-weight:var(--weight-semibold);font-family:var(--font-mono)}.crmhero-root .audit-line{display:flex;align-items:center;gap:7px;font-size:var(--text-xs);color:var(--muted-foreground);margin-top:var(--space-3)}.crmhero-root .audit-line svg{width:13px;height:13px;flex:none}.crmhero-root .row-menu .menu-note{display:flex;align-items:flex-start;gap:7px;padding:var(--space-2) var(--space-2) var(--space-1);font-size:11px;color:var(--muted-foreground);line-height:1.4}.crmhero-root .row-menu .menu-note svg{width:13px;height:13px;flex:none;margin-top:1px;color:var(--warning)}.crmhero-root{--src-upload:hsl(210.9 58.4% 44.3%);--src-generiert:hsl(152 39% 30.2%);--src-anhang:hsl(28 72% 46%);--ft-pdf:hsl(0 62% 53.5%);--ft-image:hsl(170.4 83.7% 33.7%);--ft-doc:hsl(210.9 58.4% 44.3%);--ft-xls:hsl(145.2 63.3% 33.1%)}.crmhero-root.dark{--src-upload:hsl(210 63.2% 58.4%);--src-generiert:hsl(152.8 32.2% 45.7%);--src-anhang:hsl(28 72% 58%);--ft-pdf:hsl(0 69.2% 61.8%);--ft-image:hsl(169.9 63.2% 45.9%);--ft-doc:hsl(210 63.2% 58.4%);--ft-xls:hsl(145.5 51.7% 45.5%)}.crmhero-root .src-badge{--c:var(--muted-foreground);display:inline-flex;align-items:center;gap:5px;height:21px;padding:0 8px 0 7px;border-radius:var(--radius-full);font-size:var(--text-xs);font-weight:var(--weight-semibold);line-height:1;white-space:nowrap;color:var(--c);background:color-mix(in srgb,var(--c) var(--tint-soft),var(--surface));border:1px solid color-mix(in srgb,var(--c) 26%,transparent)}.crmhero-root .src-badge svg{width:12px;height:12px;flex:none}.crmhero-root .file-ic{width:34px;height:34px;border-radius:var(--radius-md);flex:none;display:grid;place-items:center;color:var(--c,var(--muted-foreground));background:color-mix(in srgb,var(--c,var(--muted-foreground)) var(--tint-soft),var(--surface));border:1px solid color-mix(in srgb,var(--c,var(--muted-foreground)) 22%,transparent);position:relative}.crmhero-root .file-ic svg{width:18px;height:18px}.crmhero-root .file-ic.lg{width:48px;height:48px;border-radius:var(--radius-lg)}.crmhero-root .file-ic.lg svg{width:24px;height:24px}.crmhero-root .file-ic .ft-ext{position:absolute;bottom:-5px;right:-5px;font-size:8px;font-weight:var(--weight-bold);font-family:var(--font-mono);text-transform:uppercase;color:#fff;background:var(--c,var(--muted-foreground));border-radius:3px;padding:1px 3px;border:1.5px solid var(--surface)}.crmhero-root .ft--pdf{--c:var(--ft-pdf)}.crmhero-root .ft--image{--c:var(--ft-image)}.crmhero-root .ft--doc{--c:var(--ft-doc)}.crmhero-root .ft--xls{--c:var(--ft-xls)}.crmhero-root .gen-mark{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;border-radius:var(--radius-full);color:#fff;background:linear-gradient(160deg,var(--ch-primary-400),var(--ch-primary-600));flex:none}.crmhero-root .gen-mark svg{width:10px;height:10px}.crmhero-root .doc-layout{display:grid;grid-template-columns:208px minmax(0,1fr);gap:var(--space-5);align-items:start;height:100%;min-height:0}@media (max-width:1080px){.crmhero-root .doc-layout{grid-template-columns:1fr}}.crmhero-root .doc-rail{display:flex;flex-direction:column;gap:var(--space-5);position:sticky;top:0}.crmhero-root .folder-list{display:flex;flex-direction:column;gap:2px}.crmhero-root .folder-item{display:flex;align-items:center;gap:var(--space-3);height:34px;padding:0 var(--space-3);border-radius:var(--radius-md);color:var(--subtle-foreground);font-size:var(--text-sm);font-weight:var(--weight-medium);transition:background .1s,color .1s;cursor:pointer}.crmhero-root .folder-item svg{width:16px;height:16px;color:var(--muted-foreground);flex:none}.crmhero-root .folder-item:hover{background:var(--accent);color:var(--foreground)}.crmhero-root .folder-item[data-active=true]{background:color-mix(in srgb,var(--primary) 12%,var(--surface));color:var(--primary);font-weight:var(--weight-semibold)}.crmhero-root .folder-item[data-active=true] svg{color:var(--primary)}.crmhero-root .folder-item .fi-count{margin-left:auto;font-size:11px;font-weight:var(--weight-semibold);color:var(--muted-foreground);font-variant-numeric:tabular-nums}.crmhero-root .folder-item[data-active=true] .fi-count{color:var(--primary)}.crmhero-root .tag-cloud{display:flex;flex-wrap:wrap;gap:6px}.crmhero-root .tag-chip{display:inline-flex;align-items:center;gap:4px;height:24px;padding:0 9px;border-radius:var(--radius-full);font-size:var(--text-xs);font-weight:var(--weight-medium);color:var(--subtle-foreground);background:var(--surface-2);border:1px solid var(--border);cursor:pointer;transition:border-color .12s,background .12s,color .12s}.crmhero-root .tag-chip:hover{border-color:var(--border-strong)}.crmhero-root .tag-chip[data-on=true]{background:color-mix(in srgb,var(--primary) var(--tint-soft),var(--surface));border-color:color-mix(in srgb,var(--primary) 30%,transparent);color:var(--primary)}.crmhero-root .tag-chip:before{content:"#";opacity:.5}.crmhero-root .doc-main{display:flex;flex-direction:column;min-height:0;gap:var(--space-4)}.crmhero-root .name-cell{display:flex;align-items:center;gap:var(--space-3);min-width:0;max-width:420px}.crmhero-root .name-cell .nc-body{min-width:0}.crmhero-root .name-cell .nc-name{display:flex;align-items:center;gap:7px;font-size:var(--text-base);font-weight:var(--weight-medium);color:var(--foreground);min-width:0}.crmhero-root .name-cell .nc-name .nc-text{min-width:0}.crmhero-root .name-cell .nc-sub{font-size:var(--text-xs);color:var(--muted-foreground);margin-top:1px;display:flex;align-items:center;gap:6px}.crmhero-root .name-cell .nc-origin{display:inline-flex;align-items:center;gap:4px;color:var(--primary);font-weight:var(--weight-medium)}.crmhero-root .name-cell .nc-origin svg{width:11px;height:11px}.crmhero-root .size-cell{font-family:var(--font-mono);font-size:var(--text-sm);color:var(--subtle-foreground);font-variant-numeric:tabular-nums;white-space:nowrap}.crmhero-root .table tbody tr.doc-row{cursor:pointer}.crmhero-root .person-cell{display:inline-flex;align-items:center;gap:var(--space-2);min-width:0}.crmhero-root .person-cell .pc-name{font-size:var(--text-sm);white-space:nowrap}.crmhero-root .tile-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(208px,1fr));gap:var(--space-4)}.crmhero-root .doc-tile{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-xs);overflow:hidden;cursor:pointer;transition:border-color .12s,box-shadow .12s,transform .04s;display:flex;flex-direction:column}.crmhero-root .doc-tile:hover{border-color:var(--border-strong);box-shadow:var(--shadow-sm)}.crmhero-root .doc-tile:active{transform:translateY(.5px)}.crmhero-root .tile-thumb{height:116px;background:var(--surface-2);border-bottom:1px solid var(--border);display:grid;place-items:center;position:relative}.crmhero-root .tile-thumb .tt-page{width:84px;height:100px;background:var(--surface);border:1px solid var(--border-strong);border-radius:3px;box-shadow:var(--shadow-sm);padding:9px 8px;display:flex;flex-direction:column;gap:4px}.crmhero-root .tile-thumb .tt-page i{height:3px;border-radius:2px;background:var(--border-strong);display:block}.crmhero-root .tile-thumb .tt-page i.short{width:60%}.crmhero-root .tile-thumb .tt-page i.accent{background:color-mix(in srgb,var(--c,var(--muted-foreground)) 55%,var(--border-strong));width:72%;height:5px;margin-bottom:2px}.crmhero-root .tile-thumb.image-thumb{background:repeating-linear-gradient(45deg,var(--surface-2),var(--surface-2) 8px,color-mix(in srgb,var(--ft-image) 8%,var(--surface-2)) 8px,color-mix(in srgb,var(--ft-image) 8%,var(--surface-2)) 16px);color:color-mix(in srgb,var(--ft-image) 70%,var(--muted-foreground))}.crmhero-root .tile-thumb .tt-srcbadge{position:absolute;top:8px;right:8px}.crmhero-root .tile-thumb .tt-gen{position:absolute;top:8px;left:8px}.crmhero-root .tile-body{padding:var(--space-3);display:flex;gap:var(--space-2);align-items:flex-start}.crmhero-root .tile-body .tb-name{font-size:var(--text-sm);font-weight:var(--weight-medium);line-height:1.3;min-width:0;word-break:break-word}.crmhero-root .tile-body .tb-meta{font-size:var(--text-xs);color:var(--muted-foreground);margin-top:3px;font-family:var(--font-mono)}.crmhero-root .tile-foot{margin-top:auto;padding:var(--space-2) var(--space-3);border-top:1px solid var(--border);display:flex;align-items:center;gap:var(--space-2)}.crmhero-root .dropzone{border:2px dashed var(--border-strong);border-radius:var(--radius-xl);background:var(--surface-2);padding:var(--space-12) var(--space-6);text-align:center;transition:border-color .12s,background .12s;cursor:pointer}.crmhero-root .dropzone.tall{padding:var(--space-20) var(--space-6)}.crmhero-root .dropzone.drag,.crmhero-root .dropzone:hover{border-color:var(--primary);background:color-mix(in srgb,var(--primary) 5%,var(--surface))}.crmhero-root .dropzone .dz-ic{width:60px;height:60px;border-radius:var(--radius-2xl);display:grid;place-items:center;margin:0 auto var(--space-4);color:var(--primary);background:color-mix(in srgb,var(--primary) var(--tint-soft),var(--surface));border:1px solid color-mix(in srgb,var(--primary) 22%,transparent)}.crmhero-root .dropzone .dz-ic svg{width:28px;height:28px}.crmhero-root .dropzone .dz-title{font-size:var(--text-lg);font-weight:var(--weight-semibold)}.crmhero-root .dropzone .dz-text{font-size:var(--text-sm);color:var(--muted-foreground);max-width:44ch;margin:var(--space-2) auto var(--space-5)}.crmhero-root .dropzone .dz-hint{font-size:var(--text-xs);color:var(--muted-foreground);margin-top:var(--space-4);display:inline-flex;align-items:center;gap:6px}.crmhero-root .dropzone .dz-hint svg{width:13px;height:13px}.crmhero-root .upload-row{display:flex;align-items:center;gap:var(--space-3);padding:var(--space-3) var(--space-4);border-bottom:1px solid var(--border)}.crmhero-root .upload-row:last-child{border-bottom:0}.crmhero-root .upload-row .ur-body{flex:1;min-width:0}.crmhero-root .upload-row .ur-top{display:flex;align-items:center;gap:var(--space-2)}.crmhero-root .upload-row .ur-name{font-size:var(--text-sm);font-weight:var(--weight-medium);min-width:0}.crmhero-root .upload-row .ur-size{margin-left:auto;font-family:var(--font-mono);font-size:var(--text-xs);color:var(--muted-foreground);flex:none}.crmhero-root .upload-row .ur-bar{margin-top:8px}.crmhero-root .upload-row .ur-err{font-size:var(--text-xs);color:var(--danger);font-weight:var(--weight-medium);margin-top:5px;display:flex;align-items:center;gap:5px}.crmhero-root .upload-row .ur-err svg{width:12px;height:12px}.crmhero-root .upload-row .ur-state{flex:none;display:grid;place-items:center;width:24px;height:24px}.crmhero-root .upload-row .ur-state.done{color:var(--success)}.crmhero-root .upload-row .ur-state.error{color:var(--danger)}.crmhero-root .preview-modal{width:100%;max-width:880px;height:min(82vh,680px);background:var(--popover);border:1px solid var(--border-strong);border-radius:var(--radius-xl);box-shadow:var(--shadow-lg);overflow:hidden;display:grid;grid-template-columns:minmax(0,1fr) 320px}@media (max-width:760px){.crmhero-root .preview-modal{grid-template-columns:1fr;height:90vh}}.crmhero-root .pv-stage{background:var(--surface-2);display:flex;flex-direction:column;min-width:0;min-height:0}.crmhero-root .pv-stage-head{display:flex;align-items:center;gap:var(--space-2);padding:var(--space-3) var(--space-4);border-bottom:1px solid var(--border);flex:none}.crmhero-root .pv-stage-head .pvh-name{font-size:var(--text-sm);font-weight:var(--weight-semibold);min-width:0}.crmhero-root .pv-stage-body{flex:1;overflow:auto;min-height:0;display:grid;place-items:start center;padding:var(--space-6)}.crmhero-root .pv-stage-body.is-live{padding:0;place-items:stretch;overflow:hidden}.crmhero-root .pv-frame{width:100%;height:100%;border:0;background:var(--surface)}.crmhero-root .pv-img{width:100%;height:100%;-o-object-fit:contain;object-fit:contain;background:var(--surface-2)}.crmhero-root .pv-loading{display:flex;align-items:center;gap:var(--space-2);color:var(--muted-foreground);font-size:var(--text-sm)}.crmhero-root .doc-page{width:100%;max-width:460px;aspect-ratio:1/1.414;background:#fff;border:1px solid var(--border-strong);border-radius:4px;box-shadow:var(--shadow-md);padding:40px 38px;display:flex;flex-direction:column;gap:11px}.crmhero-root.dark .doc-page{background:hsl(216 20% 96%)}.crmhero-root .doc-page .dp-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}.crmhero-root .doc-page .dp-logo{width:42px;height:42px;border-radius:7px;background:linear-gradient(160deg,var(--ch-primary-400),var(--ch-primary-600))}.crmhero-root .doc-page .dp-title{height:11px;width:52%;border-radius:3px;background:#c9d2db}.crmhero-root .doc-page i{height:7px;border-radius:2px;background:#e4e9ef;display:block}.crmhero-root .doc-page i.short{width:64%}.crmhero-root .doc-page i.mid{width:84%}.crmhero-root .doc-page .dp-gap{height:10px}.crmhero-root .doc-page .dp-accent{background:color-mix(in srgb,var(--ft-pdf) 40%,#e4e9ef);width:40%;height:9px}.crmhero-root .image-stage{width:100%;max-width:460px;aspect-ratio:4/3;border-radius:var(--radius-md);border:1px solid var(--border-strong);background:repeating-linear-gradient(45deg,var(--surface),var(--surface) 12px,color-mix(in srgb,var(--ft-image) 10%,var(--surface)) 12px,color-mix(in srgb,var(--ft-image) 10%,var(--surface)) 24px);display:grid;place-items:center;color:color-mix(in srgb,var(--ft-image) 70%,var(--muted-foreground));font-family:var(--font-mono);font-size:var(--text-xs)}.crmhero-root .pv-side{border-left:1px solid var(--border);display:flex;flex-direction:column;min-height:0}.crmhero-root .pv-side-head{padding:var(--space-4);border-bottom:1px solid var(--border);display:flex;gap:var(--space-3);align-items:flex-start}.crmhero-root .pv-side-body{flex:1;overflow:auto;padding:var(--space-4)}.crmhero-root .pv-meta-row{display:flex;gap:var(--space-3);padding:var(--space-2) 0;border-bottom:1px solid var(--border);font-size:var(--text-sm)}.crmhero-root .pv-meta-row:last-child{border-bottom:0}.crmhero-root .pv-meta-row .pvm-k{width:96px;flex:none;color:var(--muted-foreground);font-size:var(--text-xs)}.crmhero-root .pv-meta-row .pvm-v{min-width:0;font-weight:var(--weight-medium)}.crmhero-root .pv-meta-row .pvm-v.mono{font-family:var(--font-mono);font-weight:400}.crmhero-root .pv-side-foot{padding:var(--space-3) var(--space-4);border-top:1px solid var(--border);display:flex;flex-direction:column;gap:var(--space-2)}.crmhero-root .auf-chip{display:inline-flex;align-items:center;gap:8px;padding:var(--space-2) var(--space-3);border-radius:var(--radius-md);border:1px solid var(--border);background:var(--surface-2);transition:border-color .12s,background .12s;cursor:pointer;max-width:280px;overflow:hidden}.crmhero-root .auf-chip:hover{border-color:var(--border-strong);background:var(--accent)}.crmhero-root .auf-chip .ac-ic{width:28px;height:28px;border-radius:var(--radius-sm);display:grid;place-items:center;flex:none;color:var(--c,var(--muted-foreground));background:color-mix(in srgb,var(--c,var(--muted-foreground)) var(--tint-soft),var(--surface))}.crmhero-root .auf-chip .ac-ic svg{width:15px;height:15px}.crmhero-root .auf-chip.mail{--c:var(--cat-anfrage)}.crmhero-root .auf-chip.kontakt{--c:var(--primary)}.crmhero-root .auf-chip.dokument{--c:var(--ft-doc)}.crmhero-root .auf-chip.phone{--c:var(--src-upload)}.crmhero-root .auf-chip .ac-body{display:flex;flex-direction:column;min-width:0;flex:1}.crmhero-root .auf-chip .ac-label{font-size:var(--text-sm);font-weight:var(--weight-medium);line-height:1.2}.crmhero-root .auf-chip .ac-sub,.crmhero-root .storage-note{font-size:var(--text-xs);color:var(--muted-foreground)}.crmhero-root .storage-note{display:flex;align-items:center;gap:var(--space-2);padding:var(--space-3) 0 0}.crmhero-root .storage-note svg{width:13px;height:13px;flex:none}.crmhero-root .note-strip{display:flex;align-items:flex-start;gap:var(--space-3);padding:var(--space-3) var(--space-4);border-radius:var(--radius-md);background:var(--surface-2);border:1px solid var(--border);font-size:var(--text-xs);color:var(--subtle-foreground);line-height:var(--leading-normal)}.crmhero-root .note-strip svg{width:15px;height:15px;color:var(--primary);flex:none;margin-top:1px}.crmhero-root .pager{display:flex;align-items:center;gap:var(--space-2);padding:var(--space-3) var(--space-4);border-top:1px solid var(--border)}.crmhero-root .pager .pg-info{font-size:var(--text-sm);color:var(--muted-foreground)}.crmhero-root .pager .pg-btn{width:32px;height:32px;border-radius:var(--radius-md);display:grid;place-items:center;border:1px solid var(--border-strong);background:var(--surface);color:var(--subtle-foreground)}.crmhero-root .pager .pg-btn:hover{background:var(--accent)}.crmhero-root .pager .pg-btn[data-active=true]{background:var(--primary);color:var(--primary-foreground);border-color:transparent;font-weight:var(--weight-semibold)}.crmhero-root .pager .pg-btn:disabled{opacity:.4;pointer-events:none}.crmhero-root .auf-toolbar .select{width:auto;height:32px;font-size:var(--text-sm);padding-right:var(--space-3)}.crmhero-root .auf-toolbar .input-group,.crmhero-root .auf-toolbar .topbar-search{width:240px}.crmhero-root{--art-call:hsl(210.9 58.4% 44.3%);--art-document:hsl(254 56.1% 58%);--art-research:hsl(170.4 83.7% 33.7%);--art-task:hsl(38.9 86% 42.2%)}.crmhero-root.dark{--art-call:hsl(210 63.2% 58.4%);--art-document:hsl(254.4 66.7% 70.6%);--art-research:hsl(169.9 63.2% 45.9%);--art-task:hsl(39.8 72.8% 55.3%)}.crmhero-root .art-badge{--c:var(--muted-foreground);display:inline-flex;align-items:center;gap:5px;height:22px;padding:0 9px 0 7px;border-radius:var(--radius-full);font-size:var(--text-xs);font-weight:var(--weight-semibold);line-height:1;white-space:nowrap;color:var(--c);background:color-mix(in srgb,var(--c) var(--tint-soft),var(--surface));border:1px solid color-mix(in srgb,var(--c) 26%,transparent)}.crmhero-root .art-badge svg{width:13px;height:13px;flex:none}.crmhero-root .art-badge.lg{height:26px;font-size:var(--text-sm);padding:0 11px 0 9px}.crmhero-root .art-badge.lg svg{width:15px;height:15px}.crmhero-root .art--call{--c:var(--art-call)}.crmhero-root .art--document{--c:var(--art-document)}.crmhero-root .art--research{--c:var(--art-research)}.crmhero-root .art--task{--c:var(--art-task)}.crmhero-root .due-chip{--c:var(--muted-foreground);display:inline-flex;align-items:center;gap:5px;font-size:var(--text-sm);font-weight:var(--weight-medium);color:var(--c);font-variant-numeric:tabular-nums;white-space:nowrap}.crmhero-root .due-chip svg{width:13px;height:13px;flex:none}.crmhero-root .due-chip .due-rest{font-size:var(--text-xs)}.crmhero-root .due-chip.soon{--c:var(--warning);font-weight:var(--weight-semibold)}.crmhero-root .due-chip.overdue{--c:var(--danger);font-weight:var(--weight-semibold);padding:2px 8px;border-radius:var(--radius-full);background:color-mix(in srgb,var(--danger) var(--tint-soft),var(--surface));border:1px solid color-mix(in srgb,var(--danger) 26%,transparent)}.crmhero-root .auf-title-cell{min-width:0;max-width:360px}.crmhero-root .auf-title{font-size:var(--text-base);font-weight:var(--weight-semibold);color:var(--foreground);line-height:1.3}.crmhero-root .auf-title-sub{font-size:var(--text-xs);color:var(--muted-foreground);margin-top:2px}.crmhero-root .auf-id{font-family:var(--font-mono);font-size:11px;color:var(--muted-foreground)}.crmhero-root .ki-tag{display:inline-flex;align-items:center;gap:4px;font-size:11px;font-weight:var(--weight-semibold);color:var(--primary)}.crmhero-root .ki-tag svg{width:12px;height:12px}.crmhero-root .table .auf-row{cursor:pointer}.crmhero-root .table .auf-row[data-overdue=true] td:first-child{box-shadow:inset 3px 0 0 var(--danger)}.crmhero-root .auf-kanban{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(252px,1fr);gap:var(--space-4);overflow-x:auto;padding-bottom:var(--space-3);align-items:start;min-height:0}.crmhero-root .kan-col{background:var(--surface-2);border:1px solid var(--border);border-radius:var(--radius-lg);display:flex;flex-direction:column;min-height:120px}.crmhero-root .kan-col-head{display:flex;align-items:center;gap:var(--space-2);padding:var(--space-3) var(--space-3) var(--space-2);border-bottom:1px solid var(--border)}.crmhero-root .kan-col-head .kch-count{margin-left:auto;font-size:11px;font-weight:var(--weight-semibold);color:var(--muted-foreground);background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-full);padding:0 7px;font-variant-numeric:tabular-nums}.crmhero-root .kan-body{padding:var(--space-2);display:flex;flex-direction:column;gap:var(--space-2);min-height:60px}.crmhero-root .kan-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md);box-shadow:var(--shadow-xs);padding:var(--space-3);cursor:pointer;transition:border-color .12s,box-shadow .12s,transform .04s}.crmhero-root .kan-card:hover{border-color:var(--border-strong);box-shadow:var(--shadow-sm)}.crmhero-root .kan-card:active{transform:translateY(.5px)}.crmhero-root .kan-card .kc-top{display:flex;align-items:center;justify-content:space-between;gap:var(--space-2);margin-bottom:var(--space-2)}.crmhero-root .kan-card .kc-title{font-size:var(--text-sm);font-weight:var(--weight-semibold);line-height:1.35}.crmhero-root .kan-card .kc-foot{display:flex;align-items:center;gap:var(--space-2);margin-top:var(--space-3)}.crmhero-root .kan-card .kc-foot .spacer{flex:1}.crmhero-root .kan-empty{padding:var(--space-4);text-align:center;font-size:var(--text-xs);color:var(--muted-foreground)}.crmhero-root .auf-detail-grid{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:var(--space-5);align-items:start}@media (max-width:1180px){.crmhero-root .auf-detail-grid{grid-template-columns:1fr}}.crmhero-root .auf-dh-badges{display:flex;align-items:center;gap:var(--space-2);flex-wrap:wrap;margin-bottom:var(--space-3)}.crmhero-root .auf-dh-title{font-size:var(--text-3xl);font-weight:var(--weight-bold);letter-spacing:var(--tracking-tight);line-height:var(--leading-tight)}.crmhero-root .auf-dh-meta{display:flex;align-items:center;gap:var(--space-4);flex-wrap:wrap;margin-top:var(--space-3);font-size:var(--text-sm);color:var(--muted-foreground)}.crmhero-root .auf-dh-meta .dhm{display:inline-flex;align-items:center;gap:7px}.crmhero-root .auf-dh-meta .dhm svg{width:14px;height:14px}.crmhero-root .auf-dh-meta .dhm b{color:var(--foreground);font-weight:var(--weight-medium)}.crmhero-root .edit-badge{cursor:pointer;transition:filter .12s,box-shadow .12s}.crmhero-root .edit-badge:hover{filter:brightness(.97);box-shadow:0 0 0 3px color-mix(in srgb,var(--primary) 14%,transparent)}.crmhero-root .briefing-text{font-size:var(--text-base);line-height:1.65;color:var(--subtle-foreground)}.crmhero-root .chip-row{display:flex;flex-wrap:wrap;gap:var(--space-2);margin-top:var(--space-4)}.crmhero-root .ki-panel{border:1px solid color-mix(in srgb,var(--primary) 32%,transparent);border-radius:var(--radius-lg);background:color-mix(in srgb,var(--primary) var(--tint-soft),var(--surface));overflow:hidden}.crmhero-root .ki-head{display:flex;align-items:center;gap:var(--space-3);padding:var(--space-3) var(--space-4);border-bottom:1px solid color-mix(in srgb,var(--primary) 20%,transparent)}.crmhero-root .ki-head .ki-mark{width:30px;height:30px;border-radius:8px;display:grid;place-items:center;color:#fff;background:linear-gradient(160deg,var(--ch-primary-400),var(--ch-primary-600));flex:none}.crmhero-root .ki-head .ki-mark svg{width:17px;height:17px}.crmhero-root .ki-head .ki-title{font-size:var(--text-sm);font-weight:var(--weight-bold);letter-spacing:var(--tracking-tight)}.crmhero-root .ki-head .ki-model{font-size:11px;color:var(--muted-foreground);font-family:var(--font-mono)}.crmhero-root .ki-head .ki-conf{margin-left:auto;text-align:right;flex:none}.crmhero-root .ki-head .ki-conf .kcv{font-size:var(--text-sm);font-weight:var(--weight-bold);font-family:var(--font-mono);color:var(--primary)}.crmhero-root .ki-head .ki-conf .kcl{font-size:10px;color:var(--muted-foreground);text-transform:uppercase;letter-spacing:var(--tracking-wide)}.crmhero-root .ki-body{padding:var(--space-4);background:var(--surface);display:flex;flex-direction:column;gap:var(--space-4)}.crmhero-root .ki-intro{display:flex;gap:var(--space-2);font-size:var(--text-xs);color:var(--subtle-foreground);line-height:var(--leading-normal);padding:var(--space-2) var(--space-3);border-radius:var(--radius-md);background:color-mix(in srgb,var(--primary) var(--tint-soft),var(--surface));border:1px solid color-mix(in srgb,var(--primary) 20%,transparent)}.crmhero-root .ki-intro svg{width:14px;height:14px;color:var(--primary);flex:none;margin-top:1px}.crmhero-root .ki-bl{font-size:10px;font-weight:var(--weight-semibold);letter-spacing:var(--tracking-caps);text-transform:uppercase;color:var(--muted-foreground);margin-bottom:var(--space-2);display:flex;align-items:center;gap:6px}.crmhero-root .ki-bl svg{width:12px;height:12px}.crmhero-root .ki-points{display:flex;flex-direction:column;gap:var(--space-2)}.crmhero-root .ki-point{display:flex;gap:var(--space-3);font-size:var(--text-sm);color:var(--subtle-foreground);line-height:var(--leading-normal)}.crmhero-root .ki-point .kp-n{width:20px;height:20px;border-radius:var(--radius-full);flex:none;display:grid;place-items:center;font-size:11px;font-weight:var(--weight-bold);color:var(--primary);background:color-mix(in srgb,var(--primary) var(--tint-medium),var(--surface))}.crmhero-root .obj-item{padding:var(--space-3);border-radius:var(--radius-md);background:var(--surface-2);border:1px solid var(--border)}.crmhero-root .obj-item+.obj-item{margin-top:var(--space-2)}.crmhero-root .obj-q{font-size:var(--text-sm);font-weight:var(--weight-semibold);color:var(--foreground)}.crmhero-root .obj-a{font-size:var(--text-sm);color:var(--subtle-foreground);margin-top:3px;line-height:var(--leading-normal)}.crmhero-root .src-list{flex-direction:column}.crmhero-root .src-item,.crmhero-root .src-list{display:flex;gap:var(--space-3)}.crmhero-root .src-num{width:22px;height:22px;border-radius:var(--radius-full);flex:none;display:grid;place-items:center;font-size:11px;font-weight:var(--weight-bold);color:var(--success);background:color-mix(in srgb,var(--success) var(--tint-medium),var(--surface))}.crmhero-root .src-item.flag .src-num{color:var(--danger);background:color-mix(in srgb,var(--danger) var(--tint-medium),var(--surface))}.crmhero-root .src-body{min-width:0;flex:1}.crmhero-root .src-text{font-size:var(--text-sm);color:var(--foreground);line-height:var(--leading-normal)}.crmhero-root .src-cites{display:flex;flex-direction:column;gap:3px;margin-top:var(--space-2)}.crmhero-root .cite{display:inline-flex;align-items:center;gap:6px;font-size:var(--text-xs);color:var(--subtle-foreground)}.crmhero-root .cite svg{width:12px;height:12px;color:var(--muted-foreground);flex:none}.crmhero-root .cite .cite-host{font-family:var(--font-mono);color:var(--info)}.crmhero-root .cite .cite-date{color:var(--muted-foreground)}.crmhero-root .src-noproof{display:inline-flex;align-items:center;gap:6px;font-size:var(--text-xs);font-weight:var(--weight-semibold);color:var(--danger);margin-top:var(--space-2)}.crmhero-root .src-noproof svg{width:12px;height:12px}.crmhero-root .src-rule{display:flex;align-items:center;gap:8px;font-size:var(--text-xs);color:var(--subtle-foreground);padding:var(--space-2) var(--space-3);border-radius:var(--radius-md);background:color-mix(in srgb,var(--warning) var(--tint-soft),var(--surface));border:1px solid color-mix(in srgb,var(--warning) 26%,transparent)}.crmhero-root .src-rule svg{width:14px;height:14px;color:var(--warning);flex:none}.crmhero-root .ki-draft{font-size:var(--text-sm);line-height:1.6;color:var(--foreground);white-space:pre-wrap;padding:var(--space-3) var(--space-4);border-radius:var(--radius-md);background:var(--surface-2);border:1px solid var(--border)}.crmhero-root .ki-flags{display:flex;flex-direction:column;gap:6px}.crmhero-root .ki-flag{display:flex;gap:7px;font-size:var(--text-xs);color:var(--subtle-foreground);line-height:var(--leading-snug)}.crmhero-root .ki-flag svg{width:13px;height:13px;color:var(--warning);flex:none;margin-top:1px}.crmhero-root .ki-pending{display:flex;align-items:center;gap:var(--space-3);padding:var(--space-4)}.crmhero-root .ki-pending .kip-ic{width:34px;height:34px;border-radius:var(--radius-md);display:grid;place-items:center;color:var(--primary);background:color-mix(in srgb,var(--primary) var(--tint-soft),var(--surface));flex:none}.crmhero-root .auf-actionbar{display:flex;align-items:center;gap:var(--space-2);flex-wrap:wrap;padding:var(--space-4) var(--space-5);border-top:1px solid var(--border);background:var(--surface);border-radius:0 0 var(--radius-lg) var(--radius-lg)}.crmhero-root .auf-actionbar .ab-spacer{flex:1}.crmhero-root .meta-line{display:flex;align-items:center;gap:var(--space-3);padding:var(--space-3) 0;border-bottom:1px solid var(--border)}.crmhero-root .meta-line:last-child{border-bottom:0}.crmhero-root .meta-line .ml-k{width:92px;flex:none;font-size:var(--text-xs);color:var(--muted-foreground)}.crmhero-root .meta-line .ml-v{flex:1;font-size:var(--text-sm);display:flex;align-items:center;gap:7px;flex-wrap:wrap}.crmhero-root .inline-pop-wrap{position:relative;display:inline-flex}.crmhero-root .inline-pop{position:absolute;left:0;top:calc(100% + 4px);z-index:50;min-width:200px;background:var(--popover);border:1px solid var(--border-strong);border-radius:var(--radius-lg);box-shadow:var(--shadow-lg);padding:var(--space-1)}.crmhero-root .inline-pop button{width:100%;display:flex;align-items:center;gap:var(--space-2);padding:var(--space-2) var(--space-3);border-radius:var(--radius-md);font-size:var(--text-sm);transition:background .1s}.crmhero-root .inline-pop button:hover{background:var(--accent)}.crmhero-root .modal--lg .modal-body{max-height:60vh;overflow:auto}.crmhero-root .choice svg{width:15px;height:15px;flex:none}.crmhero-root .choice--call{--c:var(--art-call)}.crmhero-root .choice--document{--c:var(--art-document)}.crmhero-root .choice--research{--c:var(--art-research)}.crmhero-root .choice--task{--c:var(--art-task)}.crmhero-root{--c-grid:var(--border);--c-axis:var(--muted-foreground);--c-bar:color-mix(in srgb,var(--foreground) 13%,var(--surface));--c-bar-solid:color-mix(in srgb,var(--foreground) 26%,var(--surface));--c-track:var(--muted)}.crmhero-root .period-select{display:flex;align-items:center;gap:var(--space-2)}.crmhero-root .period-select .period-label{color:var(--muted-foreground);display:grid;place-items:center}.crmhero-root .export-menu{position:relative}.crmhero-root .menu-pop{position:absolute;right:0;top:calc(100% + 6px);z-index:50;min-width:176px;padding:var(--space-1);background:var(--popover);color:var(--popover-foreground);border:1px solid var(--border);border-radius:var(--radius-md);box-shadow:var(--shadow-lg)}.crmhero-root .menu-pop .menu-item{display:flex;align-items:center;gap:var(--space-2);width:100%;height:34px;padding:0 var(--space-2);border-radius:var(--radius-sm);font-size:var(--text-sm);color:var(--foreground);text-align:left}.crmhero-root .menu-pop .menu-item:hover{background:var(--accent)}.crmhero-root .menu-hint,.crmhero-root .menu-pop .menu-item svg{color:var(--muted-foreground)}.crmhero-root .menu-hint{margin-left:auto;font-size:11px}.crmhero-root .rep-export-status{display:inline-flex;align-items:center;gap:var(--space-2);margin-bottom:var(--space-4);padding:var(--space-2) var(--space-3);border:1px solid var(--border);border-radius:var(--radius-md);background:var(--muted);color:var(--foreground);font-size:var(--text-sm)}.crmhero-root .rep-export-status svg{color:var(--muted-foreground)}.crmhero-root .rep-bar{display:flex;align-items:center;justify-content:space-between;gap:var(--space-4);margin-bottom:var(--space-5);flex-wrap:wrap}.crmhero-root .rep-tabs{display:inline-flex;gap:var(--space-1);padding:3px;background:var(--muted);border-radius:var(--radius-md)}.crmhero-root .rep-tabs button{height:32px;padding:0 var(--space-4);border-radius:var(--radius-sm);display:inline-flex;align-items:center;gap:7px;font-size:var(--text-sm);font-weight:var(--weight-medium);color:var(--muted-foreground);transition:background .12s,color .12s}.crmhero-root .rep-tabs button svg{color:var(--muted-foreground)}.crmhero-root .rep-tabs button:hover{color:var(--foreground)}.crmhero-root .rep-tabs button[data-active=true]{background:var(--surface);color:var(--primary);font-weight:var(--weight-semibold);box-shadow:var(--shadow-xs)}.crmhero-root .rep-tabs button[data-active=true] svg{color:var(--primary)}.crmhero-root .rep-note{display:flex;align-items:center;gap:7px;font-size:var(--text-xs);color:var(--muted-foreground)}.crmhero-root .rep-note svg{color:var(--success);flex:none}.crmhero-root .rep-note a{color:var(--primary);font-weight:var(--weight-medium);text-underline-offset:3px}.crmhero-root .rep-note a:hover{text-decoration:underline}.crmhero-root .kpi-row{grid-template-columns:repeat(6,minmax(0,1fr))}.crmhero-root .kpi-row .kpi-label{font-size:var(--text-xs);font-weight:var(--weight-medium);color:var(--muted-foreground)}.crmhero-root .kpi-row .kpi-value{font-family:var(--font-mono);font-weight:var(--weight-semibold);letter-spacing:-.01em;line-height:1.1;margin-top:8px;font-variant-numeric:tabular-nums;display:flex;align-items:baseline;gap:2px}.crmhero-root .kpi-row .kpi-unit{font-size:var(--text-lg);font-weight:var(--weight-medium);color:var(--subtle-foreground)}.crmhero-root .kpi-row .kpi-foot{display:flex;align-items:center;gap:var(--space-2);margin-top:var(--space-3);flex-wrap:wrap;min-height:20px;color:var(--muted-foreground)}.crmhero-root .kpi-row .kpi-trend{display:inline-flex;align-items:center;gap:2px;font-size:var(--text-xs);font-weight:var(--weight-semibold);padding:1px 6px;border-radius:var(--radius-full)}.crmhero-root .kpi-row .kpi-trend.good{color:var(--success);background:color-mix(in srgb,var(--success) 12%,var(--surface))}.crmhero-root .kpi-row .kpi-trend.bad{color:var(--danger);background:color-mix(in srgb,var(--danger) 12%,var(--surface))}.crmhero-root .kpi-row .kpi-trend.flat{color:var(--muted-foreground);background:var(--muted)}.crmhero-root .kpi-row .kpi-note{font-size:var(--text-xs);color:var(--muted-foreground)}.crmhero-root .kpi-row .kpi-link{font-size:var(--text-xs);color:var(--primary);font-weight:var(--weight-medium);display:inline-flex;align-items:center;gap:3px}.crmhero-root .kpi-row .kpi-link:hover{text-decoration:underline;text-underline-offset:3px}.crmhero-root .kpi-row .kpi-link svg{width:12px;height:12px}.crmhero-root .rep-grid{display:grid;gap:var(--space-5);align-items:start}.crmhero-root .rep-cols-wide{grid-template-columns:minmax(0,1.85fr) minmax(0,1fr)}.crmhero-root .rep-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.crmhero-root .chart-host{position:relative;width:100%}.crmhero-root .ch-grid{stroke:var(--c-grid);stroke-width:1;shape-rendering:crispEdges}.crmhero-root .ch-axis{fill:var(--c-axis);font-family:var(--font-mono);font-size:10px;font-variant-numeric:tabular-nums}.crmhero-root .ch-bar{fill:var(--c-bar)}.crmhero-root .ch-bar:hover{fill:var(--c-bar-solid)}.crmhero-root .ch-bar-p{fill:var(--primary);opacity:.82;transition:opacity .1s}.crmhero-root .ch-bar-p:hover{opacity:1}.crmhero-root .ch-line{fill:none;stroke:var(--primary);stroke-width:2;stroke-linejoin:round;stroke-linecap:round}.crmhero-root .ch-dot{fill:var(--surface);stroke:var(--primary);stroke-width:1.6}.crmhero-root .chart-legend{display:flex;flex-wrap:wrap;gap:var(--space-4);margin-bottom:var(--space-4)}.crmhero-root .chart-legend-item{display:inline-flex;align-items:center;gap:6px;font-size:var(--text-xs);font-weight:var(--weight-medium);color:var(--subtle-foreground)}.crmhero-root .chart-legend-sw{width:11px;height:11px;border-radius:3px;flex:none}.crmhero-root .chart-tip{position:absolute;z-index:30;pointer-events:none;transform:translate(-50%,calc(-100% - 8px));background:var(--popover);border:1px solid var(--border-strong);border-radius:var(--radius-md);box-shadow:var(--shadow-lg);padding:7px 9px;min-width:132px}.crmhero-root .chart-tip-title{font-size:var(--text-xs);font-weight:var(--weight-semibold);margin-bottom:5px;color:var(--foreground);white-space:nowrap}.crmhero-root .chart-tip-row{display:flex;align-items:center;justify-content:space-between;gap:var(--space-4);font-size:var(--text-xs);line-height:1.6}.crmhero-root .chart-tip-key{display:inline-flex;align-items:center;gap:6px;color:var(--muted-foreground);white-space:nowrap}.crmhero-root .chart-tip-sw{width:8px;height:8px;border-radius:2px;flex:none}.crmhero-root .chart-tip-val{font-family:var(--font-mono);font-weight:var(--weight-semibold);color:var(--foreground);font-variant-numeric:tabular-nums}.crmhero-root .chart-empty{display:grid;place-items:center;text-align:center;min-height:188px;padding:var(--space-8) var(--space-4)}.crmhero-root .chart-empty-icon{width:44px;height:44px;border-radius:var(--radius-xl);display:grid;place-items:center;background:var(--muted);color:var(--muted-foreground);margin-bottom:var(--space-3)}.crmhero-root .chart-empty-title{font-size:var(--text-sm);font-weight:var(--weight-semibold)}.crmhero-root .chart-empty-text{font-size:var(--text-xs);color:var(--muted-foreground);max-width:38ch;margin-top:var(--space-1);line-height:1.5}.crmhero-root .chart-sk{display:flex;align-items:flex-end;gap:6px}.crmhero-root .chart-sk .sk{flex:1;border-radius:var(--radius-sm) var(--radius-sm) 2px 2px}.crmhero-root .donut-wrap{display:flex;flex-direction:column;align-items:center;gap:var(--space-5)}.crmhero-root .donut-legend{display:flex;flex-direction:column;gap:var(--space-3);width:100%;min-width:0}.crmhero-root .donut-row{display:flex;align-items:center;gap:var(--space-2);font-size:var(--text-sm)}.crmhero-root .donut-row .swatch{width:10px;height:10px;border-radius:3px;flex:none}.crmhero-root .donut-row .d-name{color:var(--subtle-foreground);flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.crmhero-root .donut-row .d-val{margin-left:auto;font-weight:var(--weight-semibold);white-space:nowrap}.crmhero-root .donut-row .d-pct{width:46px;text-align:right;color:var(--muted-foreground);white-space:nowrap}.crmhero-root .donut-total{fill:var(--foreground);font-family:var(--font-mono);font-size:22px;font-weight:var(--weight-bold)}.crmhero-root .donut-sub{fill:var(--muted-foreground);font-size:10px;text-transform:uppercase;letter-spacing:var(--tracking-wide)}.crmhero-root .model-head{font-size:var(--text-xs);font-weight:var(--weight-semibold);text-transform:uppercase;letter-spacing:var(--tracking-caps);color:var(--muted-foreground);margin-top:var(--space-4);padding-top:var(--space-4);border-top:1px solid var(--border);margin-bottom:var(--space-3)}.crmhero-root .model-list{display:flex;flex-direction:column;gap:var(--space-3)}.crmhero-root .model-row{display:flex;align-items:center;gap:var(--space-3)}.crmhero-root .model-sw{width:10px;height:10px;border-radius:3px;flex:none}.crmhero-root .model-main{flex:1;min-width:0}.crmhero-root .model-name{font-size:var(--text-sm);font-weight:var(--weight-medium)}.crmhero-root .model-note{font-size:var(--text-xs);color:var(--muted-foreground)}.crmhero-root .model-share{width:84px;flex:none}.crmhero-root .model-share-bar{height:6px;background:var(--muted);border-radius:var(--radius-full);overflow:hidden}.crmhero-root .model-share-bar span{display:block;height:100%;border-radius:var(--radius-full)}.crmhero-root .model-nums{text-align:right;flex:none;min-width:84px}.crmhero-root .model-cost{font-size:var(--text-sm);font-weight:var(--weight-semibold)}.crmhero-root .model-token{font-size:var(--text-xs);color:var(--muted-foreground)}.crmhero-root .hbar-list{display:flex;flex-direction:column;gap:var(--space-3)}.crmhero-root .hbar-row{display:grid;grid-template-columns:152px 1fr 92px;align-items:center;gap:var(--space-3);width:100%;padding:3px 4px;border-radius:var(--radius-sm);text-align:left;transition:background .1s}.crmhero-root .hbar-row:hover{background:var(--accent)}.crmhero-root .hbar-name{font-size:var(--text-sm);font-weight:var(--weight-medium);color:var(--subtle-foreground)}.crmhero-root .hbar-track{height:12px;background:var(--surface-2);border:1px solid var(--border);border-radius:var(--radius-full);overflow:hidden}.crmhero-root .hbar-fill{display:block;height:100%;background:linear-gradient(90deg,color-mix(in srgb,var(--primary) 82%,var(--surface)),var(--primary));border-radius:var(--radius-full)}.crmhero-root .hbar-val{text-align:right;font-family:var(--font-mono);font-size:var(--text-sm);font-weight:var(--weight-semibold);font-variant-numeric:tabular-nums}.crmhero-root .rep-table thead th{-webkit-user-select:none;-moz-user-select:none;user-select:none}.crmhero-root .rep-table .th-sort{display:inline-flex;align-items:center;gap:4px}.crmhero-root .rep-table .th-sort svg{color:var(--muted-foreground)}.crmhero-root .quote-cell{display:flex;align-items:center;gap:var(--space-2)}.crmhero-root .quote-bar{width:64px;height:6px;background:var(--muted);border-radius:var(--radius-full);overflow:hidden;flex:none}.crmhero-root .quote-bar span{display:block;height:100%;border-radius:var(--radius-full)}.crmhero-root .quote-val{font-size:var(--text-xs);color:var(--subtle-foreground)}.crmhero-root .rep-pager{display:flex;align-items:center;justify-content:space-between;padding:var(--space-3) var(--space-4);border-top:1px solid var(--border)}@media (max-width:1300px){.crmhero-root .kpi-row{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width:1080px){.crmhero-root .rep-cols-2,.crmhero-root .rep-cols-wide{grid-template-columns:1fr}}@media (max-width:720px){.crmhero-root .kpi-row{grid-template-columns:repeat(2,minmax(0,1fr))}}.crmhero-root .vl-head{display:flex;align-items:flex-start;justify-content:space-between;gap:var(--space-4);margin-bottom:var(--space-4);flex-wrap:wrap}.crmhero-root .vl-title-row{display:flex;align-items:center;gap:var(--space-3)}.crmhero-root .vl-privacy{display:inline-flex;align-items:center;gap:6px;font-size:var(--text-xs);color:var(--muted-foreground);margin-top:var(--space-2)}.crmhero-root .vl-privacy svg{width:13px;height:13px;color:var(--success);flex:none}.crmhero-root .prof-tabs{display:flex;align-items:center;gap:var(--space-1);border-bottom:1px solid var(--border);margin-bottom:var(--space-5);overflow-x:auto}.crmhero-root .prof-tab{height:38px;padding:0 var(--space-3);font-size:var(--text-sm);font-weight:var(--weight-medium);color:var(--muted-foreground);border-bottom:2px solid transparent;margin-bottom:-1px;transition:color .12s,border-color .12s;display:inline-flex;align-items:center;gap:7px;white-space:nowrap}.crmhero-root .prof-tab:hover{color:var(--foreground)}.crmhero-root .prof-tab[data-active=true]{color:var(--primary);border-bottom-color:var(--primary);font-weight:var(--weight-semibold)}.crmhero-root .prof-tab .pt-dirty{width:7px;height:7px;border-radius:var(--radius-full);background:var(--warning);flex:none}.crmhero-root .prof-tab-add{height:38px;padding:0 var(--space-3);display:inline-flex;align-items:center;gap:6px;font-size:var(--text-sm);font-weight:var(--weight-medium);color:var(--primary);border-radius:var(--radius-md);margin-bottom:1px;transition:background .1s;white-space:nowrap}.crmhero-root .prof-tab-add:hover{background:color-mix(in srgb,var(--primary) 10%,transparent)}.crmhero-root .prof-tab-add svg{width:14px;height:14px}.crmhero-root .save-cluster{display:flex;align-items:center;gap:var(--space-3);flex:none}.crmhero-root .save-state{display:inline-flex;align-items:center;gap:7px;font-size:var(--text-xs);font-weight:var(--weight-semibold);white-space:nowrap}.crmhero-root .save-state.clean{color:var(--muted-foreground)}.crmhero-root .save-state.clean svg{width:14px;height:14px;color:var(--success)}.crmhero-root .save-state.dirty{color:var(--warning)}.crmhero-root .save-state.dirty .ss-dot{width:8px;height:8px;border-radius:var(--radius-full);background:var(--warning);flex:none;box-shadow:0 0 0 3px color-mix(in srgb,var(--warning) 20%,transparent)}.crmhero-root .vl-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 320px;gap:var(--space-5);align-items:start}@media (max-width:1320px){.crmhero-root .vl-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.crmhero-root .vl-grid .preview-col{grid-column:1/-1}.crmhero-root .preview-card{position:static!important}}@media (max-width:940px){.crmhero-root .vl-grid{grid-template-columns:1fr}}.crmhero-root .field-grid{padding:var(--space-5);display:flex;flex-direction:column;gap:var(--space-5)}.crmhero-root .field-2up{display:grid;grid-template-columns:1fr 1fr;gap:var(--space-4)}@media (max-width:520px){.crmhero-root .field-2up{grid-template-columns:1fr}}.crmhero-root .field-label .req{color:var(--danger);margin-left:2px}.crmhero-root .field-label .opt{color:var(--muted-foreground);font-weight:var(--weight-regular);margin-left:6px;font-size:var(--text-xs)}.crmhero-root .select-group{position:relative;display:flex;align-items:center}.crmhero-root .select-group .input-icon{position:absolute;left:10px;color:var(--muted-foreground);display:grid;place-items:center;pointer-events:none;z-index:1}.crmhero-root .select-group .input-icon svg{width:16px;height:16px}.crmhero-root .select-group .select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 10px center;padding-right:32px;padding-left:34px;cursor:pointer}.crmhero-root .tone-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:var(--space-2)}.crmhero-root .tone-chip{display:inline-flex;align-items:center;gap:5px;height:26px;padding:0 10px;border-radius:var(--radius-full);font-size:var(--text-xs);font-weight:var(--weight-medium);color:var(--subtle-foreground);background:var(--surface);border:1px solid var(--border-strong);transition:all .12s}.crmhero-root .tone-chip:hover{border-color:var(--primary);color:var(--primary)}.crmhero-root .tone-chip[data-on=true]{background:color-mix(in srgb,var(--primary) var(--tint-soft),var(--surface));border-color:color-mix(in srgb,var(--primary) 40%,transparent);color:var(--primary);font-weight:var(--weight-semibold)}.crmhero-root .tone-chip .tc-x{width:12px;height:12px;opacity:.7}.crmhero-root .tone-chips-label{font-size:var(--text-xs);color:var(--muted-foreground);margin-top:var(--space-2)}.crmhero-root .tone-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:var(--space-2)}.crmhero-root .tone-grid .tone-chip{display:flex;flex-direction:column;gap:3px;align-items:flex-start;height:auto;padding:var(--space-3);border:1px solid var(--border-strong);border-radius:var(--radius-md);background:var(--surface);text-align:left;font-weight:var(--weight-regular);color:var(--foreground);transition:border-color .12s,background .12s}.crmhero-root .tone-grid .tone-chip:hover{background:var(--accent);color:var(--foreground)}.crmhero-root .tone-grid .tone-chip[data-on=true]{border-color:var(--primary);background:color-mix(in srgb,var(--primary) 7%,var(--surface));box-shadow:inset 0 0 0 1px var(--primary)}.crmhero-root .tone-grid .tone-chip .tc-name{font-size:var(--text-sm);font-weight:var(--weight-semibold);display:flex;align-items:center;gap:7px}.crmhero-root .tone-grid .tone-chip .tc-name svg{width:14px;height:14px;color:var(--primary)}.crmhero-root .tone-grid .tone-chip .tc-desc{font-size:var(--text-xs);color:var(--muted-foreground);line-height:var(--leading-snug)}.crmhero-root .override-note{display:flex;align-items:flex-start;gap:8px;padding:var(--space-3) var(--space-4);border-radius:var(--radius-md);background:color-mix(in srgb,var(--primary) var(--tint-soft),var(--surface));border:1px solid color-mix(in srgb,var(--primary) 22%,transparent);font-size:var(--text-xs);color:var(--subtle-foreground);line-height:var(--leading-snug)}.crmhero-root .override-note svg{width:14px;height:14px;flex:none;color:var(--primary);margin-top:1px}.crmhero-root .override-note b{color:var(--foreground);font-weight:var(--weight-semibold)}.crmhero-root .pers-divider{height:1px;background:var(--border);margin:0}.crmhero-root .override-state{display:inline-flex;align-items:center;gap:6px;margin-top:var(--space-2);font-size:var(--text-xs);line-height:var(--leading-snug)}.crmhero-root .override-state svg{width:12px;height:12px;flex:none}.crmhero-root .override-state.on{color:var(--primary);font-weight:var(--weight-medium)}.crmhero-root .override-state.off{color:var(--muted-foreground)}.crmhero-root .sig-token{font-family:var(--font-mono);font-size:12px;font-weight:var(--weight-semibold);color:var(--primary);background:color-mix(in srgb,var(--primary) 12%,transparent);padding:0 5px;border-radius:var(--radius-sm)}.crmhero-root .char-count{font-size:var(--text-xs);color:var(--muted-foreground);font-variant-numeric:tabular-nums}.crmhero-root .char-count .over,.crmhero-root .char-count.over{color:var(--danger);font-weight:var(--weight-semibold)}.crmhero-root .sig-preview{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface-2);padding:var(--space-4)}.crmhero-root .sig-preview .sp-cap{font-size:10px;font-weight:var(--weight-semibold);letter-spacing:var(--tracking-caps);text-transform:uppercase;color:var(--muted-foreground);margin-bottom:var(--space-2);display:flex;align-items:center;gap:6px}.crmhero-root .sig-preview .sp-cap svg{width:12px;height:12px}.crmhero-root .sig-preview .sp-text{font-size:var(--text-sm);color:var(--subtle-foreground);line-height:1.6;white-space:pre-wrap;word-break:break-word}.crmhero-root .rule-list{display:flex;flex-direction:column;gap:var(--space-2)}.crmhero-root .rule-row{display:flex;align-items:center;gap:var(--space-2)}.crmhero-root .rule-kind{flex:none;width:28px;height:36px;display:grid;place-items:center;border-radius:var(--radius-md);border:1px solid var(--border-strong);background:var(--surface);transition:all .12s}.crmhero-root .rule-kind[data-kind=do]{color:var(--success);border-color:color-mix(in srgb,var(--success) 35%,transparent);background:color-mix(in srgb,var(--success) var(--tint-soft),var(--surface))}.crmhero-root .rule-kind[data-kind=dont]{color:var(--danger);border-color:color-mix(in srgb,var(--danger) 35%,transparent);background:color-mix(in srgb,var(--danger) var(--tint-soft),var(--surface))}.crmhero-root .rule-kind svg{width:15px;height:15px}.crmhero-root .rule-row .input{flex:1}.crmhero-root .rule-del{flex:none;width:32px;height:36px;display:grid;place-items:center;border-radius:var(--radius-md);color:var(--muted-foreground);transition:background .1s,color .1s}.crmhero-root .rule-del:hover{background:color-mix(in srgb,var(--danger) var(--tint-soft),var(--surface));color:var(--danger)}.crmhero-root .rule-del svg{width:15px;height:15px}.crmhero-root .rule-add{align-self:flex-start;margin-top:var(--space-1)}.crmhero-root .rule-hint{font-size:var(--text-xs);color:var(--muted-foreground);display:flex;align-items:center;gap:6px;margin-top:var(--space-1)}.crmhero-root .rule-hint svg{width:13px;height:13px;color:var(--primary);flex:none}.crmhero-root .bs-toolbar{padding:var(--space-3) var(--space-4);border-bottom:1px solid var(--border);display:flex;align-items:center;gap:var(--space-2);flex:none}.crmhero-root .bs-toolbar .input-group{flex:1}.crmhero-root .bs-list{display:flex;flex-direction:column;max-height:560px;overflow-y:auto}.crmhero-root .bs-row{display:flex;align-items:flex-start;gap:var(--space-3);padding:var(--space-3) var(--space-4);border-bottom:1px solid var(--border);transition:background .1s}.crmhero-root .bs-row:last-child{border-bottom:0}.crmhero-root .bs-row:hover{background:var(--accent)}.crmhero-root .bs-main{min-width:0;flex:1}.crmhero-root .bs-l1{display:flex;align-items:center;gap:var(--space-2);flex-wrap:wrap}.crmhero-root .bs-label{font-size:var(--text-sm);font-weight:var(--weight-semibold);color:var(--foreground)}.crmhero-root .bs-key{font-family:var(--font-mono);font-size:11px;font-weight:var(--weight-medium);color:var(--subtle-foreground);background:var(--muted);border:1px solid var(--border);border-radius:var(--radius-sm);padding:1px 6px}.crmhero-root .bs-key:before{content:"{ }";letter-spacing:-1px;margin-right:5px;color:var(--muted-foreground);opacity:.7}.crmhero-root .bs-body{font-size:var(--text-xs);color:var(--muted-foreground);line-height:1.5;margin-top:5px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.crmhero-root .bs-actions{flex:none;display:flex;align-items:center;gap:2px}.crmhero-root .bs-iconbtn{width:30px;height:30px;border-radius:var(--radius-md);display:grid;place-items:center;color:var(--muted-foreground);transition:background .1s,color .1s}.crmhero-root .bs-iconbtn:hover{background:var(--surface-2);color:var(--foreground)}.crmhero-root .bs-iconbtn.danger:hover{background:color-mix(in srgb,var(--danger) var(--tint-soft),var(--surface));color:var(--danger)}.crmhero-root .bs-iconbtn svg{width:15px;height:15px}.crmhero-root .bs-count{font-size:var(--text-xs);color:var(--muted-foreground);font-weight:var(--weight-medium);font-variant-numeric:tabular-nums}.crmhero-root .area-empty{display:grid;place-items:center;padding:var(--space-12) var(--space-6);text-align:center}.crmhero-root .area-empty .ae-icon{width:46px;height:46px;border-radius:var(--radius-xl);display:grid;place-items:center;margin-bottom:var(--space-3);background:var(--muted);color:var(--muted-foreground)}.crmhero-root .area-empty .ae-icon svg{width:22px;height:22px}.crmhero-root .area-empty .ae-title{font-size:var(--text-sm);font-weight:var(--weight-semibold)}.crmhero-root .area-empty .ae-text{font-size:var(--text-xs);color:var(--muted-foreground);max-width:34ch;margin:var(--space-2) auto var(--space-4);line-height:1.5}.crmhero-root .vl-empty{display:grid;place-items:center;padding:var(--space-20) var(--space-6);text-align:center}.crmhero-root .vl-empty .ve-mark{width:60px;height:60px;border-radius:var(--radius-2xl);display:grid;place-items:center;margin-bottom:var(--space-5);color:#fff;background:linear-gradient(160deg,var(--ch-primary-400),var(--ch-primary-600));box-shadow:var(--shadow-md)}.crmhero-root .vl-empty .ve-mark svg{width:28px;height:28px}.crmhero-root .vl-empty .ve-title{font-size:var(--text-2xl);font-weight:var(--weight-bold);letter-spacing:var(--tracking-tight)}.crmhero-root .vl-empty .ve-text{font-size:var(--text-sm);color:var(--subtle-foreground);max-width:48ch;margin:var(--space-3) auto var(--space-6);line-height:var(--leading-normal)}.crmhero-root .preview-col{min-width:0}.crmhero-root .preview-card{position:sticky;top:0;border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--card);box-shadow:var(--shadow-xs);overflow:hidden}.crmhero-root .pv-head{display:flex;align-items:center;gap:var(--space-3);padding:var(--space-3) var(--space-4);border-bottom:1px solid var(--border);background:var(--surface-2)}.crmhero-root .pv-mark{width:28px;height:28px;border-radius:7px;display:grid;place-items:center;color:#fff;background:linear-gradient(160deg,var(--ch-primary-400),var(--ch-primary-600));flex:none}.crmhero-root .pv-mark svg{width:15px;height:15px}.crmhero-root .pv-title{font-size:var(--text-sm);font-weight:var(--weight-bold);letter-spacing:var(--tracking-tight)}.crmhero-root .pv-sub{font-size:11px;color:var(--muted-foreground)}.crmhero-root .phase-badge{margin-left:auto;flex:none;display:inline-flex;align-items:center;gap:5px;height:20px;padding:0 8px;border-radius:var(--radius-full);font-size:10px;font-weight:var(--weight-bold);letter-spacing:var(--tracking-wide);text-transform:uppercase;color:var(--cat-werbung);background:color-mix(in srgb,var(--cat-werbung) var(--tint-soft),var(--surface));border:1px solid color-mix(in srgb,var(--cat-werbung) 28%,transparent)}.crmhero-root .pv-body{padding:var(--space-4)}.crmhero-root .pv-meta{display:flex;align-items:center;gap:var(--space-2);flex-wrap:wrap;font-size:var(--text-xs);color:var(--muted-foreground);margin-bottom:var(--space-3);padding-bottom:var(--space-3);border-bottom:1px dashed var(--border)}.crmhero-root .pv-draft{font-size:var(--text-sm);line-height:1.6;color:var(--foreground)}.crmhero-root .pv-draft .pv-greeting{font-weight:var(--weight-medium)}.crmhero-root .pv-draft p{margin-bottom:var(--space-3);white-space:pre-wrap}.crmhero-root .pv-draft .pv-bodyhint{font-style:italic;color:var(--muted-foreground)}.crmhero-root .pv-baustein{border-left:3px solid color-mix(in srgb,var(--cat-angebot) 60%,transparent);background:color-mix(in srgb,var(--cat-angebot) var(--tint-soft),var(--surface));padding:var(--space-2) var(--space-3);border-radius:0 var(--radius-sm) var(--radius-sm) 0;margin-bottom:var(--space-3)}.crmhero-root .pv-baustein .pvb-tag{font-size:10px;font-weight:var(--weight-semibold);text-transform:uppercase;letter-spacing:var(--tracking-wide);color:var(--cat-angebot);display:flex;align-items:center;gap:5px;margin-bottom:3px}.crmhero-root .pv-baustein .pvb-tag svg{width:11px;height:11px}.crmhero-root .pv-baustein .pvb-text{font-size:var(--text-xs);color:var(--subtle-foreground);line-height:1.5}.crmhero-root .pv-sig{margin-top:var(--space-4);padding-top:var(--space-3);border-top:1px solid var(--border);font-size:var(--text-xs);color:var(--subtle-foreground);line-height:1.55;white-space:pre-wrap}.crmhero-root .pv-foot{padding:var(--space-3) var(--space-4);border-top:1px solid var(--border);background:var(--surface-2);font-size:11px;color:var(--muted-foreground);display:flex;align-items:center;gap:7px}.crmhero-root .pv-foot svg{width:13px;height:13px;color:var(--primary);flex:none}.crmhero-root .pv-toggle{display:inline-flex;padding:3px;background:var(--muted);border-radius:var(--radius-md);gap:2px}.crmhero-root .pv-toggle button{height:24px;padding:0 10px;border-radius:var(--radius-sm);font-size:11px;font-weight:var(--weight-semibold);color:var(--muted-foreground)}.crmhero-root .pv-toggle button[data-active=true]{background:var(--surface);color:var(--foreground);box-shadow:var(--shadow-xs)}.crmhero-root .sk-field{display:flex;flex-direction:column;gap:7px}.crmhero-root .modal.modal-lg{max-width:560px}.crmhero-root .modal-form{display:flex;flex-direction:column;gap:var(--space-4);padding:0 var(--space-5) var(--space-5)}.crmhero-root .key-preview{font-family:var(--font-mono);font-size:var(--text-xs);color:var(--muted-foreground)}.crmhero-root .key-preview b{color:var(--primary)}.crmhero-root .kontakt-split{display:grid;grid-template-columns:minmax(360px,440px) minmax(0,1fr);gap:var(--space-4);align-items:start;height:100%;min-height:0}.crmhero-root .kontakt-list-card{display:flex;flex-direction:column;min-height:0;height:100%}.crmhero-root .kontakt-list-head{padding:var(--space-3) var(--space-4);border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;gap:var(--space-2);flex:none}.crmhero-root .kontakt-list-scroll{overflow-y:auto;overflow-x:hidden;min-height:0;flex:1}.crmhero-root .list-tabs{display:flex;gap:2px;padding:var(--space-2) var(--space-3) 0;border-bottom:1px solid var(--border);flex:none}.crmhero-root .list-tabs button{height:34px;padding:0 var(--space-3);font-size:var(--text-sm);font-weight:var(--weight-medium);color:var(--muted-foreground);border-bottom:2px solid transparent;margin-bottom:-1px;display:inline-flex;align-items:center;gap:7px;transition:color .12s,border-color .12s}.crmhero-root .list-tabs button:hover{color:var(--foreground)}.crmhero-root .list-tabs button[data-active=true]{color:var(--primary);border-bottom-color:var(--primary);font-weight:var(--weight-semibold)}.crmhero-root .list-tabs button[data-active=true].danger{color:var(--danger);border-bottom-color:var(--danger)}.crmhero-root .list-tabs .lt-count{font-size:11px;background:var(--muted);border-radius:var(--radius-full);padding:0 6px;font-variant-numeric:tabular-nums}.crmhero-root .list-tabs button[data-active=true].danger .lt-count{background:color-mix(in srgb,var(--danger) 16%,var(--surface));color:var(--danger)}.crmhero-root .crow{display:grid;grid-template-columns:4px auto 1fr auto;align-items:center;gap:0;border-bottom:1px solid var(--border);cursor:pointer;transition:background .1s}.crmhero-root .crow:hover{background:var(--accent)}.crmhero-root .crow[data-selected=true]{background:color-mix(in srgb,var(--primary) 8%,var(--surface))}.crmhero-root .crow .crow-rail{width:4px;align-self:stretch;background:transparent}.crmhero-root .crow[data-selected=true] .crow-rail{background:var(--primary)}.crmhero-root .crow[data-consent=optout] .crow-rail{background:color-mix(in srgb,var(--danger) 55%,transparent)}.crmhero-root .crow[data-selected=true][data-consent=optout] .crow-rail{background:var(--danger)}.crmhero-root .crow-ava{width:36px;height:36px;border-radius:var(--radius-md);flex:none;display:grid;place-items:center;color:#fff;font-size:var(--text-xs);font-weight:var(--weight-bold);background:var(--ac,var(--muted-foreground));margin:var(--space-3);box-shadow:inset 0 1px 0 rgba(255,255,255,.18)}.crmhero-root .crow[data-consent=optout] .crow-ava{filter:grayscale(.45) opacity(.9)}.crmhero-root .crow-body{min-width:0;padding:var(--space-3) var(--space-3) var(--space-3) 0}.crmhero-root .crow-l1{display:flex;align-items:center;gap:var(--space-2)}.crmhero-root .crow-name{font-size:var(--text-sm);font-weight:var(--weight-semibold);color:var(--foreground);min-width:0}.crmhero-root .crow-firma{font-size:var(--text-xs);color:var(--subtle-foreground);margin-top:1px}.crmhero-root .crow-meta{display:flex;align-items:center;gap:8px;margin-top:var(--space-2);flex-wrap:wrap}.crmhero-root .crow-last{font-size:11px;color:var(--muted-foreground);font-variant-numeric:tabular-nums}.crmhero-root .crow-end{padding-right:var(--space-4);padding-left:var(--space-2);flex:none;display:flex;align-items:center}.crmhero-root .consent-badge{display:inline-flex;align-items:center;gap:6px;height:22px;padding:0 9px 0 8px;border-radius:var(--radius-full);font-size:11px;font-weight:var(--weight-semibold);white-space:nowrap;color:var(--c);background:color-mix(in srgb,var(--c) var(--tint-soft),var(--surface));border:1px solid color-mix(in srgb,var(--c) 28%,transparent)}.crmhero-root .consent-badge svg{width:12px;height:12px;flex:none}.crmhero-root .consent-badge[data-c=erteilt]{--c:var(--success)}.crmhero-root .consent-badge[data-c=bestand]{--c:var(--info)}.crmhero-root .consent-badge[data-c=ungeklaert]{--c:var(--warning)}.crmhero-root .consent-badge[data-c=optout]{--c:var(--danger)}.crmhero-root .consent-badge.lg{height:28px;font-size:var(--text-sm);padding:0 12px 0 10px}.crmhero-root .consent-badge.lg svg{width:15px;height:15px}.crmhero-root .seg-pill{display:inline-flex;align-items:center;gap:5px;font-size:11px;font-weight:var(--weight-medium);color:var(--muted-foreground)}.crmhero-root .seg-pill svg{width:12px;height:12px}.crmhero-root .kontakt-detail{display:flex;flex-direction:column;min-height:0;height:100%;overflow:hidden}.crmhero-root .kd-scroll{overflow-y:auto;overflow-x:hidden;min-height:0;flex:1}.crmhero-root .kd-head{padding:var(--space-5);border-bottom:1px solid var(--border);flex:none;display:flex;gap:var(--space-4);align-items:flex-start}.crmhero-root .kd-ava{width:52px;height:52px;border-radius:var(--radius-lg);flex:none;display:grid;place-items:center;color:#fff;font-size:var(--text-lg);font-weight:var(--weight-bold);background:var(--ac,var(--muted-foreground));box-shadow:inset 0 1px 0 rgba(255,255,255,.18)}.crmhero-root .kd-name{font-size:var(--text-xl);font-weight:var(--weight-bold);letter-spacing:var(--tracking-tight);line-height:1.2}.crmhero-root .kd-firma{font-size:var(--text-sm);color:var(--subtle-foreground);margin-top:3px;display:flex;align-items:center;gap:7px;flex-wrap:wrap}.crmhero-root .kd-badges{align-items:center;gap:var(--space-2)}.crmhero-root .kd-badges,.crmhero-root .kd-tags{display:flex;margin-top:var(--space-3);flex-wrap:wrap}.crmhero-root .kd-tags{gap:6px}.crmhero-root .tag{display:inline-flex;align-items:center;height:22px;padding:0 9px;border-radius:var(--radius-full);font-size:11px;font-weight:var(--weight-medium);color:var(--subtle-foreground);background:var(--surface-2);border:1px solid var(--border)}.crmhero-root .kd-body{padding:var(--space-5);display:flex;flex-direction:column;gap:var(--space-5)}.crmhero-root .stammdaten{display:grid;grid-template-columns:1fr 1fr;gap:var(--space-3) var(--space-5)}.crmhero-root .sd-item{display:flex;gap:var(--space-3);align-items:flex-start;min-width:0}.crmhero-root .sd-ic{width:30px;height:30px;border-radius:var(--radius-md);background:var(--muted);color:var(--subtle-foreground);display:grid;place-items:center;flex:none}.crmhero-root .sd-ic svg{width:15px;height:15px}.crmhero-root .sd-k{font-size:var(--text-xs);color:var(--muted-foreground)}.crmhero-root .sd-v{font-size:var(--text-sm);font-weight:var(--weight-medium);word-break:break-word}.crmhero-root .sd-v.mono{font-family:var(--font-mono);font-size:var(--text-xs)}.crmhero-root .kd-block-label{font-size:10px;font-weight:var(--weight-semibold);letter-spacing:var(--tracking-caps);text-transform:uppercase;color:var(--muted-foreground);margin-bottom:var(--space-3);display:flex;align-items:center;gap:6px}.crmhero-root .kd-block-label svg{width:12px;height:12px}.crmhero-root .consent-panel{border:1px solid color-mix(in srgb,var(--c) 32%,transparent);border-radius:var(--radius-lg);background:color-mix(in srgb,var(--c) var(--tint-soft),var(--surface));overflow:hidden}.crmhero-root .consent-panel[data-c=erteilt]{--c:var(--success)}.crmhero-root .consent-panel[data-c=bestand]{--c:var(--info)}.crmhero-root .consent-panel[data-c=ungeklaert]{--c:var(--warning)}.crmhero-root .consent-panel[data-c=optout]{--c:var(--danger)}.crmhero-root .consent-panel .cp-head{display:flex;align-items:center;gap:var(--space-3);padding:var(--space-3) var(--space-4);border-bottom:1px solid color-mix(in srgb,var(--c) 22%,transparent)}.crmhero-root .consent-panel .cp-mark{width:30px;height:30px;border-radius:var(--radius-md);display:grid;place-items:center;color:#fff;background:var(--c);flex:none}.crmhero-root .consent-panel .cp-mark svg{width:16px;height:16px}.crmhero-root .consent-panel .cp-title{font-size:var(--text-sm);font-weight:var(--weight-bold);color:var(--c)}.crmhero-root .consent-panel .cp-legal{font-size:11px;color:var(--subtle-foreground);margin-top:1px}.crmhero-root .consent-panel .cp-body{background:var(--surface);padding:var(--space-3) var(--space-4)}.crmhero-root .cp-row{display:flex;gap:var(--space-3);padding:var(--space-2) 0;border-bottom:1px dashed var(--border);font-size:var(--text-sm);align-items:baseline}.crmhero-root .cp-row:last-child{border-bottom:0}.crmhero-root .cp-row .cp-k{width:132px;flex:none;color:var(--muted-foreground);font-size:var(--text-xs)}.crmhero-root .cp-row .cp-v{min-width:0;font-weight:var(--weight-medium)}.crmhero-root .cp-row .cp-v.ok{color:var(--success)}.crmhero-root .cp-row .cp-v.miss{color:var(--warning)}.crmhero-root .cp-row .cp-v.bad{color:var(--danger)}.crmhero-root .lock-banner{display:flex;gap:var(--space-3);align-items:flex-start;padding:var(--space-4);border-radius:var(--radius-lg);border:1px solid color-mix(in srgb,var(--danger) 42%,transparent);background:color-mix(in srgb,var(--danger) var(--tint-soft),var(--surface))}.crmhero-root .lock-banner .lb-ic{width:38px;height:38px;border-radius:var(--radius-md);display:grid;place-items:center;flex:none;color:#fff;background:var(--danger)}.crmhero-root .lock-banner .lb-ic svg{width:19px;height:19px}.crmhero-root .lock-banner .lb-title{font-size:var(--text-sm);font-weight:var(--weight-bold);color:var(--danger)}.crmhero-root .lock-banner .lb-text{font-size:var(--text-sm);margin-top:2px}.crmhero-root .dsgvo-note,.crmhero-root .lock-banner .lb-text{color:var(--subtle-foreground);line-height:var(--leading-snug)}.crmhero-root .dsgvo-note{display:flex;gap:var(--space-2);align-items:flex-start;padding:var(--space-3);border-radius:var(--radius-md);background:var(--surface-2);border:1px solid var(--border);font-size:var(--text-xs)}.crmhero-root .dsgvo-note svg{width:14px;height:14px;color:var(--muted-foreground);flex:none;margin-top:1px}.crmhero-root .dsgvo-note b{color:var(--foreground);font-weight:var(--weight-semibold)}.crmhero-root .comm-timeline{display:flex;flex-direction:column}.crmhero-root .comm-item{display:grid;grid-template-columns:30px 1fr;gap:var(--space-3);padding:var(--space-2) 0}.crmhero-root .comm-ic{width:30px;height:30px;border-radius:var(--radius-md);display:grid;place-items:center;flex:none;background:var(--muted);color:var(--subtle-foreground);position:relative}.crmhero-root .comm-ic svg{width:14px;height:14px}.crmhero-root .comm-ic[data-dir=in]{background:color-mix(in srgb,var(--info) var(--tint-soft),var(--surface));color:var(--info)}.crmhero-root .comm-ic[data-dir=out]{background:color-mix(in srgb,var(--primary) var(--tint-soft),var(--surface));color:var(--primary)}.crmhero-root .comm-ic.optout{background:color-mix(in srgb,var(--danger) var(--tint-soft),var(--surface));color:var(--danger)}.crmhero-root .comm-main{min-width:0;padding-top:2px}.crmhero-root .comm-title{font-size:var(--text-sm);color:var(--foreground)}.crmhero-root .comm-sub{font-size:11px;color:var(--muted-foreground);margin-top:1px;display:flex;align-items:center;gap:6px;font-variant-numeric:tabular-nums}.crmhero-root .kd-actions{flex:none;border-top:1px solid var(--border);background:var(--surface)}.crmhero-root .akquise-gate{padding:var(--space-3) var(--space-5) 0}.crmhero-root .akquise-gate .ag-reason{display:flex;gap:var(--space-2);align-items:flex-start;font-size:var(--text-xs);line-height:var(--leading-snug);padding:var(--space-2) var(--space-3);border-radius:var(--radius-md)}.crmhero-root .akquise-gate .ag-reason svg{width:14px;height:14px;flex:none;margin-top:1px}.crmhero-root .akquise-gate .ag-reason.blocked{color:var(--warning);background:color-mix(in srgb,var(--warning) var(--tint-soft),var(--surface));border:1px solid color-mix(in srgb,var(--warning) 26%,transparent)}.crmhero-root .akquise-gate .ag-reason.locked{color:var(--danger);background:color-mix(in srgb,var(--danger) var(--tint-soft),var(--surface));border:1px solid color-mix(in srgb,var(--danger) 26%,transparent)}.crmhero-root .akquise-gate .ag-reason.ok{color:var(--primary);background:color-mix(in srgb,var(--primary) var(--tint-soft),var(--surface));border:1px solid color-mix(in srgb,var(--primary) 22%,transparent)}.crmhero-root .kd-action-bar{display:flex;align-items:center;gap:var(--space-2);padding:var(--space-3) var(--space-5);flex-wrap:wrap}.crmhero-root .kd-action-bar .ab-spacer{flex:1}@media (max-width:1180px){.crmhero-root .kontakt-split{grid-template-columns:1fr;height:auto}.crmhero-root .stammdaten{grid-template-columns:1fr}}.crmhero-root .cal-bar{display:flex;align-items:center;gap:var(--space-3);margin-bottom:var(--space-4);flex-wrap:wrap}.crmhero-root .cal-nav{display:flex;align-items:center;gap:var(--space-2)}.crmhero-root .cal-title{font-size:var(--text-xl);font-weight:var(--weight-bold);letter-spacing:var(--tracking-tight);min-width:156px}.crmhero-root .cal-title .yr{color:var(--muted-foreground);font-weight:var(--weight-semibold)}.crmhero-root .cal-iconbtn{width:32px;height:32px;border-radius:var(--radius-md);border:1px solid var(--border-strong);background:var(--surface);display:grid;place-items:center;color:var(--subtle-foreground);transition:background .12s,border-color .12s}.crmhero-root .cal-iconbtn:hover{background:var(--accent);border-color:var(--ring)}.crmhero-root .cal-spacer{flex:1}.crmhero-root .cal-month{border:1px solid var(--border);border-radius:var(--radius-lg);overflow:hidden;background:var(--surface);box-shadow:var(--shadow-xs)}.crmhero-root .cal-dows{display:grid;grid-template-columns:repeat(7,1fr);background:var(--surface-2);border-bottom:1px solid var(--border)}.crmhero-root .cal-dow{padding:var(--space-2) var(--space-3);font-size:11px;font-weight:var(--weight-semibold);letter-spacing:var(--tracking-caps);text-transform:uppercase;color:var(--muted-foreground)}.crmhero-root .cal-dow.we{color:var(--subtle-foreground)}.crmhero-root .cal-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.crmhero-root .cal-cell{min-height:124px;padding:6px;border-right:1px solid var(--border);border-bottom:1px solid var(--border);display:flex;flex-direction:column;gap:4px;min-width:0;background:var(--surface)}.crmhero-root .cal-cell:nth-child(7n){border-right:0}.crmhero-root .cal-grid>.cal-cell:nth-last-child(-n+7){border-bottom:0}.crmhero-root .cal-cell.we{background:color-mix(in srgb,var(--surface-2) 55%,var(--surface))}.crmhero-root .cal-cell.other{background:var(--surface-2)}.crmhero-root .cal-cell.other .cal-daynum{color:var(--muted-foreground);opacity:.6}.crmhero-root .cal-dayhdr{display:flex;align-items:center;justify-content:space-between;gap:4px}.crmhero-root .cal-daynum{font-size:var(--text-sm);font-weight:var(--weight-semibold);color:var(--subtle-foreground);font-variant-numeric:tabular-nums;width:24px;height:22px;display:grid;place-items:center}.crmhero-root .cal-cell.today .cal-daynum{background:var(--primary);color:var(--primary-foreground);border-radius:var(--radius-full);width:24px;height:24px;font-weight:var(--weight-bold)}.crmhero-root .cal-cell.today{background:color-mix(in srgb,var(--primary) 4%,var(--surface))}.crmhero-root .cal-add{width:20px;height:20px;border-radius:var(--radius-sm);display:grid;place-items:center;color:var(--muted-foreground);opacity:0;transition:opacity .12s,background .12s}.crmhero-root .cal-cell:hover .cal-add{opacity:1}.crmhero-root .cal-add:hover{background:var(--accent);color:var(--primary)}.crmhero-root .cal-events{display:flex;flex-direction:column;gap:3px;min-width:0}.crmhero-root .evt{--hue:var(--prio-normal);display:flex;align-items:center;gap:5px;width:100%;text-align:left;padding:2px 5px 2px 4px;border-radius:var(--radius-sm);min-width:0;background:color-mix(in srgb,var(--hue) 9%,var(--surface));border:1px solid color-mix(in srgb,var(--hue) 22%,transparent);border-left:3px solid var(--hue);transition:background .1s,box-shadow .1s}.crmhero-root .evt:hover{background:color-mix(in srgb,var(--hue) 16%,var(--surface));box-shadow:var(--shadow-xs)}.crmhero-root .evt .evt-kind{color:var(--hue);flex:none;display:grid;place-items:center}.crmhero-root .evt .evt-kind svg{width:11px;height:11px}.crmhero-root .evt .evt-time{font-family:var(--font-mono);font-size:10px;font-weight:var(--weight-semibold);color:var(--subtle-foreground);flex:none;font-variant-numeric:tabular-nums}.crmhero-root .evt .evt-title{font-size:var(--text-xs);font-weight:var(--weight-medium);color:var(--foreground);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;flex:1}.crmhero-root .evt .evt-trail{display:flex;align-items:center;gap:3px;flex:none}.crmhero-root .evt .evt-ki{width:6px;height:6px;border-radius:var(--radius-full);background:var(--primary);box-shadow:0 0 0 2px color-mix(in srgb,var(--primary) 22%,transparent);flex:none}.crmhero-root .evt .evt-src{color:var(--muted-foreground);display:grid;place-items:center}.crmhero-root .evt .evt-src svg{width:10px;height:10px}.crmhero-root .evt.allday{background:color-mix(in srgb,var(--hue) 16%,var(--surface))}.crmhero-root .evt.is-erledigt{background:var(--surface-2);border-color:var(--border);border-left-color:var(--border-strong)}.crmhero-root .evt.is-erledigt .evt-title{color:var(--muted-foreground);text-decoration:line-through;text-decoration-color:var(--border-strong)}.crmhero-root .evt.is-erledigt .evt-kind{color:var(--muted-foreground)}.crmhero-root .evt.is-verworfen{background:var(--surface-2);border-style:dashed dashed dashed solid;border-left-color:color-mix(in srgb,var(--danger) 45%,var(--border-strong))}.crmhero-root .evt.is-verworfen .evt-title{color:var(--muted-foreground);text-decoration:line-through;text-decoration-color:color-mix(in srgb,var(--danger) 50%,transparent)}.crmhero-root .evt.is-offen{border-style:dashed dashed dashed solid}.crmhero-root .cal-more{align-self:flex-start;font-size:11px;font-weight:var(--weight-semibold);color:var(--muted-foreground);padding:1px 6px;border-radius:var(--radius-sm);transition:background .1s,color .1s}.crmhero-root .cal-more:hover{background:var(--accent);color:var(--primary)}.crmhero-root .cal-legend{display:flex;align-items:center;gap:var(--space-4);flex-wrap:wrap;padding:var(--space-3) var(--space-4);border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface);margin-top:var(--space-4)}.crmhero-root .cal-legend .lg-group{display:flex;align-items:center;gap:var(--space-3);flex-wrap:wrap}.crmhero-root .cal-legend .lg-title{font-size:10px;font-weight:var(--weight-semibold);letter-spacing:var(--tracking-caps);text-transform:uppercase;color:var(--muted-foreground)}.crmhero-root .cal-legend .lg-item{display:inline-flex;align-items:center;gap:6px;font-size:var(--text-xs);color:var(--subtle-foreground);font-weight:var(--weight-medium)}.crmhero-root .cal-legend .lg-item svg{width:13px;height:13px;color:var(--muted-foreground)}.crmhero-root .cal-legend .lg-sep{width:1px;height:22px;background:var(--border)}.crmhero-root .lg-sw{width:12px;height:12px;border-radius:3px;flex:none}.crmhero-root .cal-agenda{display:flex;flex-direction:column;gap:var(--space-4)}.crmhero-root .ag-day{display:grid;grid-template-columns:92px minmax(0,1fr);gap:var(--space-4);align-items:start}.crmhero-root .ag-date{position:sticky;top:0}.crmhero-root .ag-date .ag-dd{font-family:var(--font-mono);font-size:var(--text-3xl);font-weight:var(--weight-semibold);line-height:1;letter-spacing:-.02em;font-variant-numeric:tabular-nums}.crmhero-root .ag-date .ag-wd{font-size:var(--text-xs);color:var(--muted-foreground);text-transform:uppercase;letter-spacing:var(--tracking-wide);margin-top:4px}.crmhero-root .ag-date.today .ag-dd{color:var(--primary)}.crmhero-root .ag-date .ag-today-pill{display:inline-block;margin-top:6px;font-size:10px;font-weight:var(--weight-bold);letter-spacing:var(--tracking-caps);text-transform:uppercase;color:var(--primary-foreground);background:var(--primary);border-radius:var(--radius-full);padding:1px 8px}.crmhero-root .ag-list{display:flex;flex-direction:column;gap:var(--space-2);min-width:0}.crmhero-root .ag-row{--hue:var(--prio-normal);display:flex;align-items:center;gap:var(--space-3);padding:var(--space-3);min-width:0;border-radius:var(--radius-md);background:var(--surface);border:1px solid var(--border);border-left:3px solid var(--hue);transition:background .1s,box-shadow .1s;text-align:left;width:100%}.crmhero-root .ag-row:hover{background:var(--accent);box-shadow:var(--shadow-xs)}.crmhero-root .ag-row .ag-time{width:64px;flex:none}.crmhero-root .ag-row .ag-time .t{font-family:var(--font-mono);font-size:var(--text-sm);font-weight:var(--weight-semibold);font-variant-numeric:tabular-nums}.crmhero-root .ag-row .ag-time .allday{font-size:11px;color:var(--muted-foreground);font-weight:var(--weight-medium)}.crmhero-root .ag-row .ag-main{min-width:0;flex:1}.crmhero-root .ag-row .ag-title{font-size:var(--text-sm);font-weight:var(--weight-semibold);color:var(--foreground);display:flex;align-items:center;gap:7px}.crmhero-root .ag-row .ag-title .tt{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}.crmhero-root .ag-row .ag-meta{display:flex;align-items:center;gap:var(--space-2);margin-top:5px;flex-wrap:wrap}.crmhero-root .ag-row .ag-right{flex:none;display:flex;align-items:center;gap:var(--space-3)}.crmhero-root .ag-row.is-erledigt .ag-title .tt{color:var(--muted-foreground);text-decoration:line-through;text-decoration-color:var(--border-strong)}.crmhero-root .ag-row.is-verworfen{border-left-color:color-mix(in srgb,var(--danger) 45%,var(--border-strong))}.crmhero-root .ag-row.is-verworfen .ag-title .tt{color:var(--muted-foreground);text-decoration:line-through}.crmhero-root .ag-row.cross{border-left-color:var(--mc,var(--border-strong))}.crmhero-root .kind-chip{display:inline-flex;align-items:center;gap:5px;height:22px;padding:0 9px 0 7px;border-radius:var(--radius-full);font-size:11px;font-weight:var(--weight-semibold);white-space:nowrap}.crmhero-root .kind-chip svg{width:12px;height:12px}.crmhero-root .kind-chip.termin{color:var(--info);background:color-mix(in srgb,var(--info) var(--tint-soft),var(--surface));border:1px solid color-mix(in srgb,var(--info) 26%,transparent)}.crmhero-root .kind-chip.frist{color:var(--warning);background:color-mix(in srgb,var(--warning) var(--tint-soft),var(--surface));border:1px solid color-mix(in srgb,var(--warning) 26%,transparent)}.crmhero-root .src-chip{display:inline-flex;align-items:center;gap:5px;height:22px;padding:0 8px;border-radius:var(--radius-full);font-size:11px;font-weight:var(--weight-medium);color:var(--subtle-foreground);background:var(--surface-2);border:1px solid var(--border);white-space:nowrap}.crmhero-root .src-chip svg{width:11px;height:11px;color:var(--muted-foreground)}.crmhero-root .src-chip.mail{color:var(--primary);border-color:color-mix(in srgb,var(--primary) 26%,transparent);background:color-mix(in srgb,var(--primary) var(--tint-soft),var(--surface))}.crmhero-root .src-chip.mail svg{color:var(--primary)}.crmhero-root .kstatus{display:inline-flex;align-items:center;gap:6px;height:22px;padding:0 9px 0 8px;border-radius:var(--radius-full);font-size:11px;font-weight:var(--weight-semibold);white-space:nowrap;color:var(--kc,var(--muted-foreground));background:color-mix(in srgb,var(--kc,var(--muted-foreground)) var(--tint-soft),var(--surface));border:1px solid color-mix(in srgb,var(--kc,var(--muted-foreground)) 26%,transparent)}.crmhero-root .kstatus .kdot{width:7px;height:7px;border-radius:var(--radius-full);background:var(--kc);flex:none}.crmhero-root .kstatus.offen{--kc:var(--info)}.crmhero-root .kstatus.bestaetigt{--kc:var(--success)}.crmhero-root .kstatus.erledigt{--kc:var(--muted-foreground)}.crmhero-root .kstatus.verworfen{--kc:var(--danger)}.crmhero-root .ki-flag{display:inline-flex;align-items:center;gap:5px;height:22px;padding:0 9px 0 7px;border-radius:var(--radius-full);font-size:11px;font-weight:var(--weight-semibold);color:var(--primary);background:color-mix(in srgb,var(--primary) var(--tint-soft),var(--surface));border:1px dashed color-mix(in srgb,var(--primary) 40%,transparent)}.crmhero-root .ki-flag svg{width:12px;height:12px}.crmhero-root .prio-chip{display:inline-flex;align-items:center;gap:5px;font-size:11px;font-weight:var(--weight-semibold);color:var(--pc,var(--muted-foreground))}.crmhero-root .prio-chip .pdot{width:8px;height:8px;border-radius:var(--radius-full);background:var(--pc);flex:none}.crmhero-root .assignee{display:inline-flex;align-items:center;gap:6px;font-size:var(--text-xs);color:var(--subtle-foreground);font-weight:var(--weight-medium)}.crmhero-root .cal-drawer{display:flex;flex-direction:column;min-height:0;background:var(--surface);border-left:1px solid var(--border);height:100%}.crmhero-root .drawer-head{padding:var(--space-4) var(--space-5)}.crmhero-root .drawer-head .dh-date{flex:none;text-align:center}.crmhero-root .drawer-head .dh-dd{font-family:var(--font-mono);font-size:var(--text-4xl);font-weight:var(--weight-semibold);line-height:1;letter-spacing:-.02em}.crmhero-root .drawer-head .dh-mm{font-size:var(--text-xs);color:var(--muted-foreground);text-transform:uppercase;letter-spacing:var(--tracking-wide)}.crmhero-root .drawer-head .dh-wd{font-size:var(--text-sm);font-weight:var(--weight-semibold)}.crmhero-root .drawer-scroll{overflow-y:auto;min-height:0;flex:1;padding:var(--space-4) var(--space-5);display:flex;flex-direction:column;gap:var(--space-3)}.crmhero-root .evt-card{--hue:var(--prio-normal);border:1px solid var(--border);border-left:3px solid var(--hue);border-radius:var(--radius-md);background:var(--surface);overflow:hidden}.crmhero-root .evt-card .ec-body{padding:var(--space-3) var(--space-4)}.crmhero-root .evt-card .ec-top{display:flex;align-items:center;gap:var(--space-2);flex-wrap:wrap;margin-bottom:var(--space-2)}.crmhero-root .evt-card .ec-time{margin-left:auto;font-family:var(--font-mono);font-size:var(--text-xs);font-weight:var(--weight-semibold);color:var(--subtle-foreground);font-variant-numeric:tabular-nums}.crmhero-root .evt-card .ec-title{font-size:var(--text-sm);font-weight:var(--weight-semibold);line-height:var(--leading-snug)}.crmhero-root .evt-card.is-erledigt .ec-title,.crmhero-root .evt-card.is-verworfen .ec-title{color:var(--muted-foreground);text-decoration:line-through;text-decoration-color:var(--border-strong)}.crmhero-root .evt-card .ec-meta{gap:var(--space-3);flex-wrap:wrap;color:var(--muted-foreground)}.crmhero-root .evt-card .ec-beleg,.crmhero-root .evt-card .ec-meta{display:flex;align-items:center;margin-top:var(--space-3);font-size:var(--text-xs)}.crmhero-root .evt-card .ec-beleg{gap:7px;padding:var(--space-2) var(--space-3);border-radius:var(--radius-sm);background:color-mix(in srgb,var(--primary) var(--tint-soft),var(--surface));border:1px solid color-mix(in srgb,var(--primary) 20%,transparent)}.crmhero-root .evt-card .ec-beleg .eb-link{color:var(--primary);font-weight:var(--weight-semibold);display:inline-flex;align-items:center;gap:4px;margin-left:auto}.crmhero-root .evt-card .ec-beleg .eb-link svg{width:12px;height:12px}.crmhero-root .ec-actions{display:flex;align-items:center;gap:var(--space-2);padding:var(--space-3) var(--space-4);border-top:1px solid var(--border);background:var(--surface-2);flex-wrap:wrap}.crmhero-root .ec-hitl{display:flex;align-items:center;gap:7px;padding:var(--space-2) var(--space-3);margin:0 0 var(--space-1);font-size:var(--text-xs);color:var(--subtle-foreground)}.crmhero-root .ec-hitl svg{width:14px;height:14px;color:var(--primary);flex:none}.crmhero-root .modal.lg{max-width:540px}.crmhero-root .kind-toggle{display:grid;grid-template-columns:1fr 1fr;gap:var(--space-2)}.crmhero-root .kind-opt{display:flex;align-items:flex-start;gap:var(--space-3);padding:var(--space-3);border:1px solid var(--border-strong);border-radius:var(--radius-md);background:var(--surface);text-align:left;transition:border-color .12s,background .12s}.crmhero-root .kind-opt[data-on=true]{border-color:var(--primary);background:color-mix(in srgb,var(--primary) 6%,var(--surface));box-shadow:var(--shadow-focus)}.crmhero-root .kind-opt .ko-ic{width:30px;height:30px;border-radius:var(--radius-md);display:grid;place-items:center;flex:none;color:var(--c,var(--primary));background:color-mix(in srgb,var(--c,var(--primary)) var(--tint-soft),var(--surface));border:1px solid color-mix(in srgb,var(--c,var(--primary)) 22%,transparent)}.crmhero-root .kind-opt .ko-t{font-size:var(--text-sm);font-weight:var(--weight-semibold)}.crmhero-root .kind-opt .ko-d{font-size:var(--text-xs);color:var(--muted-foreground);margin-top:1px}.crmhero-root .form-row{display:grid;grid-template-columns:1fr 1fr;gap:var(--space-3)}.crmhero-root .form-row.thirds{grid-template-columns:1fr 1fr 1fr}.crmhero-root .assignee-row{display:flex;align-items:center;gap:var(--space-2);flex-wrap:wrap}.crmhero-root .assignee-pick{display:inline-flex;align-items:center;gap:7px;height:32px;padding:0 10px 0 6px;border-radius:var(--radius-full);border:1px solid var(--border-strong);background:var(--surface);font-size:var(--text-xs);font-weight:var(--weight-medium);color:var(--subtle-foreground);transition:border-color .12s,background .12s}.crmhero-root .assignee-pick[data-on=true]{border-color:var(--primary);background:color-mix(in srgb,var(--primary) 8%,var(--surface));color:var(--foreground)}.crmhero-root .filterbar{display:flex;align-items:center;gap:var(--space-2);flex-wrap:wrap;margin-bottom:var(--space-4)}.crmhero-root .filter-chip{display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:var(--radius-full);border:1px solid var(--border-strong);background:var(--surface);font-size:var(--text-xs);font-weight:var(--weight-medium);color:var(--subtle-foreground);transition:border-color .12s,background .12s}.crmhero-root .filter-chip svg{width:13px;height:13px}.crmhero-root .filter-chip[data-on=true]{border-color:var(--primary);background:color-mix(in srgb,var(--primary) var(--tint-soft),var(--surface));color:var(--primary)}.crmhero-root .filter-chip .fc-x{color:var(--muted-foreground);display:inline-flex}.crmhero-root .filter-chip[data-on=true] .fc-x{color:var(--primary)}.crmhero-root .filter-chip .fc-m{width:9px;height:9px;border-radius:3px;flex:none}.crmhero-root .cal-cell .sk{width:100%}.crmhero-root .cal-cell .sk.evt-sk{height:16px;border-radius:var(--radius-sm);margin-top:2px}.crmhero-root .cal-foot-note{display:flex;align-items:center;gap:7px;font-size:var(--text-xs);color:var(--muted-foreground);margin-top:var(--space-3)}.crmhero-root .cal-foot-note svg{width:13px;height:13px;color:var(--primary);flex:none}.crmhero-root .kal-overlay{position:absolute;inset:0;z-index:40;display:flex;justify-content:flex-end;background:color-mix(in srgb,var(--ch-neutral-950) 32%,transparent)}.crmhero-root .kal-overlay .cal-drawer{width:392px;max-width:92vw;box-shadow:var(--shadow-lg)}.crmhero-root .settings-col{width:100%;max-width:880px;margin:0 auto;display:flex;flex-direction:column;gap:var(--space-5)}.crmhero-root .security-note{display:flex;gap:var(--space-4);align-items:flex-start;padding:var(--space-4) var(--space-5);border-radius:var(--radius-lg);background:color-mix(in srgb,var(--primary) var(--tint-soft),var(--surface));border:1px solid color-mix(in srgb,var(--primary) 26%,transparent)}.crmhero-root .security-note .sn-ic{width:40px;height:40px;border-radius:var(--radius-md);flex:none;display:grid;place-items:center;color:#fff;background:linear-gradient(160deg,var(--ch-primary-400),var(--ch-primary-600));box-shadow:inset 0 1px 0 rgba(255,255,255,.22),var(--shadow-xs)}.crmhero-root .security-note .sn-ic svg{width:20px;height:20px}.crmhero-root .security-note .sn-title{font-size:var(--text-sm);font-weight:var(--weight-bold);letter-spacing:var(--tracking-tight)}.crmhero-root .security-note .sn-text{font-size:var(--text-sm);color:var(--subtle-foreground);line-height:var(--leading-normal);margin-top:2px}.crmhero-root .security-note .sn-text code{font-family:var(--font-mono);font-size:12px;color:var(--primary);font-weight:var(--weight-semibold);background:color-mix(in srgb,var(--primary) 12%,transparent);padding:1px 6px;border-radius:var(--radius-sm)}.crmhero-root .security-note .sn-tags{display:flex;flex-wrap:wrap;gap:var(--space-2);margin-top:var(--space-3)}.crmhero-root .sn-tag{display:inline-flex;align-items:center;gap:6px;font-size:var(--text-xs);font-weight:var(--weight-medium);color:var(--subtle-foreground)}.crmhero-root .sn-tag svg{width:13px;height:13px;color:var(--primary);flex:none}.crmhero-root .hitl-rule{display:flex;gap:var(--space-3);align-items:center;padding:var(--space-3) var(--space-4);border-radius:var(--radius-md);border:1px dashed color-mix(in srgb,var(--primary) 34%,transparent);background:var(--surface)}.crmhero-root .hitl-rule .hr-ic{color:var(--primary);flex:none;display:grid;place-items:center}.crmhero-root .hitl-rule .hr-ic svg{width:18px;height:18px}.crmhero-root .hitl-rule .hr-text{font-size:var(--text-sm);color:var(--subtle-foreground);line-height:var(--leading-snug)}.crmhero-root .hitl-rule .hr-text b{color:var(--foreground);font-weight:var(--weight-semibold)}.crmhero-root .mb-card{display:flex;flex-direction:column;min-height:0}.crmhero-root .mb-scroll{overflow-y:auto;overflow-x:hidden;max-height:60vh}.crmhero-root .mb-row-wrap{border-bottom:1px solid var(--border)}.crmhero-root .mb-row-wrap:last-child{border-bottom:0}.crmhero-root .mb-row{display:grid;grid-template-columns:38px minmax(0,1fr) auto;gap:var(--space-3);align-items:center;padding:var(--space-4) var(--space-5);transition:background .1s}.crmhero-root .mb-row:hover{background:var(--accent)}.crmhero-root .mb-row-wrap[data-status=disabled]{background:color-mix(in srgb,var(--muted) 40%,var(--surface))}.crmhero-root .mb-row[data-status=disabled] .mb-ico,.crmhero-root .mb-row[data-status=disabled] .mb-label{opacity:.72}.crmhero-root .mb-ico{width:38px;height:38px;border-radius:var(--radius-md);flex:none;display:grid;place-items:center;color:var(--subtle-foreground);background:var(--surface-2);border:1px solid var(--border)}.crmhero-root .mb-ico svg{width:18px;height:18px}.crmhero-root .mb-row[data-status=active] .mb-ico{color:var(--primary);background:color-mix(in srgb,var(--primary) var(--tint-soft),var(--surface));border-color:color-mix(in srgb,var(--primary) 22%,transparent)}.crmhero-root .mb-row[data-status=error] .mb-ico{color:var(--danger);background:color-mix(in srgb,var(--danger) var(--tint-soft),var(--surface));border-color:color-mix(in srgb,var(--danger) 24%,transparent)}.crmhero-root .mb-main{min-width:0}.crmhero-root .mb-l1{display:flex;align-items:center;gap:var(--space-2)}.crmhero-root .mb-label{font-size:var(--text-base);font-weight:var(--weight-semibold);letter-spacing:var(--tracking-tight);min-width:0}.crmhero-root .mb-email{font-size:var(--text-sm);color:var(--subtle-foreground);font-family:var(--font-mono)}.crmhero-root .mb-l2{display:flex;align-items:center;gap:var(--space-2);margin-top:5px;flex-wrap:wrap}.crmhero-root .mb-host{display:inline-flex;align-items:center;gap:6px;font-size:var(--text-xs);color:var(--muted-foreground);font-family:var(--font-mono)}.crmhero-root .mb-host svg{width:12px;height:12px;flex:none}.crmhero-root .mb-dot-sep{width:3px;height:3px;border-radius:50%;background:var(--border-strong);flex:none}.crmhero-root .mb-ssl{display:inline-flex;align-items:center;gap:4px;font-size:11px;font-weight:var(--weight-semibold);color:var(--success)}.crmhero-root .mb-ssl svg{width:11px;height:11px}.crmhero-root .mb-ssl.off{color:var(--warning)}.crmhero-root .mb-right{display:flex;align-items:center;gap:var(--space-4);flex:none}.crmhero-root .mb-sync{text-align:right}.crmhero-root .mb-sync .mbs-k{font-size:10px;text-transform:uppercase;letter-spacing:var(--tracking-wide);color:var(--muted-foreground)}.crmhero-root .mb-sync .mbs-v{font-size:var(--text-xs);color:var(--subtle-foreground);font-variant-numeric:tabular-nums}.crmhero-root .mb-actions{display:flex;align-items:center;gap:2px}.crmhero-root .icon-btn.danger:hover{color:var(--danger);background:color-mix(in srgb,var(--danger) 12%,transparent)}.crmhero-root .mb-sync-feedback{display:inline-flex;align-items:center;gap:6px;margin-top:6px;font-size:var(--text-xs);font-weight:var(--weight-medium);min-width:0}.crmhero-root .mb-sync-feedback svg{width:13px;height:13px;flex:none}.crmhero-root .mb-sync-feedback.running{color:var(--muted-foreground)}.crmhero-root .mb-sync-feedback.done{color:var(--success)}.crmhero-root .mb-sync-feedback.error{color:var(--danger)}.crmhero-root .mb-interval-bar{display:flex;align-items:center;gap:var(--space-4);padding:var(--space-3) var(--space-5);border-top:1px solid var(--border);background:var(--surface-2);flex-wrap:wrap}.crmhero-root .mb-interval-bar .mib-spacer{flex:1;min-width:var(--space-4)}.crmhero-root .mb-interval-bar .mib-hint{display:inline-flex;align-items:center;gap:6px;font-size:var(--text-xs);color:var(--muted-foreground)}.crmhero-root .mb-interval-bar .mib-hint svg{width:13px;height:13px;color:var(--primary);flex:none}.crmhero-root .interval-ctrl{display:inline-flex;align-items:center;gap:var(--space-2);flex-wrap:wrap}.crmhero-root .interval-ctrl .ic-label{font-size:var(--text-xs);color:var(--muted-foreground);white-space:nowrap}.crmhero-root .interval-seg{display:inline-flex;padding:3px;background:var(--muted);border-radius:var(--radius-md);gap:2px}.crmhero-root .interval-seg button{height:26px;min-width:38px;padding:0 8px;border-radius:var(--radius-sm);font-size:var(--text-xs);font-weight:var(--weight-medium);color:var(--muted-foreground);font-variant-numeric:tabular-nums;transition:background .1s,color .1s}.crmhero-root .interval-seg button[data-active=true]{background:var(--surface);color:var(--foreground);box-shadow:var(--shadow-xs);font-weight:var(--weight-semibold)}.crmhero-root .interval-seg button:disabled{opacity:.5;cursor:not-allowed}.crmhero-root .interval-seg button.custom{min-width:34px}.crmhero-root .interval-custom{display:inline-flex;align-items:center;gap:6px}.crmhero-root .interval-custom input{width:64px;height:30px;padding:0 8px;text-align:right;font-variant-numeric:tabular-nums;border:1px solid var(--input);border-radius:var(--radius-md);background:var(--surface);color:var(--foreground);font-size:var(--text-sm)}.crmhero-root .interval-custom input:focus{outline:none;border-color:var(--ring);box-shadow:var(--shadow-focus)}.crmhero-root .interval-custom input[aria-invalid=true]{border-color:var(--danger)}.crmhero-root .interval-custom .iu-unit{font-size:var(--text-xs);color:var(--muted-foreground)}.crmhero-root .interval-hint{font-size:11px;color:var(--muted-foreground);margin-top:4px;width:100%}.crmhero-root .interval-hint.err{color:var(--danger);font-weight:var(--weight-medium)}@media (max-width:700px){.crmhero-root .mb-interval-bar{gap:var(--space-3)}.crmhero-root .mb-interval-bar .mib-spacer{display:none;flex-basis:100%}}.crmhero-root .mb-status{display:inline-flex;align-items:center;gap:7px;height:24px;padding:0 11px 0 9px;border-radius:var(--radius-full);font-size:var(--text-xs);font-weight:var(--weight-semibold);white-space:nowrap;color:var(--c);background:color-mix(in srgb,var(--c) var(--tint-soft),var(--surface));border:1px solid color-mix(in srgb,var(--c) 26%,transparent)}.crmhero-root .mb-status .ms-dot{width:8px;height:8px;border-radius:50%;background:var(--c);flex:none}.crmhero-root .mb-status[data-s=active]{--c:var(--success)}.crmhero-root .mb-status[data-s=disabled]{--c:var(--muted-foreground)}.crmhero-root .mb-status[data-s=error]{--c:var(--danger)}.crmhero-root .mb-status[data-s=active] .ms-dot{box-shadow:0 0 0 3px color-mix(in srgb,var(--success) 20%,transparent)}.crmhero-root .form-head{display:flex;align-items:center;gap:var(--space-3);padding:var(--space-4) var(--space-5);border-bottom:1px solid var(--border)}.crmhero-root .form-head .fh-mark{width:30px;height:30px;border-radius:7px;flex:none;display:grid;place-items:center;color:var(--primary);background:color-mix(in srgb,var(--primary) var(--tint-soft),var(--surface));border:1px solid color-mix(in srgb,var(--primary) 22%,transparent)}.crmhero-root .form-head .fh-mark svg{width:17px;height:17px}.crmhero-root .form-head .fh-title{font-size:var(--text-md);font-weight:var(--weight-semibold);letter-spacing:var(--tracking-tight)}.crmhero-root .form-head .fh-sub{font-size:var(--text-xs);color:var(--muted-foreground);margin-top:1px}.crmhero-root .pf-form{padding:var(--space-5);display:flex;flex-direction:column;gap:var(--space-5)}.crmhero-root .pf-grid{display:grid;grid-template-columns:1fr 1fr;gap:var(--space-4) var(--space-5)}.crmhero-root .pf-grid .span-2{grid-column:1/-1}.crmhero-root .pf-host-row{display:grid;grid-template-columns:1fr 132px;gap:var(--space-4)}.crmhero-root .switch-row{display:flex;align-items:center;gap:var(--space-3);padding:var(--space-3) var(--space-4);border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface-2)}.crmhero-root .switch-row .sr-body{flex:1;min-width:0}.crmhero-root .switch-row .sr-title{font-size:var(--text-sm);font-weight:var(--weight-medium);display:flex;align-items:center;gap:7px}.crmhero-root .switch-row .sr-title svg{width:14px;height:14px;color:var(--success)}.crmhero-root .switch-row .sr-hint{font-size:var(--text-xs);color:var(--muted-foreground);margin-top:1px}.crmhero-root .switch-row[data-off=true] .sr-title svg{color:var(--warning)}.crmhero-root .optional-tag{font-size:11px;font-weight:var(--weight-medium);color:var(--muted-foreground)}.crmhero-root .test-result{border-radius:var(--radius-md);padding:var(--space-3) var(--space-4);border:1px solid var(--border);display:flex;gap:var(--space-3);align-items:flex-start}.crmhero-root .test-result .tr-ic{width:30px;height:30px;border-radius:var(--radius-md);flex:none;display:grid;place-items:center}.crmhero-root .test-result .tr-ic svg{width:17px;height:17px}.crmhero-root .test-result .tr-body{flex:1;min-width:0}.crmhero-root .test-result .tr-title{font-size:var(--text-sm);font-weight:var(--weight-semibold)}.crmhero-root .test-result .tr-text{font-size:var(--text-xs);color:var(--subtle-foreground);line-height:var(--leading-normal);margin-top:2px}.crmhero-root .test-result.testing{background:var(--surface-2)}.crmhero-root .test-result.testing .tr-ic{color:var(--primary);background:color-mix(in srgb,var(--primary) var(--tint-soft),var(--surface))}.crmhero-root .test-result.testing .tr-ic .spinner{width:17px;height:17px}.crmhero-root .test-result.success{background:color-mix(in srgb,var(--success) var(--tint-soft),var(--surface));border-color:color-mix(in srgb,var(--success) 30%,transparent)}.crmhero-root .test-result.success .tr-ic{color:var(--success);background:color-mix(in srgb,var(--success) var(--tint-medium),var(--surface))}.crmhero-root .test-result.success .tr-title{color:var(--success)}.crmhero-root .test-result.error{background:color-mix(in srgb,var(--danger) var(--tint-soft),var(--surface));border-color:color-mix(in srgb,var(--danger) 30%,transparent)}.crmhero-root .test-result.error .tr-ic{color:var(--danger);background:color-mix(in srgb,var(--danger) var(--tint-medium),var(--surface))}.crmhero-root .test-result.error .tr-title{color:var(--danger)}.crmhero-root .pf-actions{display:flex;align-items:center;gap:var(--space-3);padding:var(--space-4) var(--space-5);border-top:1px solid var(--border);background:var(--surface-2);flex-wrap:wrap;border-radius:0 0 var(--radius-lg) var(--radius-lg)}.crmhero-root .pf-actions .pa-spacer{flex:1}.crmhero-root .pf-actions .pa-hint{font-size:var(--text-xs);color:var(--muted-foreground);display:inline-flex;align-items:center;gap:6px}.crmhero-root .pf-actions .pa-hint svg{width:13px;height:13px;flex:none}.crmhero-root .pf-actions .pa-hint.ok{color:var(--success);font-weight:var(--weight-medium)}.crmhero-root .btn.btn--save-armed{box-shadow:0 0 0 3px color-mix(in srgb,var(--success) 22%,transparent),var(--shadow-xs)}@media (max-width:720px){.crmhero-root .pf-grid,.crmhero-root .pf-host-row{grid-template-columns:1fr}}.crmhero-root .billing-col{width:100%;max-width:1180px;margin:0 auto;display:flex;flex-direction:column;gap:var(--space-5)}.crmhero-root .intern-note{display:flex;align-items:center;gap:var(--space-3);padding:var(--space-3) var(--space-4);border-radius:var(--radius-md);border:1px dashed color-mix(in srgb,var(--primary) 34%,transparent);background:var(--surface)}.crmhero-root .intern-note .in-ic{width:30px;height:30px;border-radius:var(--radius-md);flex:none;display:grid;place-items:center;color:var(--primary);background:color-mix(in srgb,var(--primary) var(--tint-soft),var(--surface))}.crmhero-root .intern-note .in-ic svg{width:16px;height:16px}.crmhero-root .intern-note .in-text{font-size:var(--text-sm);color:var(--subtle-foreground);line-height:var(--leading-snug)}.crmhero-root .intern-note .in-text b{color:var(--foreground);font-weight:var(--weight-semibold)}.crmhero-root .month-pick{display:inline-flex;align-items:center;gap:var(--space-2)}.crmhero-root .month-step{width:32px;height:32px;border-radius:var(--radius-md);border:1px solid var(--border-strong);background:var(--surface);display:grid;place-items:center;color:var(--subtle-foreground)}.crmhero-root .month-step:hover:not(:disabled){background:var(--accent);color:var(--foreground)}.crmhero-root .month-step:disabled{opacity:.4;cursor:not-allowed}.crmhero-root .month-step svg{width:16px;height:16px}.crmhero-root .month-current{display:inline-flex;flex-direction:column;align-items:center;min-width:116px}.crmhero-root .month-current .mc-lbl{font-size:var(--text-md);font-weight:var(--weight-semibold);letter-spacing:var(--tracking-tight)}.crmhero-root .month-current .mc-sub{font-size:10px;color:var(--muted-foreground)}.crmhero-root .kpi-row{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:var(--space-4)}.crmhero-root .kpi-row .kpi-value{font-size:var(--text-3xl)}.crmhero-root .kpi-sub{font-size:11px;color:var(--muted-foreground);margin-top:4px;font-variant-numeric:tabular-nums}.crmhero-root .bill-wrap{border:1px solid var(--border);border-radius:var(--radius-lg);overflow:hidden;background:var(--surface)}.crmhero-root .bill-scroll{overflow:auto}.crmhero-root .bill-scroll.capped{max-height:480px}.crmhero-root .bill-table{width:100%;border-collapse:collapse;font-size:var(--text-base)}.crmhero-root .bill-table thead th{position:sticky;top:0;z-index:2;text-align:left;font-size:var(--text-xs);font-weight:var(--weight-semibold);letter-spacing:var(--tracking-wide);text-transform:uppercase;color:var(--muted-foreground);padding:var(--space-3) var(--space-4);background:var(--surface-2);border-bottom:1px solid var(--border);white-space:nowrap}.crmhero-root .bill-table thead th.num{text-align:right}.crmhero-root .bill-table tbody td{padding:var(--space-3) var(--space-4);border-bottom:1px solid var(--border);vertical-align:middle}.crmhero-root .bill-table tbody tr:last-child td{border-bottom:0}.crmhero-root .bill-table tbody tr:hover{background:var(--accent)}.crmhero-root .bill-table tfoot td{padding:var(--space-3) var(--space-4);border-top:2px solid var(--border-strong);background:var(--surface-2);font-weight:var(--weight-semibold)}.crmhero-root .money{font-family:var(--font-mono);font-variant-numeric:tabular-nums;white-space:nowrap;text-align:right}.crmhero-root .money.zero{color:var(--muted-foreground)}.crmhero-root .tabular{font-variant-numeric:tabular-nums}.crmhero-root .td-net{font-weight:var(--weight-semibold)}.crmhero-root .td-brutto{font-weight:var(--weight-bold);color:var(--foreground)}.crmhero-root .ust-rate{font-size:11px;color:var(--muted-foreground);font-family:var(--font-sans);margin-left:4px}.crmhero-root .bill-mandant{display:flex;align-items:center;gap:var(--space-3);min-width:0;max-width:320px}.crmhero-root .bill-mandant .bm-ava{width:28px;height:28px;border-radius:7px;flex:none;display:grid;place-items:center;color:#fff;font-size:10px;font-weight:var(--weight-bold);background:var(--mc,var(--primary));box-shadow:inset 0 1px 0 rgba(255,255,255,.2)}.crmhero-root .bill-mandant .bm-name{font-size:var(--text-sm);font-weight:var(--weight-semibold);min-width:0}.crmhero-root .ai-cost{text-align:right}.crmhero-root .ai-cost .ac-eur{font-family:var(--font-mono);font-variant-numeric:tabular-nums}.crmhero-root .ai-cost .ac-raw{font-size:11px;color:var(--muted-foreground);font-family:var(--font-mono);margin-top:1px;cursor:help;display:inline-flex;align-items:center;gap:4px;justify-content:flex-end}.crmhero-root .ai-cost .ac-raw svg{width:11px;height:11px;opacity:.7}.crmhero-root .bill-status{display:inline-flex;align-items:center;gap:6px;height:22px;padding:0 9px 0 8px;border-radius:var(--radius-full);font-size:var(--text-xs);font-weight:var(--weight-semibold);white-space:nowrap;border:1px solid}.crmhero-root .bill-status svg{width:12px;height:12px}.crmhero-root .bill-status[data-s=entwurf]{color:var(--subtle-foreground);background:var(--surface-2);border-color:var(--border-strong)}.crmhero-root .bill-status[data-s=finalisiert]{color:var(--success);background:color-mix(in srgb,var(--success) var(--tint-soft),var(--surface));border-color:color-mix(in srgb,var(--success) 26%,transparent)}.crmhero-root .bill-actions{display:flex;align-items:center;gap:2px;justify-content:flex-end}.crmhero-root .bill-actions .finalize-btn{color:var(--primary)}.crmhero-root .bill-actions .finalize-btn:hover:not(:disabled){color:var(--primary);background:color-mix(in srgb,var(--primary) 12%,transparent)}.crmhero-root .bill-actions .with-hint{position:relative;display:inline-flex}.crmhero-root .bill-actions .with-hint .hint-tip{position:absolute;bottom:calc(100% + 8px);right:0;z-index:60;width:200px;padding:var(--space-2) var(--space-3);border-radius:var(--radius-md);background:var(--ch-neutral-900);color:#fff;font-size:11px;line-height:var(--leading-snug);box-shadow:var(--shadow-lg);opacity:0;visibility:hidden;transform:translateY(4px);transition:opacity .12s,transform .12s,visibility .12s;pointer-events:none}.crmhero-root .bill-actions .with-hint:hover .hint-tip{opacity:1;visibility:visible;transform:translateY(0)}.crmhero-root .bill-row-error td{background:color-mix(in srgb,var(--danger) 5%,var(--surface))}.crmhero-root .row-err-msg{display:flex;align-items:center;gap:8px;font-size:var(--text-xs);color:var(--danger)}.crmhero-root .row-err-msg svg{width:14px;height:14px;flex:none}.crmhero-root .drawer-overlay{position:fixed;inset:0;z-index:80;background:color-mix(in srgb,var(--ch-neutral-950) 50%,transparent);backdrop-filter:blur(2px)}.crmhero-root .drawer{position:fixed;top:0;right:0;bottom:0;width:440px;max-width:94vw;background:var(--popover);border-left:1px solid var(--border-strong);box-shadow:var(--shadow-lg);display:flex;flex-direction:column;animation:drawer-in .22s cubic-bezier(.2,.7,.3,1) both}@keyframes drawer-in{0%{transform:translateX(24px);opacity:.4}to{transform:translateX(0);opacity:1}}@media (prefers-reduced-motion:reduce){.crmhero-root .drawer{animation:none}}.crmhero-root .drawer-head{padding:var(--space-5);border-bottom:1px solid var(--border);display:flex;align-items:flex-start;gap:var(--space-3)}.crmhero-root .drawer-head .dh-ic{width:38px;height:38px;border-radius:var(--radius-md);flex:none;display:grid;place-items:center;color:#fff;font-size:11px;font-weight:var(--weight-bold);background:var(--mc,var(--primary))}.crmhero-root .drawer-head .dh-title{font-size:var(--text-lg);font-weight:var(--weight-bold);letter-spacing:var(--tracking-tight)}.crmhero-root .drawer-head .dh-sub{font-size:var(--text-xs);color:var(--muted-foreground);margin-top:2px}.crmhero-root .drawer-head .dh-close{margin-left:auto}.crmhero-root .drawer-body{padding:var(--space-5);overflow-y:auto;flex:1;display:flex;flex-direction:column;gap:var(--space-4)}.crmhero-root .drawer-foot{padding:var(--space-4) var(--space-5);border-top:1px solid var(--border);display:flex;gap:var(--space-2);background:var(--surface-2)}.crmhero-root .drawer-foot .btn{flex:1}.crmhero-root .unit-field{position:relative;display:flex;align-items:center}.crmhero-root .unit-field .input{padding-right:42px;text-align:right;font-variant-numeric:tabular-nums}.crmhero-root .unit-field .uf-suffix{position:absolute;right:12px;font-size:var(--text-sm);color:var(--muted-foreground);pointer-events:none}.crmhero-root .unit-field.pre .input{padding-right:var(--space-3);padding-left:32px;text-align:left}.crmhero-root .unit-field.pre .uf-suffix{right:auto;left:12px}.crmhero-root .calc-preview{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface-2);padding:var(--space-3) var(--space-4)}.crmhero-root .calc-row{display:flex;justify-content:space-between;gap:var(--space-3);padding:var(--space-1) 0;font-size:var(--text-sm)}.crmhero-root .calc-row .cr-k{color:var(--subtle-foreground)}.crmhero-root .calc-row .cr-v{font-family:var(--font-mono);font-variant-numeric:tabular-nums}.crmhero-root .calc-row.total{border-top:1px dashed var(--border-strong);margin-top:var(--space-2);padding-top:var(--space-2);font-weight:var(--weight-bold)}.crmhero-root .future-hint{display:flex;align-items:flex-start;gap:8px;font-size:var(--text-xs);color:var(--subtle-foreground);line-height:var(--leading-snug);padding:var(--space-3);border-radius:var(--radius-md);background:color-mix(in srgb,var(--warning) var(--tint-soft),var(--surface));border:1px solid color-mix(in srgb,var(--warning) 28%,transparent)}.crmhero-root .future-hint svg{width:14px;height:14px;flex:none;margin-top:1px;color:var(--warning)}@media (max-width:1080px){.crmhero-root .kpi-row{grid-template-columns:repeat(2,minmax(0,1fr))}}.crmhero-root .acct{width:100%;max-width:1040px;margin:0;display:grid;grid-template-columns:232px minmax(0,1fr);gap:var(--space-8);align-items:start}.crmhero-root .acct-nav{position:sticky;top:var(--space-2);display:flex;flex-direction:column;gap:2px}.crmhero-root .acct-nav-cap{font-size:10px;font-weight:var(--weight-semibold);letter-spacing:var(--tracking-caps);text-transform:uppercase;color:var(--muted-foreground);padding:var(--space-2) var(--space-3) var(--space-2)}.crmhero-root .acct-nav-item{display:flex;align-items:center;gap:var(--space-3);height:38px;padding:0 var(--space-3);border-radius:var(--radius-md);color:var(--subtle-foreground);font-size:var(--text-sm);font-weight:var(--weight-medium);transition:background .1s,color .1s;text-align:left}.crmhero-root .acct-nav-item svg{width:17px;height:17px;flex:none;color:var(--muted-foreground)}.crmhero-root .acct-nav-item:hover{background:var(--accent);color:var(--foreground)}.crmhero-root .acct-nav-item[data-active=true]{background:color-mix(in srgb,var(--primary) 12%,var(--surface));color:var(--primary);font-weight:var(--weight-semibold)}.crmhero-root .acct-nav-item[data-active=true] svg{color:var(--primary)}.crmhero-root .acct-body{display:flex;flex-direction:column;gap:var(--space-5);min-width:0}.crmhero-root .sec-head{display:flex;align-items:flex-start;gap:var(--space-3)}.crmhero-root .sec-head .sh-ic{width:36px;height:36px;border-radius:var(--radius-md);flex:none;display:grid;place-items:center;color:var(--primary);background:color-mix(in srgb,var(--primary) var(--tint-soft),var(--surface));border:1px solid color-mix(in srgb,var(--primary) 22%,transparent)}.crmhero-root .sec-head .sh-ic svg{width:19px;height:19px}.crmhero-root .sec-head .sh-title{font-size:var(--text-xl);font-weight:var(--weight-bold);letter-spacing:var(--tracking-tight);line-height:1.2}.crmhero-root .sec-head .sh-sub{font-size:var(--text-sm);color:var(--muted-foreground);margin-top:2px}.crmhero-root .card-rows{display:flex;flex-direction:column}.crmhero-root .set-row{display:flex;align-items:center;gap:var(--space-4);padding:var(--space-4) var(--space-5);border-bottom:1px solid var(--border)}.crmhero-root .set-row:last-child{border-bottom:0}.crmhero-root .set-row .sr-body{min-width:0;flex:1}.crmhero-root .set-row .sr-k{font-size:var(--text-sm);font-weight:var(--weight-semibold);display:flex;align-items:center;gap:8px}.crmhero-root .set-row .sr-d{font-size:var(--text-xs);color:var(--muted-foreground);margin-top:2px;line-height:var(--leading-snug)}.crmhero-root .set-row .sr-ctrl{flex:none}.crmhero-root .lastlogin{display:flex;flex-direction:column;align-items:flex-end;gap:1px;text-align:right}.crmhero-root .lastlogin .ll-rel{font-size:var(--text-sm);font-weight:var(--weight-semibold)}.crmhero-root .lastlogin .ll-abs{font-size:var(--text-xs);color:var(--muted-foreground);font-variant-numeric:tabular-nums}.crmhero-root .session-row{display:flex;align-items:center;gap:var(--space-4);padding:var(--space-3) var(--space-5);border-bottom:1px solid var(--border);transition:opacity .25s}.crmhero-root .session-row:last-child{border-bottom:0}.crmhero-root .session-row[data-ended=true]{opacity:.45}.crmhero-root .session-row .sess-ic{width:36px;height:36px;border-radius:var(--radius-md);flex:none;display:grid;place-items:center;color:var(--muted-foreground);background:var(--surface-2);border:1px solid var(--border)}.crmhero-root .session-row[data-current=true] .sess-ic{color:var(--primary);background:color-mix(in srgb,var(--primary) var(--tint-soft),var(--surface));border-color:color-mix(in srgb,var(--primary) 22%,transparent)}.crmhero-root .session-row .sess-ic svg{width:18px;height:18px}.crmhero-root .sess-body{flex:1;min-width:0}.crmhero-root .sess-body .sess-k{font-size:var(--text-sm);font-weight:var(--weight-semibold);display:flex;align-items:center;gap:8px;flex-wrap:wrap}.crmhero-root .sess-body .sess-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:var(--text-xs);color:var(--muted-foreground);margin-top:3px}.crmhero-root .sess-body .sess-meta span{display:inline-flex;align-items:center;gap:5px}.crmhero-root .sess-body .sess-meta svg{width:12px;height:12px;flex:none}.crmhero-root .sess-body .sess-meta .sess-sep{color:var(--border-strong)}.crmhero-root .sess-ctrl{flex:none}.crmhero-root .sess-ctrl .sess-here{font-size:var(--text-xs);color:var(--muted-foreground);font-weight:var(--weight-medium)}.crmhero-root .sess-ctrl .sess-done{display:inline-flex;align-items:center;gap:5px;font-size:var(--text-xs);font-weight:var(--weight-medium);color:var(--success)}.crmhero-root .sess-ctrl .sess-done svg{width:13px;height:13px}.crmhero-root .sess-empty{display:flex;align-items:center;gap:8px;padding:var(--space-3) var(--space-5) var(--space-4);font-size:var(--text-xs);color:var(--muted-foreground);border-top:1px solid var(--border)}.crmhero-root .sess-empty svg{width:14px;height:14px;flex:none;color:var(--success)}.crmhero-root .sess-error{display:flex;align-items:center;gap:var(--space-3);padding:var(--space-5)}.crmhero-root .sess-error .se-ic{width:36px;height:36px;border-radius:var(--radius-md);flex:none;display:grid;place-items:center;color:var(--danger);background:color-mix(in srgb,var(--danger) var(--tint-soft),var(--surface));border:1px solid color-mix(in srgb,var(--danger) 22%,transparent)}.crmhero-root .sess-error .se-body{flex:1;min-width:0}.crmhero-root .sess-error .se-k{font-size:var(--text-sm);font-weight:var(--weight-semibold)}.crmhero-root .sess-error .se-d{font-size:var(--text-xs);color:var(--muted-foreground);margin-top:2px;line-height:var(--leading-snug)}@media (max-width:560px){.crmhero-root .lastlogin{align-items:flex-start;text-align:left}.crmhero-root .session-row .sess-ctrl .btn{white-space:nowrap}}.crmhero-root .avatar-edit{display:flex;align-items:center;gap:var(--space-5);padding:var(--space-5)}.crmhero-root .avatar-xl{width:76px;height:76px;border-radius:var(--radius-full);flex:none;display:grid;place-items:center;font-size:26px;font-weight:var(--weight-bold);color:#fff;background:linear-gradient(150deg,var(--ch-primary-400),var(--ch-primary-600));box-shadow:inset 0 1px 0 rgba(255,255,255,.25),var(--shadow-sm);position:relative;overflow:hidden}.crmhero-root .avatar-xl img{width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.crmhero-root .avatar-meta{min-width:0}.crmhero-root .avatar-meta .am-name{font-size:var(--text-md);font-weight:var(--weight-semibold)}.crmhero-root .avatar-meta .am-hint{font-size:var(--text-xs);color:var(--muted-foreground);margin-top:2px;max-width:44ch;line-height:var(--leading-snug)}.crmhero-root .avatar-actions{display:flex;gap:var(--space-2);margin-top:var(--space-3)}.crmhero-root .verified-pill{display:inline-flex;align-items:center;gap:5px;height:20px;padding:0 8px 0 6px;border-radius:var(--radius-full);font-size:11px;font-weight:var(--weight-semibold);color:var(--success);background:color-mix(in srgb,var(--success) var(--tint-soft),var(--surface));border:1px solid color-mix(in srgb,var(--success) 26%,transparent)}.crmhero-root .verified-pill svg{width:12px;height:12px}.crmhero-root .fld-grid{display:grid;grid-template-columns:1fr 1fr;gap:var(--space-4) var(--space-5);padding:var(--space-5)}.crmhero-root .fld-grid .span-2{grid-column:1/-1}.crmhero-root .pw-strength{margin-top:var(--space-2)}.crmhero-root .pw-bars{display:flex;gap:4px;margin-bottom:6px}.crmhero-root .pw-bars i{height:5px;flex:1;border-radius:var(--radius-full);background:var(--muted);transition:background .2s}.crmhero-root .pw-bars i.on{background:var(--lvl,var(--muted-foreground))}.crmhero-root .pw-meta{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3);font-size:var(--text-xs)}.crmhero-root .pw-meta .pm-lvl{font-weight:var(--weight-semibold);color:var(--lvl,var(--muted-foreground))}.crmhero-root .pw-meta .pm-hint{color:var(--muted-foreground)}.crmhero-root .pw-reqs{display:flex;flex-wrap:wrap;gap:var(--space-2) var(--space-4);margin-top:var(--space-3)}.crmhero-root .pw-req{display:inline-flex;align-items:center;gap:6px;font-size:var(--text-xs);color:var(--muted-foreground)}.crmhero-root .pw-req svg{width:13px;height:13px;flex:none}.crmhero-root .pw-req[data-ok=true]{color:var(--success)}.crmhero-root .input-affix{position:relative;display:flex;align-items:center}.crmhero-root .input-affix .input{padding-right:38px;width:100%}.crmhero-root .input-affix .affix-btn{position:absolute;right:4px;width:28px;height:28px;border-radius:var(--radius-sm);display:grid;place-items:center;color:var(--muted-foreground)}.crmhero-root .input-affix .affix-btn:hover{background:var(--accent);color:var(--foreground)}.crmhero-root .input-affix .affix-btn svg{width:15px;height:15px}.crmhero-root .tfa-row{display:flex;align-items:center;gap:var(--space-4);padding:var(--space-4) var(--space-5)}.crmhero-root .tfa-ic{width:40px;height:40px;border-radius:var(--radius-md);flex:none;display:grid;place-items:center}.crmhero-root .tfa-ic svg{width:20px;height:20px}.crmhero-root .tfa-row[data-on=true] .tfa-ic{color:var(--success);background:color-mix(in srgb,var(--success) var(--tint-soft),var(--surface));border:1px solid color-mix(in srgb,var(--success) 24%,transparent)}.crmhero-root .tfa-row[data-on=false] .tfa-ic{color:var(--warning);background:color-mix(in srgb,var(--warning) var(--tint-soft),var(--surface));border:1px solid color-mix(in srgb,var(--warning) 24%,transparent)}.crmhero-root .tfa-body{flex:1;min-width:0}.crmhero-root .tfa-title{font-size:var(--text-sm);font-weight:var(--weight-semibold);display:flex;align-items:center;gap:8px}.crmhero-root .tfa-text{font-size:var(--text-xs);color:var(--muted-foreground);margin-top:2px;line-height:var(--leading-snug)}.crmhero-root .tfa-actions{display:flex;gap:var(--space-2);flex:none;align-items:center}.crmhero-root .tfa-title .tfa-req{display:inline-flex;align-items:center;gap:5px;height:20px;padding:0 8px 0 6px;border-radius:var(--radius-full);font-size:11px;font-weight:var(--weight-semibold);color:var(--warning);background:color-mix(in srgb,var(--warning) var(--tint-soft),var(--surface));border:1px solid color-mix(in srgb,var(--warning) 26%,transparent)}.crmhero-root .tfa-title .tfa-req svg{width:11px;height:11px}.crmhero-root .modal.modal--2fa{max-width:460px}.crmhero-root .twofa-steps{display:flex;align-items:center;gap:var(--space-2);margin-top:var(--space-4)}.crmhero-root .twofa-steps .ts-step{display:inline-flex;align-items:center;gap:7px;font-size:var(--text-xs);font-weight:var(--weight-medium);color:var(--muted-foreground);white-space:nowrap}.crmhero-root .twofa-steps .ts-step:not(:last-child):after{content:"";width:14px;height:1px;background:var(--border-strong);margin-left:var(--space-1)}.crmhero-root .twofa-steps .ts-dot{width:18px;height:18px;border-radius:var(--radius-full);display:grid;place-items:center;font-size:10px;font-weight:var(--weight-bold);background:var(--muted);color:var(--muted-foreground);flex:none}.crmhero-root .twofa-steps .ts-step[data-state=on]{color:var(--foreground)}.crmhero-root .twofa-steps .ts-step[data-state=on] .ts-dot{background:var(--primary);color:#fff}.crmhero-root .twofa-steps .ts-step[data-state=done]{color:var(--primary)}.crmhero-root .twofa-steps .ts-step[data-state=done] .ts-dot{background:color-mix(in srgb,var(--primary) 16%,var(--surface));color:var(--primary)}.crmhero-root .twofa-lead{font-size:var(--text-sm);color:var(--subtle-foreground);line-height:var(--leading-normal);margin:0 0 var(--space-4)}.crmhero-root .twofa-lead b{color:var(--foreground);font-weight:var(--weight-semibold)}.crmhero-root .qr-wrap{display:flex;gap:var(--space-4);align-items:stretch}.crmhero-root .qr-side{flex:1;min-width:0;display:flex;flex-direction:column;gap:var(--space-3);justify-content:center}.crmhero-root .qr-cap{display:inline-flex;align-items:center;gap:6px;font-size:var(--text-xs);color:var(--muted-foreground);font-weight:var(--weight-medium)}.crmhero-root .qr-cap svg{width:13px;height:13px;flex:none}.crmhero-root .code-mono{font-family:var(--font-mono);font-size:var(--text-sm);letter-spacing:.04em;color:var(--foreground)}.crmhero-root .secret-box{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface-2);padding:var(--space-3)}.crmhero-root .secret-box .secret-cap{display:block;font-size:10px;font-weight:var(--weight-semibold);letter-spacing:var(--tracking-caps);text-transform:uppercase;color:var(--muted-foreground);margin-bottom:6px}.crmhero-root .secret-box .secret-val{display:flex;align-items:center;gap:var(--space-2)}.crmhero-root .secret-box .secret-val .code-mono{flex:1;min-width:0;word-break:break-all}.crmhero-root .input.code-otp{font-family:var(--font-mono);font-size:22px;font-weight:var(--weight-semibold);letter-spacing:.5em;text-align:center;padding-right:0;height:48px}.crmhero-root .input.code-otp::-moz-placeholder{letter-spacing:.5em;color:var(--muted)}.crmhero-root .input.code-otp::placeholder{letter-spacing:.5em;color:var(--muted)}.crmhero-root .backup-note{display:flex;align-items:flex-start;gap:8px;padding:var(--space-3) var(--space-4);border-radius:var(--radius-md);background:color-mix(in srgb,var(--warning) var(--tint-soft),var(--surface));border:1px solid color-mix(in srgb,var(--warning) 26%,transparent);font-size:var(--text-xs);color:var(--subtle-foreground);line-height:var(--leading-snug);margin-bottom:var(--space-4)}.crmhero-root .backup-note svg{width:14px;height:14px;flex:none;color:var(--warning);margin-top:1px}.crmhero-root .backup-note b{color:var(--foreground);font-weight:var(--weight-semibold)}.crmhero-root .backup-grid{display:grid;grid-template-columns:1fr 1fr;gap:var(--space-2)}.crmhero-root .backup-code{display:flex;align-items:center;justify-content:center;height:34px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-2);font-size:var(--text-sm)}.crmhero-root .backup-actions{display:flex;gap:var(--space-2);margin-top:var(--space-3)}.crmhero-root .ack-row{display:flex;align-items:flex-start;gap:10px;margin-top:var(--space-4);cursor:pointer}.crmhero-root .ack-row span{font-size:var(--text-sm);color:var(--subtle-foreground);line-height:1.4}@media (max-width:640px){.crmhero-root .tfa-row{flex-wrap:wrap}.crmhero-root .tfa-actions{width:100%}.crmhero-root .tfa-actions .btn{flex:1}.crmhero-root .qr-wrap{flex-direction:column}.crmhero-root .backup-grid{grid-template-columns:1fr}}.crmhero-root .notif-row{display:flex;align-items:center;gap:var(--space-4);padding:var(--space-3) var(--space-5);border-bottom:1px solid var(--border)}.crmhero-root .notif-row:last-child{border-bottom:0}.crmhero-root .notif-row .nr-body{flex:1;min-width:0}.crmhero-root .notif-row .nr-k{font-size:var(--text-sm);font-weight:var(--weight-medium)}.crmhero-root .notif-row .nr-d{font-size:var(--text-xs);color:var(--muted-foreground);margin-top:1px}.crmhero-root .gdpr-rights{display:flex;flex-wrap:wrap;gap:var(--space-2);padding:0 var(--space-5) var(--space-5)}.crmhero-root .gdpr-tag{display:inline-flex;align-items:center;gap:6px;font-size:var(--text-xs);font-weight:var(--weight-medium);color:var(--subtle-foreground);height:26px;padding:0 10px;border-radius:var(--radius-full);border:1px solid var(--border);background:var(--surface-2)}.crmhero-root .gdpr-tag svg{width:13px;height:13px;color:var(--primary);flex:none}.crmhero-root .danger-zone{border:1px solid color-mix(in srgb,var(--danger) 32%,transparent);border-radius:var(--radius-lg);background:color-mix(in srgb,var(--danger) var(--tint-soft),var(--surface));overflow:hidden}.crmhero-root .danger-zone .dz-head{padding:var(--space-3) var(--space-5);border-bottom:1px solid color-mix(in srgb,var(--danger) 22%,transparent);font-size:var(--text-xs);font-weight:var(--weight-bold);letter-spacing:var(--tracking-caps);text-transform:uppercase;color:var(--danger);display:flex;align-items:center;gap:7px}.crmhero-root .danger-zone .dz-head svg{width:14px;height:14px}.crmhero-root .danger-row{display:flex;align-items:center;gap:var(--space-4);padding:var(--space-4) var(--space-5)}.crmhero-root .danger-row .dr-body{flex:1;min-width:0}.crmhero-root .danger-row .dr-k{font-size:var(--text-sm);font-weight:var(--weight-semibold)}.crmhero-root .danger-row .dr-d{font-size:var(--text-xs);color:var(--subtle-foreground);margin-top:2px;line-height:var(--leading-snug);max-width:52ch}.crmhero-root .save-bar{display:flex;align-items:center;gap:var(--space-3);padding:var(--space-3) var(--space-5);border-top:1px solid var(--border);background:var(--surface-2);border-radius:0 0 var(--radius-lg) var(--radius-lg);flex-wrap:wrap}.crmhero-root .save-bar .sb-spacer{flex:1}.crmhero-root .save-bar .sb-status{display:inline-flex;align-items:center;gap:7px;font-size:var(--text-xs);font-weight:var(--weight-medium)}.crmhero-root .save-bar .sb-status svg{width:14px;height:14px;flex:none}.crmhero-root .save-bar .sb-status.saved{color:var(--success)}.crmhero-root .save-bar .sb-status.saving{color:var(--muted-foreground)}.crmhero-root .save-bar .sb-status.error{color:var(--danger)}.crmhero-root .save-bar .sb-status.pending{color:var(--muted-foreground)}.crmhero-root .save-bar .sb-status .mini-spin{width:13px;height:13px;border-radius:50%;border:2px solid color-mix(in srgb,var(--muted-foreground) 35%,transparent);border-top-color:var(--muted-foreground);animation:ds-spin .7s linear infinite}.crmhero-root .secpol-card{margin-bottom:var(--space-5)}.crmhero-root .org-scope{display:inline-flex;align-items:center;gap:6px;height:24px;padding:0 10px;border-radius:var(--radius-full);font-size:11px;font-weight:var(--weight-semibold);color:var(--subtle-foreground);background:var(--surface-2);border:1px solid var(--border);white-space:nowrap}.crmhero-root .org-scope svg{width:12px;height:12px;color:var(--primary);flex:none}.crmhero-root .secpol-row{display:flex;align-items:flex-start;gap:var(--space-4);padding:var(--space-4) var(--space-5)}.crmhero-root .secpol-ic{width:40px;height:40px;border-radius:var(--radius-md);flex:none;display:grid;place-items:center;color:var(--muted-foreground);background:var(--muted);border:1px solid var(--border);transition:color .15s,background .15s,border-color .15s}.crmhero-root .secpol-ic svg{width:20px;height:20px}.crmhero-root .secpol-row[data-on=true] .secpol-ic{color:var(--primary);background:color-mix(in srgb,var(--primary) var(--tint-soft),var(--surface));border-color:color-mix(in srgb,var(--primary) 24%,transparent)}.crmhero-root .secpol-body{flex:1;min-width:0}.crmhero-root .secpol-title{font-size:var(--text-base);font-weight:var(--weight-semibold);display:flex;align-items:center;gap:var(--space-2);flex-wrap:wrap;line-height:1.3}.crmhero-root .secpol-text{font-size:var(--text-xs);color:var(--muted-foreground);margin-top:3px;line-height:var(--leading-snug);max-width:66ch}.crmhero-root .secpol-text b{color:var(--subtle-foreground);font-weight:var(--weight-semibold)}.crmhero-root .secpol-ctrl{flex:none;padding-top:2px}.crmhero-root .secpol-flag{display:inline-flex;align-items:center;gap:5px;height:20px;padding:0 8px 0 6px;border-radius:var(--radius-full);font-size:11px;font-weight:var(--weight-semibold);white-space:nowrap}.crmhero-root .secpol-flag svg{width:11px;height:11px;flex:none}.crmhero-root .secpol-flag.on{color:var(--primary);background:color-mix(in srgb,var(--primary) var(--tint-soft),var(--surface));border:1px solid color-mix(in srgb,var(--primary) 26%,transparent)}.crmhero-root .secpol-flag.pending{color:var(--warning);background:color-mix(in srgb,var(--warning) var(--tint-soft),var(--surface));border:1px solid color-mix(in srgb,var(--warning) 26%,transparent)}.crmhero-root .secpol-lock{display:inline-flex;align-items:center;gap:7px;height:30px;padding:0 12px;border-radius:var(--radius-full);font-size:var(--text-xs);font-weight:var(--weight-semibold);color:var(--muted-foreground);background:var(--surface-2);border:1px solid var(--border);white-space:nowrap}.crmhero-root .secpol-lock svg{width:13px;height:13px;flex:none}.crmhero-root .secpol-lock[data-on=true]{color:var(--primary);border-color:color-mix(in srgb,var(--primary) 26%,transparent);background:color-mix(in srgb,var(--primary) var(--tint-soft),var(--surface))}.crmhero-root .secpol-notes{padding:0 var(--space-5) var(--space-4);display:flex;flex-direction:column;gap:var(--space-3)}.crmhero-root .secpol-notes .audit-line{margin-top:0}.crmhero-root .secpol-active{display:flex;align-items:flex-start;gap:9px;padding:var(--space-3) var(--space-4);border-radius:var(--radius-md);background:color-mix(in srgb,var(--primary) var(--tint-soft),var(--surface));border:1px solid color-mix(in srgb,var(--primary) 24%,transparent);font-size:var(--text-xs);color:var(--subtle-foreground);line-height:var(--leading-snug)}.crmhero-root .secpol-active svg{width:15px;height:15px;flex:none;margin-top:1px;color:var(--primary)}.crmhero-root .secpol-active b{color:var(--foreground);font-weight:var(--weight-semibold)}.crmhero-root .secpol-affected{display:flex;align-items:center;gap:var(--space-3);padding:var(--space-3) var(--space-4);border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface-2);font-size:var(--text-xs);color:var(--subtle-foreground);line-height:var(--leading-snug)}.crmhero-root .secpol-affected>svg{width:15px;height:15px;flex:none;color:var(--muted-foreground)}.crmhero-root .secpol-affected b{color:var(--foreground);font-weight:var(--weight-bold);font-variant-numeric:tabular-nums}.crmhero-root .secpol-affected.ok>svg{color:var(--success)}.crmhero-root .secpol-affected .aff-spacer{flex:1;min-width:var(--space-2)}.crmhero-root .secpol-affected .aff-avatars{display:flex;flex:none}.crmhero-root .secpol-affected .aff-avatars .avatar{box-shadow:0 0 0 2px var(--surface-2)}.crmhero-root .secpol-affected .aff-avatars .avatar+.avatar{margin-left:-8px}.crmhero-root .secpol-rohint{display:flex;align-items:center;gap:7px;font-size:var(--text-xs);color:var(--muted-foreground)}.crmhero-root .secpol-rohint svg{width:13px;height:13px;flex:none}.crmhero-root .secpol-card .save-bar{border-radius:0 0 var(--radius-lg) var(--radius-lg)}@media (max-width:860px){.crmhero-root .acct{grid-template-columns:1fr;gap:var(--space-5)}.crmhero-root .acct-nav{position:static;flex-direction:row;overflow-x:auto;gap:var(--space-1);padding-bottom:var(--space-1);border-bottom:1px solid var(--border)}.crmhero-root .acct-nav-cap{display:none}.crmhero-root .acct-nav-item{white-space:nowrap;height:34px}.crmhero-root .fld-grid{grid-template-columns:1fr}}.crmhero-root .acct-nav-item[data-soon=true]{cursor:default;color:var(--muted-foreground)}.crmhero-root .acct-nav-item[data-soon=true] svg{opacity:.7}.crmhero-root .acct-nav-item[data-soon=true]:hover{background:transparent;color:var(--muted-foreground)}.crmhero-root .soon-tag{margin-left:auto;font-size:9px;font-weight:var(--weight-bold);letter-spacing:var(--tracking-caps);text-transform:uppercase;color:var(--muted-foreground);border:1px solid var(--border);padding:2px 7px;flex:none}.crmhero-root .scope-badge,.crmhero-root .soon-tag{background:var(--surface-2);border-radius:var(--radius-full)}.crmhero-root .scope-badge{display:inline-flex;align-items:center;gap:6px;height:24px;padding:0 10px;font-size:11px;font-weight:var(--weight-semibold);color:var(--subtle-foreground);border:1px solid var(--border);white-space:nowrap}.crmhero-root .scope-badge svg{width:12px;height:12px;color:var(--primary);flex:none}.crmhero-root .cfg-body{padding:var(--space-5);display:flex;flex-direction:column;gap:var(--space-5)}.crmhero-root .cfg-divider{height:1px;background:var(--border);margin:0 calc(-1 * var(--space-5))}.crmhero-root .prov-grid{display:grid;grid-template-columns:1fr 1fr;gap:var(--space-3)}.crmhero-root .prov-card{position:relative;display:flex;gap:var(--space-3);padding:var(--space-4);border:1px solid var(--border-strong);border-radius:var(--radius-md);background:var(--surface);text-align:left;transition:border-color .12s,background .12s,box-shadow .12s}.crmhero-root .prov-card:hover{background:var(--accent)}.crmhero-root .prov-card[data-on=true]{border-color:var(--primary);background:color-mix(in srgb,var(--primary) 7%,var(--surface));box-shadow:inset 0 0 0 1px var(--primary)}.crmhero-root .prov-mark{width:34px;height:34px;border-radius:var(--radius-md);flex:none;display:grid;place-items:center;font-family:var(--font-mono);font-size:15px;font-weight:var(--weight-bold);color:var(--subtle-foreground);background:var(--surface-2);border:1px solid var(--border-strong)}.crmhero-root .prov-card[data-on=true] .prov-mark{color:var(--primary);background:color-mix(in srgb,var(--primary) var(--tint-soft),var(--surface));border-color:color-mix(in srgb,var(--primary) 30%,transparent)}.crmhero-root .prov-body{min-width:0;flex:1}.crmhero-root .prov-name{font-size:var(--text-sm);font-weight:var(--weight-semibold);display:flex;align-items:center;gap:7px}.crmhero-root .prov-sub{font-size:var(--text-xs);color:var(--muted-foreground);margin-top:3px;line-height:var(--leading-snug)}.crmhero-root .prov-region{display:inline-flex;align-items:center;gap:5px;margin-top:var(--space-3);font-size:11px;font-weight:var(--weight-medium);padding:2px 8px 2px 6px;border-radius:var(--radius-full);border:1px solid transparent}.crmhero-root .prov-region svg{width:11px;height:11px;flex:none}.crmhero-root .prov-region.eu{color:var(--success);background:color-mix(in srgb,var(--success) var(--tint-soft),var(--surface));border-color:color-mix(in srgb,var(--success) 24%,transparent)}.crmhero-root .prov-region.us{color:var(--warning);background:color-mix(in srgb,var(--warning) var(--tint-soft),var(--surface));border-color:color-mix(in srgb,var(--warning) 24%,transparent)}.crmhero-root .prov-check{position:absolute;top:var(--space-3);right:var(--space-3);width:18px;height:18px;border-radius:var(--radius-full);display:grid;place-items:center;background:var(--primary);color:#fff}.crmhero-root .prov-check svg{width:11px;height:11px}.crmhero-root .key-head{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3);margin-bottom:var(--space-2)}.crmhero-root .key-head .kh-label{font-size:var(--text-sm);font-weight:var(--weight-medium);color:var(--foreground)}.crmhero-root .key-status{display:inline-flex;align-items:center;gap:6px;height:22px;padding:0 9px 0 7px;border-radius:var(--radius-full);font-size:11px;font-weight:var(--weight-semibold);white-space:nowrap}.crmhero-root .key-status svg{width:12px;height:12px;flex:none}.crmhero-root .key-status.on{color:var(--success);background:color-mix(in srgb,var(--success) var(--tint-soft),var(--surface));border:1px solid color-mix(in srgb,var(--success) 26%,transparent)}.crmhero-root .key-status.off{color:var(--muted-foreground);background:var(--surface-2);border:1px solid var(--border-strong)}.crmhero-root .key-status.off .dot{width:6px;height:6px;border-radius:50%;background:var(--muted-foreground);flex:none}.crmhero-root .key-meta{font-size:var(--text-xs);color:var(--muted-foreground);margin-top:var(--space-2);display:inline-flex;align-items:center;gap:6px;line-height:var(--leading-snug)}.crmhero-root .key-meta svg{width:12px;height:12px;flex:none;color:var(--muted-foreground)}.crmhero-root .test-row{display:flex;align-items:center;gap:var(--space-3);flex-wrap:wrap}.crmhero-root .test-status{display:inline-flex;align-items:center;gap:7px;font-size:var(--text-xs);font-weight:var(--weight-medium);line-height:var(--leading-snug)}.crmhero-root .test-status svg{width:14px;height:14px;flex:none}.crmhero-root .test-status.ok{color:var(--success)}.crmhero-root .test-status.fehler{color:var(--danger)}.crmhero-root .test-status.testing{color:var(--muted-foreground)}.crmhero-root .test-status .mini-spin{width:13px;height:13px;border-radius:50%;border:2px solid color-mix(in srgb,var(--muted-foreground) 35%,transparent);border-top-color:var(--muted-foreground);animation:ds-spin .7s linear infinite;flex:none}.crmhero-root .hinweis-box{border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--card);box-shadow:var(--shadow-xs);overflow:hidden}.crmhero-root .hinweis-row{display:flex;gap:var(--space-3);padding:var(--space-4) var(--space-5)}.crmhero-root .hinweis-row+.hinweis-row{border-top:1px solid var(--border)}.crmhero-root .hinweis-ic{width:30px;height:30px;border-radius:var(--radius-md);flex:none;display:grid;place-items:center}.crmhero-root .hinweis-ic svg{width:16px;height:16px}.crmhero-root .hinweis-row.warn .hinweis-ic{color:var(--warning);background:color-mix(in srgb,var(--warning) var(--tint-soft),var(--surface));border:1px solid color-mix(in srgb,var(--warning) 22%,transparent)}.crmhero-root .hinweis-row.ok .hinweis-ic{color:var(--success);background:color-mix(in srgb,var(--success) var(--tint-soft),var(--surface));border:1px solid color-mix(in srgb,var(--success) 22%,transparent)}.crmhero-root .hinweis-row.neutral .hinweis-ic{color:var(--primary);background:color-mix(in srgb,var(--primary) var(--tint-soft),var(--surface));border:1px solid color-mix(in srgb,var(--primary) 22%,transparent)}.crmhero-root .hinweis-body{min-width:0;flex:1}.crmhero-root .hinweis-k{font-size:var(--text-sm);font-weight:var(--weight-semibold)}.crmhero-root .hinweis-d{font-size:var(--text-xs);color:var(--subtle-foreground);margin-top:3px;line-height:var(--leading-normal);max-width:70ch}.crmhero-root .hinweis-d b{color:var(--foreground);font-weight:var(--weight-semibold)}.crmhero-root .soon-panel{border:1px dashed var(--border-strong);border-radius:var(--radius-lg);background:var(--surface-2);padding:var(--space-10) var(--space-8);display:flex;flex-direction:column;align-items:center;text-align:center;gap:var(--space-3)}.crmhero-root .soon-panel .sp-ic{width:48px;height:48px;border-radius:var(--radius-md);display:grid;place-items:center;color:var(--muted-foreground);background:var(--surface);border:1px solid var(--border)}.crmhero-root .soon-panel .sp-ic svg{width:22px;height:22px}.crmhero-root .soon-panel .sp-title{font-size:var(--text-lg);font-weight:var(--weight-bold);letter-spacing:var(--tracking-tight)}.crmhero-root .soon-panel .sp-text{font-size:var(--text-sm);color:var(--muted-foreground);line-height:var(--leading-normal);max-width:48ch}.crmhero-root .soon-panel .sp-pill{margin-top:var(--space-1);display:inline-flex;align-items:center;gap:6px;height:24px;padding:0 12px;border-radius:var(--radius-full);font-size:11px;font-weight:var(--weight-semibold);letter-spacing:var(--tracking-caps);text-transform:uppercase;color:var(--muted-foreground);background:var(--surface);border:1px solid var(--border)}@media (max-width:720px){.crmhero-root .prov-grid{grid-template-columns:1fr}}@media (max-width:560px){.crmhero-root .test-row .btn{width:100%}}.crmhero-root .type-chip{display:inline-flex;align-items:center;gap:5px;height:21px;padding:0 8px;border-radius:var(--radius-full);font-size:var(--text-xs);font-weight:var(--weight-semibold);line-height:1;white-space:nowrap;color:var(--c,var(--muted-foreground));background:color-mix(in srgb,var(--c) var(--tint-soft),var(--surface));border:1px solid color-mix(in srgb,var(--c) 25%,transparent)}.crmhero-root .type-chip svg{width:12px;height:12px}.crmhero-root .tc--letter{--c:var(--art-document)}.crmhero-root .tc--offer{--c:var(--cat-angebot)}.crmhero-root .ent-l1{display:flex;align-items:center;gap:6px}.crmhero-root .ent-l1 .ent-time{margin-left:auto;font-size:11px;color:var(--muted-foreground);flex:none;font-variant-numeric:tabular-nums}.crmhero-root .ent-subj{font-size:var(--text-sm);font-weight:var(--weight-semibold);color:var(--foreground);margin-top:var(--space-2);margin-bottom:var(--space-2);line-height:var(--leading-snug)}.crmhero-root .ent-link{display:inline-flex;align-items:center;gap:6px;font-size:var(--text-xs);color:var(--muted-foreground);min-width:0;max-width:100%}.crmhero-root .ent-link svg{width:12px;height:12px;flex:none;color:var(--lc,var(--muted-foreground))}.crmhero-root .ent-link .el-label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.crmhero-root .ent-link.lk--mail{--lc:var(--cat-anfrage)}.crmhero-root .ent-link.lk--kontakt{--lc:var(--primary)}.crmhero-root .ent-link.lk--auftrag{--lc:var(--art-document)}.crmhero-root .ent-meta{display:flex;align-items:center;gap:var(--space-3);flex-wrap:wrap;margin-top:var(--space-3)}.crmhero-root .ent-meta .em-item{display:inline-flex;align-items:center;gap:6px;font-size:var(--text-xs);color:var(--muted-foreground)}.crmhero-root .ent-meta .em-item svg{width:13px;height:13px}.crmhero-root .ent-meta .em-dot{width:3px;height:3px;border-radius:50%;background:var(--border-strong)}.crmhero-root .ver-tag{display:inline-flex;align-items:center;gap:5px;height:20px;padding:0 8px;border-radius:var(--radius-sm);font-size:11px;font-weight:var(--weight-semibold);font-family:var(--font-mono);color:var(--subtle-foreground);background:var(--muted);border:1px solid var(--border)}.crmhero-root .ent-doc-wrap{padding:var(--space-5)}.crmhero-root .ent-sheet{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-xs);padding:var(--space-8) var(--space-8) var(--space-6);max-width:660px;margin:0 auto}.crmhero-root .ent-sheet-head{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3);padding-bottom:var(--space-4);margin-bottom:var(--space-5);border-bottom:1px solid var(--border)}.crmhero-root .ent-sheet-org{font-size:var(--text-sm);font-weight:var(--weight-semibold);letter-spacing:var(--tracking-tight);min-width:0}.crmhero-root .ent-sheet-org span{display:block;font-size:var(--text-xs);font-weight:var(--weight-regular);color:var(--muted-foreground);margin-top:2px}.crmhero-root .ent-sheet-nr{text-align:right;font-size:var(--text-xs);color:var(--muted-foreground);font-family:var(--font-mono);flex:none}.crmhero-root .ent-sheet-nr b{display:block;color:var(--subtle-foreground);font-weight:var(--weight-semibold)}.crmhero-root .ent-sheet-betreff{font-size:var(--text-lg);font-weight:var(--weight-semibold);letter-spacing:var(--tracking-tight);line-height:var(--leading-snug);margin-bottom:var(--space-4);text-wrap:pretty}.crmhero-root .ent-sheet-body p{font-size:var(--text-base);line-height:1.72;color:var(--subtle-foreground);margin:0 0 var(--space-4);text-wrap:pretty}.crmhero-root .ent-sheet-body p:first-child{color:var(--foreground)}.crmhero-root .ent-hitl{max-width:660px;margin:var(--space-4) auto 0}.crmhero-root .readonly-pill{display:inline-flex;align-items:center;gap:7px;height:32px;padding:0 var(--space-3);border-radius:var(--radius-md);font-size:var(--text-sm);font-weight:var(--weight-medium);color:var(--muted-foreground);background:var(--muted);border:1px solid var(--border)}.crmhero-root .readonly-pill svg{width:15px;height:15px}.crmhero-root .ent-empty-hint{margin-top:var(--space-4);padding:var(--space-3) var(--space-4);border-radius:var(--radius-md);background:var(--surface-2);border:1px dashed var(--border-strong);font-size:var(--text-xs);color:var(--subtle-foreground);line-height:var(--leading-normal);display:flex;align-items:flex-start;gap:var(--space-2);max-width:380px}.crmhero-root .ent-empty-hint svg{width:14px;height:14px;color:var(--primary);flex:none;margin-top:1px}@media (max-width:920px){.crmhero-root .ent-sheet{padding:var(--space-5) var(--space-4) var(--space-5)}.crmhero-root .ent-doc-wrap{padding:var(--space-4)}}.crmhero-root .kbd-overlay{position:fixed;inset:0;z-index:90;display:grid;place-items:center;padding:var(--space-6);background:color-mix(in srgb,var(--ch-neutral-950,#000) 55%,transparent);backdrop-filter:blur(2px)}.crmhero-root .kbd-card{width:100%;max-width:420px;background:var(--surface);border:1px solid var(--border-strong);border-radius:var(--radius-xl);box-shadow:var(--shadow-lg);overflow:hidden}.crmhero-root .kbd-head{display:flex;align-items:center;justify-content:space-between;padding:var(--space-4) var(--space-5);border-bottom:1px solid var(--border)}.crmhero-root .kbd-title{font-size:var(--text-base);font-weight:var(--weight-semibold);color:var(--foreground)}.crmhero-root .kbd-list{display:flex;flex-direction:column;padding:var(--space-2) var(--space-3)}.crmhero-root .kbd-row{display:flex;align-items:center;justify-content:space-between;gap:var(--space-4);padding:var(--space-2) var(--space-2);border-bottom:1px dashed var(--border);font-size:var(--text-sm)}.crmhero-root .kbd-row:last-child{border-bottom:0}.crmhero-root .kbd-label{color:var(--foreground)}.crmhero-root .kbd-row kbd,.crmhero-root kbd{display:inline-flex;align-items:center;min-width:28px;justify-content:center;padding:2px var(--space-2);font-family:inherit;font-size:var(--text-xs);font-weight:var(--weight-medium);line-height:1.4;color:var(--muted-foreground);background:var(--muted);border:solid var(--border-strong);border-width:1px 1px 2px;border-radius:var(--radius-sm);white-space:nowrap}.crmhero-root .ctx-menu{position:fixed;z-index:1000;min-width:200px;max-width:280px;padding:var(--space-1);background:var(--popover);color:var(--popover-foreground);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-lg);display:flex;flex-direction:column;gap:1px;outline:none;animation:ctx-menu-in .08s ease-out}@keyframes ctx-menu-in{0%{opacity:0;transform:translateY(-2px) scale(.98)}to{opacity:1;transform:none}}.crmhero-root .ctx-item{display:flex;align-items:center;gap:var(--space-2);width:100%;padding:var(--space-2) var(--space-3);border:none;border-radius:var(--radius-md);background:transparent;color:inherit;font:inherit;font-size:var(--text-sm);text-align:left;cursor:pointer;transition:background .1s}.crmhero-root .ctx-item:focus-visible,.crmhero-root .ctx-item:hover{background:var(--accent);outline:none}.crmhero-root .ctx-item:disabled{opacity:.5;cursor:not-allowed}.crmhero-root .ctx-item-label{flex:1;min-width:0}.crmhero-root .ctx-item--danger{color:var(--danger)}.crmhero-root .ctx-item--danger:focus-visible,.crmhero-root .ctx-item--danger:hover{background:color-mix(in srgb,var(--danger) 12%,var(--popover))}.crmhero-root .ctx-sep{height:1px;margin:var(--space-1) 0;background:var(--border)}.crmhero-root .mli-quick{display:inline-flex;align-items:center;gap:var(--space-1);opacity:0;transition:opacity .1s}.crmhero-root .mli:focus-within .mli-quick,.crmhero-root .mli:hover .mli-quick{opacity:1}@media (hover:none){.crmhero-root .mli-quick{opacity:1}}.crmhero-root .mli-quick-btn{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;padding:0;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface);color:var(--muted-foreground);cursor:pointer;transition:background .1s,color .1s,border-color .1s}.crmhero-root .mli-quick-btn:hover{background:var(--accent);color:var(--foreground);border-color:var(--border-strong)}.crmhero-root .mli-quick-btn:disabled{opacity:.5;cursor:not-allowed}.crmhero-root .mli-check{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;margin-right:var(--space-1)}.crmhero-root .mli-check input{width:15px;height:15px;cursor:pointer;accent-color:var(--primary)}.crmhero-root .bulk-bar,.crmhero-root .mli[data-checked=true]{background:color-mix(in srgb,var(--primary) 6%,var(--surface))}.crmhero-root .bulk-bar{display:flex;align-items:center;gap:var(--space-3);flex-wrap:wrap;padding:var(--space-2) var(--space-3);border-bottom:1px solid var(--border)}.crmhero-root .bulk-bar-count{font-size:var(--text-sm);font-weight:var(--weight-medium);color:var(--foreground)}.crmhero-root .bulk-bar-spacer{flex:1}.crmhero-root .bulk-bar-actions{display:flex;align-items:center;gap:var(--space-2);flex-wrap:wrap}.crmhero-root .toast-stack{position:fixed;right:var(--space-5);bottom:var(--space-5);z-index:80;width:min(360px,calc(100vw - var(--space-8)));pointer-events:none}.crmhero-root .toast-region,.crmhero-root .toast-stack{display:flex;flex-direction:column;gap:var(--space-2)}.crmhero-root .toast{--c:var(--info);pointer-events:auto;display:flex;align-items:flex-start;gap:var(--space-3);padding:var(--space-3) var(--space-4);border-radius:var(--radius-md);border:1px solid color-mix(in srgb,var(--c) 30%,transparent);background:color-mix(in srgb,var(--c) var(--tint-soft),var(--surface));box-shadow:var(--shadow-lg);animation:toast-in .18s ease-out}.crmhero-root .toast--success{--c:var(--success)}.crmhero-root .toast--error{--c:var(--danger)}.crmhero-root .toast--info{--c:var(--info)}.crmhero-root .toast .toast-icon{color:var(--c);flex:none;margin-top:1px}.crmhero-root .toast .toast-body{flex:1;min-width:0}.crmhero-root .toast .toast-title{font-size:var(--text-sm);font-weight:var(--weight-semibold)}.crmhero-root .toast .toast-text{font-size:var(--text-sm);color:var(--subtle-foreground);margin-top:2px}.crmhero-root .toast .toast-close{flex:none;display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;margin:-2px -4px 0 0;border:0;border-radius:var(--radius-sm);background:transparent;color:var(--muted-foreground);cursor:pointer;transition:background .12s ease,color .12s ease}.crmhero-root .toast .toast-close:hover{background:color-mix(in srgb,var(--c) 14%,transparent);color:var(--foreground)}.crmhero-root .toast .toast-close:focus-visible{outline:none;box-shadow:var(--shadow-focus)}@keyframes toast-in{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@media (prefers-reduced-motion:reduce){.crmhero-root .toast{animation:none}}.crmhero-root .newmail-pill{display:inline-flex;align-items:center;gap:var(--space-2);margin:var(--space-2) auto var(--space-1);padding:6px var(--space-4);border-radius:var(--radius-full);border:1px solid color-mix(in srgb,var(--primary) 28%,transparent);background:color-mix(in srgb,var(--primary) var(--tint-soft),var(--surface));color:var(--primary);font-size:var(--text-sm);font-weight:var(--weight-medium);cursor:pointer;box-shadow:var(--shadow-sm);transition:background .12s ease,transform .12s ease}.crmhero-root .newmail-pill:hover{background:color-mix(in srgb,var(--primary) 18%,var(--surface))}.crmhero-root .newmail-pill:active{transform:translateY(1px)}.crmhero-root .newmail-pill:focus-visible{outline:none;box-shadow:var(--shadow-focus)}.crmhero-root .model-select{position:relative;width:100%}.crmhero-root .ms-field{display:flex;align-items:center;height:36px;background:var(--surface);border:1px solid var(--input);border-radius:var(--radius-md);transition:border-color .12s,box-shadow .12s}.crmhero-root .ms-field:focus-within{border-color:var(--ring);box-shadow:var(--shadow-focus)}.crmhero-root .ms-field[data-disabled]{background:var(--muted)}.crmhero-root .ms-field .ms-icon{display:grid;place-items:center;padding-left:10px;color:var(--muted-foreground);pointer-events:none}.crmhero-root .ms-input{flex:1;min-width:0;height:100%;padding:0 var(--space-2) 0 var(--space-2);background:transparent;border:none;outline:none;color:var(--foreground);font-size:var(--text-base)}.crmhero-root .ms-input::-moz-placeholder{color:var(--muted-foreground)}.crmhero-root .ms-input::placeholder{color:var(--muted-foreground)}.crmhero-root .ms-input:disabled{color:var(--muted-foreground);cursor:not-allowed}.crmhero-root .ms-toggle{display:grid;place-items:center;width:34px;height:100%;color:var(--muted-foreground);border-left:1px solid var(--border);border-radius:0 var(--radius-md) var(--radius-md) 0}.crmhero-root .ms-toggle:hover:not(:disabled){background:var(--accent);color:var(--foreground)}.crmhero-root .ms-toggle:disabled{opacity:.5;cursor:not-allowed}.crmhero-root .ms-toggle svg{transition:transform .15s}.crmhero-root .ms-toggle[data-open] svg{transform:rotate(180deg)}.crmhero-root .ms-pop{position:absolute;left:0;right:0;top:calc(100% + 6px);z-index:60;display:flex;flex-direction:column;max-height:296px;padding:var(--space-1);background:var(--popover);color:var(--popover-foreground);border:1px solid var(--border);border-radius:var(--radius-md);box-shadow:var(--shadow-lg)}.crmhero-root .ms-head{display:flex;align-items:center;justify-content:space-between;gap:var(--space-2);padding:var(--space-1) var(--space-2) var(--space-2);border-bottom:1px solid var(--border);margin-bottom:var(--space-1)}.crmhero-root .ms-head-label{font-size:11px;font-weight:var(--weight-medium);text-transform:uppercase;letter-spacing:.04em;color:var(--muted-foreground)}.crmhero-root .ms-refresh{display:inline-flex;align-items:center;gap:var(--space-1);padding:var(--space-1) var(--space-2);border-radius:var(--radius-sm);font-size:var(--text-sm);color:var(--muted-foreground)}.crmhero-root .ms-refresh:hover:not(:disabled){background:var(--accent);color:var(--foreground)}.crmhero-root .ms-refresh:disabled{opacity:.6;cursor:not-allowed}.crmhero-root .ms-refresh .mini-spin,.crmhero-root .ms-state .mini-spin{width:13px;height:13px;border-radius:var(--radius-full);border:2px solid color-mix(in srgb,currentColor 35%,transparent);border-top-color:currentcolor;animation:ds-spin .7s linear infinite}.crmhero-root .ms-list{overflow-y:auto;display:flex;flex-direction:column;gap:1px}.crmhero-root .ms-opt{display:flex;align-items:center;gap:var(--space-2);width:100%;padding:0 var(--space-2);min-height:34px;border-radius:var(--radius-sm);font-size:var(--text-sm);color:var(--foreground);text-align:left}.crmhero-root .ms-opt[data-active]{background:var(--accent)}.crmhero-root .ms-opt[aria-selected=true] .ms-opt-id{font-weight:var(--weight-medium)}.crmhero-root .ms-opt-id{font-family:var(--font-mono,ui-monospace,monospace);font-size:12px}.crmhero-root .ms-opt-label{color:var(--muted-foreground);font-size:11px}.crmhero-root .ms-opt-check{margin-left:auto;color:var(--primary);display:grid;place-items:center}.crmhero-root .ms-state{display:flex;align-items:center;gap:var(--space-2);padding:var(--space-3) var(--space-2);font-size:var(--text-sm);color:var(--muted-foreground)}.crmhero-root .ms-state--error{color:var(--danger)}