/* Vertrieb im gemeinsamen Tool: Stylesheet aus dem frueheren Projekt
   GBLorg Vertrieb, vollstaendig unter .vt gekapselt (keine Wirkung auf das
   Backend). Erzeugt aus GBLorg Vertrieb/css/style.css. Kommentare hier nur
   in ASCII (Chromium-Bug, siehe Originaldatei). */
.vt *, .vt *::before, .vt *::after { box-sizing: border-box; margin: 0; padding: 0; }
.vt {
  --navy:          #0d2b6e;
  --navy-dark:     #08194a;
  --navy-light:    #1a3f8f;
  --blue:          #1565c0;
  --blue-hover:    #1976d2;
  --blue-light:    #e8f0fb;
  --gold:          #f4a700;

  --white:         #ffffff;
  --bg:            #ffffff;
  --bg-light:      #f4f7fb;

  --text:          #1c2233;
  --text-muted:    #5c687d;
  --text-light:    #8899b0;

  --border:        #dce4ef;
  --border-light:  #edf1f8;

  --green: #0f5f2a; --green-bg: #e8faef; --green-border: #b8e8c7;
  --amber: #925e10; --amber-bg: #fff4e0; --amber-border: #f0d9a8;
  --red:   #7b1f1f; --red-bg:   #fdecec; --red-border:   #f5c2c7;
  --gray:  #5a6470; --gray-bg:  #f2f3f5; --gray-border:  #d8dde3;
  --info:  #1d4f91; --info-bg:  #eaf2fd; --info-border:  #c3d9f5;

  --shadow-sm: 0 1px 4px rgba(13,43,110,.07), 0 1px 2px rgba(13,43,110,.04);
  --shadow:    0 4px 18px rgba(13,43,110,.11), 0 2px 6px rgba(13,43,110,.06);
  --shadow-lg: 0 12px 40px rgba(13,43,110,.15), 0 4px 16px rgba(13,43,110,.08);

  --font-head: 'Geist', 'Segoe UI Variable Display', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Nunito Sans', 'Segoe UI Variable Text', 'Segoe UI', system-ui, sans-serif;

  --sp-xs: 4px; --sp-sm: 8px; --sp-md: 16px; --sp-lg: 24px; --sp-xl: 32px;

  --max-w: 1400px;
  --page-gutter: var(--sp-lg);
  --nav-h: 64px;
  --radius: 6px;
  --radius-lg: 12px;
  --radius-card: 25px;
  --sidebar-w: 280px;
  --tr: 0.2s cubic-bezier(.4,0,.2,1);
}
.vt { margin: 0; padding: 0; font-size: 16px; overflow-x: hidden; scrollbar-gutter: stable; }
.vt { margin: 0; padding: 0; font-family: var(--font-body); font-size: 1rem; background: var(--bg-light); color: var(--text); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; min-height: 100%; }
.vt img, .vt video { max-width: 100%; display: block; }
.vt a { color: inherit; text-decoration: none; }
.vt button { font-family: inherit; cursor: pointer; border: none; background: none; }
.vt input, .vt select, .vt textarea { font-family: inherit; }
.vt h1, .vt h2, .vt h3, .vt h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.2; color: var(--navy); }
.vt :focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
.vt [hidden] { display: none !important; }
.vt .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-sm);
  font-family: var(--font-head); font-weight: 700; font-size: 0.9rem;
  border: 2px solid transparent; border-radius: var(--radius); padding: 10px 20px;
  cursor: pointer; transition: all 0.2s cubic-bezier(.4,0,.2,1); white-space: nowrap;
  line-height: 1; text-decoration: none;
}
.vt .btn:disabled { opacity: .55; cursor: not-allowed; transform: none !important; box-shadow: none !important; }
.vt .btn--primary { background: var(--blue); color: var(--white); border-color: var(--blue); }
.vt .btn--primary:hover:not(:disabled) { background: var(--blue-hover); border-color: var(--blue-hover); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(21,101,192,.28); }
.vt .btn--outline { background: transparent; color: var(--blue); border-color: var(--blue); }
.vt .btn--outline:hover:not(:disabled) { background: var(--blue-light); }
.vt .btn--ghost { background: transparent; color: var(--text-muted); border-color: transparent; }
.vt .btn--ghost:hover:not(:disabled) { background: var(--bg-light); color: var(--navy); }
.vt .btn--danger { background: transparent; color: var(--red); border-color: transparent; }
.vt .btn--danger:hover:not(:disabled) { background: var(--red-bg); }
.vt .btn--sm { padding: 6px 13px; font-size: 0.8rem; }
.vt .btn--full { width: 100%; }
.vt .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-md); }
.vt .form-row--3 { grid-template-columns: 1fr 1fr 1fr; }
.vt .form-row + .form-row { margin-top: var(--sp-md); }
.vt .form-group { display: flex; flex-direction: column; gap: var(--sp-sm); }
.vt .form-group--full { grid-column: 1 / -1; }
.vt .form-label { font-family: var(--font-head); font-weight: 600; font-size: 0.9rem; color: var(--navy); display: flex; align-items: baseline; gap: 6px; }
.vt .form-req { color: #d32f2f; font-weight: 700; }
.vt .form-hint { font-family: var(--font-body); font-weight: 400; font-size: 0.78rem; color: var(--text-light); }
.vt .form-input {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--border); border-radius: 10px;
  font-family: var(--font-body); font-size: 0.95rem; color: var(--text); background: var(--white);
  transition: all var(--tr);
}
.vt .form-input::placeholder { color: var(--text-light); }
.vt .form-input:hover { border-color: var(--text-light); }
.vt .form-input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(21,101,192,.12); }
.vt textarea.form-input { resize: vertical; min-height: 90px; line-height: 1.55; }
.vt select.form-input {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%235c687d' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px;
}
.vt .contact-picker { position: relative; }
.vt .contact-picker__input-wrap { display: flex; align-items: center; gap: .55rem; border: 1.5px solid var(--border); border-radius: 10px; padding: 0 .9rem; background: var(--white); transition: border-color var(--tr), box-shadow var(--tr); }
.vt .contact-picker__input-wrap:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(21,101,192,.12); }
.vt .contact-picker__input-wrap svg { color: var(--text-light); flex-shrink: 0; }
.vt .contact-picker__input { flex: 1; min-width: 0; border: none; outline: none; padding: 12px 0; font-size: .95rem; font-family: var(--font-body); color: var(--text); background: transparent; }
.vt .contact-picker__dropdown { position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 20; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); max-height: 280px; overflow-y: auto; padding: .4rem; }
.vt .contact-picker__option { display: block; width: 100%; text-align: left; padding: .55rem .7rem; border-radius: var(--radius); font-size: .88rem; color: var(--text); }
.vt .contact-picker__option:hover { background: var(--bg-light); }
.vt .contact-picker__option-sub { color: var(--text-light); font-weight: 400; }
.vt .contact-picker__divider { height: 1px; background: var(--border-light); margin: .35rem .2rem; }
.vt .contact-picker__action { display: flex; align-items: center; gap: .5rem; width: 100%; text-align: left; padding: .55rem .7rem; border-radius: var(--radius); font-size: .86rem; color: var(--blue); font-style: italic; }
.vt .contact-picker__action:hover { background: var(--blue-light); }
.vt .contact-picker__action:disabled { opacity: .55; cursor: not-allowed; }
.vt .contact-picker--selected { display: flex; align-items: center; gap: .65rem; border: 1.5px solid var(--border); border-radius: 10px; padding: 10px .9rem; background: var(--bg-light); }
.vt .contact-picker--selected svg { color: var(--blue); flex-shrink: 0; }
.vt .contact-picker__label { flex: 1; min-width: 0; font-size: .92rem; font-weight: 700; color: var(--navy); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vt .contact-picker__clear { color: var(--text-light); flex-shrink: 0; }
.vt .contact-picker__clear:hover { color: var(--red); }
.vt .ma-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-card); box-shadow: var(--shadow-sm); padding: clamp(1.25rem, 2.2vw, 1.75rem); }
.vt .ma-card + .ma-card { margin-top: var(--sp-md); }
.vt .ma-card__title { font-family: var(--font-head); font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 1rem; display: flex; align-items: center; gap: .5rem; }
.vt .ma-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem 1.25rem; }
.vt .ma-field__label { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-light); margin-bottom: .15rem; }
.vt .ma-field__value { font-size: .98rem; color: var(--text); word-break: break-word; }
.vt .ma-field--wide { grid-column: 1 / -1; }
.vt .ma-stats { display: flex; gap: .75rem; margin-top: 1.1rem; flex-wrap: wrap; }
.vt .ma-stat { flex: 1; min-width: 110px; background: var(--bg-light); border: 1px solid var(--border-light); border-radius: var(--radius); padding: .8rem 1rem; text-align: center; }
.vt .ma-stat strong { display: block; font-family: var(--font-head); font-size: 1.35rem; font-weight: 800; color: var(--navy); }
.vt .ma-stat span { font-size: .78rem; color: var(--text-muted); }
.vt .ma-status { margin-top: .8rem; padding: .65rem .9rem; border-radius: var(--radius); font-size: .9rem; }
.vt .ma-status--ok { color: var(--green); background: var(--green-bg); border: 1px solid var(--green-border); }
.vt .ma-status--error { color: var(--red); background: var(--red-bg); border: 1px solid var(--red-border); }
.vt .ma-status--warn { color: var(--amber); background: var(--amber-bg); border: 1px solid var(--amber-border); }
.vt .ma-status--info { color: var(--info); background: var(--info-bg); border: 1px solid var(--info-border); }
.vt .ma-loading { color: var(--text-muted); font-size: .95rem; padding: 2rem 0; text-align: center; }
.vt .mb-note { font-size: .8rem; color: var(--text-light); margin-top: .6rem; }
.vt .ma-table-wrap { overflow-x: auto; }
.vt .ma-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.vt .ma-table th { text-align: left; font-family: var(--font-head); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-light); padding: .5rem .75rem; border-bottom: 2px solid var(--border); white-space: nowrap; }
.vt .ma-table td { padding: .7rem .75rem; border-bottom: 1px solid var(--border-light); color: var(--text); vertical-align: middle; }
.vt .ma-table tr:last-child td { border-bottom: none; }
.vt .mm-row { cursor: pointer; }
.vt .mm-row:hover td { background: var(--blue-light); }
.vt .mb-status { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; font-size: .74rem; font-weight: 700; font-family: var(--font-head); white-space: nowrap; }
.vt .mb-status--green { background: var(--green-bg); color: var(--green); border: 1px solid var(--green-border); }
.vt .mb-status--amber { background: var(--amber-bg); color: var(--amber); border: 1px solid var(--amber-border); }
.vt .mb-status--red { background: var(--red-bg); color: var(--red); border: 1px solid var(--red-border); }
.vt .mb-status--gray { background: var(--gray-bg); color: var(--gray); border: 1px solid var(--gray-border); }
.vt .mb-status--info { background: var(--info-bg); color: var(--info); border: 1px solid var(--info-border); }
.vt .mb-tabs { display: flex; gap: .4rem; margin-bottom: 1rem; flex-wrap: wrap; }
.vt .mb-tab {
  padding: .55rem 1.1rem; border-radius: var(--radius-lg); font-family: var(--font-head);
  font-size: .88rem; font-weight: 700; color: var(--text-muted); background: var(--white);
  border: 1px solid var(--border); transition: all var(--tr);
}
.vt .mb-tab:hover { border-color: var(--navy); color: var(--navy); }
.vt .mb-tab.is-active { background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%); border-color: var(--navy); color: var(--white); }
.vt .mb-empty { text-align: center; padding: clamp(2rem, 6vw, 3.5rem) 1.5rem; }
.vt .mb-empty__title { font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: 1rem; margin-bottom: .4rem; }
.vt .mb-empty__sub { color: var(--text-muted); font-size: .88rem; max-width: 420px; margin: 0 auto; }
.vt .toast-wrap { position: fixed; bottom: 20px; right: 20px; left: 20px; z-index: 999; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; pointer-events: none; }
.vt .toast { pointer-events: auto; display: flex; align-items: center; gap: 10px; background: var(--navy); color: #fff; padding: 12px 18px; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); font-size: .85rem; font-family: var(--font-head); font-weight: 600; animation: vtToastIn .25s ease-out; max-width: min(360px, 100%); }
.vt .toast--success { background: linear-gradient(135deg, var(--green) 0%, #1a7a3d 100%); }
.vt .toast--error { background: linear-gradient(135deg, #7f1d1d 0%, var(--red) 100%); }
@keyframes vtToastIn { from { transform: translateY(10px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.vt .modal-overlay { position: fixed; inset: 0; z-index: 1200; display: flex; align-items: center; justify-content: center; padding: 1rem; background: rgba(10,22,44,.55); overflow-y: auto; }
.vt .modal-dialog { position: relative; width: 100%; max-width: 600px; max-height: 90vh; overflow-y: auto; background: var(--white); border-radius: var(--radius-lg); box-shadow: 0 24px 64px rgba(10,22,44,.35); padding: clamp(1.25rem, 3vw, 2rem); }
.vt .modal-dialog--sm { max-width: 440px; }
.vt .modal-dialog--lg { max-width: 1000px; }
.vt .modal-close { position: absolute; top: .65rem; right: .75rem; border: 0; background: transparent; font-size: 1.6rem; line-height: 1; color: var(--text-light); cursor: pointer; transition: color var(--tr); }
.vt .modal-close:hover { color: var(--navy); }
.vt .modal-title { font-family: var(--font-head); font-size: 1.15rem; font-weight: 800; color: var(--navy); margin: 0 0 1.1rem; padding-right: 1.5rem; }
.vt .modal-footer { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin-top: 1.3rem; padding-top: 1.1rem; border-top: 1px solid var(--border-light); }
.vt .app-shell { min-height: 100vh; display: flex; align-items: stretch; }
.vt .mb-content { flex: 1; min-width: 0; padding: var(--sp-lg) var(--page-gutter) calc(var(--sp-lg) + 2rem); }
.vt .mb-topbar { display: none; }
.vt .mb-sidebar {
  flex: 0 0 264px; width: 264px; display: flex; flex-direction: column;
  background: var(--white); border-right: 1px solid var(--border-light);
  padding: 1rem .8rem; position: sticky; top: 0; align-self: flex-start;
  height: 100vh; overflow-y: auto;
}
.vt .mb-sidebar__mobile-head, .vt .mb-sidebar-backdrop { display: none; }
.vt .mb-sidebar__brand { display: flex; align-items: center; padding: .3rem .5rem 1.3rem; }
.vt .mb-sidebar__brand img { height: 30px; width: auto; }
.vt .mb-sidebar__user { display: flex; align-items: center; gap: .7rem; padding: .75rem .6rem; background: var(--bg-light); border-radius: var(--radius-lg); margin-bottom: 1.1rem; }
.vt .mb-sidebar__avatar { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%); display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 800; font-size: .78rem; color: #fff; flex-shrink: 0; }
.vt .mb-sidebar__name { font-family: var(--font-head); font-weight: 800; font-size: .92rem; color: var(--navy); line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vt .mb-sidebar__nr { font-size: .74rem; color: var(--text-light); margin-top: .1rem; }
.vt .mb-nav { display: flex; flex-direction: column; gap: .15rem; flex: 1; }
.vt .mb-nav__item {
  display: flex; align-items: center; gap: .7rem; width: 100%; min-height: 42px; text-align: left;
  background: transparent; border: 1px solid transparent; border-radius: var(--radius-lg);
  padding: .6rem .75rem; font-family: var(--font-head); font-size: .88rem; font-weight: 700;
  color: var(--text-muted); cursor: pointer; transition: background var(--tr), color var(--tr);
}
.vt .mb-nav__item svg { flex: 0 0 auto; opacity: .8; }
.vt .mb-nav__item:hover { background: var(--bg-light); color: var(--navy); }
.vt .mb-nav__item.is-active { background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%); color: var(--white); }
.vt .mb-nav__item.is-active svg { opacity: 1; }
.vt .mb-sidebar__footer { padding-top: .8rem; margin-top: .6rem; border-top: 1px solid var(--border-light); }
.vt .mb-nav__item--logout { color: #a03030; }
.vt .mb-nav__item--logout:hover { background: var(--red-bg); color: var(--red); }
.vt .mb-view__title { font-family: var(--font-head); font-size: clamp(1.25rem, 2.4vw, 1.6rem); font-weight: 800; color: var(--navy); margin-bottom: 1rem; }
.vt .mb-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 215px)); gap: clamp(.8rem, 1.5vw, 1.1rem); margin-bottom: clamp(1rem, 2vw, 1.5rem); }
.vt .mb-tile { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-card); box-shadow: var(--shadow-sm); padding: 1.1rem 1.25rem; }
.vt .mb-tile--accent { background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%); border-color: var(--navy); }
.vt .mb-tile--accent .mb-tile__label { color: rgba(255,255,255,.75); }
.vt .mb-tile--accent .mb-tile__value { color: var(--white); }
.vt .mb-tile__label { display: flex; align-items: center; gap: 5px; font-size: .7rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--text-light); margin-bottom: .3rem; }
.vt .mb-tile__value { font-family: var(--font-head); font-size: 1.5rem; font-weight: 800; color: var(--navy); line-height: 1.2; }
.vt .dashboard-grid { display: grid; grid-template-columns: minmax(320px, 440px) minmax(320px, 520px); justify-content: start; gap: 1.1rem; align-items: start; margin-bottom: clamp(1rem, 2vw, 1.5rem); }
.vt .dashboard-intro { margin: -.3rem 0 1.2rem; color: var(--text-muted); font-size: .95rem; max-width: 70ch; }
.vt .dashboard-intro strong { color: var(--navy); }
.vt .mini-cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .9rem; }
.vt .mini-cal__head button { width: 30px; height: 30px; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: var(--text-muted); }
.vt .mini-cal__head button:hover { background: var(--bg-light); color: var(--navy); }
.vt .mini-cal__title { font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: .92rem; text-transform: capitalize; }
.vt .mini-cal__weekdays { display: grid; grid-template-columns: repeat(7, 1fr); margin-bottom: .3rem; }
.vt .mini-cal__weekdays span { text-align: center; font-size: .64rem; font-weight: 700; color: var(--text-light); text-transform: uppercase; }
.vt .mini-cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.vt .mini-cal__cell { position: relative; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; }
.vt .mini-cal__cell--empty { visibility: hidden; }
.vt .mini-cal__daynum { width: 26px; height: 26px; display: flex; align-items: center; justify-content: center; border-radius: 50%; font-size: .8rem; color: var(--text); }
.vt .mini-cal__cell.is-today .mini-cal__daynum { background: var(--navy); color: #fff; font-weight: 700; }
.vt .mini-cal__badge { position: absolute; bottom: 0; right: 4px; min-width: 15px; height: 15px; padding: 0 3px; border-radius: 999px; background: var(--blue); color: #fff; font-size: .58rem; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.vt .kanban {
  display: grid; grid-auto-flow: column; grid-auto-columns: 260px; grid-template-rows: auto 1fr;
  column-gap: 14px; row-gap: 12px; overflow-x: auto; padding-bottom: 18px; align-items: start;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: auto; scrollbar-color: var(--text-light) var(--border-light); 
}
.vt .kanban::-webkit-scrollbar { height: 11px; }
.vt .kanban::-webkit-scrollbar-track { background: var(--border-light); border-radius: 999px; }
.vt .kanban::-webkit-scrollbar-thumb { background: var(--text-light); border-radius: 999px; border: 2px solid var(--border-light); background-clip: padding-box; }
.vt .kanban::-webkit-scrollbar-thumb:hover { background: var(--navy); }
.vt .kanban__col { grid-row: 1; padding: 4px 6px 10px; min-width: 0; border-bottom: 2px solid var(--border); }
.vt .kanban__col.is-dragover { border-bottom-color: var(--blue); }
.vt .kanban__col-head { display: flex; align-items: center; gap: 8px; }
.vt .kanban__col-dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.vt .kanban__col-title { font-family: var(--font-head); font-size: .8rem; font-weight: 800; letter-spacing: .02em; color: var(--navy); flex: 1; text-transform: uppercase; }
.vt .kanban__col-count { font-size: .72rem; color: var(--text-light); font-weight: 700; }
.vt .kanban__col-sum { font-size: .72rem; color: var(--text-muted); margin-top: 6px; }
.vt .kanban__col-cards { grid-row: 2; display: flex; flex-direction: column; gap: 8px; min-height: 80px; min-width: 0; border-radius: var(--radius-lg); transition: background var(--tr); }
.vt .kanban__col-cards.is-dragover { background: var(--blue-light); outline: 2px dashed var(--blue); outline-offset: -2px; }
.vt .kanban__card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 11px 13px; cursor: grab; transition: box-shadow var(--tr), border-color var(--tr); }
.vt .kanban__card:hover { border-color: var(--blue); box-shadow: var(--shadow-sm); }
.vt .kanban__card.is-dragging { opacity: .5; }
.vt .kanban__card-title { font-family: var(--font-head); font-size: .84rem; font-weight: 700; color: var(--navy); }
.vt .kanban__card-contact { font-size: .76rem; color: var(--text-muted); margin-top: 2px; }
.vt .kanban__card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.vt .kanban__card-value { font-family: var(--font-head); font-size: .78rem; font-weight: 800; color: var(--green); }
.vt .kanban__card-wv { display: inline-flex; align-items: center; gap: 4px; margin-top: 7px; padding: 2px 8px; border-radius: 999px; font-size: .68rem; font-weight: 700; font-family: var(--font-head); }
.vt .kanban__card-wv svg { flex: 0 0 auto; }
.vt .pipeline-filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; margin-bottom: 14px; padding: 12px 14px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.vt .pipeline-filters .form-group { gap: 4px; }
.vt .pipeline-filters .form-label { font-size: .72rem; }
.vt .pipeline-filters .form-input { padding: 8px 11px; font-size: .85rem; min-width: 130px; }
.vt .pipeline-filters__reset { margin-left: auto; }
.vt .deal-detail { display: grid; grid-template-columns: 1.5fr 1fr; gap: 1.75rem; align-items: start; }
.vt .deal-detail__title { font-family: var(--font-head); font-size: 1.3rem; font-weight: 800; color: var(--navy); margin-bottom: .15rem; }
.vt .deal-detail__sub { font-size: .88rem; color: var(--text-muted); margin-bottom: 1.1rem; }
.vt .deal-detail__metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 1.2rem; }
.vt .deal-detail__metric { background: var(--bg-light); border: 1.5px solid transparent; border-radius: var(--radius-lg); padding: 10px 12px; transition: background var(--tr), border-color var(--tr); }
.vt .deal-detail__metric.is-editable { background: var(--white); border-color: var(--border); }
.vt .deal-detail__metric.is-editable:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(21,101,192,.12); }
.vt .deal-detail__metric label { display: block; font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-light); margin-bottom: 4px; }
.vt .deal-detail__metric input, .vt .deal-detail__metric select { width: 100%; border: none; background: transparent; font-family: var(--font-head); font-size: .95rem; font-weight: 700; color: var(--navy); padding: 0; }
.vt .deal-detail__metric input:focus, .vt .deal-detail__metric select:focus { outline: none; }
.vt .deal-detail__refcard { background: var(--bg-light); border-radius: var(--radius-lg); padding: 12px 14px; margin-bottom: 1.1rem; }
.vt .deal-detail__refcard-title { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-light); margin-bottom: .6rem; }
.vt .timeline-form { display: flex; flex-direction: column; gap: 8px; margin-bottom: 1.1rem; }
.vt .timeline-form__row { display: flex; gap: 8px; }
.vt .timeline { display: flex; flex-direction: column; gap: 4px; max-height: 460px; overflow-y: auto; }
.vt .timeline__date { font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-light); margin: 14px 0 6px; }
.vt .timeline__date:first-child { margin-top: 0; }
.vt .timeline__item { display: flex; gap: 10px; padding: 7px 0; }
.vt .timeline__avatar { width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 800; font-size: .66rem; flex-shrink: 0; }
.vt .timeline__body { min-width: 0; flex: 1; }
.vt .timeline__head { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; font-size: .82rem; }
.vt .timeline__name { font-weight: 700; color: var(--navy); font-family: var(--font-head); }
.vt .timeline__time { color: var(--text-light); font-size: .72rem; }
.vt .timeline__label { font-size: .84rem; color: var(--text); margin-top: 1px; }
.vt .timeline__label strong { color: var(--navy); }
.vt .timeline__text { font-size: .84rem; color: var(--text-muted); margin-top: 2px; white-space: pre-line; }
.vt .mb-cardgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 330px)); gap: 12px; }
.vt .mit-item { display: block; width: 100%; text-align: left; font: inherit; cursor: pointer; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-card); padding: 1rem 1.15rem; transition: box-shadow var(--tr), transform var(--tr); }
.vt .mit-item:hover { box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.vt .mit-item__head { display: flex; align-items: center; gap: .55rem; flex-wrap: wrap; }
.vt .mit-item__titel { font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: .96rem; }
.vt .mit-item__text { font-size: .84rem; color: var(--text-muted); margin-top: .3rem; }
.vt .mit-item__foot { display: flex; align-items: center; justify-content: space-between; margin-top: .7rem; gap: 8px; flex-wrap: wrap; }
.vt .auth-page {
  min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 1.2rem;
  background: radial-gradient(120% 120% at 15% 10%, rgba(21,101,192,.08) 0%, transparent 55%), var(--bg-light);
}
.vt .auth-card {
  position: relative; width: min(100%, 460px); padding: clamp(1.4rem, 3vw, 2rem);
  border-radius: var(--radius-card); border: 1px solid rgba(255,255,255,.6);
  box-shadow: 0 30px 70px rgba(6,15,46,.16);
  background: radial-gradient(120% 120% at 100% 0%, rgba(233,244,255,.9) 0%, rgba(255,255,255,.99) 62%), var(--white);
  animation: vtAuthIn .3s cubic-bezier(.4,0,.2,1);
}
@keyframes vtAuthIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.vt .auth-card__logo { height: 36px; width: auto; margin: 0 auto 1.1rem; }
.vt .auth-card__eyebrow { margin: 0 0 .3rem; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); font-family: var(--font-head); font-weight: 700; }
.vt .auth-card__title { margin: 0; font-family: var(--font-head); font-size: clamp(1.25rem, 2.2vw, 1.5rem); line-height: 1.2; color: var(--navy); }
.vt .auth-card__sub { margin: .55rem 0 1.1rem; color: var(--text-light); font-size: .92rem; }
.vt .auth-form { display: grid; gap: .6rem; }
.vt .auth-form__label { font-family: var(--font-head); font-weight: 700; font-size: .84rem; color: var(--text); }
.vt .auth-form__input { width: 100%; height: 46px; border-radius: 12px; border: 1px solid var(--border); background: var(--white); padding: 0 .9rem; font-size: .95rem; color: var(--text); transition: border-color var(--tr), box-shadow var(--tr); }
.vt .auth-form__input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(31,113,205,.15); outline: none; }
.vt .auth-form__submit {
  margin-top: .5rem; border: none; border-radius: 12px; height: 47px;
  background: linear-gradient(135deg, var(--blue) 0%, #0f4ea7 100%); color: var(--white);
  font-family: var(--font-head); font-size: .95rem; font-weight: 700; letter-spacing: .01em;
  box-shadow: 0 12px 24px rgba(13,67,139,.22); transition: transform var(--tr), box-shadow var(--tr);
}
.vt .auth-form__submit:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 16px 30px rgba(13,67,139,.28); }
.vt .auth-form__submit:disabled { opacity: .6; cursor: not-allowed; }
.vt .auth-form__status { margin: .35rem 0 0; padding: .65rem .75rem; border-radius: 10px; font-size: .84rem; }
.vt .auth-card__foot { text-align: center; margin-top: 1rem; }
.vt .auth-card__link { font-size: .84rem; color: var(--blue); text-decoration: underline; cursor: pointer; background: none; border: none; font-family: inherit; }
.vt .auth-boot { width: 100%; min-height: 100vh; display: flex; align-items: center; justify-content: center; color: var(--text-light); font-family: var(--font-head); font-size: .9rem; font-weight: 600; background: var(--bg-light); }
.vt .standalone-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 1.2rem; background: radial-gradient(120% 120% at 15% 10%, rgba(21,101,192,.08) 0%, transparent 55%), var(--bg-light); }
.vt .standalone-card { width: 100%; max-width: 480px; background: var(--white); border-radius: var(--radius-card); box-shadow: 0 30px 70px rgba(6,15,46,.16); padding: clamp(1.5rem, 3vw, 2.1rem); }
.vt .standalone-card__logo { height: 34px; width: auto; margin-bottom: 1.1rem; }
.vt .standalone-card__title { font-family: var(--font-head); font-size: 1.25rem; font-weight: 800; color: var(--navy); margin-bottom: .4rem; }
.vt .standalone-card__sub { color: var(--text-muted); font-size: .9rem; margin-bottom: 1.1rem; }
.vt .ps-form-group { margin-bottom: 1rem; }
.vt .ps-rules { margin: .25rem 0 1.25rem; padding: 1rem; border: 1px solid var(--border-light); border-radius: var(--radius-lg); background: var(--bg-light); }
.vt .ps-rules__title { margin-bottom: .65rem; font-family: var(--font-head); font-size: .84rem; font-weight: 700; color: var(--navy); }
.vt .ps-rules__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .45rem 1rem; }
.vt .ps-rule { display: flex; align-items: flex-start; gap: .5rem; min-width: 0; color: var(--red); font-size: .84rem; line-height: 1.4; }
.vt .ps-rule__icon { display: inline-grid; place-items: center; flex: 0 0 1.15rem; width: 1.15rem; height: 1.15rem; margin-top: .02rem; border-radius: 50%; background: var(--red-bg); color: var(--red); font-family: var(--font-head); font-size: .72rem; font-weight: 800; line-height: 1; }
.vt .ps-rule.is-valid { color: var(--green); }
.vt .ps-rule.is-valid .ps-rule__icon { background: var(--green-bg); color: var(--green); }
.vt .ps-rule__state { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 900px) {
.vt.mb-menu-open { overflow: hidden; }
.vt .app-shell { display: block; }
.vt .mb-topbar {
    display: flex; align-items: center; justify-content: space-between; height: var(--nav-h);
    padding: 0 var(--page-gutter); background: var(--white); border-bottom: 1px solid var(--border-light);
    position: sticky; top: 0; z-index: 60;
  }
.vt .mb-topbar img { height: 26px; width: auto; }
.vt .mb-topbar__burger { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: var(--radius); color: var(--navy); }
.vt .mb-topbar__burger:hover { background: var(--bg-light); }
.vt .mb-sidebar {
    position: fixed; top: 0; left: 0; z-index: 1500; width: min(300px, 82vw); height: 100dvh;
    border-right: 0; box-shadow: none; transform: translateX(-100%);
    transition: transform 220ms cubic-bezier(.16,1,.3,1);
  }
.vt .mb-sidebar.is-open { transform: translateX(0); box-shadow: 16px 0 44px rgba(10,22,44,.25); }
.vt .mb-sidebar__mobile-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .9rem; padding: 0 .2rem; }
.vt .mb-sidebar__mobile-head strong { font-family: var(--font-head); color: var(--navy); }
.vt .mb-sidebar__close { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 9px; color: var(--navy); background: var(--bg-light); }
.vt .mb-sidebar-backdrop { display: block; position: fixed; inset: 0; z-index: 1490; background: rgba(10,22,44,.55); }
.vt body[data-page] .form-input, .vt body[data-page] .btn { min-height: 44px; touch-action: manipulation; }
}
@media (max-width: 640px) {
.vt .mb-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.vt .dashboard-grid { grid-template-columns: 1fr; }
.vt .form-row, .vt .form-row--3 { grid-template-columns: 1fr; }
.vt .ma-fields { grid-template-columns: 1fr; }
.vt .ma-stats { flex-direction: column; }
.vt .ma-card { padding: 1.1rem; border-radius: var(--radius-lg); }
.vt .mb-view__title { font-size: 1.3rem; }
.vt .ps-rules__list { grid-template-columns: 1fr; }
.vt .modal-footer { flex-direction: column-reverse; align-items: stretch; }
.vt .modal-footer .btn { width: 100%; }
.vt .deal-detail { grid-template-columns: 1fr; }
.vt .deal-detail__metrics { grid-template-columns: 1fr 1fr; }
.vt .pipeline-filters { flex-direction: column; align-items: stretch; }
.vt .pipeline-filters__reset { margin-left: 0; }
}
@media (max-width: 420px) {
.vt .mb-tiles { grid-template-columns: 1fr; }
}
