.owner-payouts-panel .owner-payouts-summary > div:first-child { background:#eef7f4; border-color:#b9dacc; }
.owner-payouts-panel .owner-payouts-summary > div:first-child strong { color:#246c55; }
.owner-due-heading { display:flex; align-items:end; justify-content:space-between; gap:20px; margin:24px 0 18px; }
.owner-due-heading h3 { margin:0 0 7px; font-size:16px; color:#29485b; }
.owner-due-heading p { margin:0; font-size:12px; line-height:1.6; color:#687e90; }
.owner-due-heading label { display:grid; gap:6px; min-width:250px; font-size:12px; color:#526a7f; }
.owner-due-heading select { width:100%; border:1px solid #d9e3ed; border-radius:9px; min-height:40px; padding:9px; color:#29465d; background:white; }
.owner-due-columns,.owner-due-card > summary { display:grid; grid-template-columns:minmax(220px,2fr) repeat(3,minmax(140px,1fr)); gap:16px; align-items:center; }
.owner-due-columns { padding:10px 18px; font-size:11px; color:#71859a; }
.owner-due-columns > span:not(:first-child) { text-align:right; }
.owner-due-card { border:1px solid #dce6ee; border-radius:12px; background:#fff; margin-bottom:10px; overflow:hidden; }
.owner-due-card > summary { list-style:none; padding:18px; cursor:pointer; }
.owner-due-card > summary::-webkit-details-marker { display:none; }
.owner-due-card > summary:hover { background:#f8fbfd; }
.owner-due-card > summary:focus-visible { outline:2px solid #1877c5; outline-offset:-3px; border-radius:12px; }
.owner-due-person { display:flex; gap:12px; align-items:center; min-width:0; }
.owner-due-person strong { display:block; font-size:13px; line-height:1.5; color:#304d61; }
.owner-due-person small { display:block; margin-top:4px; font-size:11px; color:#7a8d9e; }
.owner-due-card[open] .owner-payout-chevron { transform:rotate(90deg); }
.owner-due-value { min-width:0; text-align:right; font-size:14px; color:#4a6479; font-variant-numeric:tabular-nums; }
.owner-due-value > small { display:none; }
.owner-due-total strong { color:#236b55; font-size:19px; }
.owner-due-detail { border-top:1px solid #e2eaf0; background:#f7fafc; padding:6px 18px 16px; }
.owner-due-detail section + section { border-top:1px solid #dce5ed; }
.owner-due-month { display:flex; justify-content:space-between; gap:12px; padding:14px 0 9px; font-size:13px; color:#314f65; }
.owner-due-component { display:grid; grid-template-columns:2fr repeat(3,1fr); gap:16px; padding:8px 0; font-size:12px; }
.owner-due-component > span { display:grid; gap:4px; color:#738597; }
.owner-due-component b { color:#405c72; font-variant-numeric:tabular-nums; }
.owner-accrual-archive { border-top:1px solid #dfe8ef; margin-top:18px; }
.owner-accrual-archive > summary { cursor:pointer; padding:16px 0; color:#405f77; font-size:13px; font-weight:600; }
@media(max-width:1050px) {
 .owner-due-columns,.owner-due-card > summary { grid-template-columns:minmax(190px,1.5fr) repeat(3,minmax(110px,1fr)); gap:10px; }
 .owner-due-total strong { font-size:16px; }
}
@media(max-width:700px) {
 .owner-due-heading { display:grid; gap:12px; }
 .owner-due-columns { display:none; }
 .owner-due-card > summary { grid-template-columns:repeat(2,minmax(0,1fr)); padding:14px; gap:16px 12px; }
 .owner-due-person,.owner-due-total { grid-column:1/-1; }
 .owner-due-value { text-align:left; font-size:13px; }
 .owner-due-value > small { display:block; font-size:11px; margin-bottom:6px; color:#738597; }
 .owner-due-total { display:flex; justify-content:space-between; gap:8px; padding-top:12px; border-top:1px solid #dfe9ee; align-items:center; }
 .owner-due-total > small { margin:0; color:#35614f; }
 .owner-due-detail { padding:0 14px 12px; }
 .owner-due-component { grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; font-size:11px; }
 .owner-due-component > strong { grid-column:1/-1; }
 .owner-due-month { flex-wrap:wrap; font-size:12px; }
}

/* Use the CRM font and compact financial-register typography. */
html[data-brand="emf-service"] .owner-payouts-panel { font-family:inherit; }
html[data-brand="emf-service"] .owner-payouts-panel :is(summary,select,button) { font-family:inherit; }
html[data-brand="emf-service"] .owner-payouts-panel .owner-payouts-heading h2 { font-size:16px; font-weight:600; }
html[data-brand="emf-service"] .owner-payouts-panel .owner-payouts-heading p,
html[data-brand="emf-service"] .owner-payouts-panel .owner-payment-note,
html[data-brand="emf-service"] .owner-due-heading p { font-size:11px; font-weight:400; line-height:1.5; }
html[data-brand="emf-service"] .owner-payouts-panel .owner-payouts-summary span { font-size:11px; font-weight:400; }
html[data-brand="emf-service"] .owner-payouts-panel .owner-payouts-summary strong { font-size:19px; font-weight:600; font-variant-numeric:tabular-nums; }
html[data-brand="emf-service"] .owner-due-heading { margin:20px 0 14px; }
html[data-brand="emf-service"] .owner-due-heading h3 { font-size:14px; font-weight:600; }
html[data-brand="emf-service"] .owner-due-heading :is(label,select) { font-size:11px; font-weight:400; }
html[data-brand="emf-service"] .owner-due-columns { font-size:9.5px; font-weight:500; padding:9px 14px; }
html[data-brand="emf-service"] .owner-due-card > summary { padding:12px 14px; }
html[data-brand="emf-service"] .owner-due-person strong { font-size:11px; font-weight:500; line-height:1.45; color:#34495e; }
html[data-brand="emf-service"] .owner-due-person small { font-size:10px; font-weight:400; margin-top:3px; }
html[data-brand="emf-service"] .owner-due-value { font-size:11px; line-height:1.45; }
html[data-brand="emf-service"] .owner-due-value > b { font-weight:500; color:#445c70; }
html[data-brand="emf-service"] .owner-due-total strong { font-size:13px; font-weight:600; color:#2d5063; }
html[data-brand="emf-service"] .owner-due-month { font-size:11px; }
html[data-brand="emf-service"] .owner-due-month :is(strong,b) { font-weight:600; }
html[data-brand="emf-service"] .owner-due-component { font-size:11px; line-height:1.45; }
html[data-brand="emf-service"] .owner-due-component :is(strong,b) { font-weight:500; }
html[data-brand="emf-service"] .owner-payouts-panel :is(.owner-accrual-archive,.owner-payout-history) > summary { font-size:12px; font-weight:600; }
@media(max-width:700px) {
 html[data-brand="emf-service"] .owner-payouts-panel .owner-payouts-summary strong { font-size:17px; }
 html[data-brand="emf-service"] .owner-due-value > small { font-size:10px; }
 html[data-brand="emf-service"] .owner-due-heading select { font-size:16px; }
}

/* Distribution uses the same type scale as the CRM financial registers. */
html[data-brand="emf-service"] .owner-profit-report-page { font-family:inherit; }
html[data-brand="emf-service"] .owner-profit-report-page :is(button,select,input,textarea,summary) { font-family:inherit; }
html[data-brand="emf-service"] .owner-profit-report-page :is(.opr-section-head,.opr-confirm,.opr-reserve) h2 { font-size:14px; font-weight:600; }
html[data-brand="emf-service"] .owner-profit-report-page :is(.opr-metrics strong,.opr-source-equation strong,.opr-reserve-main > strong) { font-size:19px; font-weight:600; line-height:1.35; }
html[data-brand="emf-service"] .owner-profit-report-page .opr-source-equation > span { font-size:18px; }
html[data-brand="emf-service"] .owner-profit-report-page :is(.opr-message,.opr-confirm-check,.opr-zero-profit) { font-size:11px; line-height:1.55; }
html[data-brand="emf-service"] .owner-profit-report-page :is(.opr-message,.opr-confirm-check,.opr-source-caption,.opr-source-list,.opr-basis) :is(strong,b) { font-weight:600; }
html[data-brand="emf-service"] .owner-profit-report-page .opr-steps strong { font-size:11px; font-weight:600; }
html[data-brand="emf-service"] .owner-profit-report-page .opr-steps small { font-size:10px; font-weight:400; }
html[data-brand="emf-service"] .owner-profit-report-page .opr-owners :is(th,td) { padding-top:11px; padding-bottom:11px; line-height:1.45; }
html[data-brand="emf-service"] .owner-profit-report-page .opr-owners th { font-size:9.5px; font-weight:500; }
html[data-brand="emf-service"] .owner-profit-report-page .opr-owners td { font-size:11px; font-weight:400; }
html[data-brand="emf-service"] .owner-profit-report-page .opr-owners td :is(strong,b) { font-size:inherit; font-weight:500; }
html[data-brand="emf-service"] .owner-profit-report-page .opr-owners td:last-child strong,
html[data-brand="emf-service"] .owner-profit-report-page .opr-owners tfoot td { font-weight:600; }
html[data-brand="emf-service"] .owner-profit-report-page .opr-details > summary { font-size:11px; font-weight:600; }
html[data-brand="emf-service"] .owner-profit-report-page .opr-rounding dd { font-size:13px; font-weight:600; }
@media(max-width:700px) {
 html[data-brand="emf-service"] .owner-profit-report-page :is(.opr-metrics strong,.opr-source-equation strong,.opr-reserve-main > strong) { font-size:17px; }
 html[data-brand="emf-service"] .owner-profit-report-page .opr-owners td { padding-top:6px; padding-bottom:6px; }
}

html[data-brand="emf-service"] .owner-profit-report-page .opr-owners th:nth-child(3) { overflow-wrap:normal; }
@media(max-width:700px) { html[data-brand="emf-service"] .owner-profit-report-page .opr-owners td:nth-child(3)::before { content:'Участие в управлении'; } }
