.mcHpSection{
  position:relative;
  overflow:hidden;
}

.mcHpSectionBadge{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:8px 20px;
  border-radius:8px;
  border:1px solid rgba(200,169,106,.40);
  background:linear-gradient(135deg,rgba(200,169,106,.10) 0%,rgba(15,35,70,.06) 100%);
  color:#15223b;
  font-size:14px;
  font-weight:800;
  letter-spacing:.10em;
  box-shadow:0 2px 12px rgba(200,169,106,.15);
}

.mcHpSectionBadgeDot{
  width:8px;
  height:8px;
  border-radius:50%;
  background:#22c55e;
  flex:0 0 8px;
  animation:mcHpBadgePulse 2s ease-in-out infinite;
}

@keyframes mcHpBadgePulse{
  0%,100%{box-shadow:0 0 0 0 rgba(34,197,94,.55);}
  50%{box-shadow:0 0 0 6px rgba(34,197,94,0);}
}

.mcHpSectionHeadline{
  font-size:42px !important;
  font-weight:900;
  color:#15223b;
  line-height:1.15;
  margin-bottom:16px;
  letter-spacing:-.02em;
}

.mcHpSectionSub{
  font-size:16px;
  color:rgba(21,34,59,.65);
  line-height:1.65;
  margin-bottom:22px;
}

.mcHpMainRow{
  border-radius:8px;
  overflow:hidden;
  max-width:100%;
  box-sizing:border-box;
  box-shadow:none;
  border:1px solid rgba(15,35,70,.08);
}

.mcHpChatbox{
  flex:1;
  display:flex;
  flex-direction:column;
  background:#ffffff;
  position:relative;
  overflow:hidden;
  height:100%;
  min-height:clamp(520px,66dvh,860px);
  max-height:clamp(520px,66dvh,860px);
  width:100%;
  max-width:100%;
  min-width:0;
  box-sizing:border-box;
  --mcHpImpulseTop:96px;
  --mcHpImpulseBottom:108px;
  --mcHpImpulseLeft:20px;
  --mcHpImpulseRight:12px;
}

