/* Unified report screen and shared REXP print document. */
@media screen{
 :is(#unified,#rbuild) .topbar{margin-bottom:24px}
 :is(#unified,#rbuild) .topbar h1{letter-spacing:-.04em}
 :is(#unified,#rbuild) .cc-bar{padding:16px;background:var(--card);border:1px solid var(--line);border-radius:16px;gap:12px;align-items:flex-end;margin-bottom:20px}
 :is(#unified,#rbuild) .cc-bar label{font-size:11px;font-weight:600;color:var(--ink-2);gap:7px;min-width:150px}
 :is(#unified,#rbuild) .cc-bar :is(select,input){min-height:42px;border-radius:9px;background:var(--surf-2);font-size:12px}
 :is(#unified,#rbuild) .cc-bar .btn{min-height:42px;border-radius:9px}
 :is(#unified,#rbuild) .cc-bar [data-rexp="pdf"]:first-of-type{background:var(--brand-soft);color:var(--accent-ink)}
 :is(#unified,#rbuild) .cc-status{padding:22px 24px;border-radius:16px;grid-template-columns:42px minmax(150px,auto) 1fr;gap:8px 16px;background:var(--card);border-left-width:4px}
 :is(#unified,#rbuild) .cc-status .cc-dot{display:grid;place-items:center;width:40px;height:40px;border:1px solid var(--line);border-radius:12px;font-size:18px}
 :is(#unified,#rbuild) .cc-status small{font-size:11px;margin-bottom:5px}
 :is(#unified,#rbuild) .cc-status b{font-size:21px;letter-spacing:-.03em}
 :is(#unified,#rbuild) .cc-status p{font-size:12px;line-height:1.8}
 :is(#unified,#rbuild) .cc-status .cc-per{grid-column:2/-1;white-space:normal;font-size:11px}
 :is(#unified,#rbuild) .cc-kpis{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:18px 0 24px}
 :is(#unified,#rbuild) .kpis .cc-kpi{padding:18px;gap:10px;min-height:156px;border-radius:14px;border:1px solid var(--line);box-shadow:none;background:var(--card)}
 :is(#unified,#rbuild) .kpis .cc-kpi>span:first-of-type{font-size:12px;line-height:1.5;padding-right:18px}
 :is(#unified,#rbuild) .kpis .cc-kpi b{font-size:32px;letter-spacing:-.04em;font-variant-numeric:tabular-nums}
 :is(#unified,#rbuild) .kpis .cc-kpi em{font-size:15px;top:18px;right:14px}
 :is(#unified,#rbuild) .kpis .cc-kpi small{font-size:10px;line-height:1.6;margin-top:auto}
 :is(#unified,#rbuild) .cc-kpi:focus-visible{outline:2px solid var(--brand);outline-offset:3px}
 :is(#unified,#rbuild) .cc-two{gap:18px;margin-bottom:18px;grid-template-columns:repeat(2,minmax(0,1fr))}
 :is(#unified,#rbuild) :is(#un_out,#rb_out)>.card,:is(#unified,#rbuild) .cc-two>.card{padding:22px;border-radius:16px;box-shadow:none;border:1px solid var(--line)}
 :is(#unified,#rbuild) .card h3{font-size:15px;line-height:1.5;letter-spacing:-.02em;margin-bottom:18px;display:flex;gap:8px;flex-wrap:wrap}
 :is(#unified,#rbuild) .card h3>span{font-size:10px;line-height:1.6;letter-spacing:0;font-weight:400;color:var(--ink-3)}
 :is(#unified,#rbuild) .tbl.cc-tbl{border-collapse:separate;border-spacing:0}
 :is(#unified,#rbuild) .tbl.cc-tbl th{font-size:10px;text-transform:none;letter-spacing:0;padding:11px 10px;background:var(--surf-2);color:var(--ink-2)}
 :is(#unified,#rbuild) .tbl.cc-tbl td{font-size:12px;padding:13px 10px;line-height:1.6;border-bottom:1px solid var(--line)}
 :is(#unified,#rbuild) .tbl.cc-tbl tr:last-child td{border-bottom:0}
 :is(#unified,#rbuild) .tbl.cc-tbl td b{font-weight:600}
 :is(#unified,#rbuild) .cc-st{font-size:10px;padding:4px 7px;border-radius:6px;background:var(--surf-2);gap:5px;white-space:normal}
 :is(#unified,#rbuild) .cc-st.r{background:var(--r-bg);color:var(--r)}
 :is(#unified,#rbuild) .cc-st.g{background:var(--g-bg);color:var(--g)}
 :is(#unified,#rbuild) .cc-st.y{background:var(--y-bg);color:var(--y)}
 :is(#unified,#rbuild) .cc-metric{gap:5px;margin:0 0 18px}
 :is(#unified,#rbuild) .cc-metric .chip{font-size:10px;padding:6px 9px;min-height:32px;border-radius:7px}
 :is(#unified,#rbuild) .report-chart-label{font-size:11px;color:var(--ink-2);margin:0 0 10px}
 @media(max-width:1199px){:is(#unified,#rbuild) .cc-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}:is(#unified,#rbuild) .cc-two{grid-template-columns:1fr}}
 @media(max-width:600px){
  :is(#unified,#rbuild) .topbar{margin-bottom:18px}:is(#unified,#rbuild) .cc-bar{padding:13px;gap:9px;border-radius:13px}
  :is(#unified,#rbuild) .cc-bar label{min-width:0;flex:1 1 44%}:is(#unified,#rbuild) .cc-bar .cc-sp{flex-basis:100%;height:0}
  :is(#unified,#rbuild) .cc-bar .btn{flex:1;min-width:0;font-size:11px}
  :is(#unified,#rbuild) .cc-status{padding:16px;grid-template-columns:36px 1fr;gap:8px 12px}
  :is(#unified,#rbuild) .cc-status p,:is(#unified,#rbuild) .cc-status .cc-per{grid-column:1/-1}
  :is(#unified,#rbuild) .cc-status .cc-dot{width:34px;height:34px;font-size:15px}
  :is(#unified,#rbuild) .cc-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:14px 0 18px}
  :is(#unified,#rbuild) .kpis .cc-kpi{padding:14px;min-height:144px}:is(#unified,#rbuild) .kpis .cc-kpi b{font-size:29px}
  :is(#unified,#rbuild) .kpis .cc-kpi em{display:none}:is(#unified,#rbuild) .kpis .cc-kpi>span:first-of-type{padding:0}
  :is(#unified,#rbuild) :is(#un_out,#rb_out)>.card,:is(#unified,#rbuild) .cc-two>.card{padding:16px;border-radius:13px}
  :is(#unified,#rbuild) .tbl.cc-tbl td{padding:10px 8px;font-size:11px}
 }
}
@media print{
 @page mosh-report{size:A4 landscape;margin:13mm 13mm 16mm;@bottom-left{content:'MOSH · ХАБЭА-н тайлан';font:8pt Arial;color:#776c8c}@bottom-right{content:counter(page) ' / ' counter(pages);font:8pt Arial;color:#776c8c}}
 html.report-print,html.report-print body{background:#fff!important;color:#242236!important;margin:0!important;padding:0!important}
 #jsaprint>.mosh-report{page:mosh-report;--ink:#242236;--ink-2:#514c62;--ink-3:#726d81;--brand:#6c35c5;--brand-soft:#f2edf9;--paper:#fff;--card:#fff;--surf:#fff;--surf-2:#f5f3f8;--line:#ded9e8;--r:#ac2948;--r-bg:#fbeef1;--g:#197851;--g-bg:#edf7f1;--y:#94610b;--y-bg:#fcf5e5;--accent-ink:#6c35c5;font:10pt/1.5 Geist,Arial,sans-serif;color:var(--ink);background:white}
 #jsaprint .mosh-report .rhead{display:flex;align-items:flex-start;gap:18mm;justify-content:space-between;padding:0 0 5mm;margin:0 0 5mm;border-bottom:2px solid #6c35c5;break-inside:avoid}
 #jsaprint .mosh-report .rtitle{font:700 23pt/1.2 Manrope,Arial,sans-serif;letter-spacing:-.5pt;color:#27203b;margin:2mm 0}
 #jsaprint .mosh-report .rkicker{font-size:8pt;font-weight:600;letter-spacing:1pt;color:#6c35c5}
 #jsaprint .mosh-report .rsub{font-size:10pt;color:#62576e;margin-top:3mm}
 #jsaprint .mosh-report .rbrand{flex:none;width:40mm;text-align:right;color:#6c35c5}
 #jsaprint .mosh-report .rbrand img{width:36mm;height:auto;display:block;margin-left:auto}
 #jsaprint .mosh-report .rbrand span{font-size:7pt;line-height:1.5;margin-top:2mm;color:#726581;letter-spacing:0}
 #jsaprint .mosh-report .rmeta{display:grid;grid-template-columns:1fr 1.2fr 1.4fr;gap:4mm;background:#f6f3fa;border:1px solid #e4deee;border-radius:3mm;padding:4mm;margin:0 0 6mm;break-inside:avoid}
 #jsaprint .mosh-report .rmeta div{min-width:0;overflow-wrap:anywhere}
 #jsaprint .mosh-report .rmeta dt{font-size:7.5pt;color:#796c8b;margin:0 0 1mm}
 #jsaprint .mosh-report .rmeta dd{font-size:9pt;line-height:1.5;margin:0;color:#302a3d}
 #jsaprint .mosh-report .rmeta .rfilters{grid-column:1/-1;padding-top:3mm;border-top:1px solid #e4deee}
 #jsaprint .mosh-report .rbody{display:block}
 #jsaprint .mosh-report .rbody :is(.cc-two,.cc-blocks,.two){display:block;margin:0}
 #jsaprint .mosh-report .rbody .card{display:block;break-inside:auto;background:#fff;border:0;border-radius:0;box-shadow:none;padding:0!important;margin:0 0 7mm}
 #jsaprint .mosh-report .rbody h3{display:block;font-size:12pt;color:#3d2b5b;border-bottom:1px solid #dfd6eb;padding:2mm 0 3mm!important;margin:0 0 3mm;break-after:avoid}
 #jsaprint .mosh-report .rbody h3 span{font-size:8pt;font-weight:400;color:#766b80;margin-left:3mm}
 #jsaprint .mosh-report .rbody :is(.tbl-wrap,.cc-trend){overflow:visible;max-height:none;max-width:100%;border:0;box-shadow:none}
 #jsaprint .mosh-report .rbody table{width:100%;min-width:0!important;border-collapse:collapse;table-layout:auto;margin:0 0 3mm;font-size:9pt;color:#282232;background:#fff}
 #jsaprint .mosh-report .rbody thead{display:table-header-group}
 #jsaprint .mosh-report .rbody tbody{display:table-row-group}
 #jsaprint .mosh-report .rbody tr{display:table-row;break-inside:avoid;background:none;box-shadow:none}
 #jsaprint .mosh-report .rbody :is(th,td){display:table-cell;position:static;width:auto;padding:2.5mm 3mm;vertical-align:top;text-align:left;border:0;border-bottom:1px solid #e4dfeb;white-space:normal;overflow-wrap:anywhere;font-size:9pt;line-height:1.5;background:transparent;color:inherit}
 #jsaprint .mosh-report .rbody th{background:#f0ebf7;color:#594172;font-weight:600;font-size:8pt;text-transform:none;letter-spacing:0}
 #jsaprint .mosh-report .rbody tbody tr:nth-child(even){background:#faf8fc}
 #jsaprint .mosh-report .rbody td:before{display:none!important}
 #jsaprint .mosh-report .rbody td small{font-size:8pt}
 #jsaprint .mosh-report .rbody .kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(36mm,1fr))!important;gap:3mm;margin:0 0 6mm;break-inside:avoid}
 #jsaprint .mosh-report .rbody .kpi{display:flex;flex-direction:column;gap:2mm;min-height:0;border:1px solid #ded5ec;border-radius:2mm;padding:4mm;text-align:left;box-shadow:none;background:#fbf9fd}
 #jsaprint .mosh-report .rbody .kpi b{font-size:23pt;font-weight:700;line-height:1.2;letter-spacing:-.5pt}
 #jsaprint .mosh-report .rbody .kpi>span:first-of-type{font-size:8.5pt;padding:0;line-height:1.4;color:#51445f}
 #jsaprint .mosh-report .rbody .kpi :is(em,br){display:none}
 #jsaprint .mosh-report .rbody .kpi small{font-size:7.5pt;color:#72657f;line-height:1.5}
 #jsaprint .mosh-report .cc-status{display:grid;grid-template-columns:auto 1fr;gap:2mm 4mm;border:1px solid #ddd4e9;border-left:3px solid #6c35c5;border-radius:2mm;background:#faf8fd;padding:4mm;margin:0 0 4mm;break-inside:avoid}
 #jsaprint .mosh-report .cc-status .cc-dot{font-size:15pt}
 #jsaprint .mosh-report .cc-status b{font-size:13pt}
 #jsaprint .mosh-report .cc-status :is(p,.cc-per){grid-column:2/-1;font-size:9pt;margin:0;white-space:normal}
 #jsaprint .mosh-report .cc-st{font-size:8pt;white-space:normal;display:inline-flex;gap:1mm}
 #jsaprint .mosh-report .cc-st i{font-size:7pt}
 #jsaprint .mosh-report .rbody svg{max-width:100%;max-height:65mm;break-inside:avoid}
 #jsaprint .mosh-report .cc-trend{break-inside:avoid}
 #jsaprint .mosh-report .report-chart-label{font-size:9pt;color:#675675;margin:0 0 2mm}
 #jsaprint .mosh-report .rbody .hint{color:#71647c;font-size:8pt;line-height:1.5}
 #jsaprint .mosh-report .rbody :is([role=button],.ev-row){cursor:default;outline:0}
 #jsaprint .mosh-report .rbody img{max-width:100%;height:auto}
}
@media screen and (max-width:600px){
 :is(#unified,#rbuild) .report-modules table,:is(#unified,#rbuild) .report-recent table{min-width:440px}
 :is(#unified,#rbuild) :is(.report-modules,.report-units,.report-recent) .tbl-wrap:after{content:'↔ Хажуу тийш гүйлгэж үзнэ үү';display:block;position:sticky;left:0;font-size:10px;color:var(--ink-3);padding-top:8px}
 :is(#unified,#rbuild) .report-attention th:first-child{width:80px!important}
 :is(#unified,#rbuild) .report-attention .cc-st{padding:3px 5px;font-size:9px}
 :is(#unified,#rbuild) .report-attention td:last-child{padding-inline:2px}
}
@media print{
 #jsaprint .mosh-report .rhead{padding-bottom:3mm;margin-bottom:3mm}
 #jsaprint .mosh-report .rtitle{font-size:20pt;margin:1mm 0}
 #jsaprint .mosh-report .rsub{font-size:9pt;margin-top:2mm}
 #jsaprint .mosh-report .rbrand img{width:31mm}
 #jsaprint .mosh-report .rmeta{padding:3mm;gap:2mm;margin-bottom:4mm}
 #jsaprint .mosh-report .rmeta .rfilters{padding-top:2mm}
 #jsaprint .mosh-report .rmeta dd{font-size:8pt;line-height:1.4}
 #jsaprint .mosh-report .rmeta dt{font-size:7pt}
 #jsaprint .mosh-report .cc-status{grid-template-columns:auto auto 1fr;padding:3mm;gap:1mm 3mm;margin-bottom:3mm}
 #jsaprint .mosh-report .cc-status p{grid-column:auto;font-size:8pt}
 #jsaprint .mosh-report .cc-status .cc-per{grid-column:2/-1;font-size:8pt}
 #jsaprint .mosh-report .rbody .kpi{padding:3mm;gap:1.5mm}
 #jsaprint .mosh-report .rbody .kpi b{font-size:21pt}
 #jsaprint .mosh-report .rbody .kpis{margin-bottom:4mm}
 #jsaprint .mosh-report .rbody .report-overview{display:grid;grid-template-columns:1fr 1fr;gap:6mm;break-inside:avoid;margin-bottom:5mm}
 #jsaprint .mosh-report .rbody .report-overview .card{margin-bottom:0}
 #jsaprint .mosh-report .rbody .report-modules{break-inside:avoid}
 #jsaprint .mosh-report .rbody .report-recent{break-inside:avoid}
 #jsaprint .mosh-report .rbody .report-overview h3{font-size:11pt}
 #jsaprint .mosh-report .rbody .report-overview :is(td,th){padding:2mm;font-size:8pt}
}
@media print{
 #jsaprint .mosh-report .rbody .cc-heat td{height:9mm;text-align:center;border:1px solid white}
 #jsaprint .mosh-report .rbody .cc-heat td.g{background:#cfe8d8}
 #jsaprint .mosh-report .rbody .cc-heat td.y{background:#fce8a6}
 #jsaprint .mosh-report .rbody .cc-heat td.o{background:#f8c48a}
 #jsaprint .mosh-report .rbody .cc-heat td.r{background:#efa29c}
}
@media print{
 #jsaprint .mosh-report .cc-status p:not(.cc-per){grid-column:3;grid-row:1/3;align-self:center;font-size:8pt}
 #jsaprint .mosh-report .rbody :is(th,td){padding:1.6mm 2.5mm;font-size:8.5pt;line-height:1.4}
 #jsaprint .mosh-report .rbody h3{padding:1mm 0 2mm!important;margin-bottom:2mm}
 #jsaprint .mosh-report .rbody .report-overview{gap:5mm;margin-bottom:3mm}
 #jsaprint .mosh-report .rbody .report-overview h3{font-size:10pt}
 #jsaprint .mosh-report .rbody .report-overview :is(td,th){padding:1.5mm;font-size:8pt}
}
@media print{
 @page mosh-report{margin-bottom:22mm}
 html.report-print body:before,html.report-print body:after{display:none!important}
 #jsaprint .mosh-report .rhead{padding-bottom:2mm;margin-bottom:2mm}
 #jsaprint .mosh-report .rmeta{padding:2.5mm;margin-bottom:3mm}
 #jsaprint .mosh-report .rbody .kpis{margin-bottom:2mm}
 #jsaprint .mosh-report .rbody .report-overview .cc-trend svg{max-height:30mm}
 #jsaprint .mosh-report .rbody .report-overview .srcs span{font-size:8pt!important}
}

@media print{
 #jsaprint .mosh-report .rprovenance{font-size:7pt;color:#786a86;margin-left:4mm;font-weight:400}
}
@media print{
 html:has(#jsaprint>.mosh-report),html:has(#jsaprint>.mosh-report) body{color-scheme:light!important;background:#fff!important;color:#242236!important;width:auto!important;max-width:none!important;overflow:visible!important;position:static!important;transform:none!important;margin:0!important;padding:0!important}
 html:has(#jsaprint>.mosh-report) body:before,html:has(#jsaprint>.mosh-report) body:after{display:none!important}
 #jsaprint:has(>.mosh-report){position:static!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;overflow:visible!important}
}

/* Module reports share the same visual language; forms retain their own layout. */
@media screen{
 :is(#rpbody,#r3rep,#ra_rep,#insrep_body,#hr_body,#ar_body,#in_rep,#jhrep,#os_rep,#evrep,#pprep,#chrep,#plrep,#al_rep,#au_repbody,#lr_resbox,#lr_histbox,#lr_certbox){--report-gap:18px}
 :is(#rpbody,#r3rep,#ra_rep,#insrep_body,#hr_body,#ar_body,#in_rep,#jhrep,#os_rep,#evrep,#pprep,#chrep,#plrep,#al_rep,#au_repbody,#lr_resbox,#lr_histbox,#lr_certbox) .card,:is(#rpbody,#r3rep,#ra_rep,#insrep_body,#hr_body,#ar_body,#in_rep,#jhrep,#os_rep,#evrep,#pprep,#chrep,#plrep,#al_rep,#au_repbody,#lr_resbox,#lr_histbox,#lr_certbox).card{border:1px solid var(--line);border-radius:16px;box-shadow:none;background:var(--card);padding:22px}
 :is(#rpbody,#r3rep,#ra_rep,#insrep_body,#hr_body,#ar_body,#in_rep,#jhrep,#os_rep,#evrep,#pprep,#chrep,#plrep,#al_rep,#au_repbody,#lr_resbox,#lr_histbox,#lr_certbox) :is(.two,.cc-two){gap:var(--report-gap);margin-bottom:18px;grid-template-columns:repeat(2,minmax(0,1fr))}
 :is(#rpbody,#r3rep,#ra_rep,#insrep_body,#hr_body,#ar_body,#in_rep,#jhrep,#os_rep,#evrep,#pprep,#chrep,#plrep,#al_rep,#au_repbody,#lr_resbox,#lr_histbox,#lr_certbox) h3{font-size:15px;line-height:1.5;letter-spacing:-.02em;margin-bottom:16px}
 :is(#rpbody,#r3rep,#ra_rep,#insrep_body,#hr_body,#ar_body,#in_rep,#jhrep,#os_rep,#evrep,#pprep,#chrep,#plrep,#al_rep,#au_repbody,#lr_resbox,#lr_histbox,#lr_certbox) h3>span{font-size:11px;color:var(--ink-3);font-weight:400}
 :is(#rpbody,#r3rep,#ra_rep,#insrep_body,#hr_body,#ar_body,#in_rep,#jhrep,#os_rep,#evrep,#pprep,#chrep,#plrep,#al_rep,#au_repbody,#lr_resbox,#lr_histbox,#lr_certbox) .kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;margin-bottom:22px}
 :is(#rpbody,#r3rep,#ra_rep,#insrep_body,#hr_body,#ar_body,#in_rep,#jhrep,#os_rep,#evrep,#pprep,#chrep,#plrep,#al_rep,#au_repbody,#lr_resbox,#lr_histbox,#lr_certbox) .kpi{display:flex;flex-direction:column;align-items:flex-start;gap:8px;min-width:0;padding:17px;border:1px solid var(--line);border-radius:14px;box-shadow:none;text-align:left}
 :is(#rpbody,#r3rep,#ra_rep,#insrep_body,#hr_body,#ar_body,#in_rep,#jhrep,#os_rep,#evrep,#pprep,#chrep,#plrep,#al_rep,#au_repbody,#lr_resbox,#lr_histbox,#lr_certbox) .kpi b{font-size:29px;line-height:1.2;letter-spacing:-.04em;font-variant-numeric:tabular-nums}
 :is(#rpbody,#r3rep,#ra_rep,#insrep_body,#hr_body,#ar_body,#in_rep,#jhrep,#os_rep,#evrep,#pprep,#chrep,#plrep,#al_rep,#au_repbody,#lr_resbox,#lr_histbox,#lr_certbox) .kpi :is(span,i,small){font-size:11px;line-height:1.6;font-style:normal;white-space:normal}
 :is(#rpbody,#r3rep,#ra_rep,#insrep_body,#hr_body,#ar_body,#in_rep,#jhrep,#os_rep,#evrep,#pprep,#chrep,#plrep,#al_rep,#au_repbody,#lr_resbox,#lr_histbox,#lr_certbox) .tbl-wrap{max-width:100%;overflow:auto;overscroll-behavior-x:contain}
 :is(#rpbody,#r3rep,#ra_rep,#insrep_body,#hr_body,#ar_body,#in_rep,#jhrep,#os_rep,#evrep,#pprep,#chrep,#plrep,#al_rep,#au_repbody,#lr_resbox,#lr_histbox,#lr_certbox) .tbl{border-collapse:separate;border-spacing:0}
 :is(#rpbody,#r3rep,#ra_rep,#insrep_body,#hr_body,#ar_body,#in_rep,#jhrep,#os_rep,#evrep,#pprep,#chrep,#plrep,#al_rep,#au_repbody,#lr_resbox,#lr_histbox,#lr_certbox) .tbl th{font-size:10px;letter-spacing:0;text-transform:none;padding:11px 10px;background:var(--surf-2);color:var(--ink-2)}
 :is(#rpbody,#r3rep,#ra_rep,#insrep_body,#hr_body,#ar_body,#in_rep,#jhrep,#os_rep,#evrep,#pprep,#chrep,#plrep,#al_rep,#au_repbody,#lr_resbox,#lr_histbox,#lr_certbox) .tbl td{font-size:12px;line-height:1.6;padding:12px 10px;border-bottom:1px solid var(--line)}
 :is(#rpbody,#r3rep,#ra_rep,#insrep_body,#hr_body,#ar_body,#in_rep,#jhrep,#os_rep,#evrep,#pprep,#chrep,#plrep,#al_rep,#au_repbody,#lr_resbox,#lr_histbox,#lr_certbox) .rexp{gap:8px!important;margin-bottom:18px!important}
 :is(#rpbody,#r3rep,#ra_rep,#insrep_body,#hr_body,#ar_body,#in_rep,#jhrep,#os_rep,#evrep,#pprep,#chrep,#plrep,#al_rep,#au_repbody,#lr_resbox,#lr_histbox,#lr_certbox) .btn{min-height:38px;border-radius:9px}
 :is(#rpbody,#r3rep,#ra_rep,#insrep_body,#hr_body,#ar_body,#in_rep,#jhrep,#os_rep,#evrep,#pprep,#chrep,#plrep,#al_rep,#au_repbody,#lr_resbox,#lr_histbox,#lr_certbox) .hb-row{gap:12px;padding-block:9px}
 :is(#rpbody,#r3rep,#ra_rep,#insrep_body,#hr_body,#ar_body,#in_rep,#jhrep,#os_rep,#evrep,#pprep,#chrep,#plrep,#al_rep,#au_repbody,#lr_resbox,#lr_histbox,#lr_certbox) .hb-l{font-size:12px;line-height:1.5;overflow-wrap:anywhere}
 :is(#rpbody,#r3rep,#ra_rep,#insrep_body,#hr_body,#ar_body,#in_rep,#jhrep,#os_rep,#evrep,#pprep,#chrep,#plrep,#al_rep,#au_repbody,#lr_resbox,#lr_histbox,#lr_certbox) .hb-v{font-size:12px;white-space:normal}
 :is(#rpbody,#r3rep,#ra_rep,#insrep_body,#hr_body,#ar_body,#in_rep,#jhrep,#os_rep,#evrep,#pprep,#chrep,#plrep,#al_rep,#au_repbody,#lr_resbox,#lr_histbox,#lr_certbox) .hb-t{min-width:0;height:8px;border-radius:5px}
 #rbuild .cc-kpis{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}
 #rbuild .cc-blocks{gap:18px}
 #rbuild .cc-blocks>.card{padding:22px;border-radius:16px;box-shadow:none}
 #rbuild .cc-bar select{max-width:100%}
 #rbuild #rb_type{min-width:0!important}
 #rbuild .cc-bar label:first-child{flex:1 1 250px}
 #rbuild .cc-heat{max-width:none;margin:0}
 #rbuild .cc-heat td{height:48px;border-radius:9px}
 #rbuild #rb_tbl:after{content:'↔ Олон баганатай хүснэгтийг хажуу тийш гүйлгэж үзнэ үү';display:block;position:sticky;left:0;font-size:10px;color:var(--ink-3);padding-top:12px}
 @media(max-width:900px){:is(#rpbody,#r3rep,#ra_rep,#insrep_body,#hr_body,#ar_body,#in_rep,#jhrep,#os_rep,#evrep,#pprep,#chrep,#plrep,#al_rep,#au_repbody,#lr_resbox,#lr_histbox,#lr_certbox) :is(.two,.cc-two){grid-template-columns:1fr}}
 @media(max-width:600px){
  :is(#rpbody,#r3rep,#ra_rep,#insrep_body,#hr_body,#ar_body,#in_rep,#jhrep,#os_rep,#evrep,#pprep,#chrep,#plrep,#al_rep,#au_repbody,#lr_resbox,#lr_histbox,#lr_certbox) .card,:is(#rpbody,#r3rep,#ra_rep,#insrep_body,#hr_body,#ar_body,#in_rep,#jhrep,#os_rep,#evrep,#pprep,#chrep,#plrep,#al_rep,#au_repbody,#lr_resbox,#lr_histbox,#lr_certbox).card{padding:16px;border-radius:13px}
  :is(#rpbody,#r3rep,#ra_rep,#insrep_body,#hr_body,#ar_body,#in_rep,#jhrep,#os_rep,#evrep,#pprep,#chrep,#plrep,#al_rep,#au_repbody,#lr_resbox,#lr_histbox,#lr_certbox) .kpis,#rbuild .cc-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  :is(#rpbody,#r3rep,#ra_rep,#insrep_body,#hr_body,#ar_body,#in_rep,#jhrep,#os_rep,#evrep,#pprep,#chrep,#plrep,#al_rep,#au_repbody,#lr_resbox,#lr_histbox,#lr_certbox) .kpi{padding:13px}:is(#rpbody,#r3rep,#ra_rep,#insrep_body,#hr_body,#ar_body,#in_rep,#jhrep,#os_rep,#evrep,#pprep,#chrep,#plrep,#al_rep,#au_repbody,#lr_resbox,#lr_histbox,#lr_certbox) .kpi b{font-size:26px}
  :is(#rpbody,#r3rep,#ra_rep,#insrep_body,#hr_body,#ar_body,#in_rep,#jhrep,#os_rep,#evrep,#pprep,#chrep,#plrep,#al_rep,#au_repbody,#lr_resbox,#lr_histbox,#lr_certbox) .hb-row{grid-template-columns:minmax(0,1fr) minmax(48px,1fr) auto;gap:8px}
  #rbuild .cc-blocks>.card{padding:16px}
  #rbuild .cc-heat td{height:38px}
 }
}
@media print{
 #jsaprint .mosh-report .report-chart{break-inside:avoid}
 #jsaprint .mosh-report .rbody .hb-row{display:grid;grid-template-columns:minmax(35mm,1fr) minmax(40mm,2fr) minmax(15mm,auto);gap:4mm;padding:1.5mm 0;break-inside:avoid}
 #jsaprint .mosh-report .rbody :is(.hb-l,.hb-v){font-size:8.5pt;line-height:1.5;white-space:normal;overflow-wrap:anywhere}
 #jsaprint .mosh-report .rbody .hb-t{min-width:0;height:2.5mm;border-radius:1mm;background:#eee8f5;align-self:center;overflow:hidden}
 #jsaprint .mosh-report .rbody .hb-t i{height:100%;display:inline-block}
 #jsaprint .mosh-report .rbody .cc-heat{max-width:150mm;table-layout:fixed;margin:0 auto 3mm}
 #jsaprint .mosh-report .rbody .cc-heat th:first-child{width:36mm}
 #jsaprint .mosh-report .rbody .cc-heat :is(th,td){text-align:center;vertical-align:middle;opacity:1}
 #jsaprint .mosh-report .rbody .cc-heat td.on{outline:none}
 #jsaprint .mosh-report .rbody :is(.kpi i,.dlt){font-size:7.5pt;font-style:normal}
 #jsaprint .mosh-report .rbody a{color:inherit;text-decoration:none}
}
@media print{
 #jsaprint .mosh-report .rbody .card.report-chart{break-inside:avoid}
 #jsaprint .mosh-report .rbody .cc-heat td{height:6mm}
}
