/* Core 6.1.29: practice identifiers have no influence on the production look. */
.mcxp-training-badge{display:inline-flex;align-items:center;justify-content:center;border:1px solid #c58d34;border-radius:999px;background:#fff1d5;color:#734506;font-weight:800;font-size:11px;letter-spacing:.04em;padding:3px 9px;margin-inline-start:7px;white-space:nowrap;vertical-align:middle}
.mcxp-training-banner{display:flex;flex-wrap:wrap;gap:6px 12px;align-items:center;background:#fff5df;color:#664408;border:1px solid #e9b15b;border-left:5px solid #df9021;border-radius:12px;padding:12px 15px;margin:14px 0;font-size:14px;line-height:1.5}
.mcxp-training-banner strong{font-size:15px}
.mcxp-training-create{border:1px solid #e8c17d;border-radius:12px;background:#fff8ea;padding:12px 15px;margin-top:12px}
.mcxp-training-create p{font-size:13px;margin:5px 0 10px}
.mcxp-training-create .mcxp-button{background:#fff1cf;border:1px solid #d59536;color:#5b390d;font-weight:800}
.mcxp-training-create .mcxp-button:hover{background:#ffe7b1;color:#503006}
.mcxp-training-create .mcxp-select-wrap{margin:8px 0}
.mcxp-case-browser select[name="fallart"]{max-width:170px}
@media(max-width:550px){.mcxp-training-create .mcxp-button{width:100%}.mcxp-training-banner{flex-direction:column;align-items:flex-start}}

/* 6.1.30 – matched, plainly visible case actions in every creation location. */
.mcxp-app .mcxp-case-create-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;width:100%;min-width:0}
.mcxp-app .mcxp-case-create-actions>.mcxp-button{min-width:0;min-height:48px;width:100%;height:100%;margin:0!important;white-space:normal!important;line-height:1.25;text-align:center;justify-content:center;overflow-wrap:anywhere}
.mcxp-app .mcxp-case-creation-dual{min-width:0;width:100%;max-width:100%}
.mcxp-app .mcxp-practice-button{background:#f7f8fa!important;color:#1f4563!important;border:1px solid #9db5c8!important;box-shadow:0 2px 7px rgba(16,40,65,.08)!important;font-weight:800}
.mcxp-app .mcxp-practice-button:hover{background:#eaf2f8!important;border-color:#648aab!important;color:#1d405e!important}
.mcxp-app .mcxp-practice-explainer{margin:8px 0 0!important;font-size:12px!important;color:#5e6b7a}
.mcxp-app .mcxp-central-create .mcxp-case-creation-dual{flex:0 1 490px}
.mcxp-app .mcxp-central-create .mcxp-case-create-actions button{margin:0!important}
.mcxp-app .mcxp-create-panel .mcxp-case-create-actions button{white-space:normal!important}
.mcxp-app .mcxp-gutachten-create-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start;margin:18px 0}
.mcxp-app .mcxp-gutachten-create-pair>.mcxp-gutachten-create{min-width:0;margin:0;height:auto}
.mcxp-app .mcxp-gutachten-create-pair>.mcxp-gutachten-create summary{min-height:54px;display:flex;align-items:center;line-height:1.3}
.mcxp-app .mcxp-gutachten-create-pair>.mcxp-gutachten-create form{min-width:0}
.mcxp-app .mcxp-gutachten-create-pair .mcxp-button{width:100%;white-space:normal;min-height:48px}
@media(max-width:640px){.mcxp-app .mcxp-case-create-actions,.mcxp-app .mcxp-gutachten-create-pair{grid-template-columns:1fr}}
/* The partner creation panel is a horizontal flex layout on desktop; the dual-action
   form must be allowed to shrink rather than forcing the panel wider than the screen. */
.mcxp-app .mcxp-create-panel>.mcxp-case-creation-dual{flex:1 1 490px;width:auto;min-width:0;max-width:100%}
@media(max-width:740px){.mcxp-app .mcxp-create-panel>.mcxp-case-creation-dual{width:100%;flex:1 1 auto}}
/* Portal's global button[type=submit] has higher specificity than the class alone. */
.mcxp-app button.mcxp-practice-button[type="submit"]{background:#edf3f8!important;color:#204b6b!important;border:1px solid #9ab4ca!important;box-shadow:0 2px 8px rgba(19,43,66,.1)!important}
.mcxp-app button.mcxp-practice-button[type="submit"]:hover{background:#dfeef9!important;border-color:#6d99ba!important}
@media(max-width:740px){.mcxp-app .mcxp-central-create .mcxp-case-creation-dual{flex:0 1 auto;width:100%}}
/* Crystal's global primary selector is intentionally strong: only the dedicated
   TEST action is exempted, leaving the real-case primary button untouched. */
body.mcxp-crystal-enabled .mcxp-app button.mcxp-practice-button[type="submit"]{
  background:linear-gradient(150deg,#fff 0%,#e4f0f9 100%)!important;
  color:#204c70!important;text-shadow:none!important;
  border:1px solid #9dbfda!important;border-radius:12px!important;
  box-shadow:0 6px 15px rgba(17,65,111,.15),inset 0 1px 0 #fff!important;
}
body.mcxp-crystal-enabled .mcxp-app button.mcxp-practice-button[type="submit"]:hover{background:linear-gradient(150deg,#fff,#d2e6f6)!important}
/* Identical touch target for real and training creation, even when TEST wraps. */
.mcxp-app .mcxp-case-create-actions>button[type="submit"]{height:64px!important;min-height:64px!important;padding:9px 11px!important}