.mcHpChatHeader{
  display:flex;
  align-items:center;
  padding:16px 18px;
  border-bottom:1px solid rgba(15,35,70,.09);
  background:linear-gradient(180deg,#ffffff 0%,#f9fafb 100%);
  flex:0 0 auto;
  position:relative;
  z-index:4;
}

.mcHpChatAvatar{
  width:44px;
  height:44px;
  border-radius:8px;
  object-fit:cover;
  border:1px solid rgba(15,35,70,.10);
  box-shadow:0 4px 14px rgba(10,20,40,.10);
  flex:0 0 44px;
  margin-right:8px;
}

.mcHpChatHeaderMeta{
  display:flex;
  flex-direction:column;
  gap:2px;
  flex:1;
  min-width:0;
}

.mcHpChatName{
  font-size:15px !important;
  font-weight:900;
  color:#15223b;
  line-height:1.2;
}

.mcHpChatRole{
  font-size:11px !important;
  color:rgba(21,34,59,.50);
  font-weight:600;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.mcHpStatusPill{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:5px 12px;
  border-radius:8px;
  border:1px solid rgba(15,35,70,.10);
  background:#f4f6fa;
  flex:0 0 auto;
}

.mcHpDot{
  display:inline-block;
  width:8px;
  height:8px;
  border-radius:50%;
  flex:0 0 8px;
  transition:background .3s ease;
}

.mcHpDot--connected{
  background:#22c55e;
  animation:mcHpDotPulse 2s ease-in-out infinite;
}

.mcHpDot--connecting{
  background:#f59e0b;
  animation:mcHpDotBlink 1s ease-in-out infinite;
}

.mcHpDot--disconnected{
  background:#ef4444;
}

.mcHpDot--streaming{
  background:#3b82f6;
  animation:mcHpDotPulse .8s ease-in-out infinite;
}

@keyframes mcHpDotPulse{
  0%{box-shadow:0 0 0 0 rgba(34,197,94,.45);}
  70%{box-shadow:0 0 0 7px rgba(34,197,94,.00);}
  100%{box-shadow:0 0 0 0 rgba(34,197,94,.00);}
}

@keyframes mcHpDotBlink{
  0%,100%{opacity:1;}
  50%{opacity:.35;}
}

@keyframes mcHpToggleRedBlink{
  0%,100%{background:#ef4444 !important;border-color:rgba(239,68,68,.50) !important;}
  50%{background:#dc2626 !important;border-color:rgba(220,38,38,.75) !important;}
}

.mcHpStatusTxt{
  font-size:11px !important;
  font-weight:700;
  color:rgba(21,34,59,.60);
  white-space:nowrap;
}

.mcHpMessages{
  position:relative;
  z-index:2;
  flex:1 1 auto;
  min-height:180px;
  max-height:100%;
  height:100%;
  overflow-y:auto;
  overflow-x:hidden;
  padding:16px 12px 16px 20px;
  display:flex;
  flex-direction:column;
  gap:16px;
  scroll-behavior:smooth;
  scrollbar-width:thin;
  scrollbar-color:rgba(200,169,106,.50) rgba(15,35,70,.05);
  isolation:isolate;
  -webkit-overflow-scrolling:touch;
  overscroll-behavior-y:contain;
  background:transparent;
}

.mcHpMessages.is-streaming{
  max-height:100%;
  height:100%;
}

.mcHpMessages > *{
  position:relative;
  z-index:2;
}

.mcHpMessages::-webkit-scrollbar{width:6px;}
.mcHpMessages::-webkit-scrollbar-track{background:rgba(15,35,70,.05);border-radius:6px;}
.mcHpMessages::-webkit-scrollbar-thumb{background:rgba(200,169,106,.50);border-radius:6px;min-height:36px;}
.mcHpMessages::-webkit-scrollbar-thumb:hover{background:rgba(200,169,106,.75);}

.mcHpEmptyImpulse{
  position:absolute;
  top:var(--mcHpImpulseTop);
  bottom:var(--mcHpImpulseBottom);
  left:var(--mcHpImpulseLeft);
  right:var(--mcHpImpulseRight);
  display:flex;
  align-items:center;
  justify-content:center;
  pointer-events:none;
  z-index:1;
  opacity:1;
  visibility:visible;
  transition:opacity .22s ease, visibility .22s ease;
}

.mcHpEmptyImpulse.is-hidden{
  opacity:0;
  visibility:hidden;
}

.mcHpEmptyImpulseText{
  display:inline-block;
  max-width:100%;
  margin:0;
  text-align:center;
  white-space:nowrap;
  user-select:none;
  font-size:clamp(38px,5.6vw,86px);
  font-weight:900;
  letter-spacing:.14em;
  line-height:1.02;
  background-image:linear-gradient(
    90deg,
    rgba(21,34,59,.10) 0%,
    rgba(21,34,59,.18) 16%,
    rgba(21,34,59,.42) 50%,
    rgba(21,34,59,.18) 84%,
    rgba(21,34,59,.10) 100%
  );
  background-size:240% 100%;
  background-position:0% 50%;
  background-repeat:no-repeat;
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color:transparent;
  color:transparent;
  animation:mcHpEmptyImpulseSweep 5.6s linear infinite;
}

@keyframes mcHpEmptyImpulseSweep{
  0%{background-position:0% 50%;}
  49.999%{background-position:100% 50%;}
  50%{background-position:100% 50%;}
  100%{background-position:0% 50%;}
}

.mcHpMsg{
  display:flex;
  flex-direction:column;
  gap:5px;
  animation:mcHpMsgIn .25s ease-out both;
}

@keyframes mcHpMsgIn{
  from{opacity:0;transform:translateY(8px);}
  to{opacity:1;transform:translateY(0);}
}

.mcHpMsg--bot{align-items:flex-start;}
.mcHpMsg--user{align-items:flex-end;}

.mcHpMsgLabel{
  display:flex;
  align-items:center;
  gap:7px;
  padding:0 2px;
}

.mcHpMsgLabel img{
  width:26px;
  height:26px;
  border-radius:6px;
  object-fit:cover;
  border:1px solid rgba(15,35,70,.10);
  flex:0 0 26px;
}

.mcHpMsgLabel span{
  font-size:11px !important;
  font-weight:700;
  color:rgba(21,34,59,.45);
}

.mcHpMsgBody{
  padding:11px 15px;
  border-radius:8px;
  font-size:14px !important;
  line-height:1.6;
  word-break:break-word;
  overflow:hidden;
  scrollbar-width:none;
}

.mcHpMsgBody::-webkit-scrollbar{display:none;}

.mcHpMsg--bot .mcHpMsgBody{
  color:#15223b;
  border-top-left-radius:3px;
}

.mcHpMsg--user .mcHpMsgBody{
  background:linear-gradient(160deg,#1d3a6e 0%,#15223b 100%);
  color:#ffffff;
  border-top-right-radius:3px;
  box-shadow:0 4px 16px rgba(15,34,70,.20);
}

.mcHpTyping{
  display:inline-flex;
  align-items:center;
  gap:5px;
  padding:4px 2px;
}

.mcHpTyping span{
  width:7px;
  height:7px;
  border-radius:50%;
  background:rgba(21,34,59,.28);
  animation:mcHpBounce 1.2s ease-in-out infinite;
}

.mcHpTyping span:nth-child(1){animation-delay:0ms;}
.mcHpTyping span:nth-child(2){animation-delay:160ms;}
.mcHpTyping span:nth-child(3){animation-delay:320ms;}

@keyframes mcHpBounce{
  0%,80%,100%{transform:translateY(0);opacity:.4;}
  40%{transform:translateY(-6px);opacity:1;}
}

.mcHpChips{
  position:relative;
  z-index:3;
  display:flex;
  flex-wrap:wrap;
  align-content:flex-start;
  gap:8px;
  padding:10px 16px;
  border-top:1px solid rgba(15,35,70,.07);
  background:#f9fafd;
  flex:0 0 auto;
  max-height:94px;
  overflow-y:auto;
  scrollbar-width:none;
}

.mcHpChips::-webkit-scrollbar{display:none;}

.mcHpChip{
  appearance:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  border:1px solid rgba(15,35,70,.13);
  background:#ffffff;
  border-radius:8px;
  padding:7px 14px;
  font-size:12px !important;
  font-weight:600;
  color:#15223b;
  cursor:pointer;
  line-height:1;
  white-space:nowrap;
  box-shadow:0 2px 8px rgba(10,20,40,.06);
  transition:border-color .15s, background .15s, box-shadow .15s, transform .10s, color .15s;
}

.mcHpChip:hover:not(:disabled){
  border-color:rgba(200,169,106,.60);
  background:rgba(200,169,106,.07);
  color:#7a5c10;
  box-shadow:0 4px 14px rgba(200,169,106,.18);
  transform:translateY(-1px);
}

.mcHpChip:active{transform:translateY(0);box-shadow:none;}
.mcHpChip:disabled{opacity:.42;pointer-events:none;}

.mcHpConsentBar{
  position:relative;
  z-index:3;
  display:flex;
  align-items:center;
  padding:8px 16px;
  border-top:1px solid rgba(15,35,70,.07);
  background:#f9fafd;
  flex:0 0 auto;
}

.mcHpToggleWrap{
  display:flex;
  align-items:center;
  gap:10px;
  cursor:pointer;
  margin:0;
  user-select:none;
  width:100%;
  min-width:0;
}

.mcHpToggleTrack{
  position:relative;
  flex:0 0 40px;
  width:40px;
  height:22px;
}

.mcHpToggleInput{
  position:absolute;
  opacity:0;
  width:0;
  height:0;
  pointer-events:none;
}

.mcHpToggleThumb{
  position:absolute;
  inset:0;
  border-radius:999px;
  background:rgba(15,35,70,.18);
  cursor:pointer;
  transition:background .22s ease;
}

.mcHpToggleThumb::after{
  content:"";
  position:absolute;
  top:2px;
  left:2px;
  width:18px;
  height:18px;
  border-radius:50%;
  background:#ffffff;
  box-shadow:0 2px 6px rgba(0,0,0,.20);
  transition:transform .22s cubic-bezier(.34,1.56,.64,1);
}

.mcHpToggleInput:checked ~ .mcHpToggleThumb{
  background:#22c55e;
}

.mcHpToggleInput:checked ~ .mcHpToggleThumb::after{
  transform:translateX(18px);
}

.mcHpToggleInput:focus-visible ~ .mcHpToggleThumb{
  box-shadow:0 0 0 3px rgba(34,197,94,.30);
}

@keyframes mcHpConsentNeedBlink{
  0%,8%,25%,41%,58%,75%,100%{
    background:rgba(15,35,70,.18);
    box-shadow:none;
  }
  16%,33%,50%{
    background:rgba(239,68,68,.38);
    box-shadow:0 0 0 4px rgba(239,68,68,.18);
  }
}

@keyframes mcHpConsentNeedBlinkDashboard{
  0%,8%,25%,41%,58%,75%,100%{
    background:#94a3b8;
    border-color:rgba(21,34,59,.20);
    box-shadow:
      inset 0 0 0 1px rgba(255,255,255,.18),
      0 2px 5px rgba(0,0,0,.10);
  }
  16%,33%,50%{
    background:#ef4444;
    border-color:rgba(239,68,68,.55);
    box-shadow:
      0 0 0 4px rgba(239,68,68,.18),
      inset 0 0 0 1px rgba(255,255,255,.12),
      0 2px 5px rgba(0,0,0,.10);
  }
}

.mcHpToggleWrap.mcHpToggleWrap--needConsent .mcHpToggleThumb{
  animation:mcHpConsentNeedBlink .96s ease-in-out 1;
}

#mc-hp-consent .mcHpToggleWrap.mcHpToggleWrap--needConsent::before,
#dashboard-start #mc-hp-consent .mcHpToggleWrap.mcHpToggleWrap--needConsent::before{
  animation:mcHpConsentNeedBlinkDashboard .96s ease-in-out 1 !important;
}

.mcHpConsentLabel{
  font-size:12px !important;
  color:rgba(21,34,59,.60);
  line-height:1.35;
  flex:1 1 auto;
  min-width:0;
  white-space:normal;
  overflow-wrap:anywhere;
  word-break:break-word;
}

.mcHpConsentLink{
  color:#2563eb;
  text-decoration:underline;
  text-underline-offset:2px;
  overflow-wrap:anywhere;
  word-break:break-word;
}

.mcHpInputArea{
  position:relative;
  z-index:3;
  display:flex;
  align-items:flex-end;
  gap:10px;
  padding:10px 12px;
  border-top:1px solid rgba(15,35,70,.09);
  background:#ffffff;
  flex:0 0 auto;
}

.mcHpInput{
  flex:1 1 auto;
  min-width:0;
  border:1px solid rgba(15,35,70,.14);
  border-radius:8px;
  padding:10px 14px;
  font-size:14px !important;
  line-height:1.5;
  resize:none;
  outline:none;
  background:#f8fafc;
  color:#15223b;
  max-height:120px;
  overflow-y:auto;
  font-family:inherit;
  transition:border-color .15s, box-shadow .15s, background .15s;
}

.mcHpInput::placeholder{color:rgba(21,34,59,.35);}

.mcHpInput:focus{
  border-color:rgba(200,169,106,.65);
  box-shadow:0 0 0 3px rgba(200,169,106,.14);
  background:#ffffff;
}

.mcHpInput:disabled{
  opacity:.50;
  cursor:not-allowed;
  background:#f1f4f8;
}

.mcHpSendBtn{
  appearance:none;
  border:none;
  width:42px;
  height:42px;
  min-width:42px;
  flex:0 0 42px;
  border-radius:8px;
  background:linear-gradient(160deg,#1d3a6e 0%,#15223b 100%);
  color:#ffffff;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 6px 18px rgba(15,34,70,.22);
  transition:transform .12s ease, box-shadow .12s ease, filter .12s ease, opacity .12s ease;
}

.mcHpSendBtn:hover:not(:disabled){
  transform:translateY(-1px) scale(1.04);
  box-shadow:0 10px 26px rgba(15,34,70,.30);
  filter:brightness(1.10);
}

.mcHpSendBtn:active:not(:disabled){
  transform:translateY(0) scale(.98);
  box-shadow:0 3px 10px rgba(15,34,70,.18);
}

.mcHpSendBtn:disabled{
  opacity:.35;
  cursor:not-allowed;
  transform:none;
  box-shadow:none;
}

.mcHpConsentLabel .mcHpConsentLink,
.mcHpConsentLabel a{
  display:inline;
  white-space:normal !important;
  overflow-wrap:anywhere;
  word-break:break-word;
  line-break:anywhere;
  text-decoration:underline;
  text-underline-offset:2px;
}

.mcHpConsentLabel .mcHpConsentLink:hover,
.mcHpConsentLabel .mcHpConsentLink:focus,
.mcHpConsentLabel a:hover,
.mcHpConsentLabel a:focus{
  text-decoration:underline;
}

.mcHpFullscreenBtn{
  appearance:none;
  border:1px solid rgba(15,35,70,.12);
  background:#f4f6fa;
  border-radius:8px;
  width:34px;
  height:34px;
  min-width:34px;
  flex:0 0 34px;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  color:rgba(21,34,59,.55);
  margin-left:8px;
  transition:background .15s, color .15s, border-color .15s;
}

.mcHpFullscreenBtn:hover{
  background:rgba(200,169,106,.10);
  border-color:rgba(200,169,106,.45);
  color:#7a5c10;
}

.mcHpChatbox--fullscreen{
  position:fixed !important;
  inset:0 !important;
  z-index:99999 !important;
  border-radius:0 !important;
  width:100vw !important;
  height:100vh !important;
  height:100dvh !important;
  max-width:none !important;
  min-height:none !important;
  display:flex;
  flex-direction:column;
  overflow:hidden;
}

.mcHpChatbox--fullscreen .mcHpMessages{
  flex:1 1 auto !important;
  height:auto !important;
  min-height:0 !important;
}

body.mcHpNoScroll{
  overflow:hidden;
}

@media (max-width:991px){
  .mcHpSection{padding:32px 0 36px;}
  .mcHpSectionHeadline{font-size:30px !important;}
  .mcHpSectionSub{margin-bottom:24px;}
  .mcHpMainRow{border-radius:8px;}
  .mcHpChatbox{min-height:clamp(420px,60dvh,680px);}
  .mcHpMessages{min-height:170px;}
  .mcHpSectionBadge{
    display:flex;
    width:fit-content;
    max-width:100%;
    margin-left:auto;
    margin-right:auto;
    text-align:center;
    justify-content:center;
    align-items:center;
  }
}

@media (max-width:768px){
  .mcHpToggleWrap{gap:8px;}

  .mcHpConsentLabel{
    font-size:11px !important;
    line-height:1.35;
  }

  #dashboard-start #mc-hp-consent .mcHpToggleWrap{
    gap:8px !important;
    padding-left:50px !important;
  }

  #dashboard-start #mc-hp-consent .mcHpToggleWrap::before{
    width:40px !important;
    height:22px !important;
  }

  #dashboard-start #mc-hp-consent .mcHpToggleWrap::after{
    width:16px !important;
    height:16px !important;
  }

  #dashboard-start #mc-hp-consent .mcHpToggleWrap:has(.mcHpToggleInput:checked)::after{
    transform:translate(18px,-50%) !important;
  }

  #dashboard-start #mc-hp-consent .mcHpToggleTrack{
    width:40px !important;
    min-width:40px !important;
    height:22px !important;
  }

  #dashboard-start #mc-hp-consent .mcHpConsentLabel{
    min-height:22px !important;
  }
}

