/* McXpert® 6.1.41 — personal configuration and mobile welcome layout.
 * Scope strictly to the private partner portal; no public site styles. */
.mcxp-app .mcxp-top-actions .mcxp-header-settings[aria-current="page"]{
  border-color:#63b3ed!important;background:#dceeff!important;
  box-shadow:0 0 0 2px rgba(38,146,213,.17),inset 0 1px 0 #fff!important
}
.mcxp-app .mcxp-profile6141{max-width:1140px;margin:0 auto 32px}
.mcxp-app .mcxp-profile6141-header{
  display:flex;align-items:center;justify-content:space-between;gap:18px;
  padding:17px 0 21px
}
/* 6.1.43: dark portal hero must use the same high-contrast text colors as the other hero headings. */
.mcxp-app .mcxp-profile6141-header .mcxp-kicker{color:#badcf4!important;text-shadow:0 1px 3px rgba(0,17,36,.4)}
.mcxp-app .mcxp-profile6141-header h1{font-size:clamp(27px,3.4vw,36px)!important;margin:7px 0 7px!important;color:#fff!important;line-height:1.15!important;text-shadow:0 2px 8px rgba(0,17,36,.32)}
.mcxp-app .mcxp-profile6141-header p{margin:0;color:#e0effd!important;font-size:14px;line-height:1.5;text-shadow:0 1px 3px rgba(0,15,34,.30)}
.mcxp-app .mcxp-profile6141-back{flex:0 0 auto;text-align:center;text-decoration:none!important}
.mcxp-app .mcxp-profile6141-card{margin:0 0 18px;padding:24px!important}
.mcxp-app .mcxp-profile6141-card>h2{font-size:21px!important;margin:0 0 8px!important;color:#153b60!important}
.mcxp-app .mcxp-profile6141-card>.mcxp-muted{font-size:13px;margin:0 0 21px;line-height:1.5}
.mcxp-app .mcxp-profile6141-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px 21px}
.mcxp-app .mcxp-profile6141-field{display:block;min-width:0;font-size:13px;font-weight:800;color:#244a69}
.mcxp-app .mcxp-profile6141-field span{display:block;margin:0 0 6px}
.mcxp-app .mcxp-profile6141-field input{
  box-sizing:border-box;display:block;width:100%;max-width:100%;min-height:44px;
  background:#fff!important;color:#182e44!important;border:1px solid #bed6ea!important;
  border-radius:10px!important;padding:10px 12px!important;font-size:15px!important;
  box-shadow:inset 0 1px 2px rgba(10,45,70,.04)
}
.mcxp-app .mcxp-profile6141-field input:focus{outline:2px solid #277cb7;outline-offset:1px}
.mcxp-app .mcxp-profile6141-logo{
  display:grid;grid-template-columns:185px minmax(0,1fr);gap:19px;align-items:center;
  margin:22px 0;padding:15px;border:1px solid #d5e7f5;border-radius:13px;
  background:rgba(238,247,254,.68)
}
.mcxp-app .mcxp-profile6141-logo-preview{
  width:175px;max-width:100%;min-height:102px;display:flex;align-items:center;justify-content:center;
  flex-direction:column;gap:5px;border:1px dashed #afc9de;border-radius:10px;
  background:#fff;color:#6284a0
}
.mcxp-app .mcxp-profile6141-logo-preview img{display:block;max-width:97%;max-height:92px;object-fit:contain;width:auto;height:auto}
.mcxp-app .mcxp-profile6141-logo-preview span{font-size:28px}
.mcxp-app .mcxp-profile6141-logo-preview small{font-size:11px}
.mcxp-app .mcxp-profile6141-logo label{display:block;margin-bottom:5px;color:#244a69}
.mcxp-app .mcxp-profile6141-logo input[type=file]{display:block;width:100%;max-width:460px;font-size:13px;padding:5px 0;color:#1c3952}
.mcxp-app .mcxp-profile6141-logo .mcxp-muted{margin:7px 0;font-size:12px}
.mcxp-app .mcxp-profile6141-logo .mcxp-profile6141-remove{font-size:13px;font-weight:600;display:flex;align-items:center;gap:7px}
.mcxp-app .mcxp-profile6141-save{min-height:44px;padding-inline:18px}
.mcxp-app .mcxp-profile6141-notice,.mcxp-app .mcxp-profile6141-error{padding:13px 16px;border-radius:10px;font-weight:750;margin:0 0 17px}
.mcxp-app .mcxp-profile6141-notice{background:#e7f8ed;color:#205c36;border:1px solid #a9dfb6}
.mcxp-app .mcxp-profile6141-error{background:#fff1ec;color:#963515;border:1px solid #e3ad93}
.mcxp-app .mcxp-profile6141-info{border-left:4px solid #4d95cc!important}
.mcxp-app .mcxp-profile6141-info p{font-size:13px;line-height:1.6;margin:9px 0;color:#3e5971}
@media(max-width:650px){
  /* Keep the role on the same top line as 'McXpert · Zentrale'. */
  .mcxp-app .mcxp-central-heading{position:relative!important;display:block!important;min-height:0!important;padding:12px 11px 17px!important}
  .mcxp-app .mcxp-central-heading>div{width:100%;min-width:0}
  .mcxp-app .mcxp-central-heading>.mcxp-central-role{
    position:absolute!important;top:10px!important;right:11px!important;
    display:inline-flex!important;align-items:center;justify-content:center;
    margin:0!important;padding:7px 10px!important;font-size:clamp(9px,2.2vw,11px)!important;
    max-width:48%;min-height:28px;white-space:nowrap;line-height:1.1!important;
    box-sizing:border-box;z-index:1
  }
  .mcxp-app .mcxp-central-heading .mcxp-kicker{
    display:inline-block;max-width:50%;white-space:nowrap;
    font-size:clamp(10px,2.55vw,12px)!important;letter-spacing:.06em!important;
  }
  .mcxp-app .mcxp-central-heading h1{margin-top:19px!important}
  .mcxp-app .mcxp-profile6141-header{flex-direction:column;align-items:flex-start;padding:8px 0 18px}
  .mcxp-app .mcxp-profile6141-back{min-height:40px}
  .mcxp-app .mcxp-profile6141-card{padding:18px!important}
  .mcxp-app .mcxp-profile6141-grid{grid-template-columns:1fr;gap:14px}
  .mcxp-app .mcxp-profile6141-logo{grid-template-columns:1fr;gap:12px}
  .mcxp-app .mcxp-profile6141-logo-preview{width:100%}
  /* The floating AI launcher currently overlaps the separate 'Öffnen' text.
     The complete feature card remains an accessible link, also on touch. */
  .mcxp-app .mcxp-gutachten-feature>.mcxp-gutachten-feature-action{display:none!important}
  .mcxp-app .mcxp-gutachten-feature>span:nth-child(2){padding-right:40px}
}
@media(max-width:380px){
  .mcxp-app .mcxp-top-inner{gap:3px!important}
  .mcxp-app .mcxp-top-actions{gap:3px!important}
  .mcxp-app .mcxp-top-actions .mcxp-header-icon{
    width:35px!important;height:35px!important;min-width:35px!important;min-height:35px!important;
    max-width:35px!important;max-height:35px!important;flex-basis:35px!important;padding:5px!important
  }
  .mcxp-app .mcxp-top-actions .mcxp-team-bar{flex-basis:35px!important}
  .mcxp-app .mcxp-top-actions .mcxp-team-bell.mcxp-header-icon{width:35px!important;height:35px!important;min-width:35px!important;min-height:35px!important;max-width:35px!important;max-height:35px!important;flex-basis:35px!important}
  .mcxp-app .mcxp-central-heading>.mcxp-central-role{padding:6px 7px!important}
}
