.hist-panel{--hist-sap:#1b8cf2;--hist-sap-strong:#0a5fb8;--hist-sap-bg:#eaf4fe;--hist-sap-border:#bcdcfb;--hist-hs:#ff7a59;--hist-hs-strong:#d9431f;--hist-hs-bg:#fff2ee;--hist-hs-border:#ffd2c4;--hist-violet:#7c5cff;--hist-green:#10b981;--hist-red:#ef4444;--hist-radius:12px;gap:16px;min-width:0;display:grid;overflow:hidden}.hist-sr{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.hist-muted{color:var(--text-muted);font-size:12px}.hist-hero{border:1px solid var(--border);background:radial-gradient(120% 140% at 0 0,#1b8cf21f,#0000 55%),radial-gradient(120% 140% at 100% 100%,#ff7a5924,#0000 55%),linear-gradient(#fff,#f8fafc);border-radius:14px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:20px;padding:22px 24px;display:grid;position:relative;overflow:hidden}.hist-hero:after{pointer-events:none;content:"";background-image:radial-gradient(#0f172a12 1px,#0000 1px);background-size:14px 14px;position:absolute;inset:0;-webkit-mask-image:linear-gradient(90deg,#0000 40%,#000 100%);mask-image:linear-gradient(90deg,#0000 40%,#000 100%)}.hist-hero__text{z-index:1;min-width:0;position:relative}.hist-hero .section-eyebrow{color:var(--accent);align-items:center;gap:6px;display:inline-flex}.hist-hero h2{color:var(--text-strong);letter-spacing:-.01em;margin:6px 0;font-size:22px;line-height:1.2}.hist-hero__lead{max-width:620px;color:var(--text-muted);margin:0;font-size:13.5px;line-height:1.55}.hist-hero__docs{flex-wrap:wrap;gap:8px;margin-top:14px;display:flex}.hist-doc-chip{border:1px solid var(--border);max-width:100%;min-height:26px;color:var(--text-strong);white-space:nowrap;text-overflow:ellipsis;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#ffffffd9;border-radius:999px;align-items:center;gap:6px;padding:3px 10px;font-size:12px;font-weight:650;text-decoration:none;transition:transform .16s,box-shadow .16s;display:inline-flex;overflow:hidden}.hist-doc-chip--sap{border-color:var(--hist-sap-border);color:var(--hist-sap-strong)}.hist-doc-chip--hs{border-color:var(--hist-hs-border);color:var(--hist-hs-strong)}a.hist-doc-chip:hover{transform:translateY(-1px);box-shadow:0 6px 16px #ff7a592e}.hist-hero__side{z-index:1;justify-items:end;gap:8px;display:grid;position:relative}.hist-hero__actions{align-items:center;gap:10px;display:flex}.hist-hero__actions .action-button__label{align-items:center;gap:6px;display:inline-flex}.hist-hero__stamp{font-size:11px}.hist-art{display:block;overflow:visible}.hist-art--hero{width:260px;height:150px}.hist-art__chip-text{fill:#fff;letter-spacing:.04em;font-size:12px;font-weight:900}.hist-art__float{animation:4.2s ease-in-out infinite hist-float}.hist-art__float--late{animation-delay:-2.1s}.hist-art__wire{fill:none;stroke-width:2px;stroke-linecap:round;stroke-dasharray:4 6;animation:1.4s linear infinite hist-dash}.hist-art__wire--sap{stroke:#93c5fd}.hist-art__wire--hs{stroke:#fdba9f}.hist-art__spark{offset-rotate:0deg;animation:2.4s cubic-bezier(.45,0,.25,1) infinite hist-travel}.hist-art__spark--sap{fill:var(--hist-sap)}.hist-art__spark--hs{fill:var(--hist-hs)}.hist-art__spark--late{animation-delay:1.2s}.hist-art__pulse{fill:none;stroke:#2563eb59;stroke-width:1.5px;transform-box:fill-box;transform-origin:50%;animation:3s ease-out infinite hist-pulse}.hist-art__pulse--late{animation-delay:1.5s}.hist-art__orbit{fill:none;stroke:#c7d7fe;stroke-width:1.4px;stroke-dasharray:2 5;transform-box:fill-box;transform-origin:50%;animation:18s linear infinite hist-spin}.hist-art__hand{stroke:#172033;stroke-linecap:round;transform-origin:130px 74px}.hist-art__hand--hour{stroke-width:3px;animation:24s linear infinite hist-spin}.hist-art__hand--minute{stroke:var(--accent);stroke-width:2.2px;animation:4s linear infinite hist-spin}.hist-art__rail{transform-box:fill-box;transform-origin:0;animation:2.4s ease-out both hist-rail}.hist-art__tick{transform-box:fill-box;transform-origin:50%;animation:.52s cubic-bezier(.34,1.56,.64,1) both hist-pop}.hist-art--loading{width:220px;height:138px}.hist-art__ring{fill:none;stroke:#dbe5f4;stroke-width:1.2px}.hist-art__axis{stroke:#e6edf7;stroke-width:1px}.hist-art__sweep{transform-origin:120px 75px;animation:2.6s linear infinite hist-spin}.hist-art__blip{transform-box:fill-box;transform-origin:50%;animation:2.6s ease-out infinite both hist-blip}.hist-art__blip-wave{fill:none;stroke-width:1.6px;transform-box:fill-box;transform-origin:50%;animation:2.6s ease-out infinite both hist-blip-wave}.hist-art--empty{width:180px;height:118px}.hist-art__lens{animation:3.6s ease-in-out infinite hist-scan}.hist-art__stack{animation:5s ease-in-out infinite hist-float}.hist-art__dust{animation:3s ease-in-out infinite hist-float}.hist-art__dust--late{animation-delay:-1.4s}.hist-loading{text-align:center;justify-items:center;gap:6px;padding:18px 0 6px;display:grid}.hist-loading__title{color:var(--text-strong);margin:6px 0 0;font-size:15px;font-weight:750}.hist-loading__step{color:var(--text-muted);margin:0;font-size:13px;animation:.38s both hist-fade-up}.hist-skeleton{gap:12px;width:min(640px,100%);margin-top:16px;display:grid}.hist-skeleton__row{grid-template-columns:28px 1fr;align-items:start;gap:12px;animation:.42s both hist-fade-up;display:grid}.hist-skeleton__dot{background:#eef2f7;border-radius:50%;width:28px;height:28px}.hist-skeleton__card{border:1px solid var(--border);border-radius:var(--hist-radius);gap:8px;padding:14px;display:grid}.hist-skeleton__card i{background:linear-gradient(90deg,#eef2f7 0%,#f8fafc 45%,#eef2f7 90%) 0 0/200% 100%;border-radius:6px;height:10px;animation:1.3s linear infinite hist-shimmer}.hist-skeleton__card i:first-child{width:38%}.hist-skeleton__card i:nth-child(2){width:82%}.hist-skeleton__card i:nth-child(3){width:64%}.hist-alert{border-radius:var(--hist-radius);border:1px solid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px 14px;font-size:13px;animation:.32s both hist-fade-up;display:grid}.hist-alert strong{color:var(--text-strong)}.hist-alert p{color:var(--text-muted);margin:2px 0 0}.hist-alert--error{border-color:var(--red-border);background:var(--red-bg);color:var(--red-text)}.hist-alert--warn{border-color:var(--amber-border);background:var(--amber-bg);color:var(--amber-text)}.hist-alert--info{border-color:var(--blue-border);background:var(--blue-bg);color:var(--accent);grid-template-columns:auto minmax(0,1fr)}.hist-stats{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;display:grid}.hist-stat{border:1px solid var(--border);border-radius:var(--hist-radius);background:var(--bg-surface);align-content:start;gap:4px;min-width:0;padding:14px;transition:transform .18s,box-shadow .18s;animation:.42s both hist-fade-up;display:grid;position:relative;box-shadow:0 1px 2px #0f172a0a}.hist-stat:nth-child(2){animation-delay:60ms}.hist-stat:nth-child(3){animation-delay:.12s}.hist-stat:nth-child(4){animation-delay:.18s}.hist-stat:nth-child(5){animation-delay:.24s}.hist-stat:nth-child(6){animation-delay:.3s}.hist-stat:hover{transform:translateY(-2px);box-shadow:0 10px 24px #0f172a14}.hist-stat__icon{background:var(--hist-sap-bg);width:32px;height:32px;color:var(--hist-sap-strong);border-radius:10px;place-items:center;margin-bottom:4px;display:inline-grid}.hist-stat__icon--violet{color:#5b3fd6;background:#f1edff}.hist-stat__icon--orange{background:var(--hist-hs-bg);color:var(--hist-hs-strong)}.hist-stat__icon--green{background:var(--green-bg);color:var(--green-text)}.hist-stat__icon--slate{color:#475569;background:#f1f5f9}.hist-stat__icon--amber{background:var(--amber-bg);color:var(--amber-text)}.hist-stat__label{color:var(--text-subtle);text-transform:uppercase;margin:0;font-size:11px;font-weight:800}.hist-stat__value{color:var(--text-strong);font-variant-numeric:tabular-nums;font-size:26px;font-weight:800;line-height:1.1}.hist-stat__value small{color:var(--text-muted);font-size:13px;font-weight:650}.hist-stat__value--pair{gap:10px;display:flex}.hist-plus{color:var(--green-text)}.hist-minus{color:var(--red-text)}.hist-stat__hint{color:var(--text-muted);flex-wrap:wrap;align-items:center;gap:4px;margin:0;font-size:12px;line-height:1.4;display:flex}.hist-dot{border-radius:50%;width:8px;height:8px;margin-left:4px;display:inline-block}.hist-dot--sap{background:var(--hist-sap)}.hist-dot--hs{background:var(--hist-hs)}.hist-split{background:#eef2f7;border-radius:999px;height:6px;margin:4px 0 2px;display:flex;overflow:hidden}.hist-split span{transform-origin:0;animation:.9s cubic-bezier(.22,1,.36,1) both hist-grow-x}.hist-split__sap{background:linear-gradient(90deg, var(--hist-sap-strong), var(--hist-sap))}.hist-split__hs{background:linear-gradient(90deg, #ff9b7d, var(--hist-hs));animation-delay:.2s}.hist-insights{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.hist-card{border:1px solid var(--border);border-radius:var(--hist-radius);background:var(--bg-surface);min-width:0;padding:14px 16px;animation:.48s .16s both hist-fade-up}.hist-card--wide{grid-column:1/-1}.hist-card__header{color:var(--accent);align-items:center;gap:8px;margin-bottom:12px;display:flex}.hist-card__header h3{color:var(--text-strong);margin:0;font-size:14px}.hist-heat__scroll{padding-bottom:4px;overflow-x:auto}.hist-heat svg{display:block}.hist-heat__month,.hist-heat__weekday{fill:var(--text-subtle);font-size:9px;font-weight:700}.hist-heat__cell{transform-box:fill-box;transform-origin:50%;transition:filter .12s;animation:.42s cubic-bezier(.34,1.56,.64,1) both hist-pop}.hist-heat__cell:hover{filter:brightness(.9)saturate(1.2)}.hist-heat__cell--0{fill:#eef2f7;background:#eef2f7}.hist-heat__cell--1{fill:#c7ddfb;background:#c7ddfb}.hist-heat__cell--2{fill:#86b8f6;background:#86b8f6}.hist-heat__cell--3{fill:#3b8eef;background:#3b8eef}.hist-heat__cell--4{fill:#0a5fb8;background:#0a5fb8}.hist-heat__legend{justify-content:space-between;align-items:center;margin-top:6px;display:flex}.hist-heat__scale{color:var(--text-subtle);align-items:center;gap:4px;font-size:11px;display:inline-flex}.hist-heat__swatch{border-radius:3px;width:11px;height:11px;animation:none;display:inline-block}.hist-value__svg{width:100%;height:auto;display:block}.hist-value__grid{stroke:#eef2f7;stroke-dasharray:3 4}.hist-value__line{fill:none;stroke-width:2.4px;stroke-linejoin:round;stroke-linecap:round;stroke-dasharray:1;stroke-dashoffset:1px;animation:1.4s cubic-bezier(.65,0,.35,1) forwards hist-draw}.hist-value__area{animation:.9s .5s both hist-fade-in}.hist-value__point{stroke-width:2px;transform-box:fill-box;transform-origin:50%;animation:.38s cubic-bezier(.34,1.56,.64,1) both hist-pop}.hist-value__legend,.hist-donut__legend{gap:6px;margin:8px 0 0;padding:0;font-size:12px;list-style:none;display:grid}.hist-value__legend li,.hist-donut__legend li{color:var(--text);align-items:center;gap:6px;display:flex}.hist-value__legend strong,.hist-donut__legend strong{color:var(--text-strong);font-variant-numeric:tabular-nums;margin-left:auto}.hist-value__swatch{border-radius:3px;flex:none;width:10px;height:10px;display:inline-block}.hist-delta{color:var(--text-muted);white-space:nowrap;font-variant-numeric:tabular-nums;background:#f1f5f9;border-radius:999px;align-items:center;gap:2px;padding:1px 7px;font-size:11px;font-weight:750;display:inline-flex}.hist-delta--up{background:var(--green-bg);color:var(--green-text)}.hist-delta--down{background:var(--red-bg);color:var(--red-text)}.hist-rank{gap:4px;margin:0;padding:0;list-style:none;display:grid}.hist-rank__row{width:100%;color:var(--text);text-align:left;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:9px;grid-template-columns:26px minmax(0,1fr) minmax(40px,30%) 28px;align-items:center;gap:8px;padding:5px 6px;font-size:12.5px;transition:background .14s,border-color .14s;display:grid}.hist-rank__row:hover{background:var(--bg-muted)}.hist-rank__row.is-selected{border-color:var(--blue-border);background:var(--blue-bg)}.hist-rank__row:focus-visible{outline:3px solid var(--focus)}.hist-rank__name{text-overflow:ellipsis;white-space:nowrap;font-weight:650;overflow:hidden}.hist-rank__bar{background:#eef2f7;border-radius:999px;height:7px;overflow:hidden}.hist-rank__bar span{border-radius:inherit;transform-origin:0;height:100%;animation:.9s cubic-bezier(.22,1,.36,1) both hist-grow-x;display:block}.hist-rank__count{color:var(--text-strong);text-align:right;font-variant-numeric:tabular-nums}.hist-avatar{color:#fff;background:#64748b;border-radius:50%;flex:none;place-items:center;width:26px;height:26px;font-size:10.5px;font-weight:800;display:inline-grid;box-shadow:0 0 0 2px #fff}.hist-avatar--sap-user{background:linear-gradient(135deg,#1b8cf2,#0a5fb8)}.hist-avatar--user{background:linear-gradient(135deg,#ff9b7d,#f2542d)}.hist-avatar--integration{background:linear-gradient(135deg,#9b85ff,#6242f5)}.hist-avatar--automation{background:linear-gradient(135deg,#2dd4bf,#0d9488)}.hist-avatar--calculated,.hist-avatar--system,.hist-avatar--other{background:linear-gradient(135deg,#94a3b8,#64748b)}.hist-avatar--import{background:linear-gradient(135deg,#fbbf24,#d97706)}.hist-donut{grid-template-columns:116px minmax(0,1fr);align-items:center;gap:14px;display:grid}.hist-donut__svg{width:116px;height:116px;transform:rotate(-90deg)}.hist-donut__svg text{transform-origin:60px 60px;transform:rotate(90deg)}.hist-donut__track{fill:none;stroke:#eef2f7;stroke-width:14px}.hist-donut__segment{fill:none;stroke-width:14px;stroke-linecap:butt;transition:stroke-width .15s;animation:.6s both hist-fade-in}.hist-donut__segment:hover{stroke-width:18px}.hist-donut__total{fill:var(--text-strong);font-size:22px;font-weight:800}.hist-donut__caption{fill:var(--text-subtle);font-size:10px;font-weight:700}.hist-filters{z-index:5;border:1px solid var(--border);border-radius:var(--hist-radius);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#ffffffeb;gap:10px;padding:12px 14px;display:grid;position:sticky;top:0;box-shadow:0 8px 24px #0f172a0f}.hist-filters__row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.hist-filters__caption{min-width:42px;color:var(--text-subtle);text-transform:uppercase;font-size:11px;font-weight:800}.hist-filters__row--footer{border-top:1px dashed var(--border);justify-content:space-between;padding-top:8px}.hist-filters__result{color:var(--text-muted);margin:0;font-size:12.5px}.hist-filters__result strong{color:var(--text-strong)}.hist-filters__actions{flex-wrap:wrap;gap:6px;display:flex}.hist-segmented{border:1px solid var(--border);background:var(--bg-muted);border-radius:10px;padding:3px;display:inline-flex}.hist-segmented__item{min-height:30px;color:var(--text-muted);cursor:pointer;background:0 0;border:0;border-radius:8px;align-items:center;gap:6px;padding:0 12px;font-size:12.5px;font-weight:750;transition:background .16s,color .16s,box-shadow .16s;display:inline-flex}.hist-segmented__item.is-active{color:var(--text-strong);background:#fff;box-shadow:0 1px 3px #0f172a1f}.hist-segmented__item--sap.is-active{color:var(--hist-sap-strong)}.hist-segmented__item--hubspot.is-active{color:var(--hist-hs-strong)}.hist-count{min-width:20px;height:18px;color:inherit;font-variant-numeric:tabular-nums;background:#0f172a12;border-radius:999px;place-items:center;padding:0 5px;font-size:10.5px;font-weight:800;display:inline-grid}.hist-search{border:1px solid var(--border-strong);min-height:36px;color:var(--text-subtle);background:#fff;border-radius:10px;flex:240px;align-items:center;gap:8px;padding:0 10px;transition:border-color .16s,box-shadow .16s;display:flex}.hist-search:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px var(--focus)}.hist-search input{min-width:0;color:var(--text-strong);font:inherit;background:0 0;border:0;outline:0;flex:1;font-size:13px}.hist-search__clear{color:var(--text-muted);cursor:pointer;background:0 0;border:0;border-radius:6px;place-items:center;padding:3px;display:inline-grid}.hist-select{min-width:220px;max-width:260px}.hist-select .select-control__trigger{border-radius:10px;min-height:36px}.hist-chip{border:1px solid var(--border);min-height:28px;color:var(--text);cursor:pointer;background:#fff;border-radius:999px;align-items:center;gap:6px;padding:0 10px;font-size:12px;font-weight:650;transition:transform .14s,background .14s,border-color .14s,color .14s;display:inline-flex}.hist-chip:hover{border-color:var(--border-strong);transform:translateY(-1px)}.hist-chip.is-active{border-color:var(--accent);background:var(--accent);color:#fff}.hist-chip.is-active .hist-count{background:#ffffff40}.hist-ghost{border:1px solid var(--border);min-height:30px;color:var(--text);cursor:pointer;background:#fff;border-radius:8px;align-items:center;gap:6px;padding:0 10px;font-size:12px;font-weight:650;display:inline-flex}.hist-ghost:hover{background:var(--bg-muted)}.hist-ghost.is-active{border-color:var(--blue-border);background:var(--blue-bg);color:var(--accent)}.hist-ghost--danger{color:var(--red-text)}.hist-segmented__item:focus-visible,.hist-chip:focus-visible,.hist-ghost:focus-visible{outline:3px solid var(--focus);outline-offset:1px}.hist-group--status{--hist-group:#2563eb;--hist-group-bg:#eff6ff}.hist-group--values{--hist-group:#047857;--hist-group-bg:#ecfdf3}.hist-group--dates{--hist-group:#b45309;--hist-group-bg:#fffbeb}.hist-group--notes{--hist-group:#7c3aed;--hist-group-bg:#f5f3ff}.hist-group--partner{--hist-group:#0e7490;--hist-group-bg:#ecfeff}.hist-group--commercial{--hist-group:#1d4ed8;--hist-group-bg:#eef2ff}.hist-group--logistics{--hist-group:#c2410c;--hist-group-bg:#fff7ed}.hist-group--items{--hist-group:#15803d;--hist-group-bg:#f0fdf4}.hist-group--taxes{--hist-group:#be123c;--hist-group-bg:#fff1f2}.hist-group--attachments{--hist-group:#4338ca;--hist-group-bg:#eef2ff}.hist-group--integration{--hist-group:#6d28d9;--hist-group-bg:#f5f3ff}.hist-group--approval{--hist-group:#0f766e;--hist-group-bg:#f0fdfa}.hist-group--custom{--hist-group:#a21caf;--hist-group-bg:#fdf4ff}.hist-group--system{--hist-group:#475569;--hist-group-bg:#f1f5f9}.hist-chip--group>svg{color:var(--hist-group)}.hist-chip--group.is-active{border-color:var(--hist-group);background:var(--hist-group)}.hist-chip--group.is-active>svg{color:#fff}.hist-timeline{gap:18px;display:grid}.hist-day{gap:10px;display:grid}.hist-day__header{color:var(--text-strong);flex-wrap:wrap;align-items:center;gap:8px;margin:0;font-size:13px;font-weight:800;display:flex}.hist-day__label{display:inline-block}.hist-day__label:first-letter{text-transform:uppercase}.hist-day__icon{background:var(--text-strong);color:#fff;border-radius:8px;place-items:center;width:26px;height:26px;display:inline-grid}.hist-day__counts{gap:6px;margin-left:4px;display:inline-flex}.hist-day__list{gap:10px;margin:0;padding:0 0 0 44px;list-style:none;display:grid;position:relative}.hist-day__list:before{content:"";background:linear-gradient(180deg, var(--hist-sap-border), #e1e7ef 40%, var(--hist-hs-border));background-size:100% 200%;border-radius:2px;width:2px;animation:6s linear infinite hist-rail-flow;position:absolute;top:6px;bottom:6px;left:16px}.hist-entry{animation:.46s cubic-bezier(.22,1,.36,1) both hist-slide-in;position:relative}.hist-entry__node{color:#fff;width:34px;height:34px;box-shadow:0 0 0 1px var(--border);border:2px solid #fff;border-radius:50%;place-items:center;display:grid;position:absolute;top:14px;left:-44px}.hist-entry--sap .hist-entry__node{background:linear-gradient(135deg,#1b8cf2,#0a5fb8)}.hist-entry--hubspot .hist-entry__node{background:linear-gradient(135deg,#ff9b7d,#f2542d)}.hist-entry--created .hist-entry__node{background:linear-gradient(135deg,#34d399,#059669)}.hist-entry--created .hist-entry__node:after{content:"";border:2px solid #10b98173;border-radius:50%;animation:2.4s ease-out infinite hist-ring;position:absolute;inset:-5px}.hist-entry--closed .hist-entry__node{background:linear-gradient(135deg,#64748b,#334155)}.hist-entry--cancelled .hist-entry__node{background:linear-gradient(135deg,#f87171,#dc2626)}.hist-entry--reopened .hist-entry__node{background:linear-gradient(135deg,#fbbf24,#d97706)}.hist-entry__card{border:1px solid var(--border);border-radius:var(--hist-radius);background:var(--bg-surface);gap:0;min-width:0;padding:12px 14px;transition:border-color .16s,box-shadow .16s,transform .16s;display:grid;position:relative}.hist-entry__card:before{border-bottom:1px solid var(--border);border-left:1px solid var(--border);content:"";background:var(--bg-surface);width:12px;height:12px;position:absolute;top:24px;left:-7px;transform:rotate(45deg)}.hist-entry__card:hover{border-color:var(--border-strong);box-shadow:0 12px 28px #0f172a14}.hist-entry--sap .hist-entry__card{border-left:3px solid var(--hist-sap)}.hist-entry--hubspot .hist-entry__card{border-left:3px solid var(--hist-hs)}.hist-entry__header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.hist-entry__meta{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.hist-entry__time{color:var(--text-strong);font-family:var(--font-geist-mono), ui-monospace, monospace;font-size:12px;font-weight:700}.hist-source{letter-spacing:.02em;border-radius:999px;align-items:center;min-height:20px;padding:0 8px;font-size:10.5px;font-weight:850;display:inline-flex}.hist-source--sap{background:var(--hist-sap-bg);color:var(--hist-sap-strong)}.hist-source--hubspot{background:var(--hist-hs-bg);color:var(--hist-hs-strong)}.hist-origin{max-width:min(560px,100%);color:var(--text-muted);text-overflow:ellipsis;white-space:nowrap;align-items:center;gap:4px;font-size:12px;font-weight:650;display:inline-flex;overflow:hidden}.hist-tag{min-height:18px;color:var(--text-muted);white-space:nowrap;background:#f1f5f9;border-radius:6px;align-items:center;padding:0 7px;font-size:10.5px;font-weight:750;display:inline-flex}.hist-tag--new{background:var(--green-bg);color:var(--green-text)}.hist-tag--warn{background:var(--amber-bg);color:var(--amber-text)}.hist-entry__total{color:var(--text);font-variant-numeric:tabular-nums;flex-wrap:wrap;align-items:center;gap:6px;font-size:12.5px;display:inline-flex}.hist-entry__total strong{color:var(--text-strong)}.hist-entry__title{color:var(--text-strong);margin:0;font-size:15px;line-height:1.3;display:block}.hist-entry__actor{color:var(--text);flex-wrap:wrap;align-items:center;gap:6px;margin:0;font-size:12.5px;display:flex}.hist-entry__actor .hist-avatar{width:22px;height:22px;font-size:9.5px}.hist-entry__actor strong{color:var(--text-strong)}.hist-changes,.hist-lines{gap:6px;margin:2px 0 0;padding:0;list-style:none;display:grid}.hist-change{background:var(--bg-muted);border:1px solid #eef2f7;border-radius:10px;gap:6px;padding:8px 10px;animation:.3s both hist-fade-up;display:grid}.hist-change--technical{background:#fbfcfe;border-style:dashed}.hist-change__head{flex-wrap:wrap;align-items:center;gap:6px;font-size:12.5px;display:flex}.hist-change__icon{background:var(--hist-group-bg,#f1f5f9);width:22px;height:22px;color:var(--hist-group,#475569);border-radius:7px;place-items:center;display:inline-grid}.hist-change__label{color:var(--text-strong);font-weight:750}.hist-change__scope{max-width:100%;color:var(--text-muted);text-overflow:ellipsis;white-space:nowrap;font-size:11.5px;overflow:hidden}.hist-change__head .hist-delta{margin-left:auto}.hist-change__values{flex-wrap:wrap;align-items:center;gap:6px;padding-left:28px;display:flex}.hist-change__arrow{color:var(--text-subtle);flex:none}.hist-value-chip{overflow-wrap:anywhere;font-variant-numeric:tabular-nums;border-radius:6px;max-width:100%;padding:2px 8px;font-size:12.5px;font-weight:650}.hist-value-chip--before{color:#9f1239;background:#fff1f2;-webkit-text-decoration:line-through #9f123973;text-decoration:line-through #9f123973}.hist-value-chip--after{color:#065f46;background:#ecfdf3}.hist-value-chip--empty{color:var(--text-subtle);background:#f1f5f9;font-style:italic}.hist-change__long{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:8px;padding-left:28px;display:grid}.hist-textblock{border-radius:8px;min-width:0;padding:8px 10px;font-size:12.5px}.hist-textblock span{text-transform:uppercase;margin-bottom:4px;font-size:10.5px;font-weight:800;display:block}.hist-textblock p{white-space:pre-wrap;overflow-wrap:anywhere;max-height:160px;margin:0;overflow:auto}.hist-json{max-height:220px;font-family:var(--font-geist-mono), ui-monospace, monospace;white-space:pre-wrap;overflow-wrap:anywhere;margin:0;font-size:11.5px;line-height:1.5;overflow:auto}.hist-textblock--before{color:#9f1239;background:#fff1f2}.hist-textblock--after{color:#065f46;background:#ecfdf3}.hist-line{background:#fff;border:1px solid #eef2f7;border-radius:10px;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:10px;padding:7px 10px;font-size:12.5px;display:grid}.hist-line--added,.hist-line--removed{grid-template-columns:26px minmax(0,1fr) auto auto}.hist-line--added{border-color:var(--green-border);background:linear-gradient(90deg, var(--green-bg), #fff 70%)}.hist-line--removed{border-color:var(--red-border);background:linear-gradient(90deg, var(--red-bg), #fff 70%)}.hist-line--removed .hist-line__item strong,.hist-line--removed .hist-line__total{-webkit-text-decoration:line-through #b91c1c73;text-decoration:line-through #b91c1c73}.hist-line__icon{border-radius:8px;place-items:center;width:26px;height:26px;display:inline-grid}.hist-line--added .hist-line__icon{color:var(--green-text);background:#d1fae5}.hist-line--removed .hist-line__icon{color:var(--red-text);background:#fee2e2}.hist-line__item{min-width:0;display:grid}.hist-line__item strong{color:var(--text-strong);font-size:12px}.hist-line__item span{color:var(--text-muted);text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.hist-line__math{color:var(--text-muted);white-space:nowrap;font-variant-numeric:tabular-nums}.hist-line__math em{color:var(--red-text);font-style:normal}.hist-line__total{color:var(--text-strong);white-space:nowrap;font-variant-numeric:tabular-nums}.hist-lines__more{color:var(--text-muted);text-align:center;font-size:12px}.hist-snapshot{border:1px solid var(--green-border);background:radial-gradient(120% 120% at 100% 0,#10b98114,#0000 60%),#fbfffd;border-radius:10px;gap:10px;padding:12px;display:grid}.hist-snapshot__facts{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px 14px;margin:0;display:grid}.hist-snapshot__facts div{min-width:0}.hist-snapshot__facts dt{color:var(--text-subtle);text-transform:uppercase;font-size:10.5px;font-weight:800}.hist-snapshot__facts dd{color:var(--text-strong);text-overflow:ellipsis;white-space:nowrap;margin:2px 0 0;font-size:12.5px;font-weight:650;overflow:hidden}.hist-snapshot__notes{color:var(--text);white-space:pre-wrap;margin:0;font-size:12.5px;font-style:italic}.hist-entry__toggle{width:100%;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;gap:8px;margin:0;padding:0;display:grid}.hist-entry__toggle:focus-visible{outline:3px solid var(--focus);outline-offset:4px;border-radius:8px}.hist-entry__headline{justify-content:space-between;align-items:center;gap:10px;display:flex}.hist-entry__chevron{background:var(--bg-muted);width:28px;height:28px;color:var(--text-muted);border-radius:8px;flex:none;place-items:center;transition:transform .26s cubic-bezier(.22,1,.36,1),background .16s,color .16s;display:inline-grid}.hist-entry__toggle:hover .hist-entry__chevron{background:var(--blue-bg);color:var(--accent)}.hist-entry.is-expanded .hist-entry__chevron{background:var(--blue-bg);color:var(--accent);transform:rotate(180deg)}.hist-entry__summary{flex-wrap:wrap;align-items:center;gap:6px;min-width:0;font-size:12px;display:flex}.hist-entry__counts{color:var(--text-strong);font-weight:750}.hist-entry__group{border:1px solid var(--border);color:var(--text-muted);border-radius:999px;padding:1px 8px;font-size:11px;font-weight:650}.hist-entry__preview{min-width:0;color:var(--text-subtle);text-overflow:ellipsis;white-space:nowrap;flex:160px;overflow:hidden}.hist-entry__body{grid-template-rows:0fr;transition:grid-template-rows .32s cubic-bezier(.22,1,.36,1);display:grid}.hist-entry.is-expanded .hist-entry__body{grid-template-rows:1fr}.hist-entry__body-inner{visibility:hidden;opacity:0;gap:8px;min-height:0;transition:opacity .22s,visibility 0s linear .32s;display:grid;overflow:hidden}.hist-entry.is-expanded .hist-entry__body-inner{visibility:visible;opacity:1;transition:opacity .22s,visibility}.hist-entry__body-inner>:first-child{margin-top:12px}.hist-entry__quiet{background:var(--bg-muted);color:var(--text-muted);border-radius:8px;margin:0;padding:6px 10px;font-size:12px;font-style:italic}.hist-more{flex-direction:column;align-items:center;gap:6px;padding:6px 0;display:flex}.hist-end{color:var(--text-subtle);text-transform:uppercase;align-items:center;gap:10px;margin:4px 0 0;font-size:11px;font-weight:800;display:flex}.hist-end span{background:linear-gradient(90deg, transparent, var(--border-strong), transparent);flex:1;height:1px}.hist-empty{text-align:center;justify-items:center;gap:6px;padding:28px 12px;animation:.38s both hist-fade-up;display:grid}.hist-empty strong{color:var(--text-strong);font-size:15px}.hist-empty p{color:var(--text-muted);margin:0 0 6px;font-size:13px}@keyframes hist-float{0%,to{transform:translateY(0)}50%{transform:translateY(-5px)}}@keyframes hist-dash{to{stroke-dashoffset:-20px}}@keyframes hist-travel{0%{offset-distance:0%;opacity:0}15%{opacity:1}85%{opacity:1}to{offset-distance:100%;opacity:0}}@keyframes hist-pulse{0%{opacity:.8;transform:scale(1)}to{opacity:0;transform:scale(1.9)}}@keyframes hist-spin{to{transform:rotate(360deg)}}@keyframes hist-rail{0%{transform:scaleX(0)}to{transform:scaleX(1)}}@keyframes hist-pop{0%{opacity:0;transform:scale(.2)}to{opacity:1;transform:scale(1)}}@keyframes hist-blip{0%,8%{opacity:0;transform:scale(.2)}16%{opacity:1;transform:scale(1.2)}24%,70%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.6)}}@keyframes hist-blip-wave{0%,12%{opacity:0;transform:scale(.6)}20%{opacity:.9}60%,to{opacity:0;transform:scale(3.2)}}@keyframes hist-scan{0%,to{transform:translate(-26px,-6px)}50%{transform:translate(8px,4px)}}@keyframes hist-shimmer{to{background-position:-200% 0}}@keyframes hist-fade-up{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}@keyframes hist-fade-in{0%{opacity:0}to{opacity:1}}@keyframes hist-slide-in{0%{opacity:0;transform:translate(-10px)}to{opacity:1;transform:none}}@keyframes hist-grow-x{0%{scale:0 1}to{scale:1}}@keyframes hist-draw{to{stroke-dashoffset:0}}@keyframes hist-ring{0%{opacity:.9;transform:scale(.9)}to{opacity:0;transform:scale(1.35)}}@keyframes hist-rail-flow{to{background-position:0 200%}}@media (max-width:1280px){.hist-stats{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width:1100px){.hist-insights{grid-template-columns:repeat(2,minmax(0,1fr))}.hist-insights .hist-card:nth-child(2){grid-column:1/-1}.hist-snapshot__facts{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:760px){.hist-hero{grid-template-columns:1fr;padding:18px}.hist-hero__side{justify-items:start}.hist-art--hero{width:220px;height:127px}.hist-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.hist-insights{grid-template-columns:1fr}.hist-alert{grid-template-columns:auto minmax(0,1fr)}.hist-alert .action-button{grid-column:1/-1;justify-self:start}.hist-filters{position:static}.hist-day__list{padding-left:34px}.hist-day__list:before{left:12px}.hist-entry__node{width:26px;height:26px;left:-34px}.hist-line,.hist-line--added,.hist-line--removed{grid-template-columns:minmax(0,1fr) auto}.hist-line__icon,.hist-line__math{display:none}}@media (prefers-reduced-motion:reduce){.hist-panel *,.hist-panel :before,.hist-panel :after{transition-duration:1ms!important;animation-duration:1ms!important;animation-iteration-count:1!important;animation-delay:0s!important}.hist-art__spark{display:none}}
.quotes-tab{--quotes-space-1:4px;--quotes-space-2:8px;--quotes-space-3:12px;--quotes-space-4:16px;--quotes-space-5:20px;--quotes-space-6:24px;--quotes-radius:12px;--quotes-radius-md:10px;--quotes-radius-sm:7px;--quotes-motion:.2s;--quotes-motion-quick:.15s;--quotes-ease:cubic-bezier(.22, 1, .36, 1);--quotes-control-height:36px;--quotes-control-height-sm:30px;--quotes-shadow:0 5px 18px #0f172a0a;--quotes-list-columns:minmax(0, 2.4fr) 156px 128px 112px 248px;gap:var(--quotes-space-4);grid-template-columns:minmax(0,1fr);min-width:0;display:grid;container-type:inline-size}.quotes-sr-only{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.quotes-card{min-width:0;padding:var(--quotes-space-5);border:1px solid var(--border);border-radius:var(--quotes-radius);background:var(--bg-surface);box-shadow:var(--quotes-shadow);position:relative}.quotes-composer{gap:var(--quotes-space-4);background:var(--bg-surface);grid-template-columns:minmax(0,1fr);display:grid;overflow:hidden}.quotes-composer__header{gap:var(--quotes-space-4);grid-template-columns:auto minmax(0,1fr) auto;align-items:center;display:grid}.quotes-composer__badge{border:1px solid var(--blue-border);border-radius:var(--quotes-radius);width:48px;height:48px;color:var(--accent);background:var(--blue-bg);place-items:center;display:grid;box-shadow:0 6px 16px #2563eb1f}.quotes-composer__heading{gap:var(--quotes-space-1);min-width:0;display:grid}.quotes-composer__eyebrow,.quotes-result__eyebrow{letter-spacing:0;text-transform:none;font-size:12px;font-weight:700}.quotes-composer__eyebrow{color:var(--accent)}.quotes-composer__title{color:var(--text-strong);letter-spacing:-.01em;text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:20px;font-weight:800;line-height:1.25;overflow:hidden}.quotes-composer__company{min-width:0;color:var(--text-muted);align-items:center;gap:6px;margin:0;font-size:13px;font-weight:600;display:inline-flex}.quotes-composer__company>span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.quotes-composer__company svg{color:var(--text-subtle);flex:none}.quotes-composer__company[data-ready] svg{color:var(--green-text)}.quotes-generate-button.action-button{min-width:200px;min-height:46px;padding:0 var(--quotes-space-5);border-radius:var(--quotes-radius-md);transition:background-color var(--quotes-motion-quick) ease-out, box-shadow var(--quotes-motion-quick) ease-out, transform var(--quotes-motion-quick) ease-out, opacity var(--quotes-motion-quick) ease-out;font-size:14px;box-shadow:0 8px 20px #2563eb3d}.quotes-generate-button.action-button:focus-visible{outline:3px solid var(--focus);outline-offset:2px}@media (hover:hover){.quotes-generate-button.action-button:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 10px 24px #2563eb4d}}.quotes-generate-button.action-button:active:not(:disabled){transform:translateY(0)}.quotes-generate-button.action-button:disabled{box-shadow:none}.quotes-generate-button.action-button--busy:disabled{opacity:1}.quotes-composer__summary{border:1px solid var(--border);border-radius:var(--quotes-radius-md);background:var(--border);grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;margin:0;display:grid;overflow:hidden}.quotes-tile{align-content:start;gap:var(--quotes-space-1);min-width:0;padding:var(--quotes-space-3) var(--quotes-space-4);background:var(--bg-muted);transition:background-color var(--quotes-motion) ease-out;display:grid}.quotes-tile[data-tone=warning]{background:var(--amber-bg)}.quotes-tile dd{margin:0}.quotes-tile__label{color:var(--text-muted);align-items:center;gap:6px;font-size:12px;font-weight:700;display:inline-flex}.quotes-tile__label svg{color:var(--accent)}.quotes-tile[data-tone=warning] .quotes-tile__label svg,.quotes-tile[data-tone=warning] .quotes-tile__value{color:var(--amber-text)}.quotes-tile__value{color:var(--text-strong);font-variant-numeric:tabular-nums;text-overflow:ellipsis;white-space:nowrap;font-size:18px;font-weight:800;line-height:1.25;overflow:hidden}.quotes-tile__ellipsis{text-overflow:ellipsis;display:block;overflow:hidden}.quotes-tile__more{color:var(--accent)}.quotes-tile__hint{color:var(--text-subtle);text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:600;overflow:hidden}.quotes-callout{--quotes-callout-signal:var(--accent);gap:var(--quotes-space-3);padding:var(--quotes-space-3) var(--quotes-space-4);border:1px solid var(--blue-border);border-radius:var(--quotes-radius-md);color:var(--text);background:var(--blue-bg);grid-template-columns:auto minmax(0,1fr);align-items:start;font-size:13px;line-height:1.5;display:grid}.quotes-callout>svg{color:var(--quotes-callout-signal);margin-top:1px}.quotes-callout p{margin:0}.quotes-callout strong{color:var(--text-strong)}.quotes-callout[data-tone=warning]{--quotes-callout-signal:#d97706;border-color:var(--amber-border);background:var(--amber-bg)}.quotes-callout[data-tone=danger]{animation:quotes-fade-up var(--quotes-motion) ease-out both;--quotes-callout-signal:#dc2626;border-color:var(--red-border);background:var(--red-bg)}.quotes-progress{--quotes-progress-signal:var(--accent);gap:var(--quotes-space-3);padding:var(--quotes-space-4);border:1px solid var(--blue-border);border-radius:var(--quotes-radius-md);background:radial-gradient(90% 140% at 0% 0%, #2563eb1a, transparent 60%), var(--blue-bg);animation:quotes-fade-up var(--quotes-motion) ease-out both;transition:border-color var(--quotes-motion) ease-out, background-color var(--quotes-motion) ease-out;grid-template-columns:minmax(0,1fr);display:grid}.quotes-progress[data-phase=finishing]{--quotes-progress-signal:var(--green-text);border-color:var(--green-border);background:radial-gradient(90% 140% at 0% 0%, #10b9811f, transparent 60%), var(--green-bg)}.quotes-progress__head{gap:var(--quotes-space-3);grid-template-columns:auto minmax(0,1fr) auto;align-items:center;display:grid}.quotes-progress__art{border:1px solid var(--blue-border);border-radius:var(--quotes-radius-md);width:40px;height:40px;color:var(--quotes-progress-signal);background:var(--bg-surface);place-items:center;display:grid;position:relative;overflow:hidden;box-shadow:0 6px 14px #2563eb24}.quotes-progress[data-phase=finishing] .quotes-progress__art{border-color:var(--green-border);box-shadow:0 6px 14px #10b9812e}.quotes-progress__art:after{content:"";background:linear-gradient(115deg,#0000 30%,#2563eb2e 50%,#0000 70%);animation:1.6s ease-in-out infinite quotes-sweep;position:absolute;inset:0;transform:translate(-100%)}.quotes-progress[data-phase=finishing] .quotes-progress__art:after{display:none}.quotes-progress__art-icon{z-index:1;animation:1.6s ease-in-out infinite quotes-breathe;position:relative}.quotes-progress[data-phase=finishing] .quotes-progress__art-icon{animation:quotes-pop .32s var(--quotes-ease) both}.quotes-progress__copy{gap:2px;min-width:0;display:grid}.quotes-progress__copy strong{color:var(--text-strong);font-size:14px;font-weight:800}.quotes-progress__detail{color:var(--text-muted);text-overflow:ellipsis;white-space:nowrap;animation:quotes-fade-up var(--quotes-motion) ease-out both;font-size:12.5px;font-weight:600;overflow:hidden}.quotes-progress__count{border:1px solid var(--blue-border);color:var(--quotes-progress-signal);background:var(--bg-surface);font-variant-numeric:tabular-nums;white-space:nowrap;border-radius:999px;padding:2px 9px;font-size:11px;font-weight:800}.quotes-progress[data-phase=finishing] .quotes-progress__count{border-color:var(--green-border)}.quotes-progress__track{background:#2563eb24;border-radius:999px;height:6px;display:block;position:relative;overflow:hidden}.quotes-progress__track i{border-radius:inherit;background:linear-gradient(90deg, #60a5fa, var(--accent));width:6%;transition:width 1.2s var(--quotes-ease);position:absolute;inset:0 auto 0 0}.quotes-progress__track i[data-step="0"]{width:30%}.quotes-progress__track i[data-step="1"]{width:60%}.quotes-progress__track i[data-step="2"]{width:90%;transition-duration:6s}.quotes-progress__track i[data-step="3"]{background:linear-gradient(90deg, #34d399, var(--green-text));width:100%;transition-duration:.3s}.quotes-progress__track i:after{content:"";background:linear-gradient(90deg,#0000,#fff9,#0000) 0 0/200% 100%;animation:1.2s linear infinite quotes-shimmer;position:absolute;inset:0}.quotes-progress__steps{gap:var(--quotes-space-3);grid-template-columns:repeat(3,minmax(0,1fr));margin:0;padding:0;list-style:none;display:grid}.quotes-progress__step{align-items:center;gap:var(--quotes-space-2);min-width:0;color:var(--text-subtle);transition:color var(--quotes-motion) ease-out;font-size:12px;font-weight:700;display:flex}.quotes-progress__step[data-state=active]{color:var(--accent)}.quotes-progress__step[data-state=done]{color:var(--green-text)}.quotes-progress__marker{border:1.5px solid var(--border-strong);background:var(--bg-surface);width:20px;height:20px;transition:border-color var(--quotes-motion) ease-out, background-color var(--quotes-motion) ease-out, transform var(--quotes-motion) var(--quotes-ease);border-radius:999px;flex:none;place-items:center;display:grid;position:relative}.quotes-progress__step[data-state=active] .quotes-progress__marker{border-color:var(--accent)}.quotes-progress__step[data-state=active] .quotes-progress__marker:after{border-radius:inherit;content:"";background:#2563eb38;animation:1.4s ease-out infinite quotes-pulse;position:absolute;inset:-5px}.quotes-progress__step[data-state=done] .quotes-progress__marker{border-color:var(--green-text);color:#fff;background:var(--green-text);animation:quotes-pop .26s var(--quotes-ease) both}.quotes-progress__dot{background:var(--accent);border-radius:999px;width:8px;height:8px}.quotes-progress__label{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.quotes-details{border-top:1px solid var(--border);margin:0 calc(var(--quotes-space-5) * -1) calc(var(--quotes-space-5) * -1);padding:0 var(--quotes-space-5);background:#f8fafcb3;grid-template-columns:minmax(0,1fr);display:grid}.quotes-details__bar{justify-content:space-between;align-items:center;gap:var(--quotes-space-3);min-height:52px;display:flex}.quotes-details__toggle{appearance:none;min-height:var(--quotes-control-height);align-items:center;gap:var(--quotes-space-2);margin-left:calc(var(--quotes-space-2) * -1);padding:0 var(--quotes-space-2);border-radius:var(--quotes-radius-sm);color:var(--accent);font:inherit;white-space:nowrap;cursor:pointer;transition:background-color var(--quotes-motion-quick) ease-out;background:0 0;border:0;font-size:13px;font-weight:800;display:inline-flex}@media (hover:hover){.quotes-details__toggle:hover:not(:disabled){background:var(--blue-bg)}}.quotes-details__toggle:focus-visible,.quotes-action:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.quotes-details__toggle:disabled{color:var(--text-subtle);cursor:not-allowed}.quotes-details__optional,.quotes-details__flag{border-radius:999px;padding:1px 7px;font-size:11px;font-weight:700}.quotes-details__optional{color:var(--text-subtle);background:var(--bg-muted);border:1px solid var(--border)}.quotes-details__flag{color:var(--red-text);background:var(--red-bg);border:1px solid var(--red-border)}.quotes-details__chevron{transition:transform var(--quotes-motion) var(--quotes-ease)}.quotes-details[data-open] .quotes-details__chevron{transform:rotate(180deg)}.quotes-details__template{min-width:0;transition:opacity var(--quotes-motion) ease-out;color:var(--text-muted);align-items:center;gap:6px;font-size:12px;font-weight:600;display:inline-flex}.quotes-details[data-open] .quotes-details__template{opacity:0;visibility:hidden}.quotes-details__template svg{color:var(--text-subtle);flex:none}.quotes-details__template strong{color:var(--text-strong);text-overflow:ellipsis;white-space:nowrap;font-weight:750;overflow:hidden}.quotes-details__collapse{opacity:0;transition:grid-template-rows var(--quotes-motion) var(--quotes-ease), opacity var(--quotes-motion) ease-out;grid-template-rows:0fr;display:grid}.quotes-details[data-open] .quotes-details__collapse{opacity:1;grid-template-rows:1fr}.quotes-details__inner{min-height:0;overflow:hidden}.quotes-details[data-open] .quotes-details__inner{overflow:visible}.quotes-details__grid{gap:var(--quotes-space-4);min-width:0;padding:var(--quotes-space-1) 0 var(--quotes-space-5);border:0;grid-template-columns:minmax(0,1fr) minmax(0,2fr) minmax(0,1fr);margin:0;display:grid}.quotes-field{align-content:start}.quotes-field .field-control input,.quotes-field .select-control__trigger{height:var(--quotes-control-height)}.quotes-field input[aria-invalid=true]{border-color:var(--red-text)}.quotes-field__error{color:var(--red-text);font-size:12px;font-weight:700}.quotes-field--contacts{gap:var(--quotes-space-2);grid-column:1/-1;display:grid}.quotes-contacts__label{align-items:center;gap:var(--quotes-space-2);color:var(--text-muted);font-size:12px;font-weight:750;display:inline-flex}.quotes-contacts__count{border:1px solid var(--border);color:var(--text-muted);background:var(--bg-surface);border-radius:999px;padding:1px 7px;font-size:11px;font-weight:700}.quotes-contacts{gap:var(--quotes-space-2);grid-template-columns:repeat(auto-fill,minmax(250px,1fr));margin:0;padding:0;list-style:none;display:grid}.quotes-contacts__empty{align-items:center;gap:var(--quotes-space-2);padding:var(--quotes-space-3) var(--quotes-space-4);border:1px dashed var(--border-strong);border-radius:var(--quotes-radius-md);color:var(--text-muted);background:var(--bg-surface);margin:0;font-size:13px;display:inline-flex}.quotes-contact{gap:var(--quotes-space-3);height:100%;padding:var(--quotes-space-2) var(--quotes-space-3);border:1px solid var(--border);border-radius:var(--quotes-radius-md);background:var(--bg-surface);cursor:pointer;transition:border-color var(--quotes-motion-quick) ease-out, background-color var(--quotes-motion-quick) ease-out, box-shadow var(--quotes-motion-quick) ease-out;grid-template-columns:auto auto minmax(0,1fr);align-items:center;display:grid}@media (hover:hover){.quotes-contact:hover{border-color:var(--blue-border)}}.quotes-contact[data-checked]{border-color:var(--blue-border);background:var(--blue-bg);box-shadow:inset 0 0 0 1px var(--blue-border)}.quotes-contact:focus-within{outline:2px solid var(--focus);outline-offset:1px}.quotes-contact__check{appearance:none;border:1.5px solid var(--border-strong);background:var(--bg-surface);cursor:pointer;width:18px;height:18px;transition:background-color var(--quotes-motion-quick) ease-out, border-color var(--quotes-motion-quick) ease-out;border-radius:5px;place-items:center;margin:0;display:grid;position:relative}.quotes-contact__check:after{content:"";opacity:0;width:5px;height:9px;transition:opacity var(--quotes-motion-quick) ease-out, transform var(--quotes-motion-quick) ease-out;border:2px solid #fff;border-width:0 2px 2px 0;margin-top:-2px;transform:rotate(45deg)scale(.6)}.quotes-contact__check:checked{border-color:var(--accent);background:var(--accent)}.quotes-contact__check:checked:after{opacity:1;transform:rotate(45deg)scale(1)}.quotes-contact__check:focus-visible{outline:none}.quotes-contact__avatar{width:32px;height:32px;color:var(--accent);background:linear-gradient(135deg,#dbeafe,#eff6ff);border-radius:999px;place-items:center;font-size:13px;font-weight:800;display:grid}.quotes-contact__text{gap:2px;min-width:0;display:grid}.quotes-contact__text strong{color:var(--text-strong);text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.quotes-contact__text small{min-width:0;color:var(--text-muted);text-overflow:ellipsis;white-space:nowrap;align-items:center;gap:4px;font-size:12px;font-weight:500;display:flex;overflow:hidden}.quotes-contact__text small svg{flex:none}.quotes-contact__role{margin-left:var(--quotes-space-2);color:var(--text-muted);font-size:12px;font-weight:600}.quotes-contact__meta{text-overflow:ellipsis;min-width:0;overflow:hidden}fieldset:disabled .quotes-contact{cursor:not-allowed;opacity:.7}.quotes-actions{justify-content:flex-end;align-items:center;gap:var(--quotes-space-2);flex-wrap:wrap;display:flex}.quotes-action{appearance:none;min-height:var(--quotes-control-height);padding:0 var(--quotes-space-3);border-radius:var(--quotes-radius-sm);font:inherit;white-space:nowrap;cursor:pointer;transition:background-color var(--quotes-motion-quick) ease-out, border-color var(--quotes-motion-quick) ease-out, color var(--quotes-motion-quick) ease-out, transform var(--quotes-motion-quick) ease-out;border:1px solid #0000;justify-content:center;align-items:center;gap:7px;font-size:13px;font-weight:800;text-decoration:none;display:inline-flex}.quotes-action[data-size=sm]{min-height:var(--quotes-control-height-sm);padding:0 var(--quotes-space-2);font-size:12px}.quotes-action[data-variant=primary]{color:#fff;background:var(--accent)}.quotes-action[data-variant=secondary]{color:var(--accent);border-color:var(--blue-border);background:var(--blue-bg)}.quotes-action[data-variant=ghost]{color:var(--text-strong);border-color:var(--border-strong);background:var(--bg-surface)}.quotes-action[data-copied]{color:var(--green-text);border-color:var(--green-border);background:var(--green-bg)}@media (hover:hover){.quotes-action[data-variant=primary]:hover{background:var(--accent-hover)}.quotes-action[data-variant=secondary]:hover{border-color:var(--accent)}.quotes-action[data-variant=ghost]:hover{border-color:var(--accent);color:var(--accent)}}.quotes-pdf-slot{justify-content:flex-start;display:inline-flex}.quotes-pdf-slot[data-size=sm]{justify-content:flex-end;min-width:158px}.quotes-action[data-just-ready]{color:var(--green-text);border-color:var(--green-border);background:var(--green-bg);animation:1.2s ease-out quotes-ready-glow}.quotes-action__icon{animation:quotes-pop .26s var(--quotes-ease) both}.quotes-pdf-state{min-height:var(--quotes-control-height);align-items:center;gap:var(--quotes-space-2);padding:0 var(--quotes-space-3);border:1px solid var(--blue-border);border-radius:var(--quotes-radius-sm);color:var(--accent);background:var(--blue-bg);white-space:nowrap;animation:quotes-fade-in var(--quotes-motion) ease-out both;font-size:13px;font-weight:750;display:inline-flex}.quotes-pdf-state[data-size=sm]{min-height:var(--quotes-control-height-sm);padding:0 var(--quotes-space-2);gap:6px;font-size:12px}.quotes-pdf-state[data-state=slow]{padding-right:var(--quotes-space-1);border-color:var(--border-strong);color:var(--text);background:var(--bg-muted)}.quotes-pdf-state[data-state=failed]{padding-right:var(--quotes-space-1);border-color:var(--red-border);color:var(--red-text);background:var(--red-bg)}.quotes-pdf-state__text[data-length=short]{display:none}.quotes-pdf-state__text{text-overflow:ellipsis;overflow:hidden}.quotes-pdf-state__dots{align-items:center;gap:3px;display:inline-flex}.quotes-pdf-state__dots i{opacity:.35;background:currentColor;border-radius:999px;width:5px;height:5px;animation:1.2s ease-in-out infinite quotes-dot}.quotes-pdf-state__dots i:nth-child(2){animation-delay:.16s}.quotes-pdf-state__dots i:nth-child(3){animation-delay:.32s}.quotes-pdf-state__retry{appearance:none;min-height:calc(100% - 6px);margin-left:var(--quotes-space-1);padding:3px var(--quotes-space-2);color:inherit;background:var(--bg-surface);font:inherit;cursor:pointer;transition:background-color var(--quotes-motion-quick) ease-out, border-color var(--quotes-motion-quick) ease-out;border:1px solid #0000;border-radius:5px;align-items:center;gap:5px;font-size:12px;font-weight:800;display:inline-flex}@media (hover:hover){.quotes-pdf-state__retry:hover:not(:disabled){border-color:currentColor}}.quotes-pdf-state__retry:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.quotes-pdf-state__retry:disabled{cursor:progress}.quotes-pdf-state__retry[aria-busy=true] .quotes-pdf-state__retry-icon{animation:.8s linear infinite spin}.quotes-result{gap:var(--quotes-space-3) var(--quotes-space-4);border-color:var(--green-border);box-shadow:inset 3px 0 0 #10b981, var(--quotes-shadow);animation:quotes-fade-up var(--quotes-motion) ease-out both;grid-template-columns:auto minmax(0,1fr) auto;align-items:start;display:grid}.quotes-result__icon{border-radius:var(--quotes-radius);color:#fff;background:linear-gradient(135deg, #10b981, var(--green-text));width:48px;height:48px;animation:quotes-pop .32s var(--quotes-ease) both;place-items:center;display:grid;box-shadow:0 8px 18px #10b98142}.quotes-result__body{gap:2px;min-width:0;display:grid}.quotes-result__actions{padding-top:var(--quotes-space-3);border-top:1px solid var(--green-border);grid-column:2/-1;justify-content:flex-start}.quotes-result__eyebrow{color:var(--green-text)}.quotes-result__title{align-items:center;gap:var(--quotes-space-2);min-width:0;color:var(--text-strong);margin:0;font-size:16px;font-weight:750;line-height:1.3;display:flex}.quotes-result__name{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.quotes-number{border:1px solid var(--green-border);color:var(--green-text);background:var(--green-bg);font-variant-numeric:tabular-nums;border-radius:999px;flex:none;padding:1px 8px;font-size:12px;font-weight:800}.quotes-result__message{margin:var(--quotes-space-1) 0 0;color:var(--text-muted);transition:color var(--quotes-motion) ease-out;align-items:flex-start;gap:6px;font-size:13px;font-weight:600;line-height:1.45;display:flex}.quotes-result__message-icon{color:var(--accent);animation:quotes-pop .26s var(--quotes-ease) both;flex:none;margin-top:2px}.quotes-result__message-text{animation:quotes-fade-in var(--quotes-motion) ease-out both}.quotes-result__message[data-tone=just-ready],.quotes-result__message[data-tone=ready],.quotes-result__message[data-tone=just-ready] .quotes-result__message-icon,.quotes-result__message[data-tone=ready] .quotes-result__message-icon{color:var(--green-text)}.quotes-result__message[data-tone=slow] .quotes-result__message-icon{color:var(--text-muted)}.quotes-result__message[data-tone=failed] .quotes-result__message-icon{color:var(--red-text)}.quotes-result__amount{padding-top:var(--quotes-space-3);white-space:nowrap;color:var(--text-strong);font-variant-numeric:tabular-nums;margin:0;font-size:20px;font-weight:800}.quotes-list{gap:var(--quotes-space-3);padding-bottom:var(--quotes-space-2);box-shadow:none;grid-template-columns:minmax(0,1fr);display:grid}.quotes-list__header{justify-content:space-between;align-items:center;gap:var(--quotes-space-3);min-height:28px;display:flex}.quotes-list__title{align-items:center;gap:var(--quotes-space-2);color:var(--text-strong);margin:0;font-size:16px;font-weight:800;display:inline-flex}.quotes-list__title svg{color:var(--accent)}.quotes-list__count{border:1px solid var(--border);color:var(--text-muted);background:var(--bg-muted);white-space:nowrap;border-radius:999px;padding:2px 9px;font-size:12px;font-weight:700}.quotes-list__table{margin:0 calc(var(--quotes-space-5) * -1)}.quotes-list__columns,.quotes-row{grid-template-columns:var(--quotes-list-columns);gap:var(--quotes-space-4);padding:0 var(--quotes-space-5);align-items:center;display:grid}.quotes-list__columns{border-top:1px solid var(--border);border-bottom:1px solid var(--border);min-height:34px;color:var(--text-subtle);background:var(--bg-muted);font-size:12px;font-weight:700}.quotes-list__numeric,.quotes-list__actions-label{text-align:right}.quotes-list__rows{margin:0;padding:0;list-style:none}.quotes-row{min-height:62px;padding-top:var(--quotes-space-3);padding-bottom:var(--quotes-space-3);border-bottom:1px solid var(--border);transition:background-color var(--quotes-motion-quick) ease-out;position:relative}.quotes-row:last-child{border-bottom:0}@media (hover:hover){.quotes-row:hover{background:var(--bg-muted)}}.quotes-row[data-new]{animation:quotes-row-enter .42s var(--quotes-ease) both;background:linear-gradient(90deg,#10b98114,#0000 60%)}.quotes-row[data-new]:before{content:"";background:#10b981;width:3px;position:absolute;inset:0 auto 0 0}.quotes-row__identity{gap:var(--quotes-space-3);grid-template-columns:auto minmax(0,1fr);align-items:center;min-width:0;display:grid}.quotes-row__icon{border:1px solid var(--border);border-radius:var(--quotes-radius-sm);width:34px;height:34px;color:var(--accent);background:var(--bg-surface);place-items:center;display:grid}.quotes-row__text{gap:2px;min-width:0;display:grid}.quotes-row__title{color:var(--text-strong);text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.quotes-row__number{align-items:center;gap:var(--quotes-space-2);color:var(--text-muted);font-variant-numeric:tabular-nums;font-size:12px;font-weight:600;display:inline-flex}.quotes-row__new{color:var(--green-text);background:var(--green-bg);border:1px solid var(--green-border);border-radius:999px;padding:0 6px;font-size:11px;font-weight:800}.quotes-row__status{min-width:0;display:flex}.quotes-row__amount{color:var(--text-strong);font-variant-numeric:tabular-nums;text-align:right;white-space:nowrap;font-size:13px;font-weight:800}.quotes-row__date{color:var(--text-muted);font-variant-numeric:tabular-nums;align-items:center;gap:6px;font-size:12px;font-weight:600;display:inline-flex}.quotes-row__date svg{color:var(--text-subtle)}.quotes-row__actions{flex-wrap:nowrap}.quotes-empty{gap:var(--quotes-space-4);padding:var(--quotes-space-5);border:1px dashed var(--border-strong);border-radius:var(--quotes-radius-md);background:var(--bg-muted);margin-bottom:var(--quotes-space-3);grid-template-columns:auto minmax(0,1fr);align-items:center;display:grid}.quotes-empty__art{border:1px solid var(--blue-border);width:56px;height:56px;color:var(--accent);background:var(--bg-surface);border-radius:16px;place-items:center;display:grid;position:relative;box-shadow:0 8px 18px #2563eb1a}.quotes-empty__spark{color:#fff;background:var(--accent);border-radius:999px;place-items:center;width:22px;height:22px;display:grid;position:absolute;top:-7px;right:-7px}.quotes-empty__copy{gap:var(--quotes-space-1);display:grid}.quotes-empty__copy strong{color:var(--text-strong);font-size:14px}.quotes-empty__copy p{color:var(--text-muted);margin:0;font-size:13px;line-height:1.5}.quotes-load-error{gap:var(--quotes-space-4);border-color:var(--red-border);animation:quotes-fade-up var(--quotes-motion) ease-out both;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;display:grid}.quotes-load-error__icon{border:1px solid var(--red-border);border-radius:var(--quotes-radius);width:48px;height:48px;color:var(--red-text);background:var(--red-bg);place-items:center;display:grid}.quotes-load-error__copy{gap:var(--quotes-space-1);min-width:0;display:grid}.quotes-load-error__copy h2{color:var(--text-strong);margin:0;font-size:16px;font-weight:800}.quotes-load-error__copy p{color:var(--text-muted);margin:0;font-size:13px;line-height:1.5}.quotes-skeleton{gap:var(--quotes-space-4);display:grid}.quotes-skeleton__composer,.quotes-skeleton__list{gap:var(--quotes-space-4);grid-template-columns:minmax(0,1fr);display:grid}.quotes-skeleton__block{border-radius:var(--quotes-radius-sm);background:linear-gradient(90deg,#eef2f7 0%,#f8fafc 45%,#eef2f7 90%) 0 0/200% 100%;animation:1.3s linear infinite quotes-shimmer;display:block}.quotes-skeleton__header{gap:var(--quotes-space-4);grid-template-columns:auto minmax(0,1fr) auto;align-items:center;display:grid}.quotes-skeleton__badge{border-radius:var(--quotes-radius);width:48px;height:48px}.quotes-skeleton__lines{gap:var(--quotes-space-2);display:grid}.quotes-skeleton__line{height:12px}.quotes-skeleton__line[data-width=xs]{width:18%;height:9px}.quotes-skeleton__line[data-width=sm]{width:30%}.quotes-skeleton__line[data-width=md]{width:34%;height:14px}.quotes-skeleton__line[data-width=lg]{width:56%;height:18px}.quotes-skeleton__button{border-radius:var(--quotes-radius-md);width:200px;height:46px}.quotes-skeleton__tiles{gap:var(--quotes-space-3);grid-template-columns:repeat(4,minmax(0,1fr));display:grid}.quotes-skeleton__tile{border-radius:var(--quotes-radius-md);height:84px}.quotes-skeleton__bar{width:40%;height:20px}.quotes-skeleton__row{height:44px}@container (max-width:760px){.quotes-result__actions>.quotes-pdf-slot,.quotes-result__actions>.quotes-pdf-slot>*{justify-content:center;width:100%}.quotes-result__actions .quotes-pdf-state[data-state=slow],.quotes-result__actions .quotes-pdf-state[data-state=failed]{justify-content:space-between}.quotes-result__actions .quotes-pdf-state__text[data-length=full]{display:none}.quotes-result__actions .quotes-pdf-state__text[data-length=short]{display:inline}.quotes-result__actions .quotes-pdf-state__text{text-align:left;flex:auto;min-width:0}.quotes-row__actions .quotes-pdf-slot{justify-content:flex-start;min-width:0}.quotes-composer__header,.quotes-skeleton__header{grid-template-columns:auto minmax(0,1fr)}.quotes-generate-button.action-button,.quotes-skeleton__button{grid-column:1/-1;width:100%}.quotes-composer__summary,.quotes-skeleton__tiles{grid-template-columns:repeat(2,minmax(0,1fr))}.quotes-details__grid{grid-template-columns:minmax(0,1fr)}.quotes-result,.quotes-load-error{grid-template-columns:auto minmax(0,1fr)}.quotes-load-error>.action-button,.quotes-result__amount{grid-column:1/-1}.quotes-result__actions{grid-column:1/-1;grid-template-columns:minmax(0,1fr);display:grid}.quotes-result__actions>*{justify-content:center}.quotes-composer__title{white-space:normal;-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box}.quotes-tile__value{font-size:16px}.quotes-list__columns{display:none}.quotes-list__table{border-top:1px solid var(--border)}.quotes-row{gap:var(--quotes-space-2) var(--quotes-space-3);grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"identity amount""status date""actions actions"}.quotes-row__date{justify-content:flex-end}.quotes-row__actions{justify-content:flex-start}.quotes-row__identity{grid-area:identity}.quotes-row__status{grid-area:status}.quotes-row__amount{grid-area:amount}.quotes-row__date{grid-area:date}.quotes-row__actions{grid-area:actions}}@container (max-width:420px){.quotes-progress__count{display:none}.quotes-progress__head{grid-template-columns:auto minmax(0,1fr)}.quotes-card{padding:var(--quotes-space-4)}.quotes-details{margin:0 calc(var(--quotes-space-4) * -1) calc(var(--quotes-space-4) * -1);padding:0 var(--quotes-space-4)}.quotes-list__table{margin:0 calc(var(--quotes-space-4) * -1)}.quotes-list__columns,.quotes-row{padding-right:var(--quotes-space-4);padding-left:var(--quotes-space-4)}.quotes-composer__title{font-size:17px}.quotes-details__template{display:none}.quotes-composer__company{align-items:flex-start}.quotes-composer__company svg{margin-top:2px}.quotes-composer__company>span{white-space:normal}.quotes-tile__value{white-space:normal;overflow-wrap:anywhere}.quotes-result__title{flex-wrap:wrap}.quotes-result__name,.quotes-row__title{white-space:normal;-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box}.quotes-progress__steps{grid-template-columns:minmax(0,1fr)}}@keyframes quotes-fade-up{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}@keyframes quotes-row-enter{0%{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}@keyframes quotes-pop{0%{transform:scale(.6)}to{transform:scale(1)}}@keyframes quotes-pulse{0%{opacity:.9;transform:scale(.6)}to{opacity:0;transform:scale(1.6)}}@keyframes quotes-fade-in{0%{opacity:0}to{opacity:1}}@keyframes quotes-sweep{to{transform:translate(100%)}}@keyframes quotes-breathe{0%,to{transform:translateY(0)}50%{transform:translateY(-2px)}}@keyframes quotes-dot{0%,80%,to{opacity:.3;transform:scale(.8)}40%{opacity:1;transform:scale(1)}}@keyframes quotes-ready-glow{0%{box-shadow:0 0 #10b98173}to{box-shadow:0 0 0 8px #10b98100}}@keyframes quotes-shimmer{to{background-position:-200% 0}}@media (prefers-reduced-motion:reduce){.quotes-tab *,.quotes-tab :before,.quotes-tab :after{transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.quotes-generate-button.action-button[data-finishing]:disabled{opacity:1;color:#fff;background:var(--green-text);cursor:default;box-shadow:0 8px 20px #10b9813d}