@media (max-width:575px){
  .mcHpSection{padding:20px 0 22px;}
  .mcHpSectionHeadline{font-size:22px !important;}
  .mcHpSectionSub{
    font-size:13px;
    margin-bottom:16px;
  }

  .mcHpChatbox{
    min-height:clamp(340px,66dvh,560px);
    --mcHpImpulseLeft:12px;
    --mcHpImpulseRight:8px;
  }

  .mcHpMessages{
    min-height:150px;
    padding:12px 8px 10px 12px;
    gap:12px;
  }

  .mcHpEmptyImpulseText{
    font-size:clamp(18px,6.6vw,26px);
    letter-spacing:.06em;
    line-height:1.06;
  }

  .mcHpChips{
    padding:9px 10px 10px;
    max-height:84px;
  }
}

@media (prefers-reduced-motion:reduce){
  .mcHpSectionBadgeDot,
  .mcHpDot--connected,
  .mcHpDot--connecting,
  .mcHpDot--streaming,
  .mcHpEmptyImpulseText,
  .mcHpMsg,
  .mcHpTyping span{
    animation:none !important;
    transition:none !important;
  }
}

#mc-hp-fullscreen-btn{
  display:none !important;
}

#dashboard-start{
  margin-top:0 !important;
  padding-top:0 !important;
}

