/* IMSP Centrul de Sănătate Sîngerei — MEDICAL CLARITY V17 */
:root{
  --mc-bg:#f4f7f9;
  --mc-surface:#ffffff;
  --mc-surface-soft:#f8fbfc;
  --mc-ink:#102a3a;
  --mc-muted:#657784;
  --mc-line:#dce6eb;
  --mc-line-strong:#c9d8df;
  --mc-primary:#087f78;
  --mc-primary-dark:#075e5a;
  --mc-primary-soft:#e8f5f3;
  --mc-navy:#113650;
  --mc-blue:#2879a8;
  --mc-success:#16765c;
  --mc-warning:#9a6a23;
  --mc-danger:#b74355;
  --mc-radius-sm:10px;
  --mc-radius:15px;
  --mc-radius-lg:22px;
  --mc-shadow-sm:0 5px 16px rgba(16,42,58,.055);
  --mc-shadow:0 14px 38px rgba(16,42,58,.085);
  --mc-rail:232px;
}

@view-transition{navigation:auto}
*{box-sizing:border-box}
html{background:var(--mc-bg);scroll-behavior:smooth}
body{
  min-height:100vh!important;
  margin:0!important;
  color:var(--mc-ink)!important;
  font-family:"Segoe UI Variable","Segoe UI",Inter,system-ui,-apple-system,sans-serif!important;
  background:
    linear-gradient(rgba(244,247,249,.94),rgba(244,247,249,.94)),
    radial-gradient(circle at 85% 0%,rgba(8,127,120,.08),transparent 36rem)!important;
  overflow-x:hidden;
  letter-spacing:.002em;
}
body:before,body:after,.pulse-ambient{display:none!important}
a{color:inherit}
h1,h2,h3,h4,h5,h6{font-family:inherit!important;color:var(--mc-ink)!important;letter-spacing:-.025em!important}
p{color:var(--mc-muted)}

