/* Final reading rhythm across the dashboard and sign-in screens. */
:is(#mhl,#mhla,#mhl-log,#mhla-log) :is(p,li,label,summary,td,th){line-height:1.65;overflow-wrap:break-word}
:is(#mhl,#mhla,#mhl-log,#mhla-log) :is(h1,h2,h3,h4){line-height:1.4!important;text-wrap:pretty;overflow-wrap:break-word}
#mhl :is(.hl-decision,.hl-intelligence,.hl-disclosure-body,.p,.kal-c) p{margin-top:0;margin-bottom:18px;max-width:72ch}
#mhl :is(.hl-decision,.hl-intelligence,.hl-disclosure-body,.p,.kal-c) p:last-child{margin-bottom:0}
#mhl :is(.hl-decision,.hl-intelligence,.hl-disclosure-body) :is(h2,h3,h4){margin-bottom:14px}
#mhl :is(.hl-decision,.hl-intelligence){padding:32px;margin-top:32px;margin-bottom:32px}
#mhl :is(.hl-section-body,.hl-insight-body){padding-top:20px;padding-bottom:24px}
#mhl :is(.hl-decision-section,.hl-insight-detail)>summary{padding:20px 0;line-height:1.5;min-height:56px}
#mhl .hl-disclosure>summary{gap:20px;padding:24px 28px}
#mhl .hl-disclosure>summary small{display:block;margin-top:8px;line-height:1.6}
#mhl .hl-disclosure-body{padding:12px 28px 28px}
#mhl .hl-form-grid,#mhl .hl-test-pair{column-gap:24px;row-gap:16px}
#mhl :is(.hl-decision,.hl-intelligence) label{line-height:1.6;margin:14px 0}
#mhl :is(.hl-decision,.hl-intelligence) :is(input,select,textarea){margin-top:10px;line-height:1.65;padding:12px 14px;min-height:50px;max-width:100%}
#mhl :is(.hl-decision,.hl-intelligence) textarea{padding:16px;line-height:1.75}
#mhl .hl-form-actions{gap:14px;margin-top:26px;margin-bottom:26px}
#mhl .hl-test-pair fieldset{padding:20px 24px}
#mhl .hl-analysis-table :is(th,td){padding:16px 14px;line-height:1.65;font-variant-numeric:tabular-nums}
#mhl .hl-analysis-table :is(th,td):not(:first-child){min-width:105px}
#mhl :is(.hl-next-test,.hl-boundary,.hl-local-note){padding:22px;line-height:1.7}
#mhl .hl-flow-header{gap:24px;margin-bottom:26px;align-items:flex-start;flex-wrap:wrap}
#mhl .hl-flow-header>div:first-child{flex:1 1 320px}
#mhl .hl-flow-controls{flex:0 1 auto;gap:10px}
#mhl .hl-flow-node{padding:24px}
#mhl .hl-flow-node>p:not(.hl-flow-step){line-height:1.7;margin:0 0 22px;min-height:58px}
#mhl .hl-flow .hl-flow-step{margin-bottom:10px;line-height:1.6}
#mhl .hl-flow h3{margin-bottom:12px}
#mhl .hl-flow-node>button{padding-top:16px;line-height:1.6;gap:14px}
#mhl .hl-flow .hl-flow-caption{margin-top:22px;max-width:76ch;line-height:1.7}
#mhl .hl-next{gap:28px;padding:28px}
#mhl .hl-next h2{margin-bottom:14px}
#mhl .kal-c h4{margin-bottom:14px}
#mhl .kal-ch{gap:10px;margin-top:16px}
#mhl .row{gap:20px;padding-top:16px;padding-bottom:16px}
:is(#mhl-log,#mhla-log) .card :is(p,label){line-height:1.7}
:is(#mhl-log,#mhla-log) .card h1{margin-bottom:16px}
:is(#mhl-log,#mhla-log) .fld{margin-top:20px;margin-bottom:20px}
@media(max-width:700px){
 #mhl :is(.hl-decision,.hl-intelligence){padding:24px 18px;margin:24px 0}
 #mhl .hl-disclosure>summary{padding:22px 18px}
 #mhl .hl-disclosure-body{padding:10px 18px 24px}
 #mhl .hl-next{padding:24px 20px}
 #mhl .hl-flow-header>div:first-child{flex-basis:auto}
 #mhl .hl-flow-node{padding:22px 18px}
 #mhl .hl-flow-node>p:not(.hl-flow-step){min-height:0}
 #mhl .hl-test-pair fieldset{padding:18px}
 #mhl .hl-analysis-table :is(th,td){padding:14px 10px;min-width:0!important}
 #mhl .hl-analysis-table{table-layout:fixed}
 #mhl .hl-analysis-table th:first-child{width:42%}
 #mhl :is(.hl-next-test,.hl-boundary,.hl-local-note){padding:18px}
}