#dashboard-start > #welcome-title,
#dashboard-start h4#welcome-title{
  margin:0 0 4px !important;
  padding:0 !important;
  line-height:1.1 !important;
}

#dashboard-start .mcHpSection{
  padding:0 10px 0 !important;
  margin:0 !important;
  background:transparent !important;
  box-sizing:border-box !important;
}

#dashboard-start .mcHpMainRow{
  margin:0 !important;
  justify-content:flex-start !important;
  max-width:100% !important;
  overflow:visible !important;
  box-sizing:border-box !important;
}

#dashboard-start .mcHpMainRow > .col-12{
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  padding-left:0 !important;
  padding-right:0 !important;
  box-sizing:border-box !important;
  display:flex !important;
  justify-content:flex-start !important;
  align-items:stretch !important;
}

#dashboard-start .mcHpChatbox{
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  height:100% !important;
  max-height:clamp(400px,58dvh,700px) !important;
  min-height:clamp(400px,58dvh,700px) !important;
  margin:0 !important;
  display:flex !important;
  flex-direction:column !important;
  box-sizing:border-box !important;
  --mcHpImpulseTop:74px;
  --mcHpImpulseBottom:88px;
  --mcHpImpulseLeft:14px;
  --mcHpImpulseRight:10px;
}

#dashboard-start .mcHpChatHeader{
  padding:12px clamp(10px,1vw,14px) !important;
  box-sizing:border-box !important;
}

