/* McXpert® Core 2.2.0 – presentation-only visual refinement of the protected portal.
   No permissions, financial calculations, document wording or existing save actions are changed. */
.mcxp-app{--mcxp-ink:#172c45;--mcxp-accent:#f09b17;--mcxp-line:#dce5ef;--mcxp-elev:0 9px 30px rgba(27,51,75,.045)}
.mcxp-app .mcxp-card{border-color:#dee6ef;border-radius:17px;box-shadow:var(--mcxp-elev)}
.mcxp-app .mcxp-card-title{gap:12px}
.mcxp-app .mcxp-stat,.mcxp-app .mcxp-owner-earnings-kpi{border-radius:14px;box-shadow:0 5px 18px rgba(20,45,72,.035)}
.mcxp-app a.mcxp-stat-link,.mcxp-app .mcxp-case-row,.mcxp-app .mcxp-personal-income-card{transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
@media(hover:hover) and (pointer:fine){
 .mcxp-app a.mcxp-stat-link:hover,.mcxp-app .mcxp-case-row:hover,.mcxp-app .mcxp-personal-income-card:hover{transform:translateY(-2px);box-shadow:0 12px 26px rgba(25,47,69,.11);border-color:#dcb56c}
}
.mcxp-app .mcxp-button:focus-visible,.mcxp-app .mcxp-personal-income-card:focus-visible,.mcxp-app a.mcxp-stat-link:focus-visible{outline:3px solid #2679bd;outline-offset:3px}
/* Case editor: one consistent spacing system for money, status, notes and links. */
.mcxp-app .mcxp-unified-case{overflow:visible}
.mcxp-app .mcxp-unified-case-form{gap:19px}
.mcxp-app .mcxp-unified-group{border:1px solid #dbe5ef;background:linear-gradient(180deg,#fbfdff 0%,#fff 80%);border-radius:15px;padding:21px;gap:15px;min-inline-size:0}
.mcxp-app .mcxp-unified-group legend{font-size:16px;font-weight:850;letter-spacing:.005em;color:var(--mcxp-ink);padding:0 9px}
.mcxp-app .mcxp-unified-case-form label:not(.mcxp-checkbox),.mcxp-app .mcxp-unified-case .mcxp-app-advanced label{display:flex;flex-direction:column;align-items:stretch;gap:7px;min-width:0;font-size:13px;font-weight:750;line-height:1.4;color:#2a4662;margin:0}
.mcxp-app .mcxp-unified-case-form .mcxp-app-form-grid{align-items:start;gap:18px 20px}
.mcxp-app .mcxp-unified-case-form input:not([type=checkbox]):not([type=hidden]),.mcxp-app .mcxp-unified-case-form select,.mcxp-app .mcxp-unified-case-form textarea{display:block;box-sizing:border-box;width:100%;min-width:0;max-width:100%;height:auto;min-height:47px;border:1px solid #b8c9da;border-radius:10px;background:#fff;color:#192f47;padding:11px 13px;font:inherit;font-size:15px;line-height:1.35;box-shadow:0 1px 2px rgba(28,54,76,.03)}
.mcxp-app .mcxp-unified-case-form textarea{min-height:96px;resize:vertical}
.mcxp-app .mcxp-unified-case-form input:focus-visible,.mcxp-app .mcxp-unified-case-form textarea:focus-visible,.mcxp-app .mcxp-unified-case-form select:focus-visible{outline:3px solid rgba(38,121,189,.29);outline-offset:1px;border-color:#247ab9}
.mcxp-app .mcxp-unified-case .mcxp-checkbox{display:flex!important;flex-direction:row!important;justify-content:flex-start!important;align-items:flex-start!important;gap:12px!important;border:1px solid #dce5ed;border-radius:11px;background:#f5f9fd;padding:13px 15px;margin:2px 0 0!important;color:#24435e;font-weight:650;line-height:1.5}
.mcxp-app .mcxp-unified-case .mcxp-checkbox input{width:19px!important;height:19px!important;min-width:19px!important;min-height:19px!important;flex:0 0 19px!important;margin:1px 0 0!important;accent-color:#dc870b}
.mcxp-app .mcxp-unified-case #mcxp-case-invoice-scan{border:1px solid #dae6f3;border-radius:12px;background:#f5f9ff;padding:13px 15px;display:flex;align-items:center;gap:11px 16px;flex-wrap:wrap}
.mcxp-app .mcxp-unified-case #mcxp-case-invoice-scan span{flex:1 1 210px;min-width:0;line-height:1.45;font-size:13px;color:#48647d}
.mcxp-app .mcxp-unified-case .mcxp-app-advanced{border:1px solid #dee5ed;border-radius:14px;background:#f9fbfe;padding:17px 19px}
.mcxp-app .mcxp-unified-case .mcxp-app-advanced summary{display:list-item;min-height:auto;line-height:1.55;font-weight:800;letter-spacing:.005em}
.mcxp-app .mcxp-unified-case .mcxp-app-advanced .mcxp-app-form-grid{gap:16px;align-items:start}
.mcxp-app .mcxp-unified-case .mcxp-app-advanced input[type=url]{width:100%!important;max-width:100%!important;overflow:hidden;text-overflow:ellipsis}
.mcxp-app .mcxp-unified-case .mcxp-unified-actions{border:1px solid #dfe8f0;border-radius:13px;background:rgba(255,255,255,.97);padding:12px 14px;box-shadow:0 7px 22px rgba(17,42,68,.09);bottom:8px;gap:10px}
.mcxp-app .mcxp-unified-case .mcxp-unified-actions .mcxp-button{min-height:46px;flex:0 1 auto}
/* Personal income: the accurate total is visible first; two earned sources underneath. */
.mcxp-app .mcxp-personal-income{position:relative;overflow:hidden}
.mcxp-app .mcxp-personal-income-hero{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:5px;background:linear-gradient(120deg,#1d3552 0%,#264d6b 64%,#365b75 100%);border-radius:16px;color:#fff;padding:23px 25px;margin:18px 0 15px;isolation:isolate;overflow:hidden}
.mcxp-app .mcxp-personal-income-hero::after{content:"";position:absolute;width:205px;height:205px;right:-85px;top:-105px;border:1px solid rgba(255,255,255,.24);border-radius:50%;box-shadow:0 0 0 36px rgba(255,255,255,.025),0 0 0 76px rgba(255,255,255,.025);pointer-events:none}
.mcxp-app .mcxp-personal-income-hero span{color:#dceaf5;font-weight:650;font-size:13px}
.mcxp-app .mcxp-personal-income-hero strong{font-size:clamp(29px,5vw,43px);font-variant-numeric:tabular-nums;line-height:1.16;letter-spacing:-.035em;color:#fff;font-weight:850;overflow-wrap:anywhere}
.mcxp-app .mcxp-personal-income-hero small{font-size:13px;color:#dbeaf7}
.mcxp-app .mcxp-personal-income-grid{gap:14px}
.mcxp-app .mcxp-personal-income-card{border-radius:15px;padding:19px 20px 17px;border:1px solid #dce5ed;border-top:4px solid #ef9b18;background:linear-gradient(150deg,#fff,#f8fbff);box-shadow:0 5px 20px rgba(24,48,70,.035);gap:8px;min-height:215px}
.mcxp-app .mcxp-personal-income-card:nth-child(2){border-top-color:#5794b9;background:linear-gradient(150deg,#fff,#f5fbfd)}
.mcxp-app .mcxp-personal-income-card .mcxp-personal-income-title{font-size:16px;font-weight:850;color:#213a54}
.mcxp-app .mcxp-personal-income-card>strong{font-size:clamp(24px,3vw,32px);font-variant-numeric:tabular-nums;line-height:1.18;letter-spacing:-.025em;color:#102b46}
.mcxp-app .mcxp-personal-income-card>em{margin-top:auto;padding-top:6px;color:#986115}
/* Owner tasks and supporting boxes, intentionally subdued. */
.mcxp-app .mcxp-owner-task-item{border:1px solid #e0e9f1;border-radius:13px;padding:16px;margin-top:10px;background:#fff}
.mcxp-app .mcxp-owner-task-teaser-main{border:1px solid #dce7f0;background:linear-gradient(110deg,#f9fbfe,#fff9ee);padding:20px}
.mcxp-app .mcxp-owner-contract-drafts .mcxp-card-title{align-items:center;flex-wrap:wrap}
.mcxp-draft-tag{font-size:12px;color:#7b510a;background:#fff2d9;border:1px solid #ecd09d;border-radius:40px;padding:6px 11px;font-weight:750}
.mcxp-contract-draft-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:17px}
.mcxp-contract-draft-grid a{display:flex;flex-direction:column;gap:8px;text-decoration:none;color:#1d3d5d;border:1px solid #dde6f0;border-radius:13px;background:#fafcff;padding:17px;min-width:0}
.mcxp-contract-draft-grid a span{font-size:13px;color:#316996}
.mcxp-contract-draft-grid a:hover,.mcxp-contract-draft-grid a:focus-visible{border-color:#efa51d;background:#fffaf1}
/* Interactive walkthrough fallback: a recognizable, illustrative app interface. */
.mcxp-tour-panel .mcxp-tour-example{border:1px solid #d9e6f0;background:#f6f9fd;border-radius:13px;padding:11px;margin:11px 0 4px}
.mcxp-tour-example .mcxp-sample-flag{display:inline-block;font-size:10px;letter-spacing:.08em;font-weight:850;color:#95600a;background:#fff2d7;border:1px solid #f0d4a0;border-radius:99px;padding:4px 8px;margin-bottom:9px}
.mcxp-tour-example .mcxp-sample-app{background:#fff;border:1px solid #d9e4ed;border-radius:11px;overflow:hidden;box-shadow:0 4px 15px rgba(18,44,69,.05)}
.mcxp-tour-example .mcxp-sample-appbar{display:flex;align-items:center;justify-content:space-between;gap:8px;background:#f8fbfe;border-bottom:1px solid #e1eaf2;padding:8px 11px;font-size:12px;font-weight:850;color:#193c5a}
.mcxp-tour-example .mcxp-sample-badge{color:#227154;background:#e8f5ed;border-radius:20px;padding:3px 7px;font-size:10px}
.mcxp-tour-example .mcxp-sample-body{display:grid;gap:9px;padding:11px}
.mcxp-tour-example .mcxp-sample-body strong{font-size:13px;color:#172e48}
.mcxp-tour-example .mcxp-sample-field,.mcxp-tour-example .mcxp-sample-file,.mcxp-tour-example .mcxp-sample-row{display:flex;align-items:center;justify-content:space-between;gap:9px;border:1px solid #e0e8ef;background:#fff;border-radius:8px;min-height:34px;padding:7px 10px;font-size:12px;color:#455d73}
.mcxp-tour-example .mcxp-sample-field span:last-child{color:#173b5b;font-weight:750}
.mcxp-tour-example .mcxp-sample-file{justify-content:flex-start;background:#f6faff}
.mcxp-tour-example .mcxp-sample-actions{display:flex;gap:7px;flex-wrap:wrap}
.mcxp-tour-example .mcxp-sample-action{display:inline-flex;align-items:center;padding:7px 10px;border-radius:7px;background:#f2a21e;color:#152c3f;font-weight:800;font-size:12px}
.mcxp-tour-example .mcxp-sample-action.secondary{background:#edf3f8;color:#2b536e;border:1px solid #d9e5ef}
.mcxp-tour-example .mcxp-sample-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.mcxp-tour-example .mcxp-sample-two>div{border:1px solid #e1e9ef;border-radius:9px;background:#f8fbfe;padding:10px;min-width:0}
.mcxp-tour-example .mcxp-sample-two small{display:block;font-size:10px;color:#5f7283;margin-bottom:5px}
.mcxp-tour-example .mcxp-sample-two strong{font-size:13px}
.mcxp-tour-example .mcxp-sample-paper{border:1px solid #d9e0e7;background:#fff;border-radius:7px;padding:12px;display:grid;gap:7px}
.mcxp-tour-example .mcxp-sample-paper .line{height:5px;background:#dbe5ed;border-radius:3px}
.mcxp-tour-example .mcxp-sample-paper .line.short{width:66%}
.mcxp-tour-example .mcxp-sample-signature{margin-top:6px;border:1px dashed #a9bccd;border-radius:7px;padding:11px;font-size:11px;color:#567188;text-align:center}
.mcxp-tour-example .mcxp-sample-progress{display:flex;gap:5px;margin-top:3px}
.mcxp-tour-example .mcxp-sample-progress i{height:6px;flex:1;background:#e3eaf1;border-radius:4px}
.mcxp-tour-example .mcxp-sample-progress i.done{background:#eba02a}
.mcxp-tour-example [aria-hidden=true]{pointer-events:none}
@media(max-width:700px){
 .mcxp-app .mcxp-unified-group{padding:16px;gap:13px}
 .mcxp-app .mcxp-unified-case .mcxp-unified-actions{bottom:4px;padding:11px;display:grid;grid-template-columns:1fr}
 .mcxp-app .mcxp-unified-case .mcxp-unified-actions .mcxp-button{width:100%;margin:0;min-width:0}
 .mcxp-app .mcxp-unified-case #mcxp-case-invoice-scan{display:grid;grid-template-columns:1fr}
 .mcxp-app .mcxp-unified-case .mcxp-app-advanced .mcxp-app-form-grid{grid-template-columns:1fr}
 .mcxp-app .mcxp-personal-income-hero{padding:19px 20px;margin:15px 0 12px}
 .mcxp-contract-draft-grid{grid-template-columns:1fr}
}
@media(max-width:420px){.mcxp-app .mcxp-personal-income-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.mcxp-app .mcxp-personal-income-card,.mcxp-app a.mcxp-stat-link,.mcxp-app .mcxp-case-row{transition:none}}

/* Core 2.2.3 – targeted corrective layout, based on the approved 2.2.1.
   The registered-mark renderer creates a nested span. A label displayed as a
   flex column would otherwise split text before/after that span into rows. */
.mcxp-app .mcxp-label-copy{display:block;min-width:0;line-height:inherit;white-space:normal}
.mcxp-app .mcxp-brand-phrase{display:inline-block;white-space:nowrap;vertical-align:baseline}
/* Other direct-child registered brand labels follow normal inline text flow,
   while retaining the same input spacing; no typography or height changes. */
.mcxp-app form label:not(.mcxp-checkbox):not(.mcxp-app-check):not(.mcxp-ga-check):has(> :is(.mcxpert-brand-lock,.mcxpert-brand-run)){display:block!important}
.mcxp-app form label:not(.mcxp-checkbox):not(.mcxp-app-check):not(.mcxp-ga-check):has(> :is(.mcxpert-brand-lock,.mcxpert-brand-run))>:is(input:not([type=checkbox]),select,textarea){margin-top:6px}
/* Earnings: keep complete currency amounts intact; no font-size changes. */
.mcxp-app .mcxp-owner-earnings{min-width:0;max-width:100%}
.mcxp-app .mcxp-owner-earnings-table :is(td,th):not(:first-child){white-space:nowrap;overflow-wrap:normal;word-break:normal}
.mcxp-app .mcxp-owner-earnings-table{min-width:900px}
.mcxp-app .mcxp-owner-earnings .mcxp-table-wrap{max-width:100%;min-width:0}
.mcxp-app .mcxp-owner-earnings-bars{min-width:0;max-width:100%}
/* Avoid narrow half-width KPI labels on phones; keep original type scale. */
@media (max-width:560px){.mcxp-app .mcxp-owner-earnings-kpis{grid-template-columns:minmax(0,1fr)}}
/* On phones, show the exact same finance figures as legible labeled rows,
   eliminating page-width overflow and truncated left columns. */
@media (max-width:700px){
 .mcxp-app .mcxp-owner-earnings .mcxp-table-wrap{overflow:visible}
 .mcxp-app .mcxp-owner-earnings-table{display:block;width:100%;min-width:0;max-width:100%;border-collapse:separate}
 .mcxp-app .mcxp-owner-earnings-table thead{display:none}
 .mcxp-app .mcxp-owner-earnings-table tbody,
 .mcxp-app .mcxp-owner-earnings-table tfoot{display:block;width:100%}
 .mcxp-app .mcxp-owner-earnings-table tr{display:block;width:100%;min-width:0;margin:0 0 12px;border:1px solid #e1e7ed;border-radius:10px;overflow:hidden;background:#fff}
 .mcxp-app .mcxp-owner-earnings-table tr>td,
 .mcxp-app .mcxp-owner-earnings-table tr>th{display:flex;align-items:baseline;justify-content:space-between;gap:10px;width:100%;max-width:100%;padding:9px 11px;min-width:0;text-align:right;white-space:nowrap;overflow-wrap:normal;word-break:normal;border-bottom:1px solid #e9edf2}
 .mcxp-app .mcxp-owner-earnings-table tr>:last-child{border-bottom:0}
 .mcxp-app .mcxp-owner-earnings-table tr>td::before,
 .mcxp-app .mcxp-owner-earnings-table tr>th::before{content:attr(data-label);display:block;text-align:left;flex:1 1 auto;white-space:normal;font-weight:650;color:#5b6d80}
 .mcxp-app .mcxp-owner-earnings-table tr>td:first-child,
 .mcxp-app .mcxp-owner-earnings-table tr>th:first-child{display:block;text-align:left;white-space:normal;background:#f6f8fa;font-weight:800}
 .mcxp-app .mcxp-owner-earnings-table tr>td:first-child::before,
 .mcxp-app .mcxp-owner-earnings-table tr>th:first-child::before{display:none}
 .mcxp-app .mcxp-owner-earnings-table tr>td:first-child small{display:block;white-space:normal}
 .mcxp-app .mcxp-owner-earnings-table .mcxp-owner-home-row td:first-child{background:#f3f7ff}
 .mcxp-app .mcxp-owner-earnings-table .mcxp-owner-home-total th:first-child{background:#f3f7ff}
 .mcxp-app .mcxp-owner-earnings-table .mcxp-owner-grand-total th:first-child{background:#fff0d9}
}

/* Core 2.6.0: owner turnover hero immediately below the welcome, visually matching partner income. */
.mcxp-app .mcxp-owner-turnover{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;max-width:890px;margin:0 0 4px;align-items:stretch}
.mcxp-app .mcxp-owner-turnover .mcxp-owner-turnover-tile{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:8px;min-width:0;min-height:130px;margin:0;padding:18px 20px;
 border:1px solid rgba(165,205,237,.24);border-radius:16px;color:#fff!important;text-decoration:none!important;
 background:linear-gradient(120deg,#1d3552 0%,#264d6b 64%,#365b75 100%);box-shadow:0 9px 26px rgba(25,57,89,.13);transition:box-shadow .2s,transform .2s}
.mcxp-app .mcxp-owner-turnover .mcxp-owner-turnover-tile:hover{transform:translateY(-2px);box-shadow:0 12px 30px rgba(25,57,89,.2)}
.mcxp-app .mcxp-owner-turnover .mcxp-owner-turnover-label{font-weight:750;font-size:clamp(12px,1.5vw,16px);line-height:1.3;color:#e3f1fb}
.mcxp-app .mcxp-owner-turnover .mcxp-owner-turnover-number{display:block;color:#fff!important;font-size:clamp(23px,3.5vw,38px);font-weight:850;line-height:1.15;letter-spacing:-.035em;white-space:nowrap;font-variant-numeric:tabular-nums;overflow-wrap:normal;word-break:normal}
.mcxp-app .mcxp-owner-turnover .mcxp-owner-turnover-tile small{display:block;color:#dceaf5;font-size:12px;line-height:1.4}
.mcxp-app .mcxp-owner-turnover-caption{max-width:890px;margin:3px 0 15px;color:#64748b;font-size:12px;line-height:1.45}
@media(max-width:560px){.mcxp-app .mcxp-owner-turnover{gap:9px}.mcxp-app .mcxp-owner-turnover .mcxp-owner-turnover-tile{padding:14px 12px;min-height:125px;gap:7px}.mcxp-app .mcxp-owner-turnover .mcxp-owner-turnover-number{font-size:clamp(17px,4.35vw,27px)}.mcxp-app .mcxp-owner-turnover .mcxp-owner-turnover-label{font-size:12px}.mcxp-app .mcxp-owner-turnover .mcxp-owner-turnover-tile small{font-size:10px}}
@media(max-width:360px){.mcxp-app .mcxp-owner-turnover{gap:7px}.mcxp-app .mcxp-owner-turnover .mcxp-owner-turnover-tile{padding:12px 9px}.mcxp-app .mcxp-owner-turnover .mcxp-owner-turnover-number{font-size:16px}}
@media(prefers-reduced-motion:reduce){.mcxp-app .mcxp-owner-turnover .mcxp-owner-turnover-tile{transition:none}}


/* Core 2.6.1: auditable owner net-fee breakdown reached from either blue hero. */
.mcxp-app #mcxp-owner-honorare{scroll-margin-top:105px}
.mcxp-app .mcxp-owner-honorar-scopes{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0 15px}
.mcxp-app .mcxp-owner-honorar-scopes a{display:inline-flex;align-items:center;justify-content:center;padding:9px 13px;border:1px solid #cbdbea;border-radius:9px;background:#f8fbfe;color:#184d79;font-weight:700;text-decoration:none}
.mcxp-app .mcxp-owner-honorar-scopes a[aria-current="page"]{background:#fff7e8;border-color:#e39b1b;color:#23374c}
.mcxp-app .mcxp-owner-honorar-summary{display:flex;flex-direction:column;gap:6px;background:#edf6fe;border:1px solid #c9dfef;border-radius:12px;padding:14px 17px}
.mcxp-app .mcxp-owner-honorar-summary strong{font-size:clamp(23px,4vw,34px);color:#1a4975;line-height:1.2;font-variant-numeric:tabular-nums}
.mcxp-app .mcxp-owner-honorar-summary span{font-size:13px;color:#536980}
.mcxp-app .mcxp-owner-honorar-totals{overflow-x:auto;margin-top:14px}
.mcxp-app .mcxp-owner-honorar-totals .mcxp-table{min-width:380px;width:100%}
.mcxp-app .mcxp-owner-honorar-totals .mcxp-table td:last-child,.mcxp-app .mcxp-owner-honorar-totals .mcxp-table th:last-child{text-align:right;font-variant-numeric:tabular-nums}
.mcxp-app .mcxp-owner-honorar-site{border:1px solid #dce6f0;border-radius:12px;margin:12px 0;overflow:hidden;background:#fff}
.mcxp-app .mcxp-owner-honorar-site>summary{display:flex;justify-content:space-between;gap:12px;align-items:center;cursor:pointer;padding:14px 16px;background:#f4f8fc;color:#153e65;list-style:revert}
.mcxp-app .mcxp-owner-honorar-site>summary span{font-weight:800;white-space:nowrap;font-variant-numeric:tabular-nums}
.mcxp-app .mcxp-owner-honorar-site .mcxp-table-wrap{overflow-x:auto;max-width:100%;margin:0;padding:0 12px 10px}
.mcxp-app .mcxp-owner-honorar-site .mcxp-table{width:100%;min-width:390px}
.mcxp-app .mcxp-owner-honorar-site .mcxp-table td:last-child,.mcxp-app .mcxp-owner-honorar-site .mcxp-table th:last-child{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
.mcxp-app .mcxp-owner-honorar-site>p{margin:12px 15px!important}
@media(max-width:480px){.mcxp-app #mcxp-owner-honorare{scroll-margin-top:92px}.mcxp-app .mcxp-owner-honorar-site>summary{padding:12px 10px}.mcxp-app .mcxp-owner-honorar-site .mcxp-table{min-width:350px}.mcxp-app .mcxp-owner-honorar-scopes a{font-size:12px;padding:8px 10px}}
/* Compact native-feeling rows on phones: each fee is legible without horizontal scrolling. */
@media(max-width:600px){
 .mcxp-app .mcxp-owner-honorar-totals .mcxp-table,
 .mcxp-app .mcxp-owner-honorar-site .mcxp-table{display:block;width:100%;min-width:0;max-width:100%;table-layout:auto}
 .mcxp-app .mcxp-owner-honorar-totals .mcxp-table thead,
 .mcxp-app .mcxp-owner-honorar-site .mcxp-table thead{display:none}
 .mcxp-app .mcxp-owner-honorar-totals .mcxp-table tbody,
 .mcxp-app .mcxp-owner-honorar-totals .mcxp-table tfoot,
 .mcxp-app .mcxp-owner-honorar-site .mcxp-table tbody,
 .mcxp-app .mcxp-owner-honorar-site .mcxp-table tfoot{display:block;width:100%}
 .mcxp-app .mcxp-owner-honorar-totals .mcxp-table tr,
 .mcxp-app .mcxp-owner-honorar-site .mcxp-table tbody tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 10px;padding:10px 4px;border-bottom:1px solid #e6edf4}
 .mcxp-app .mcxp-owner-honorar-totals .mcxp-table tr>*,
 .mcxp-app .mcxp-owner-honorar-site .mcxp-table tbody tr>*{display:block;width:auto;max-width:100%;padding:0;min-width:0;border:0;font-size:13px;text-align:left;overflow-wrap:anywhere}
 .mcxp-app .mcxp-owner-honorar-totals .mcxp-table tr>:first-child,
 .mcxp-app .mcxp-owner-honorar-site .mcxp-table tbody tr>:first-child{grid-column:1;grid-row:1;font-weight:700}
 .mcxp-app .mcxp-owner-honorar-totals .mcxp-table tr>:nth-child(2),
 .mcxp-app .mcxp-owner-honorar-site .mcxp-table tbody tr>:nth-child(2){grid-column:1;grid-row:2;color:#667b8e;font-size:12px}
 .mcxp-app .mcxp-owner-honorar-totals .mcxp-table tr>:nth-child(2)::after{content:' Fälle'}
 .mcxp-app .mcxp-owner-honorar-site .mcxp-table tbody tr>:last-child,
 .mcxp-app .mcxp-owner-honorar-totals .mcxp-table tr>:last-child{grid-column:2;grid-row:1/3;align-self:center;text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums;font-weight:750}
 .mcxp-app .mcxp-owner-honorar-site .mcxp-table tfoot{display:block;background:#f1f6fb}
 .mcxp-app .mcxp-owner-honorar-site .mcxp-table tfoot tr{display:flex;justify-content:space-between;gap:8px;padding:11px 5px}
 .mcxp-app .mcxp-owner-honorar-site .mcxp-table tfoot tr>*{border:0;padding:0;font-size:13px;white-space:normal}
 .mcxp-app .mcxp-owner-honorar-totals .mcxp-table tfoot tr{background:#f1f6fb}
 .mcxp-app .mcxp-owner-honorar-totals .mcxp-table tfoot tr>:nth-child(2)::after{content:' Fälle'}
}

/* Core 4.4.2: central owner Gutachtensoftware direct entrance, isolated from partner intake. */
/* 4.4.2: Gutachten tab uses exactly the same neutral and active states as every other tab.
   The highlighted Gutachtensoftware shortcut card below the tabs is intentionally unaffected. */
.mcxp-gutachten-feature{display:flex;gap:16px;align-items:center;text-decoration:none!important;color:#17334b!important;background:#fff9f1;border:2px solid #e69c2b;border-radius:16px;padding:16px 19px;margin:14px 0 18px;box-shadow:0 3px 10px #15345012}
.mcxp-gutachten-feature:hover{background:#fff1dc}
.mcxp-gutachten-feature-icon{font-size:30px;color:#c46f00}
.mcxp-gutachten-feature>span:nth-child(2){flex:1}
.mcxp-gutachten-feature strong,.mcxp-gutachten-feature small{display:block}
.mcxp-gutachten-feature strong{font-size:19px}
.mcxp-gutachten-feature small{font-size:13px;color:#627080;margin-top:5px;line-height:1.35}
.mcxp-gutachten-feature-action{font-weight:800;color:#954f00}
.mcxp-gutachten-hub .mcxp-gutachten-create{border:1px solid #e8c18b;border-radius:12px;background:#fff9f0;padding:14px;margin:18px 0}
.mcxp-gutachten-hub .mcxp-gutachten-create summary{cursor:pointer;font-weight:800;color:#213c51}
.mcxp-gutachten-hub .mcxp-gutachten-create form{padding-top:14px}
.mcxp-gutachten-search{margin:18px 0;max-width:680px}
.mcxp-gutachten-search label{font-size:14px;font-weight:700;display:block;margin-bottom:8px}
.mcxp-gutachten-search-row{display:flex;gap:10px}
.mcxp-gutachten-search-row input{flex:1;min-width:0;border:1px solid #b9ccd9;border-radius:8px;padding:12px;font-size:16px}
.mcxp-gutachten-case-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:10px}
.mcxp-gutachten-case{display:flex;align-items:center;justify-content:space-between;gap:8px;border:1px solid #d8e2ea;border-radius:11px;padding:13px;text-decoration:none!important;background:#fff;color:#203e56!important}
.mcxp-gutachten-case:hover{border-color:#e39b38;background:#fffcf8}
.mcxp-gutachten-case strong,.mcxp-gutachten-case small{display:block}
.mcxp-gutachten-case small{color:#6b7d8b;margin-top:3px}
.mcxp-gutachten-case>span:last-child{font-size:12px;font-weight:700;white-space:nowrap}
@media(max-width:600px){.mcxp-gutachten-feature{padding:13px;gap:11px}.mcxp-gutachten-feature strong{font-size:16px}.mcxp-gutachten-feature-action{font-size:12px}.mcxp-gutachten-search-row{flex-wrap:wrap}.mcxp-gutachten-search-row button{width:100%}}

/* Core 4.4.8 – owner Studio intake -> Gutachten continuity; role-isolated markup. */
.mcxp-studio448-progress{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:13px 0 16px;padding:12px 16px;border:1px solid #dce6ed;border-radius:11px;background:#f7fafc;color:#5b7183;font-size:13px}
.mcxp-studio448-progress strong{color:#185476}
.mcxp-studio448-capture-link{display:inline-flex;margin:8px 0 0;color:#1e5c84!important;font-size:13px;font-weight:700;text-decoration:underline;text-underline-offset:3px}
.mcxp-studio448-case{min-width:0}
.mcxp-studio448-case-links{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.mcxp-studio448-case-links a{display:inline-flex;align-items:center;padding:7px 9px;border:1px solid #cddce8;border-radius:8px;color:#215579!important;background:#f6fafc;font-size:12px;text-decoration:none!important;white-space:nowrap}
.mcxp-studio448-case-links a:last-child{border-color:#edc17c;background:#fff8ec;color:#925100!important}
.mcxp-studio448-case-links a:hover,.mcxp-studio448-case-links a:focus-visible{border-color:#e58d18;background:#fff2dc}

/* Core 6.1.31: case numbers never squeeze into broken lines beside the actions.
   Reserve a full line for the identifier, then use the available card width
   for unchanged action buttons. Applies to all modes and display themes. */
.mcxp-app .mcxp-gutachten-hub .mcxp-gutachten-case.mcxp-studio448-case{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  align-items:start;
  justify-content:stretch;
  gap:9px;
  min-width:0;
}
.mcxp-app .mcxp-gutachten-hub .mcxp-studio448-case>span:first-child{
  display:block;
  width:100%;
  min-width:0;
}
.mcxp-app .mcxp-gutachten-hub .mcxp-studio448-case>span:first-child>strong{
  display:block;
  max-width:100%;
  width:max-content;
  white-space:nowrap;
  overflow-wrap:normal;
  word-break:normal;
  font-variant-numeric:tabular-nums;
  /* For exceptional identifiers wider than the card, never hide the final digit. */
  overflow-x:auto;
  overflow-y:hidden;
  scrollbar-width:thin;
}
.mcxp-app .mcxp-gutachten-hub .mcxp-studio448-case>.mcxp-studio448-case-links{
  display:flex;
  width:100%;
  max-width:100%;
  min-width:0;
  justify-content:flex-start;
  flex-wrap:wrap;
  white-space:normal;
}
.mcxp-ga .mcxp-studio448-finish{padding:15px;margin:21px 0 0;background:#f4f9fd;border:1px solid #c9dce8;border-radius:11px}
.mcxp-ga .mcxp-studio448-finish strong{display:block;color:#193e57}
.mcxp-ga .mcxp-studio448-finish p{font-size:13px;color:#546d7d;line-height:1.55}
.mcxp-app #mcxp-gutachten-aufnahme{scroll-margin-top:110px}
@media(max-width:650px){.mcxp-studio448-case{align-items:flex-start}.mcxp-studio448-case-links{width:100%;justify-content:flex-start}.mcxp-studio448-progress{gap:6px;padding:10px 12px}}
.mcxp-tour-example .mcxp-sample-field.is-focus{border-color:#ed970e;background:#fff8ed;box-shadow:0 0 0 2px rgba(237,151,14,.16) inset;color:#173b5b;}
.mcxp-tour-example .mcxp-sample-note{margin:0;font-size:11px;color:#5d7184;line-height:1.45;}
