html{--lumo-primary-color-50pct: hsla(0, 80%, 45%, .5);--lumo-primary-color-10pct: hsla(0, 80%, 45%, .1);--lumo-primary-color: hsl(0, 80%, 45%);--lumo-primary-text-color: hsl(0, 80%, 42%);--lumo-primary-contrast-color: #fff}vaadin-app-layout::part(navbar){background:#faf5f5;border-bottom:1px solid hsla(0,80%,45%,.12)}vaadin-app-layout::part(drawer){background:#8a2828;border-right:none;width:220px;overflow-x:hidden}vaadin-app-layout{--vaadin-app-layout-drawer-offset-size: 220px;overflow-x:hidden}vaadin-app-layout [content]{overflow-x:hidden}vaadin-app-layout vaadin-drawer-toggle{color:#c11515}vaadin-app-layout vaadin-side-nav{box-sizing:border-box}vaadin-app-layout vaadin-side-nav-item{color:#ffffffe6;--lumo-body-text-color: rgba(255, 255, 255, .9);--lumo-secondary-text-color: rgba(255, 255, 255, .7);--lumo-primary-text-color: #fff;--lumo-contrast-60pct: rgba(255, 255, 255, .9)}.login-view{background:#f3e8e8;border-top:3px solid hsla(0,80%,45%,.12)}.login-view h1{color:#c11515!important}.dashboard-view{gap:20px!important;overflow-x:hidden;max-width:100%;box-sizing:border-box}.dashboard-header{margin-bottom:4px}.dashboard-stats-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:16px;width:100%;box-sizing:border-box}.dashboard-stat-card{background:#fff;border-radius:14px;padding:22px 24px;display:flex;align-items:center;gap:16px;box-shadow:0 1px 3px #0000000f,0 2px 8px #0000000a;transition:box-shadow .2s,transform .2s}.dashboard-stat-card:hover{box-shadow:0 4px 12px #0000001a;transform:translateY(-2px)}.stat-icon-circle{width:48px;height:48px;min-width:48px;border-radius:12px;display:flex;align-items:center;justify-content:center}.dashboard-stat-card .stat-value{font-size:1.8em;font-weight:800;line-height:1;display:block}.dashboard-stat-card .stat-label{color:var(--lumo-secondary-text-color);font-size:.85em;margin-top:4px;display:block}.dashboard-panel{--panel-background: #fff;background:var(--panel-background);border-radius:14px;padding:24px;box-shadow:0 1px 3px #0000000f,0 2px 8px #0000000a;width:100%;box-sizing:border-box;overflow-x:auto}.dashboard-panel-title{font-size:1.05em;font-weight:700;color:var(--lumo-body-text-color);display:block;margin-bottom:16px}.dashboard-panel vaadin-grid{border-radius:8px}.section-card{background:#faf5f5;border-radius:var(--lumo-border-radius-l);border:1px solid hsla(0,80%,45%,.1);box-shadow:none;padding:var(--lumo-space-l)}.app-wordmark{font-size:var(--lumo-font-size-l);margin:var(--lumo-space-m);color:#c11515}html{--chart-data: #3A4E9E;--chart-track: hsl(220, 20%, 93%);--chart-critical: hsl(0, 80%, 45%)}.stat-row{display:flex;flex-wrap:wrap;gap:var(--lumo-space-m)}.stat-tile{flex:1 1 180px;background:#fff;border-radius:14px;padding:20px 24px;box-shadow:0 1px 3px #0000000f,0 2px 8px #0000000a;display:flex;flex-direction:column;gap:4px}.stat-tile__value{font-size:1.9em;font-weight:700;line-height:1.1;color:var(--lumo-header-text-color);font-variant-numeric:tabular-nums}.stat-tile__label{font-size:.78em;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--lumo-secondary-text-color)}.stat-tile--critical .stat-tile__value{color:var(--chart-critical)}.chart-row{width:100%;display:grid;grid-template-columns:150px 1fr 70px;align-items:center;gap:var(--lumo-space-s);padding:3px 0}.chart-row__label{font-size:.88em;color:var(--lumo-body-text-color);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chart-row__track{background:var(--chart-track);border-radius:5px;height:10px;overflow:hidden}.chart-row__fill{background:var(--chart-data);height:100%;border-radius:0 5px 5px 0;min-width:2px}.chart-row__value{font-size:.88em;font-weight:600;text-align:right;font-variant-numeric:tabular-nums;color:var(--lumo-body-text-color)}.chart-row--linked{cursor:pointer;border-radius:6px}.chart-row--linked:hover{background:#faf5f5}.chart-row--linked:hover .chart-row__label{color:var(--lumo-primary-text-color)}.chart-empty{font-size:.88em;color:var(--lumo-secondary-text-color);padding:var(--lumo-space-s) 0}.profile-view{gap:0!important}.profile-view>vaadin-tabs{margin-top:8px}.profile-view .profile-header{padding-top:16px;padding-bottom:16px}.status-pipeline{display:flex;width:100%;background:#fcfcfc;border:1px solid var(--lumo-contrast-10pct);border-radius:10px;overflow:hidden}.status-pipeline__step{flex:1 1 0;position:relative;padding:10px;text-align:center;font-size:.95em;line-height:1.2;color:var(--lumo-secondary-text-color);overflow-wrap:anywhere}.status-pipeline__step:not(:last-child):after{content:"";position:absolute;right:-11px;top:50%;width:20px;height:20px;transform:translateY(-50%) rotate(45deg);border-top:2px solid var(--lumo-contrast-10pct);border-right:2px solid var(--lumo-contrast-10pct);z-index:2;pointer-events:none}.status-pipeline__step--clickable{cursor:pointer}.status-pipeline__step--clickable:hover,.status-pipeline__step--clickable:focus-visible{background:#faf5f5;color:var(--lumo-primary-text-color);outline:none}.status-pipeline__step--current{background:var(--lumo-primary-color);color:var(--lumo-primary-contrast-color);font-weight:700;clip-path:polygon(0 0,calc(100% - 18px) 0,100% 50%,calc(100% - 18px) 100%,0 100%,18px 50%);padding-right:24px;padding-left:24px;margin-right:-14px;z-index:1}.status-pipeline__step--current.status-pipeline__step--first{clip-path:polygon(0 0,calc(100% - 18px) 0,100% 50%,calc(100% - 18px) 100%,0 100%);padding-left:14px}.status-pipeline__step--current:after{display:none}@media (max-width: 800px){.status-pipeline{flex-direction:column}.status-pipeline__step,.status-pipeline__step--current,.status-pipeline__step--current.status-pipeline__step--first{clip-path:none;margin-right:0;padding:12px 14px;text-align:left}.status-pipeline__step:not(:last-child){border-bottom:1px solid var(--lumo-contrast-10pct)}.status-pipeline__step:after{display:none}}.lead-note{border-left:3px solid var(--lumo-primary-color);background:var(--lumo-contrast-5pct);border-radius:var(--lumo-border-radius-m);padding:var(--lumo-space-s) var(--lumo-space-m);margin-bottom:var(--lumo-space-s)}.lead-note__body{white-space:pre-wrap;margin-top:var(--lumo-space-xs)}.lead-note__meta{font-size:.85em;color:var(--lumo-secondary-text-color)}vaadin-grid::part(detail-cell){white-space:normal;overflow-wrap:anywhere}.lead-history{display:grid;grid-template-columns:max-content max-content minmax(0,1fr);column-gap:0;row-gap:var(--lumo-space-xs);align-items:baseline;max-height:60vh;overflow-y:auto}.lead-history__entry{display:contents}.lead-history__rule{grid-column:1 / -1;border-top:1px solid var(--lumo-contrast-10pct)}.lead-history__entry:first-child>.lead-history__rule{display:none}.lead-history__what,.lead-history__who,.lead-history__when{padding-top:var(--lumo-space-s)}.lead-history__what{font-weight:600}.lead-history__what,.lead-history__who{padding-right:var(--lumo-space-m)}.lead-history__who,.lead-history__when{font-size:.85em;color:var(--lumo-secondary-text-color)}.lead-history__when{text-align:right}.lead-history__detail{grid-column:1 / -1;padding-bottom:var(--lumo-space-s);white-space:pre-wrap;overflow-wrap:anywhere}.chat{display:flex;flex-direction:column;min-height:0}.chat__channels{flex-shrink:0;box-sizing:border-box;padding:0 var(--lumo-space-m);background:#fbf9f9;border:1px solid hsla(0,80%,45%,.1);border-bottom:1px solid hsla(0,80%,45%,.1);border-radius:14px 14px 0 0}.chat__thread{flex:1;min-height:0;overflow-y:auto;padding:var(--lumo-space-s) var(--lumo-space-l) var(--lumo-space-m);background:#fbf9f9;border:1px solid hsla(0,80%,45%,.1);border-top:none;border-bottom:none}.chat__thread--alone{border-bottom:1px solid hsla(0,80%,45%,.1);border-radius:0 0 14px 14px}.chat__thread>*:first-child{margin-top:auto}.chat__day{align-self:center;margin:var(--lumo-space-m) 0 var(--lumo-space-xs);padding:2px 12px;border-radius:999px;background:#cf171712;color:var(--lumo-secondary-text-color);font-size:.72em;font-weight:700;letter-spacing:.03em}.chat__row{display:flex;margin-top:var(--lumo-space-s)}.chat__row--in{justify-content:flex-start}.chat__row--out{justify-content:flex-end}.chat__row--grouped{margin-top:3px}.chat__bubble{max-width:min(68%,560px);padding:9px 14px 7px;border-radius:16px;font-size:var(--lumo-font-size-s);line-height:1.45;box-shadow:0 1px 2px #0000000d}.chat__row--in .chat__bubble{background:#fff;border:1px solid hsla(0,0%,0%,.08);border-bottom-left-radius:4px}.chat__row--out .chat__bubble{background:#fcf1f1;border:1px solid hsla(0,80%,45%,.16);border-bottom-right-radius:4px}.chat__row--out .chat__bubble--campaign{background:#f7f7f7;border-color:#0000001a}.chat__bubble--failed{border-color:var(--lumo-error-color)}.chat__campaign{display:flex;align-items:center;gap:5px;margin-bottom:4px;font-size:.68em;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--lumo-secondary-text-color)}.chat__campaign vaadin-icon{width:13px;height:13px}.chat__subject{display:block;font-weight:700;margin-bottom:2px}.chat__body{white-space:pre-wrap;overflow-wrap:anywhere}.chat__meta{display:flex;align-items:center;gap:5px;margin-top:4px;font-size:.7em;color:var(--lumo-secondary-text-color)}.chat__row--out .chat__meta{justify-content:flex-end}.chat__meta vaadin-icon{width:12px;height:12px}.chat__meta--failed{color:var(--lumo-error-text-color);font-weight:700}.chat__failure{display:flex;align-items:flex-start;gap:5px;margin-top:6px;padding-top:5px;border-top:1px solid hsla(0,80%,45%,.18);font-size:.75em;color:var(--lumo-error-text-color)}.chat__failure vaadin-icon{width:13px;height:13px;flex-shrink:0;margin-top:2px}.chat__empty{margin:auto;text-align:center;color:var(--lumo-secondary-text-color)}.chat__empty vaadin-icon{width:28px;height:28px;color:#cf171740}.chat__composer{flex-shrink:0;background:#fff;border:1px solid hsla(0,80%,45%,.1);border-radius:0 0 14px 14px;padding:var(--lumo-space-s) var(--lumo-space-l) var(--lumo-space-m);box-shadow:0 -2px 8px #00000008;transition:padding .12s ease}.chat__composer--resting{padding-top:var(--lumo-space-xs);padding-bottom:var(--lumo-space-xs)}.chat__composer vaadin-text-area::part(input-field){border-radius:var(--lumo-border-radius-l)}.chat__composer--resting vaadin-text-area::part(input-field){overflow-y:auto}#nav-inbox-count{background:#fff;color:#8a2828;font-weight:700;min-width:1.4em;text-align:center}.document-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:16px;width:100%;padding-top:var(--lumo-space-s);min-height:0}.document-card{display:flex;flex-direction:column;background:#fff;border:1px solid var(--lumo-contrast-10pct);border-radius:12px;overflow:hidden;transition:box-shadow .2s,transform .2s}.document-card:hover{box-shadow:0 4px 12px #0000001a;transform:translateY(-2px)}.document-card__thumb{position:relative;height:150px;display:flex;align-items:center;justify-content:center;background:#f9f6f6;border-bottom:1px solid var(--lumo-contrast-10pct);overflow:hidden}.document-card__thumb--openable{cursor:pointer}.document-card__thumb--openable:focus-visible{outline:2px solid var(--lumo-primary-color);outline-offset:-2px}.document-card__image{max-width:100%;max-height:100%;object-fit:contain;display:block}.document-card__glyph{font-size:.95em;font-weight:800;letter-spacing:.08em;color:#c11515;background:#cf171714;border:1px solid hsla(0,80%,45%,.18);border-radius:8px;padding:10px 14px}.document-card__body{display:flex;flex-direction:column;gap:4px;padding:12px 14px 10px;flex:1}.document-card__name{font-weight:600;font-size:.88em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.document-card__type{font-size:.78em;color:var(--lumo-primary-text-color);font-weight:600}.document-card__meta{display:flex;justify-content:space-between;gap:8px;font-size:.74em;color:var(--lumo-secondary-text-color)}.document-card__actions{margin-top:auto;padding-top:6px;justify-content:flex-end}.document-preview{width:100%;height:100%;display:flex;align-items:center;justify-content:center;background:#f9f6f6;border-radius:8px;overflow:auto}.document-preview__image{max-width:100%;max-height:100%;object-fit:contain}.view-toggle{border:1px solid var(--lumo-contrast-10pct);border-radius:8px;padding:2px;gap:2px}.application-view .dashboard-panel h4{margin:0 0 var(--lumo-space-s);font-size:1.05em;font-weight:700;color:var(--lumo-body-text-color)}.application-view .panel-subtitle{display:block;font-size:.85em;color:var(--lumo-secondary-text-color);margin-bottom:var(--lumo-space-m)}.application-columns{display:grid;grid-template-columns:minmax(280px,340px) minmax(0,1fr);gap:20px;width:100%;box-sizing:border-box;align-items:start}@media (max-width: 1100px){.application-columns{grid-template-columns:minmax(0,1fr)}}.next-step__verdict{display:flex;align-items:center;gap:8px;font-weight:600;margin-bottom:var(--lumo-space-xs)}.next-step__verdict--success{color:var(--lumo-success-text-color)}.next-step__verdict--error{color:var(--lumo-error-text-color)}.next-step__icon{width:18px;height:18px;flex-shrink:0}.next-step__caption{display:block;font-size:.85em;line-height:1.4;color:var(--lumo-secondary-text-color)}.next-step__checks{list-style:none;margin:var(--lumo-space-s) 0 0;padding:0}.next-step__check{display:grid;grid-template-columns:14px minmax(0,1fr);gap:8px;padding:6px 0;line-height:1.45;overflow-wrap:anywhere}.next-step__bullet{width:10px;height:10px;margin-top:5px;color:var(--lumo-error-color)}.next-step__fix{margin-top:var(--lumo-space-s)}.stage-totals{display:flex;flex-wrap:wrap;gap:6px;justify-content:flex-end}.stage-timeline{display:flex;flex-direction:column;width:100%;max-height:60vh;overflow-y:auto}.stage-timeline__empty{color:var(--lumo-secondary-text-color);font-size:.9em}.stage-timeline__entry{display:grid;grid-template-columns:12px minmax(0,1fr);column-gap:var(--lumo-space-m)}.stage-timeline__rail{position:relative;display:flex;justify-content:center}.stage-timeline__rail:before{content:"";position:absolute;top:0;bottom:0;width:2px;background:var(--lumo-contrast-10pct)}.stage-timeline__entry:first-child .stage-timeline__rail:before{top:9px}.stage-timeline__entry:last-child .stage-timeline__rail:before{bottom:calc(100% - 9px)}.stage-timeline__dot{position:relative;width:9px;height:9px;margin-top:5px;border-radius:50%;background:var(--lumo-contrast-30pct);box-shadow:0 0 0 3px var(--panel-background, #fff)}.stage-timeline__entry--current .stage-timeline__dot{width:11px;height:11px;margin-top:4px;background:var(--lumo-primary-color)}.stage-timeline__body{min-width:0;padding-bottom:var(--lumo-space-m)}.stage-timeline__head{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px}.stage-timeline__when{margin-left:auto;white-space:nowrap}.stage-timeline__from,.stage-timeline__who,.stage-timeline__when{font-size:.85em;color:var(--lumo-secondary-text-color)}.stage-timeline__who{display:block;margin-top:2px}.stage-timeline__note{margin-top:var(--lumo-space-xs);padding:2px 0 2px var(--lumo-space-s);border-left:3px solid var(--lumo-contrast-10pct);white-space:pre-wrap;overflow-wrap:anywhere}.stage-timeline__gap{display:block;margin-top:var(--lumo-space-s);font-size:.75em;letter-spacing:.02em;color:var(--lumo-tertiary-text-color, var(--lumo-secondary-text-color))}