#dashboard-start .mcHpMessages{
  flex:1 1 auto !important;
  height:100% !important;
  max-height:100% !important;
  min-height:150px !important;
  min-width:0 !important;
  padding:12px clamp(10px,1vw,14px) !important;
  box-sizing:border-box !important;
}

#dashboard-start .mcHpMessages.is-streaming{
  height:100% !important;
  max-height:100% !important;
}

#dashboard-start .mcHpChips{
  justify-content:flex-start !important;
  min-width:0 !important;
  padding:8px clamp(10px,1vw,14px) !important;
  max-height:84px !important;
  box-sizing:border-box !important;
}

#dashboard-start .mcHpConsentBar{
  min-width:0 !important;
  padding:8px clamp(10px,1vw,14px) !important;
  box-sizing:border-box !important;
}

#dashboard-start .mcHpInputArea{
  min-width:0 !important;
  padding:10px clamp(10px,1vw,14px) !important;
  box-sizing:border-box !important;
}

#dashboard-start .mcHpInput{
  min-height:42px !important;
}

#dashboard-start .mcHpSendBtn{
  width:40px !important;
  height:40px !important;
  min-width:40px !important;
  flex:0 0 40px !important;
}

#dashboard-start .mcHpSectionBadge,
#dashboard-start .mcHpSectionHeadline,
#dashboard-start .mcHpSectionSub,
#dashboard-start .mcHpChatHeader,
#dashboard-start .mcHpConsentLabel,
#dashboard-start .mcHpMessages,
#dashboard-start .mcHpChips{
  text-align:left !important;
}