/* Global institutional chrome */
.navbar,.topbar,.app-navbar,.main-header,header.topbar{
  position:relative!important;
  z-index:50!important;
  min-height:72px!important;
  color:var(--mc-ink)!important;
  background:rgba(255,255,255,.96)!important;
  border:0!important;
  border-bottom:1px solid var(--mc-line)!important;
  box-shadow:0 1px 0 rgba(16,42,58,.02)!important;
  backdrop-filter:blur(16px)!important;
}
.topbar-inner,.navbar .container,.navbar .container-fluid{
  max-width:1540px!important;
  min-height:72px!important;
  margin:auto!important;
  padding:9px 24px!important;
}
.brand{display:flex!important;align-items:center!important;gap:12px!important;text-align:left!important}
.brand-logo,.logo-box,.portal-mark-logo{
  width:50px!important;height:50px!important;min-width:50px!important;
  display:grid!important;place-items:center!important;
  padding:5px!important;border-radius:14px!important;
  background:#fff!important;border:1px solid var(--mc-line)!important;
  box-shadow:var(--mc-shadow-sm)!important;overflow:hidden!important;
}
.brand-logo img,.logo-box img,.portal-mark-logo img{width:100%!important;height:100%!important;object-fit:contain!important}
.brand-copy{text-align:left!important;min-width:0}
.brand-copy small,.kicker{
  display:block!important;margin:0 0 3px!important;color:var(--mc-primary)!important;
  font-size:.63rem!important;font-weight:800!important;letter-spacing:.13em!important;text-transform:uppercase!important;opacity:1!important
}
.brand-copy strong{display:block!important;font-size:1.02rem!important;line-height:1.15!important;color:var(--mc-navy)!important;font-weight:800!important}
.brand-copy span{display:block!important;margin-top:3px!important;color:var(--mc-muted)!important;font-size:.73rem!important;opacity:1!important}
.system-badge,.user-box,.logout-btn{
  display:inline-flex!important;align-items:center!important;gap:8px!important;
  min-height:38px!important;padding:8px 12px!important;border-radius:999px!important;
  background:var(--mc-surface-soft)!important;border:1px solid var(--mc-line)!important;
  color:var(--mc-muted)!important;font-size:.72rem!important;font-weight:700!important;box-shadow:none!important
}
.system-badge:before{content:"";width:7px;height:7px;border-radius:50%;background:#27a67f;box-shadow:0 0 0 4px rgba(39,166,127,.12)}
.user-avatar{background:var(--mc-primary-soft)!important;color:var(--mc-primary)!important}

/* Desktop rail */
.mc-rail{
  position:fixed;left:14px;top:86px;bottom:16px;z-index:45;width:var(--mc-rail);
  display:flex;flex-direction:column;padding:10px;border:1px solid var(--mc-line);border-radius:20px;
  background:rgba(255,255,255,.98);box-shadow:var(--mc-shadow);overflow:hidden
}
.mc-rail-brand{display:flex;align-items:center;gap:11px;padding:4px 5px 12px;margin-bottom:6px;border-bottom:1px solid var(--mc-line)}
.mc-rail-brand img{width:45px;height:45px;min-width:45px;object-fit:contain;padding:3px;border-radius:12px;background:#fff}
.mc-rail-brand strong{display:block;font-size:.77rem;line-height:1.25;color:var(--mc-navy)}
.mc-rail-brand small{display:block;margin-top:2px;font-size:.61rem;letter-spacing:.08em;text-transform:uppercase;color:var(--mc-primary);font-weight:800}
.mc-rail-nav{display:flex;flex-direction:column;gap:4px}
.mc-rail a{
  min-height:44px;padding:8px 10px;display:flex;align-items:center;gap:11px;border-radius:11px;
  color:#607482!important;text-decoration:none!important;font-size:.76rem;font-weight:720;transition:.16s ease
}
.mc-rail a:hover,.mc-rail a.active{background:var(--mc-primary-soft)!important;color:var(--mc-primary-dark)!important;transform:translateX(2px)}
.mc-rail svg{width:20px;height:20px;min-width:20px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.mc-rail-spacer{flex:1}.mc-rail-meta{padding:10px 7px 3px;color:#8b9aa3;font-size:.62rem;line-height:1.45;border-top:1px solid var(--mc-line)}
body.mc-has-rail main,body.mc-has-rail .main,body.mc-has-rail .page-wrap,body.mc-has-rail>.container,body.mc-has-rail>.container-fluid{margin-left:calc(var(--mc-rail) + 18px)!important}

/* General layout */
main,.main,.page-wrap{max-width:1500px!important;margin-right:auto!important;padding:22px 24px 42px!important}
.container,.container-fluid{--bs-gutter-x:1.15rem}
.page-head,.page-header,.app-page-header{
  position:relative!important;margin:0 0 14px!important;padding:18px 20px!important;
  border:1px solid var(--mc-line)!important;border-radius:var(--mc-radius-lg)!important;background:#fff!important;
  box-shadow:var(--mc-shadow-sm)!important;overflow:hidden!important
}
.page-head:before,.page-header:before,.app-page-header:before{content:"";position:absolute;left:0;top:0;bottom:0;width:5px;background:linear-gradient(180deg,var(--mc-primary),#41b5ae)}
.page-head h1,.page-header h1,.app-page-header h1{margin:0!important;font-size:1.38rem!important;font-weight:820!important}
.page-head p,.page-header p,.app-page-header p{margin:.35rem 0 0!important;font-size:.78rem!important;color:var(--mc-muted)!important}
.mc-page-status{display:inline-flex;align-items:center;gap:7px;padding:7px 10px;border:1px solid #d5e8e4;border-radius:999px;background:#f2faf8;color:var(--mc-success);font-size:.68rem;font-weight:760}
.mc-page-status:before{content:"";width:6px;height:6px;border-radius:50%;background:#31a57f}

/* Cards, panels, metrics */
.card,.panel,.section-card,.document,.table-shell,.medical-tabs-shell,.medical-tabs-wrapper{
  border:1px solid var(--mc-line)!important;border-radius:var(--mc-radius)!important;background:#fff!important;
  box-shadow:var(--mc-shadow-sm)!important;overflow:hidden
}
.card-header,.panel-header,.table-head{
  min-height:47px!important;padding:.78rem 1rem!important;background:#fbfcfd!important;border-bottom:1px solid var(--mc-line)!important;
  color:var(--mc-navy)!important;font-size:.79rem!important;font-weight:800!important
}
.card-body{padding:1rem!important}.card-footer{background:#fbfcfd!important;border-top:1px solid var(--mc-line)!important}
.stats-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important;margin-bottom:14px!important}
.stat-card,.stat-box,.summary-card,.metric-card{
  position:relative!important;min-height:102px!important;padding:15px!important;border:1px solid var(--mc-line)!important;
  border-radius:var(--mc-radius)!important;background:#fff!important;box-shadow:var(--mc-shadow-sm)!important;overflow:hidden!important
}
.stat-card:before,.stat-box:before,.summary-card:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:var(--mc-primary)}
.stat-card.highlight:before,.stat-box.highlight:before{background:var(--mc-blue)}
.stat-label,.stat-card span,.stat-box span{display:block!important;color:var(--mc-muted)!important;font-size:.69rem!important;font-weight:700!important;text-transform:none!important;letter-spacing:0!important}
.stat-value,.stat-card strong,.stat-box strong{display:block!important;margin-top:8px!important;color:var(--mc-navy)!important;font-size:1.7rem!important;line-height:1!important;font-weight:850!important}
.stat-card small,.stat-box small{display:block!important;margin-top:7px!important;color:#82919a!important;font-size:.65rem!important}
.stat-icon{background:var(--mc-primary-soft)!important;color:var(--mc-primary)!important;border:0!important;box-shadow:none!important}

/* Forms */
.form-label,label{margin-bottom:.32rem!important;color:#405663!important;font-size:.71rem!important;font-weight:760!important}
.form-control,.form-select,input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea{
  min-height:42px!important;padding:.58rem .72rem!important;border:1px solid var(--mc-line-strong)!important;border-radius:10px!important;
  background:#fff!important;color:var(--mc-ink)!important;font-size:.78rem!important;box-shadow:none!important;transition:.15s ease!important
}
textarea{min-height:92px!important;line-height:1.45!important}
.form-control:focus,.form-select:focus,input:focus,select:focus,textarea:focus{
  border-color:#76bab5!important;box-shadow:0 0 0 3px rgba(8,127,120,.11)!important;outline:0!important
}
.input-group-text{border-color:var(--mc-line-strong)!important;background:var(--mc-surface-soft)!important;color:var(--mc-muted)!important}
.form-check-input:checked{background-color:var(--mc-primary)!important;border-color:var(--mc-primary)!important}

/* Buttons */
.btn,button:not(.navbar-toggler):not(.mc-mobile-toggle){
  min-height:39px!important;padding:.52rem .82rem!important;border-radius:10px!important;font-size:.73rem!important;font-weight:780!important;
  letter-spacing:.005em!important;box-shadow:none!important;transition:.15s ease!important
}
.btn:hover,button:hover{transform:translateY(-1px)}
.btn-primary,.login-btn,.btn-auth{
  color:#fff!important;background:var(--mc-primary)!important;border-color:var(--mc-primary)!important
}
.btn-primary:hover,.login-btn:hover,.btn-auth:hover{background:var(--mc-primary-dark)!important;border-color:var(--mc-primary-dark)!important}
.btn-success{background:var(--mc-success)!important;border-color:var(--mc-success)!important}
.btn-outline-primary{color:var(--mc-primary)!important;border-color:#9acbc7!important;background:#fff!important}
.btn-outline-primary:hover{color:#fff!important;background:var(--mc-primary)!important}
.btn-secondary,.btn-light{background:#f5f8f9!important;border-color:var(--mc-line)!important;color:#4e626e!important}
.btn-danger{background:var(--mc-danger)!important;border-color:var(--mc-danger)!important}

/* Tables */
.table-responsive,.table-wrap{border:1px solid var(--mc-line)!important;border-radius:13px!important;background:#fff!important;box-shadow:none!important;overflow:auto!important}
.table{margin:0!important;color:var(--mc-ink)!important;font-size:.72rem!important;vertical-align:middle!important}
.table thead th{
  position:sticky!important;top:0!important;z-index:2!important;padding:.62rem .68rem!important;
  background:#f3f7f8!important;color:#49606d!important;border-color:var(--mc-line)!important;
  font-size:.65rem!important;font-weight:820!important;letter-spacing:.035em!important;text-transform:uppercase!important;white-space:nowrap
}
.table td{padding:.58rem .68rem!important;border-color:#e7edf0!important;line-height:1.35!important;background:#fff!important}
.table tbody tr:hover td{background:#f8fbfb!important}.table-striped>tbody>tr:nth-of-type(odd)>*{background:#fbfcfd!important}
.badge{padding:.35rem .55rem!important;border-radius:999px!important;font-size:.62rem!important;font-weight:800!important}

/* Alerts, tabs, modal */
.alert{padding:.7rem .82rem!important;border-radius:11px!important;font-size:.73rem!important;border-width:1px!important}
.alert-success{background:#edf8f4!important;color:#275f50!important;border-color:#cde7dc!important}
.alert-danger{background:#fcf0f2!important;color:#8b3946!important;border-color:#edcdd4!important}
.alert-warning{background:#fbf6ed!important;color:#79591f!important;border-color:#eadcbc!important}
.alert-info{background:#eef6f8!important;color:#315e6b!important;border-color:#cfe3e8!important}
.nav-tabs,.medical-tabs{gap:4px!important;border:0!important;background:#f4f7f8!important;padding:4px!important;border-radius:11px!important}
.nav-tabs .nav-link,.medical-tab{border:0!important;border-radius:8px!important;color:#677984!important;font-size:.7rem!important;font-weight:750!important}
.nav-tabs .nav-link.active,.medical-tab.active{background:#fff!important;color:var(--mc-primary)!important;box-shadow:0 2px 8px rgba(16,42,58,.08)!important}
.modal-content{border:1px solid var(--mc-line)!important;border-radius:18px!important;box-shadow:0 26px 80px rgba(16,42,58,.2)!important}
.dropdown-menu{border:1px solid var(--mc-line)!important;border-radius:12px!important;box-shadow:var(--mc-shadow)!important}

/* Public portal — visible redesign */
body.mc-portal{background:#eef4f6!important}
.mc-public{min-height:100vh;display:flex;flex-direction:column}
.mc-public-header{height:78px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:11px clamp(18px,4vw,58px);background:#fff;border-bottom:1px solid var(--mc-line)}
.mc-public-brand{display:flex;align-items:center;gap:12px}.mc-public-brand img{width:52px;height:52px;object-fit:contain}.mc-public-brand strong{display:block;color:var(--mc-navy);font-size:1rem}.mc-public-brand span{display:block;margin-top:2px;color:var(--mc-muted);font-size:.72rem}.mc-secure{display:flex;align-items:center;gap:8px;color:#53707a;font-size:.7rem;font-weight:750}.mc-secure i{width:8px;height:8px;border-radius:50%;background:#27a67f;box-shadow:0 0 0 5px rgba(39,166,127,.11)}
.mc-public-main{width:min(1240px,calc(100% - 32px));margin:auto;padding:42px 0 46px;display:grid;grid-template-columns:minmax(0,.9fr) minmax(520px,1.1fr);gap:48px;align-items:center}
.mc-public-copy{padding:8px}.mc-eyebrow{display:inline-flex;align-items:center;gap:8px;margin-bottom:18px;padding:7px 10px;border:1px solid #cfe5e3;border-radius:999px;background:#fff;color:var(--mc-primary);font-size:.67rem;font-weight:820;letter-spacing:.08em;text-transform:uppercase}.mc-eyebrow:before{content:"";width:7px;height:7px;border-radius:50%;background:var(--mc-primary)}
.mc-public-copy h1{max-width:650px;margin:0;color:var(--mc-navy)!important;font-size:clamp(2.4rem,5vw,4.6rem)!important;line-height:.99!important;font-weight:880!important;letter-spacing:-.055em!important}.mc-public-copy h1 em{font-style:normal;color:var(--mc-primary)}
.mc-public-copy p{max-width:610px;margin:22px 0 0;font-size:1rem;line-height:1.7;color:#617581}.mc-public-features{display:flex;flex-wrap:wrap;gap:8px;margin-top:25px}.mc-public-features span{padding:8px 11px;border-radius:9px;background:#fff;border:1px solid var(--mc-line);color:#536975;font-size:.69rem;font-weight:720}
.mc-module-panel{padding:18px;border:1px solid var(--mc-line);border-radius:26px;background:rgba(255,255,255,.9);box-shadow:0 24px 65px rgba(16,42,58,.11)}
.mc-module-title{display:flex;align-items:end;justify-content:space-between;gap:16px;padding:4px 5px 16px}.mc-module-title h2{margin:0;font-size:1rem!important}.mc-module-title span{font-size:.67rem;color:var(--mc-muted)}
.mc-module-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.mc-module{
  position:relative;min-height:126px;padding:17px;border:1px solid var(--mc-line);border-radius:16px;background:#fff;text-decoration:none!important;overflow:hidden;transition:.18s ease
}
.mc-module:hover{border-color:#a9d2ce;box-shadow:0 12px 28px rgba(16,42,58,.085);transform:translateY(-2px)}
.mc-module.wide{grid-column:1/-1;min-height:105px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:14px}
.mc-module-icon{width:43px;height:43px;display:grid;place-items:center;border-radius:12px;background:var(--mc-primary-soft);color:var(--mc-primary)}
.mc-module-icon svg{width:23px;height:23px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.mc-module strong{display:block;margin-top:15px;color:var(--mc-navy);font-size:.83rem}.mc-module span{display:block;margin-top:6px;color:var(--mc-muted);font-size:.67rem;line-height:1.45}.mc-module.wide strong{margin-top:0}.mc-module-arrow{position:absolute;top:16px;right:16px;color:#9aabb3;font-size:1rem}.mc-module.wide .mc-module-arrow{position:static}
.mc-public-footer{display:flex;justify-content:space-between;gap:16px;padding:14px clamp(18px,4vw,58px);border-top:1px solid var(--mc-line);background:rgba(255,255,255,.7);color:#7d8d96;font-size:.65rem}

/* Authentication — calm split composition */
body.mc-auth{display:grid!important;grid-template-columns:minmax(360px,.86fr) minmax(480px,1.14fr)!important;min-height:100vh!important;background:#f1f5f7!important;padding:0!important}
.mc-auth-brand{position:relative;display:flex;flex-direction:column;justify-content:space-between;padding:54px;overflow:hidden;background:linear-gradient(155deg,#0b5f5a,#0f8179 58%,#0b5e73);color:#fff}
.mc-auth-brand:after{content:"";position:absolute;width:420px;height:420px;right:-180px;bottom:-180px;border:80px solid rgba(255,255,255,.06);border-radius:50%}
.mc-auth-brand-logo{display:flex;align-items:center;gap:14px;position:relative;z-index:2}.mc-auth-brand-logo img{width:68px;height:68px;object-fit:contain;padding:5px;border-radius:18px;background:#fff}.mc-auth-brand-logo strong{display:block;color:#fff;font-size:1.02rem}.mc-auth-brand-logo span{display:block;margin-top:3px;color:rgba(255,255,255,.72);font-size:.73rem}.mc-auth-brand-copy{position:relative;z-index:2;max-width:520px}.mc-auth-brand-copy small{font-size:.67rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:#9ee0d9}.mc-auth-brand-copy h2{margin:14px 0;color:#fff!important;font-size:clamp(2.2rem,4vw,4.5rem)!important;line-height:1!important;letter-spacing:-.055em!important}.mc-auth-brand-copy p{color:rgba(255,255,255,.78);font-size:.93rem;line-height:1.7}.mc-auth-brand-foot{position:relative;z-index:2;color:rgba(255,255,255,.58);font-size:.67rem}
body.mc-auth .auth-card,body.mc-auth .login-shell{width:100%!important;max-width:none!important;min-height:100vh!important;margin:0!important;padding:38px!important;display:grid!important;place-items:center!important;background:#f7f9fa!important}
body.mc-auth .auth-card>.card,body.mc-auth .login-card{width:min(470px,100%)!important;padding:0!important;border:1px solid var(--mc-line)!important;border-radius:24px!important;background:#fff!important;box-shadow:0 24px 70px rgba(16,42,58,.11)!important}
body.mc-auth .login-card{padding:36px!important}.mc-auth .logo-box{display:none!important}.mc-auth .head{text-align:left!important;margin-bottom:25px!important}.mc-auth .head h1{font-size:1.65rem!important}.mc-auth .head p{font-size:.77rem!important}.mc-auth .guide-link,.mc-auth .secondary-link{font-size:.7rem!important;color:var(--mc-primary)!important}.mc-auth .footer-note{color:#8b9aa2!important}

/* Mobile navigation */
.mc-mobile-nav{display:none}.mc-mobile-toggle{display:none}

/* Reports / official documents */
body.mc-report .card,body.mc-report .document,body.mc-report .table-shell{box-shadow:none!important}
.report-head,.document-header,.print-header{border-bottom:2px solid var(--mc-navy)!important;padding-bottom:10px!important;margin-bottom:14px!important}
.report-logo{object-fit:contain!important}
.mc-print-letterhead{display:none}

@media(max-width:1260px){
  :root{--mc-rail:78px}.mc-rail-brand strong,.mc-rail-brand small,.mc-rail a span,.mc-rail-meta{display:none}.mc-rail-brand{justify-content:center}.mc-rail a{justify-content:center;padding:8px}.mc-rail a:hover{transform:none}body.mc-has-rail main,body.mc-has-rail .main,body.mc-has-rail .page-wrap,body.mc-has-rail>.container,body.mc-has-rail>.container-fluid{margin-left:96px!important}
  .mc-public-main{grid-template-columns:1fr;max-width:920px}.mc-public-copy{text-align:center}.mc-public-copy h1,.mc-public-copy p{margin-left:auto;margin-right:auto}.mc-public-features{justify-content:center}
}
@media(max-width:900px){
  .mc-rail{display:none}.mc-mobile-nav{position:fixed;left:10px;right:10px;bottom:10px;z-index:70;display:grid;grid-template-columns:repeat(5,1fr);padding:6px;border:1px solid var(--mc-line);border-radius:17px;background:rgba(255,255,255,.96);box-shadow:0 14px 45px rgba(16,42,58,.17);backdrop-filter:blur(16px)}.mc-mobile-nav a{min-height:48px;display:grid;place-items:center;gap:2px;border-radius:11px;text-decoration:none;color:#72848e;font-size:.57rem;font-weight:750}.mc-mobile-nav a.active{background:var(--mc-primary-soft);color:var(--mc-primary)}.mc-mobile-nav svg{width:19px;height:19px;stroke:currentColor;fill:none;stroke-width:1.8}
  body.mc-has-rail main,body.mc-has-rail .main,body.mc-has-rail .page-wrap,body.mc-has-rail>.container,body.mc-has-rail>.container-fluid{margin-left:auto!important;padding-bottom:82px!important}
  body.mc-auth{display:block!important}.mc-auth-brand{display:none!important}body.mc-auth .auth-card,body.mc-auth .login-shell{padding:18px!important}
}
@media(max-width:720px){
  html{font-size:14px}.topbar-inner,.navbar .container,.navbar .container-fluid{min-height:64px!important;padding:7px 10px!important}.brand-logo{width:44px!important;height:44px!important;min-width:44px!important}.brand-copy strong{font-size:.88rem!important}.brand-copy span,.system-badge{display:none!important}
  main,.main,.page-wrap{padding:11px 8px 88px!important}.page-head,.page-header,.app-page-header{padding:14px!important;border-radius:14px!important}.mc-page-status{display:none}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}.stat-card,.stat-box{min-height:86px!important;padding:11px!important}.stat-card strong,.stat-box strong{font-size:1.35rem!important}.card-body{padding:.75rem!important}.table{font-size:.67rem!important}
  .mc-public-header{height:68px;padding:8px 13px}.mc-public-brand img{width:46px;height:46px}.mc-secure span{display:none}.mc-public-main{width:calc(100% - 18px);padding:28px 0;gap:25px}.mc-public-copy h1{font-size:2.55rem!important}.mc-public-copy p{font-size:.86rem}.mc-public-features{display:none}.mc-module-panel{padding:10px;border-radius:18px}.mc-module-grid{grid-template-columns:1fr;gap:7px}.mc-module,.mc-module.wide{grid-column:auto;min-height:94px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;padding:12px}.mc-module strong{margin-top:0}.mc-module span{margin-top:4px}.mc-module-arrow{position:static}.mc-public-footer{display:none}
}

@page{size:A4 portrait;margin:9mm}
@media print{
  html,body{font-size:8.7pt!important;background:#fff!important;color:#000!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}
  .mc-rail,.mc-mobile-nav,.mc-auth-brand,.no-print,.btn,.navbar,.topbar,.main-header,.page-head,.page-header,.filter-card,nav,footer,.mc-page-status{display:none!important}
  body.mc-has-rail main,body.mc-has-rail .main,body.mc-has-rail .page-wrap,main,.main,.page-wrap,.container,.container-fluid{width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
  .mc-print-letterhead{display:grid!important;grid-template-columns:15mm 1fr auto;gap:3mm;align-items:center;padding-bottom:2.5mm;margin-bottom:3mm;border-bottom:1.5px solid #000}.mc-print-letterhead img{width:14mm;height:14mm;object-fit:contain}.mc-print-letterhead strong{display:block;font-size:10pt}.mc-print-letterhead span{display:block;margin-top:1mm;font-size:7pt}.mc-print-letterhead small{font-size:7pt;text-align:right}
  .card,.document,.table-shell,.table-responsive{box-shadow:none!important;border-radius:0!important;border-color:#555!important;background:#fff!important;overflow:visible!important}.card-body,.document-body{padding:0!important}
  .stats-grid{grid-template-columns:repeat(4,1fr)!important;gap:1.5mm!important}.stat-card,.stat-box{min-height:0!important;padding:1.2mm!important;border:1px solid #777!important;box-shadow:none!important}.stat-card:before,.stat-box:before{display:none!important}
  .table{width:100%!important;font-size:6.4pt!important}.table thead{display:table-header-group!important}.table tfoot{display:table-footer-group!important}.table tr{break-inside:avoid!important;page-break-inside:avoid!important}.table th,.table td{padding:.85mm .95mm!important;border:1px solid #777!important;line-height:1.08!important;color:#000!important;background:#fff!important}.table thead th{position:static!important;font-size:5.8pt!important;background:#edf0f1!important}.badge{border:1px solid #777!important;background:#fff!important;color:#000!important}a{color:#000!important;text-decoration:none!important}
}
@media print{body.mc-report-wide{page:mcLandscape}}@page mcLandscape{size:A4 landscape;margin:7mm}
