@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');
/* MELICARE typography v6 — unified across the whole bundle.
   Body/UI: Nunito Sans. Display/product wordmarks: Plus Jakarta Sans. */
:root{
  --mc-font-body:'Nunito Sans','Avenir Next','Segoe UI',Arial,sans-serif;
  --mc-font-display:'Plus Jakarta Sans','Avenir Next','Segoe UI',Arial,sans-serif;
  --mc-body-size:16px;
  --mc-body-lg:17px;
  --mc-small:13px;
  --mc-label:14px;
  --mc-control:15px;
  --mc-card-title:17px;
  --mc-section-title:21px;
  --mc-page-title:31px;
  --mc-ink:#1f3d52;
  --mc-muted:#536b7d;
}

html,body{font-family:var(--mc-font-body)!important;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
body{font-size:var(--mc-body-size)!important;color:var(--mc-ink)!important}
button,input,select,textarea{font-family:var(--mc-font-body)!important}

/* Product/application names: same size and face everywhere. */
.suite-word,.mc-or-brand .suite-word,.brandText,.meliProductText,.brand-word,.meliProductBrand .meliProductText{
  font-family:var(--mc-font-display)!important;
  font-size:26px!important;
  font-weight:800!important;
  line-height:1.1!important;
  letter-spacing:-.8px!important;
}
.suite-word em,.mc-or-brand .suite-word em,.brandText span,.brandText em,.meliProductText em,.brand-word .brand-suffix{
  font-family:var(--mc-font-display)!important;
  font-size:1em!important;
  font-weight:600!important;
  letter-spacing:-.55px!important;
}
.suite-brand small,.mc-or-brand.suite-brand small,.brand-baseline{
  font-family:var(--mc-font-body)!important;
  font-size:11px!important;
  line-height:1.25!important;
  font-weight:700!important;
  letter-spacing:1.3px!important;
}

/* Global heading scale. */
h1{font-family:var(--mc-font-display)!important}
.suite-ui h1,.mc-or h1,.meli-unified h1,.mc-login h1{font-size:var(--mc-page-title)!important;line-height:1.25!important;font-weight:750!important;letter-spacing:-.8px!important}
.suite-ui :is(.panelHead h2,.sectionHead h2,.mediaHead h2),
.mc-or :is(.od-section-head h2,.blockhead h2,.head h2),
.meli-unified :is(.panel h2,.page-heading h1){font-family:var(--mc-font-display)!important}
.suite-ui :is(.panelHead h2,.sectionHead h2,.mediaHead h2),
.mc-or :is(.od-section-head h2,.blockhead h2,.head h2){font-size:var(--mc-section-title)!important;line-height:1.35!important;font-weight:700!important;letter-spacing:-.3px!important}

/* Body / controls / labels. */
.suite-ui :is(.field input,.field select,.field textarea,.filters input,.filters select,.tools input,.btn,.analyzeBtn,.demo-action,.uploadBtn,.newChat,.miniBtn),
.mc-or :is(input,select,textarea,button),
.meli-unified :is(button,input,select,textarea),
.mc-login :is(button,input,select,textarea){font-size:var(--mc-control)!important}
.suite-ui .field label,.mc-or .field label,.meli-unified label,.mc-login label{font-size:var(--mc-label)!important;line-height:1.35!important}
.suite-ui :is(.panelHead p,.sectionHead p,.mediaHead p,.hero p,.sub,.record p,.upload p),
.mc-or :is(.od-subtitle,.od-section-head p:not(.od-eyebrow),.blockhead p,.head p),
.meli-unified :is(.panel-sub,.muted,.role),.mc-login p{font-size:14px!important;line-height:1.55!important;color:var(--mc-muted)!important}
.suite-ui :is(table,.data,.history table,.table table),.meli-unified table{font-size:15px!important}
.suite-ui :is(th,td),.meli-unified :is(th,td){font-size:15px!important}

/* Local navigation and global app switcher. */
.suite-ui header.suite-header .suite-local-nav .nav,.suite-ui header.suite-header .suite-local-nav .nav b,
.mc-or .mc-or-local-nav button{font-family:var(--mc-font-body)!important;font-size:15px!important;font-weight:700!important;line-height:1.25!important}
#meliTopControlsV70 :is(#meliHomeV63,#meliAuthBtnV69,#meliAppNavBtnV62),#meliAppNavMenuV62 a{font-family:var(--mc-font-body)!important;font-size:14px!important}
.meliAppNavTitleV62{font-size:11px!important}

/* Clinical pages — slightly larger, still compact. */
.suite-clinical .timelineStep b{font-size:15px!important;line-height:1.35!important}
.suite-clinical .timelineStep span{font-size:13px!important;line-height:1.35!important}
.suite-clinical .groupTitle b{font-size:15px!important}
.suite-clinical .field input,.suite-clinical .field select,.suite-clinical .field textarea{font-size:15px!important}
.suite-clinical .uploadBox b{font-size:15px!important}.suite-clinical .uploadBox span,.suite-clinical .fileStatus{font-size:13px!important}
.suite-clinical .metricTabs button{font-size:13px!important}.suite-clinical .chartLegend{font-size:13px!important}
.suite-clinical .attentionTop b,.suite-clinical .reasonHeader b{font-size:14px!important;line-height:1.3!important}
.suite-clinical .attentionTop :is(small,span),.suite-clinical .reasonHeader :is(small,span),.suite-clinical :is(.indicatorDeltaInline,.deltaInline,.reasonDetailInline,.reasonValueInline){font-size:12.5px!important;line-height:1.3!important}
.suite-clinical :is(.deltaText,.reasonText,.rangeLabels){font-size:12.5px!important;line-height:1.35!important}
.suite-clinical .lifeCard b{font-size:14px!important}.suite-clinical .lifeCard span{font-size:13px!important;line-height:1.45!important}
.suite-clinical .factorCard b{font-size:13.5px!important}.suite-clinical .factorCard span{font-size:12.5px!important;line-height:1.4!important}
.suite-clinical :is(.riskText p,.aiRiskText p){font-size:13.5px!important;line-height:1.5!important}
.suite-clinical :is(.riskText h3,.aiRiskText h3){font-size:18px!important}
.suite-clinical .eyebrow{font-size:11px!important}

/* OCR / Voice. */
.suite-ocr :is(.title h1,.hero h1),.suite-voice :is(.title h1,.hero h1){font-size:29px!important;line-height:1.3!important}
.suite-ocr :is(.sub,.upload p,.dropzone p),.suite-voice :is(.hero p,.record p,.upload p){font-size:16px!important;line-height:1.55!important}
.suite-ocr :is(.sect,.pill,.badge),.suite-voice :is(.section,.badge){font-size:14px!important}

/* VLM. */
body[data-mc-page="melivlm"] :is(.chatHeader h1,.rightHead h2){font-size:19px!important}
body[data-mc-page="melivlm"] :is(.chatHeader p,.rightHead p,.sideTitle){font-size:13px!important}
body[data-mc-page="melivlm"] :is(.msgText,.composer textarea){font-size:16px!important}
body[data-mc-page="melivlm"] .suggestions{max-width:600px!important;gap:8px!important;margin-top:14px!important;grid-auto-rows:auto!important}
body[data-mc-page="melivlm"] .suggestion{min-height:68px!important;height:auto!important;padding:10px 13px!important;border-radius:13px!important;gap:8px!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;font-size:14.5px!important;line-height:1.4!important;color:#405e73!important;background:#f5f8fb!important}
body[data-mc-page="melivlm"] .suggestion[data-ui-icon]::before{width:21px!important;height:21px!important;flex:0 0 21px!important;margin:0!important}
body[data-mc-page="melivlm"] .welcome{padding-bottom:9px!important}

/* MELIDx hub. */
body[data-mc-page="melidx"] .hub-name{font-family:var(--mc-font-display)!important;font-size:19px!important;font-weight:750!important;letter-spacing:-.3px!important}
body[data-mc-page="melidx"] .hub-card p{font-size:14.5px!important;line-height:1.45!important}
body[data-mc-page="melidx"] .hub-link{font-size:14px!important}

/* MELIOR: readability + fix clipped room cards after larger text. */
body.mc-or{font-size:16px!important}
body.mc-or .topbar,body.mc-or .topbar :is(b,span){font-size:14px!important}
body.mc-or .summary h1{font-size:30px!important}.mc-or .summary .date{font-size:13px!important}
body.mc-or .stat b{font-size:30px!important}.mc-or .stat strong{font-size:14px!important}.mc-or .stat small{font-size:12px!important}
body.mc-or .remain b{font-size:19px!important}.mc-or .remain small{font-size:12px!important}
body.mc-or .roomsblock .viewport{padding-bottom:12px!important}
body.mc-or .room{height:290px!important;min-height:290px!important;padding:14px!important;overflow:hidden!important}
body.mc-or .roomname{font-size:20px!important}.mc-or .tag{font-size:11px!important}.mc-or .eyebrow{font-size:10px!important}.mc-or .case{font-size:14px!important;min-height:36px!important}.mc-or .stage{font-size:11px!important}.mc-or .nextcase{font-size:12px!important;min-height:34px!important;padding:7px 8px!important}.mc-or .progressmeta strong{font-size:19px!important}.mc-or .progressmeta span{font-size:10px!important}.mc-or .progressmeta span b{font-size:12px!important}.mc-or .navrooms span{font-size:12px!important}
body.mc-or :is(.caseKpi span,.surgeryRow small,.caseDetailHead small,.caseDetailHead p,.detailSection h3,.infoBox span,.teamLine,.equipmentTags i,.statusChip){font-size:12px!important}
body.mc-or :is(.surgeryRow b,.infoBox b){font-size:13px!important}
body.mc-or .od-section-head h2{font-size:21px!important}.mc-or .od-page-heading h1{font-size:31px!important}.mc-or .od-eyebrow{font-size:12px!important}

/* Dashboards + login: align families and nudge readability. */
body.meli-unified,body.mc-login{font-family:var(--mc-font-body)!important;font-size:16px!important}
body.meli-unified :is(.brand-word,.page-heading h1,.kpi-value,.task-head-count,.donut-text strong),body.mc-login h1{font-family:var(--mc-font-display)!important}
body.meli-unified :is(.profile .name,.task-title,.schedule-detail strong,.department-cell){font-size:15px!important}
body.meli-unified :is(.profile .role,.task-desc,.schedule-detail span,.source-note){font-size:14px!important}


/* Raise legacy microcopy that was 8–12 px in older standalone pages. */
.suite-vlm :is(.sideTitle,.projectItem,.historyRow,.userMini b,.userMini span,.galleryTitle b,.galleryTitle span,.viewerLabel,.answerRef b,.answerRef span,.reportBlock h3,.reportBlock p,.miniBtn,.uploadBtn),
.suite-voice :is(.mainNav .nav small,.time,.section,.head span),
.suite-ocr :is(.receipt,.notification-label,.fancyAction,.row-action,.bulk-btn){font-size:13px!important}
.mc-or :is(.event,.event small,.emergencyText span,.durationhead,.drow,.mixlist,.effSummary,.effY,.effX,.detailHead p,.detailStat span,.detailRow,.opsModalHead p,.opsStat span,.opsRow,.caseKpi span,.caseListHead,.caseDetailHead small,.caseDetailHead p,.detailSection h3,.infoBox span,.teamLine,.equipmentTags i,.statusChip){font-size:12px!important}
.mc-or :is(.event b,.emergencyText b,.drow b,.detailRow strong,.opsRow strong,.surgeryRow b,.infoBox b){font-size:13px!important}
.meli-unified :is(.smallcaps,.badge,.kpi-top,.kpi-unit,.kpi-bottom,.kpi-foot,.chart-legend,.bed-key,.dept-bar-head,.task-time,.task-desc,.task-byline,.task-period,.schedule-time,.schedule-detail span,.source-note,th,td){font-size:14px!important}

/* Contrast: darker text, without strengthening borders. */
.suite-ui,.mc-or,.meli-unified,.mc-login{color:var(--mc-ink)!important}
.suite-ui :is(.panelHead p,.sectionHead p,.mediaHead p,.sub,.hero p,.record p,.upload p,.chatHeader p,.rightHead p,.field label,.chartLegend,.timelineStep span,.uploadBox span,.fileStatus,.factorCard span,.lifeCard span,.riskText p,.aiRiskText p,.reasonText,.deltaText,.rangeLabels,.sideTitle,.projectItem,.historyRow,.msgText),
.mc-or :is(.od-subtitle,.od-section-head p:not(.od-eyebrow),.blockhead p,.head p,.summary .date,.stat small),
.meli-unified :is(.muted,.panel-sub,.role,.task-desc,.schedule-detail span){color:var(--mc-muted)!important}
.suite-ui :is(.panelHead h2,.sectionHead h2,.mediaHead h2,.groupTitle b,.attentionTop b,.reasonHeader b,.lifeCard b,.factorCard b,.riskText h3,.aiRiskText h3){color:#24475f!important}
input::placeholder,textarea::placeholder{color:#7b8d9a!important;opacity:1!important}

@media(max-width:1250px){body.mc-or .room{height:292px!important;min-height:292px!important}}
@media(max-width:760px){
  .suite-word,.mc-or-brand .suite-word,.brandText,.meliProductText,.brand-word{font-size:23px!important}
  .suite-ui h1,.mc-or h1,.meli-unified h1,.mc-login h1{font-size:28px!important}
  .suite-ui :is(.panelHead h2,.sectionHead h2,.mediaHead h2),.mc-or :is(.od-section-head h2,.blockhead h2,.head h2){font-size:19px!important}
  body[data-mc-page="melivlm"] .suggestion{min-height:60px!important;padding:9px 11px!important;font-size:13.5px!important}
  body.mc-or .room{height:294px!important;min-height:294px!important}
}


/* v7 vertical rhythm — slightly tighter line spacing for easier scanning. */
body{line-height:1.45!important}
p,li,dd,td,th,.msgText,.reportBlock p,.panelHead p,.sectionHead p,.mediaHead p,.hero p,.sub,.record p,.upload p,.riskText p,.aiRiskText p,.lifeCard span,.factorCard span,.reasonText,.deltaText,.task-desc,.schedule-detail span,.source-note{line-height:1.4!important}
.suite-clinical :is(.attentionTop b,.reasonHeader b,.lifeCard b,.factorCard b){line-height:1.25!important}
.suite-ui :is(button,input,select,textarea),.mc-or :is(button,input,select,textarea),.meli-unified :is(button,input,select,textarea){line-height:1.25!important}