#dashboard-start #mc-hp-consent .mcHpToggleWrap{
  position:relative !important;
  display:flex !important;
  align-items:center !important;
  gap:10px !important;
  width:100% !important;
  min-height:24px !important;
  padding-left:54px !important;
  margin:0 !important;
  cursor:pointer !important;
}

#dashboard-start #mc-hp-consent .mcHpToggleWrap::before{
  content:"" !important;
  position:absolute !important;
  left:0 !important;
  top:50% !important;
  width:44px !important;
  height:24px !important;
  transform:translateY(-50%) !important;
  border-radius:999px !important;
  background:#94a3b8 !important;
  border:1px solid rgba(21,34,59,.20) !important;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.18),
    0 2px 5px rgba(0,0,0,.10) !important;
  transition:background .22s ease,border-color .22s ease,box-shadow .22s ease !important;
}

#dashboard-start #mc-hp-consent .mcHpToggleWrap::after{
  content:"" !important;
  position:absolute !important;
  left:3px !important;
  top:50% !important;
  width:18px !important;
  height:18px !important;
  transform:translateY(-50%) !important;
  border-radius:50% !important;
  background:#ffffff !important;
  border:1px solid rgba(15,35,70,.12) !important;
  box-shadow:0 2px 5px rgba(0,0,0,.16) !important;
  transition:transform .22s cubic-bezier(.34,1.56,.64,1) !important;
}

#dashboard-start #mc-hp-consent .mcHpToggleWrap:has(.mcHpToggleInput:checked)::before{
  background:#22c55e !important;
  border-color:rgba(34,197,94,.50) !important;
}

#dashboard-start #mc-hp-consent .mcHpToggleWrap:has(.mcHpToggleInput:checked)::after{
  transform:translate(20px,-50%) !important;
}

#dashboard-start #mc-hp-consent .mcHpToggleWrap.mcHpToggleWrap--needConsent::before{
  animation:mcHpConsentNeedBlinkDashboard .96s ease-in-out 1 !important;
}

#dashboard-start #mc-hp-consent .mcHpToggleWrap:has(.mcHpToggleInput:focus-visible)::before{
  box-shadow:
    0 0 0 3px rgba(34,197,94,.18),
    inset 0 0 0 1px rgba(255,255,255,.18),
    0 2px 5px rgba(0,0,0,.10) !important;
}

#dashboard-start #mc-hp-consent .mcHpToggleTrack{
  position:absolute !important;
  left:0 !important;
  top:50% !important;
  width:44px !important;
  min-width:44px !important;
  height:24px !important;
  transform:translateY(-50%) !important;
  margin:0 !important;
  padding:0 !important;
  background:transparent !important;
  border:none !important;
  box-shadow:none !important;
  overflow:visible !important;
}

#dashboard-start #mc-hp-consent .mcHpToggleInput{
  position:absolute !important;
  inset:0 !important;
  width:100% !important;
  height:100% !important;
  margin:0 !important;
  opacity:0 !important;
  cursor:pointer !important;
  z-index:4 !important;
  pointer-events:auto !important;
}

#dashboard-start #mc-hp-consent .mcHpToggleThumb{
  display:none !important;
}

#dashboard-start #mc-hp-consent .mcHpConsentLabel{
  display:block !important;
  align-self:center !important;
  flex:1 1 auto !important;
  min-width:0 !important;
  max-width:100% !important;
  min-height:0 !important;
  height:auto !important;
  text-align:left !important;
  line-height:1.35 !important;
  margin:0 !important;
  padding:0 !important;
  white-space:normal !important;
  overflow-wrap:break-word !important;
  word-break:normal !important;
  hyphens:auto !important;
}

@media (max-width:991px){
  #dashboard-start .mcHpChatbox{
    height:auto !important;
    max-height:clamp(360px,60dvh,560px) !important;
    min-height:clamp(360px,60dvh,560px) !important;
  }

  #dashboard-start .mcHpMessages{
    height:auto !important;
    min-height:140px !important;
  }
}

@media (max-width:575px){
  #dashboard-start .mcHpSection{
    padding:0 8px 0 !important;
  }

  #dashboard-start .mcHpChatHeader,
  #dashboard-start .mcHpMessages,
  #dashboard-start .mcHpChips,
  #dashboard-start .mcHpConsentBar,
  #dashboard-start .mcHpInputArea{
    padding-left:8px !important;
    padding-right:8px !important;
  }

  #dashboard-start .mcHpChatbox{
    --mcHpImpulseLeft:10px;
    --mcHpImpulseRight:8px;
  }
}

@media (min-width:1440px){
  .mcHpChatbox{
    min-height:clamp(580px,70dvh,940px);
  }

  .mcHpMessages{
    min-height:220px;
  }

  #dashboard-start .mcHpChatbox{
    min-height:clamp(460px,62dvh,800px) !important;
  }

  #dashboard-start .mcHpMessages{
    min-height:180px !important;
  }
}

@media (min-width:1680px){
  .mcHpChatbox{
    min-height:clamp(640px,74dvh,1020px);
  }

  .mcHpMessages{
    min-height:260px;
  }

  #dashboard-start .mcHpChatbox{
    min-height:clamp(520px,66dvh,880px) !important;
  }

  #dashboard-start .mcHpMessages{
    min-height:210px !important;
  }
}
/* Unified headline rhythm across global and page-specific CSS. */
#main-content h1,
#main-content h2,
#main-content h3,
#main-content h4,
#main-content h5,
#main-content h6,
.hero-heading,
.hero-heading-h1,
.hero-heading-h1-services,
.hero-heading-h1-blog,
.hero-heading-h1-white,
.hero-heading-h1-black,
.title-one h2,
.title-two h2,
.title-three h2,
.title-four h2,
.custom-h2,
.blog-h2,
.headline-strong,
.dropdown-headline,
.pitch-title,
.pitch-sectiontitle,
.partnership-title,
.imprint-title,
.cart-pitch-title,
.role-jump-head h2,
.dach-flow-copy h2,
.x25-workcard-focus h2,
.mcHpTitle,
.mcHpHeader h2,
.pg-head h3 {
  letter-spacing: 0 !important;
  word-break: normal;
}

#main-content h1,
.hero-heading,
.hero-heading-h1,
.hero-heading-h1-services,
.hero-heading-h1-blog,
.hero-heading-h1-white,
.hero-heading-h1-black {
  line-height: 1.04 !important;
}

#main-content h2,
.title-one h2,
.title-two h2,
.title-three h2,
.title-four h2,
.custom-h2,
.blog-h2,
.headline-strong,
.pitch-title,
.partnership-title,
.imprint-title,
.cart-pitch-title,
.role-jump-head h2,
.dach-flow-copy h2,
.x25-workcard-focus h2,
.mcHpTitle,
.mcHpHeader h2 {
  line-height: 1.1 !important;
}

#main-content h3,
.dropdown-headline,
.pitch-sectiontitle,
.pg-head h3 {
  line-height: 1.16 !important;
}

#main-content h4 {
  line-height: 1.22 !important;
}

#main-content h5 {
  line-height: 1.28 !important;
}

#main-content h6 {
  line-height: 1.34 !important;
}

@media (max-width: 767.98px) {
  #main-content h1,
  #main-content h2,
  #main-content h3,
  #main-content h4,
  #main-content h5,
  #main-content h6,
  .hero-heading,
  .hero-heading-h1,
  .hero-heading-h1-services,
  .hero-heading-h1-blog,
  .hero-heading-h1-white,
  .hero-heading-h1-black,
  .title-one h2,
  .title-two h2,
  .title-three h2,
  .title-four h2,
  .custom-h2,
  .blog-h2,
  .headline-strong,
  .dropdown-headline,
  .pitch-title,
  .pitch-sectiontitle,
  .partnership-title,
  .imprint-title,
  .cart-pitch-title,
  .role-jump-head h2,
  .dach-flow-copy h2,
  .x25-workcard-focus h2,
  .mcHpTitle,
  .mcHpHeader h2,
  .pg-head h3 {
    max-width: 100% !important;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: auto;
    text-wrap: balance;
  }

  #main-content h1,
  .hero-heading,
  .hero-heading-h1,
  .hero-heading-h1-services,
  .hero-heading-h1-blog,
  .hero-heading-h1-white,
  .hero-heading-h1-black {
    line-height: 1.08 !important;
  }

  #main-content h2,
  .title-one h2,
  .title-two h2,
  .title-three h2,
  .title-four h2,
  .custom-h2,
  .blog-h2,
  .headline-strong,
  .pitch-title,
  .partnership-title,
  .imprint-title,
  .cart-pitch-title,
  .role-jump-head h2,
  .dach-flow-copy h2,
  .x25-workcard-focus h2,
  .mcHpTitle,
  .mcHpHeader h2 {
    line-height: 1.12 !important;
  }

  #main-content h3,
  .dropdown-headline,
  .pitch-sectiontitle,
  .pg-head h3 {
    line-height: 1.18 !important;
  }

  #main-content h4 {
    line-height: 1.24 !important;
  }

  #main-content h5 {
    line-height: 1.3 !important;
  }

  #main-content h6 {
    line-height: 1.36 !important;
  }

  @supports (text-wrap: pretty) {
    #main-content h1,
    #main-content h2,
    #main-content h3,
    #main-content h4,
    #main-content h5,
    #main-content h6,
    .hero-heading,
    .hero-heading-h1,
    .hero-heading-h1-services,
    .hero-heading-h1-blog,
    .hero-heading-h1-white,
    .hero-heading-h1-black,
    .title-one h2,
    .title-two h2,
    .title-three h2,
    .title-four h2,
    .custom-h2,
    .blog-h2,
    .headline-strong,
    .dropdown-headline,
    .pitch-title,
    .pitch-sectiontitle,
    .partnership-title,
    .imprint-title,
    .cart-pitch-title,
    .role-jump-head h2,
    .dach-flow-copy h2,
    .x25-workcard-focus h2,
    .mcHpTitle,
    .mcHpHeader h2,
    .pg-head h3 {
      text-wrap: pretty;
    }
  }
}
.mcHpChip > i{
  width:1em;
  flex:0 0 1em;
  text-align:center;
  line-height:1;
}

/* X25 profile responsive width */
#profLayout {
    width: min(1840px, calc(100vw - 48px)) !important;
    max-width: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

@media (min-width: 1600px) {
    #profLayout {
        width: min(1900px, calc(100vw - 64px)) !important;
    }
}

@media (min-width: 1920px) {
    #profLayout {
        width: min(2040px, calc(100vw - 96px)) !important;
    }
}

@media (min-width: 2560px) {
    #profLayout {
        width: min(2320px, calc(100vw - 128px)) !important;
    }
}

@media (min-width: 992px) {
    #profLayout > .row {
        display: grid !important;
        grid-template-columns: minmax(210px, 13vw) minmax(0, 1fr) !important;
        gap: clamp(22px, 2vw, 36px) !important;
    }

    #profLayout > .row > aside,
    #profLayout > .row > main {
        width: auto !important;
        max-width: none !important;
        flex: none !important;
    }
}

@media (max-width: 991.98px) {
    #profLayout {
        width: min(calc(100vw - 28px), 760px) !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    #profLayout > .row {
        display: block !important;
    }
}
/* Shop orders: briefing evidence inside the admin table. */
.shop-order-products-cell {
  min-width: 280px;
  white-space: normal;
}

.shop-briefing-admin {
  border-left: 3px solid #c7ff3d;
  background: #f8fbf4;
  border-radius: 8px;
  padding: 8px 10px;
}

.shop-briefing-admin summary {
  cursor: pointer;
  font-weight: 700;
}

.shop-briefing-admin__meta {
  margin: 8px 0;
  font-size: 0.84rem;
  color: #243044;
}

.shop-briefing-admin__answers {
  margin: 8px 0;
}

.shop-briefing-admin__answers dt {
  font-size: 0.78rem;
  color: #5c6778;
}

.shop-briefing-admin__answers dd {
  margin: 0 0 8px;
  white-space: pre-wrap;
}

.shop-briefing-admin__files {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.86rem;
}

.shop-order-actions {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.shop-order-actions .btn {
  padding: 0.2rem 0.55rem;
  font-size: 0.82rem;
}
/* Profile administration menu: keep nested menus in normal flow after refresh/open state. */
#profMenuNav .prof-menu-item {
  position: relative;
}

#profMenuNav .prof-menu-collapse {
  position: static !important;
  float: none !important;
  width: 100% !important;
  min-width: 0 !important;
  transform: none !important;
  inset: auto !important;
  margin: 4px 0 0 !important;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  z-index: auto !important;
}

#profMenuNav .prof-menu-item:not(.open) > .prof-menu-collapse,
#profMenuNav .prof-menu-collapse[hidden] {
  display: none !important;
}

#profMenuNav .prof-menu-item.open > .prof-menu-collapse {
  display: block !important;
}

#profMenuNav .prof-menu-collapse .prof-menu-list {
  margin: 0 !important;
  padding: 0 0 0 14px !important;
}

#profMenuNav .prof-menu-link.active {
  background: rgba(38, 64, 184, .08) !important;
  color: #07172a !important;
  font-weight: 750 !important;
}
