/* Mobile patient record; NEXO order overview follows the loaded plan context. */
.patient-mobile-header-controls,.patient-mobile-orders{display:none}
@media(max-width:768px){
 #os-page-content[data-patient-mobile-overview="nexo"] .patient-sidebar-shell,
 #os-page-content[data-patient-mobile-overview="nexo"] .patient-personal-section,
 #os-page-content[data-patient-mobile-overview="nexo"] #patient-radiology-tracking,
 #os-page-content[data-patient-mobile-overview="nexo"] #patient-issued-labs,
 #os-page-content[data-patient-mobile-overview="nexo"] #patient-issued-referrals{display:none!important}
 #os-page-content[data-patient-mobile-overview] .patient-record-layout{display:block!important}
 #os-page-content[data-patient-mobile-overview] .patient-record-main{width:100%!important;min-width:0;padding:0!important}
 #os-page-content[data-patient-mobile-overview] .patient-record-header{
  position:relative!important;inset:auto!important;min-height:0!important;height:auto!important;
  margin:0!important;padding:12px!important;border:1px solid #d6e3eb;border-radius:16px;
  background:#fff;box-shadow:0 4px 16px #17344808;
 }
 #os-page-content[data-patient-mobile-overview] .patient-record-identity{
  display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:8px 10px!important;align-items:center;
 }
 #os-page-content[data-patient-mobile-overview] .patient-page-main{grid-column:1/-1;grid-row:1;min-width:0}
 #os-page-content[data-patient-mobile-overview] .patient-page-eyebrow{display:block!important;font-size:10px;line-height:1.3;margin:0 0 4px}
 #os-page-content[data-patient-mobile-overview] .patient-page-main h1{font-size:20px!important;line-height:1.2!important;margin:0;overflow-wrap:anywhere}
 #os-page-content[data-patient-mobile-overview] .patient-page-meta{display:none!important}
 #os-page-content[data-patient-mobile-overview] .patient-page-admin{
  grid-column:1;grid-row:2;display:flex!important;align-items:center;min-height:0;
  margin:0!important;padding:6px 0 0!important;border:0!important;background:transparent!important;
 }
 #os-page-content[data-patient-mobile-overview] .patient-admin-details{display:flex!important;flex-direction:row!important;gap:8px!important;width:auto!important}
 #os-page-content[data-patient-mobile-overview] .patient-admin-context{display:flex!important;flex-wrap:wrap;align-items:center;gap:6px}
 #os-page-content[data-patient-mobile-overview] .patient-admin-context>span{font-size:10px;line-height:1.3}
 #os-page-content[data-patient-mobile-overview] .patient-admin-context>strong{font-size:12px!important;line-height:1.3;padding:4px 8px!important;white-space:normal;overflow-wrap:anywhere}
 #os-page-content[data-patient-mobile-overview] .patient-record-header .patient-record-identity .patient-page-actions{
  grid-column:2;grid-row:2;display:flex!important;gap:5px!important;margin:0!important;width:auto!important;flex-wrap:nowrap!important;max-width:none;
 }
 #os-page-content[data-patient-mobile-overview] .patient-page-actions .patient-contact-icon{width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;margin:0!important}
 #os-page-content[data-patient-mobile-overview] .patient-mobile-header-controls{display:flex;gap:8px;margin-top:10px;flex-wrap:wrap}
 #os-page-content[data-patient-mobile-overview] .patient-mobile-header-controls .btn{flex:1;min-height:44px;min-width:0;font-size:13px;padding:8px;white-space:normal;line-height:1.3}
 #os-page-content[data-patient-mobile-overview="nexo"] .patient-mobile-orders{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:12px 0}
 .patient-mobile-order-card{--patient-card-color:#087f93;--patient-card-tint:#e5f7fa;display:flex;flex-direction:column;gap:8px;min-width:0;padding:12px;border:1px solid #d6e3eb;border-top:3px solid var(--patient-card-color);border-radius:14px;background:linear-gradient(145deg,var(--patient-card-tint),#fff);box-shadow:0 4px 14px #17344806}
 .patient-mobile-order-card.is-lab{--patient-card-color:#087b63;--patient-card-tint:#e8f7f1}
 .patient-mobile-order-card.is-referral{--patient-card-color:#7541bc;--patient-card-tint:#f4edfc;grid-column:1/-1}
 .patient-mobile-card-view{display:flex;flex:1;flex-direction:column;align-items:flex-start;gap:7px;width:100%;min-height:56px;border:0;padding:0;background:transparent;color:#183e50;font:inherit;text-align:left;cursor:pointer;overflow-wrap:anywhere}
 .patient-mobile-card-view strong{font-size:16px;line-height:1.3;color:var(--patient-card-color)}
 .patient-mobile-active-count{font-size:13px;line-height:1.4;color:#496578}
 .patient-mobile-create{width:100%;min-height:44px;border:1px solid var(--patient-card-color)!important;border-radius:9px!important;background:#fff!important;color:var(--patient-card-color)!important;font-size:14px!important;white-space:normal!important;padding:8px!important}
 .patient-mobile-create[hidden]{display:none!important}
 .patient-mobile-card-view:focus-visible,.patient-mobile-dialog button:focus-visible{outline:3px solid #0b63ce;outline-offset:3px}
 #os-page-content[data-patient-mobile-overview] .patient-order-content{padding:0!important;min-height:0!important;flex:0 0 auto!important}
 #os-page-content[data-patient-mobile-overview] .patient-record-footer{margin-top:12px!important;padding:12px 2px!important;font-size:11px;line-height:1.5}
}
.patient-mobile-dialog{
 position:fixed;inset:0;width:min(560px,calc(100vw - 20px));max-width:none;
 max-height:calc(100dvh - 24px);margin:auto;padding:0;box-sizing:border-box;overflow:hidden;
 border:1px solid #d6e3eb;border-radius:18px;background:#fff;color:#183e50;box-shadow:0 24px 80px #102c5855;
}
.patient-mobile-dialog[open]{display:flex;flex-direction:column}
.patient-mobile-dialog::backdrop{background:#102c5877}
.patient-mobile-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 14px;border-bottom:1px solid #d6e3eb;flex-shrink:0}
.patient-mobile-dialog>header h2{font-size:18px;line-height:1.3;margin:0;overflow-wrap:anywhere}
.patient-mobile-dialog>header button{min-height:44px;font-size:13px;padding:8px 12px}
.patient-mobile-dialog-body{min-height:0;overflow:auto;overscroll-behavior:contain;padding:12px;font-size:14px;line-height:1.5;overflow-wrap:anywhere}
.patient-mobile-dialog-body :is(.patient-personal-section,.patient-radiology-tracking,.os-linked-dashboard){margin:0!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;min-width:0}
.patient-mobile-dialog .patient-personal-head{padding:0 0 10px!important;margin:0!important;border:0!important;background:transparent!important;min-height:0!important}
.patient-mobile-dialog .patient-personal-title{display:none!important}
.patient-mobile-dialog .patient-personal-edit{width:100%;min-height:44px;font-size:14px;padding:8px}
.patient-mobile-dialog .patient-personal-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px;padding:0!important}
.patient-mobile-dialog .patient-personal-field{min-width:0;padding:9px 0!important;margin:0!important}
.patient-mobile-dialog .patient-personal-field:nth-child(3),.patient-mobile-dialog .patient-personal-field:nth-child(5){grid-column:1/-1}
.patient-mobile-dialog .patient-personal-field small{font-size:11px;line-height:1.3}
.patient-mobile-dialog .patient-personal-field strong{font-size:14px;line-height:1.4;overflow-wrap:anywhere}
.patient-mobile-dialog .patient-data-review{margin:0 0 8px;padding:10px 12px;font-size:13px;line-height:1.45}
.patient-mobile-dialog .patient-data-review p{margin:5px 0 8px}
.patient-mobile-dialog .patient-data-review .btn{min-height:44px;font-size:13px;padding:8px 10px;white-space:normal}
.patient-mobile-dialog :is(.patient-radiology-head,.os-linked-dashboard-head){display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:0 0 10px!important;margin:0!important;min-height:0!important;background:transparent!important}
.patient-mobile-dialog :is(.patient-radiology-head,.os-linked-dashboard-head)>.clinic-feature-icon{display:none}
.patient-mobile-dialog :is(.patient-radiology-head,.os-linked-dashboard-head) :is(h2,h3){font-size:17px;line-height:1.3;margin:0}
.patient-mobile-dialog :is(.patient-radiology-head-actions,.os-linked-dashboard-actions){display:flex;align-items:center;flex-wrap:wrap;gap:8px;width:100%;margin:0!important}
.patient-mobile-dialog :is(.patient-radiology-head-actions,.os-linked-dashboard-actions) .btn{min-height:44px;white-space:normal}
.patient-mobile-dialog .patient-radiology-notice{padding:10px!important;font-size:13px!important;line-height:1.45!important}
.patient-mobile-dialog :is(.patient-radiology-empty,.os-linked-dashboard-empty){padding:12px 0!important;font-size:14px;line-height:1.45}
.patient-mobile-dialog :is(.patient-olab-card,.patient-olab-stack){min-width:0}
.patient-mobile-dialog .patient-olab-card{padding:10px!important;white-space:normal}
.patient-mobile-dialog .patient-olab-card-copy strong{font-size:14px;line-height:1.4}
@media(prefers-reduced-motion:reduce){.patient-mobile-dialog *{scroll-behavior:auto!important}}
@media(max-width:768px){
 #os-page-content[data-patient-mobile-overview] .patient-mobile-personal-button{background:#1976c9!important;border-color:#1976c9!important;color:#fff!important}
 #os-page-content[data-patient-mobile-overview="full"] .patient-personal-section,
 #os-page-content[data-patient-mobile-overview="full"] .os-section-menu button[data-section="datos-personales"]{display:none!important}
 #os-page-content[data-patient-mobile-overview="full"] .patient-page-admin{grid-column:1/-1;grid-row:2}
 #os-page-content[data-patient-mobile-overview="full"] .patient-record-header .patient-record-identity .patient-page-actions{grid-column:1/-1;grid-row:3;justify-content:flex-start!important}
 #os-page-content[data-patient-mobile-overview="full"] .patient-admin-details{flex-wrap:wrap!important;gap:6px 12px!important}
 #os-page-content[data-patient-mobile-overview="full"] .patient-admin-context{flex:1;min-width:0;width:auto!important;align-items:flex-start!important;justify-content:flex-start!important;text-align:left!important}
 #os-page-content[data-patient-mobile-overview="full"] .patient-admin-context+ .patient-admin-context{padding:0!important;margin:0!important;border:0!important}
 #os-page-content[data-patient-mobile-overview="full"] .patient-sidebar-shell{margin:10px 0!important;padding:10px!important;border:1px solid #d6e3eb;border-radius:14px;background:#fff!important}
 #os-page-content[data-patient-mobile-overview="full"] .patient-orders-nav.sidebar{display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center;padding:0!important;background:#fff!important;color:#183e50!important;border:0!important;box-shadow:none!important}
 #os-page-content[data-patient-mobile-overview="full"] :is(.patient-sidebar-back,.patient-record-sidebar-brand,.patient-orders-nav-head small){display:none!important}
 #os-page-content[data-patient-mobile-overview="full"] .patient-orders-nav-head{grid-column:1;grid-row:1;margin:0!important;padding:0 0 8px!important;background:transparent!important}
 #os-page-content[data-patient-mobile-overview="full"] .patient-orders-nav-head strong{color:#183e50!important;font-size:15px!important}
 #os-page-content[data-patient-mobile-overview="full"] .patient-new-order{grid-column:2;grid-row:1;min-height:44px!important;margin:0 0 8px!important;padding:8px 12px!important;font-size:14px!important}
 #os-page-content[data-patient-mobile-overview="full"] .patient-order-tabs{grid-column:1/-1;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px!important;overflow:visible!important;padding:0!important}
 #os-page-content[data-patient-mobile-overview="full"] .patient-order-tab{width:auto!important;min-width:0!important;max-width:none!important;flex-basis:auto!important;padding:10px!important;min-height:0!important;position:relative}
 #os-page-content[data-patient-mobile-overview="full"] .patient-order-tab :is(strong,span,small){white-space:normal!important;overflow-wrap:anywhere}
 #os-page-content[data-patient-mobile-overview="full"] .patient-order-tab.is-closed{background:#f3f6f8!important;opacity:1!important}
 #os-page-content[data-patient-mobile-overview="full"] .patient-order-tab.is-closed :is(strong,span,small){color:#496578!important;opacity:1!important}
 #os-page-content[data-patient-mobile-overview="full"] .patient-order-tab strong{font-size:14px!important}
 #os-page-content[data-patient-mobile-overview="full"] .patient-order-tab .patient-order-title{display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-size:12px!important;line-height:1.4!important}
 #os-page-content[data-patient-mobile-overview="full"] .patient-order-tab .patient-order-edit{width:44px;min-height:44px;align-self:flex-end;border:1px solid #d6e3eb;border-radius:8px;background:#fff;color:#496578}
 #os-page-content[data-patient-mobile-overview="full"] .os-section-menu{position:relative!important;top:auto!important;margin:8px 0!important;padding:8px!important;border-radius:12px}
 #os-page-content[data-patient-mobile-overview="full"] .os-section-menu-links button{min-height:44px!important;padding:8px 10px!important;font-size:13px!important}
 #os-page-content[data-patient-mobile-overview="full"] :is(.os-context-identity h2,.os-context-summary h2){font-size:18px!important;line-height:1.35!important;overflow-wrap:anywhere}
 #os-page-content[data-patient-mobile-overview="full"] .os-context-row{padding:12px!important}
 #os-page-content[data-patient-mobile-overview="full"] .os-referrals-dashboard>.card>.card-head{display:flex!important;flex-wrap:wrap!important;gap:8px!important;padding:12px!important;min-height:0!important}
 #os-page-content[data-patient-mobile-overview="full"] .os-referrals-dashboard .clinic-feature-icon{display:none!important}
 #os-page-content[data-patient-mobile-overview="full"] .os-referral-title{font-size:16px!important;line-height:1.3!important}
 #os-page-content[data-patient-mobile-overview="full"] .os-referrals-dashboard .os-card-action{min-height:44px!important;margin:0!important;padding:8px 12px!important}
 #os-page-content .os-referrals-table{display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;table-layout:auto!important;border:0!important;background:transparent!important}
 #os-page-content .os-referrals-table thead{display:none!important}
 #os-page-content .os-referrals-table tbody{display:grid!important;gap:10px;width:100%!important}
 #os-page-content .os-referrals-table tbody tr{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px;width:100%!important;padding:12px!important;box-sizing:border-box;border:1px solid #d6e3eb!important;border-radius:12px;background:#fff!important}
 #os-page-content .os-referrals-table tbody td{display:block!important;width:auto!important;min-width:0!important;max-width:none!important;padding:0!important;border:0!important;text-align:left!important;white-space:normal!important;word-break:normal!important;overflow-wrap:break-word!important;color:#183e50!important;font-size:14px!important;line-height:1.4!important;box-sizing:border-box}
 #os-page-content .os-referrals-table td:nth-child(n+3){grid-column:1/-1}
 #os-page-content .os-referrals-table td::before{content:attr(data-label)!important;display:block!important;position:static!important;width:auto!important;margin:0 0 4px!important;font-size:11px!important;font-weight:700;color:#647b8b!important;text-transform:uppercase;white-space:normal!important}
 #os-page-content .os-referrals-table td *{word-break:normal!important;overflow-wrap:break-word!important;max-width:100%;box-sizing:border-box}
 #os-page-content .os-referrals-table td .btn,#os-page-content .os-referrals-table td .act-btn{min-height:44px!important;min-width:44px!important;padding:8px 10px!important;font-size:13px!important;white-space:normal!important}
 #os-page-content .os-referrals-table td[data-label="Acciones"]>div{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));min-width:0!important;gap:8px!important}
 #os-page-content .os-referrals-table td[data-label="Acciones"]>div>div{grid-column:1/-1}
}

@media(max-width:768px){
 #os-page-content .os-treatment-table{display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;table-layout:auto!important;border:0!important;background:transparent!important}
 #os-page-content .os-treatment-table thead{display:none!important}
 #os-page-content .os-treatment-table tbody{display:grid!important;gap:10px;width:100%!important}
 #os-page-content .os-treatment-table tbody tr{display:grid!important;width:100%!important;box-sizing:border-box;border:1px solid #d6e3eb!important;border-radius:12px;background:#fff!important}
 #os-page-content .os-treatment-table td{display:block!important;width:auto!important;min-width:0!important;max-width:none!important;padding:0!important;border:0!important;white-space:normal!important;word-break:normal!important;overflow-wrap:break-word!important;text-align:left!important;font-size:14px!important;line-height:1.4!important;box-sizing:border-box}
 #os-page-content .os-treatment-table td::before{content:attr(data-label)!important;display:block!important;position:static!important;width:auto!important;margin:0 0 4px!important;font-weight:700;color:#647b8b!important;text-transform:uppercase;white-space:normal!important}
 #os-page-content .os-treatment-table td:first-child,#os-page-content .os-treatment-table td.has-lab,#os-page-content .os-treatment-table td:nth-child(n+6){grid-column:1/-1}
 #os-page-content .os-treatment-table td *{max-width:100%;box-sizing:border-box;word-break:normal!important;overflow-wrap:break-word!important}
 #os-page-content .os-treatment-table :is(button,.btn,.act-btn,select,input){min-height:44px!important;white-space:normal!important;font-size:13px!important}
 #os-page-content .os-treatment-table :is(button,.btn,.act-btn){padding:8px 10px!important}
 #os-page-content #os-section-laboratorio [onclick^="toggleOlabRow("]{display:grid!important;grid-template-columns:minmax(0,1fr);gap:6px!important}
 #os-page-content #os-section-laboratorio [onclick^="toggleOlabRow("]>span{min-width:0;white-space:normal!important;overflow-wrap:anywhere}
 #os-page-content #os-section-laboratorio .olab-destination-label{display:none!important}
 #os-page-content #os-section-laboratorio [onclick^="toggleOlabRow("]>.pill{justify-self:start}
 #os-page-content .os-payment-entry{display:grid!important;grid-template-columns:minmax(0,1fr) auto;align-items:start!important;gap:8px;padding:10px 0!important}
 #os-page-content .os-payment-entry>div{min-width:0;overflow-wrap:anywhere}
 #os-page-content .os-payment-entry>span{white-space:nowrap}
 #os-page-content[data-patient-mobile-overview] :is(.os-olab-dashboard,.os-radiology-dashboard,.os-payments-dashboard){min-width:0}
 #os-page-content[data-patient-mobile-overview] :is(.os-linked-dashboard-head,.patient-radiology-head,.os-support-card-head,.os-modern-section-head){display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:8px!important;padding:12px!important;min-height:0!important}
 #os-page-content[data-patient-mobile-overview] :is(.os-linked-dashboard-head,.patient-radiology-head,.os-support-card-head,.os-modern-section-head)>.clinic-feature-icon{display:none!important}
 #os-page-content[data-patient-mobile-overview] :is(.os-linked-dashboard-head,.patient-radiology-head,.os-support-card-head,.os-modern-section-head) :is(h2,h3,strong){font-size:16px!important;line-height:1.3!important}
 #os-page-content[data-patient-mobile-overview] :is(.os-linked-dashboard-actions,.patient-radiology-head-actions){display:flex!important;gap:8px!important;flex-wrap:wrap!important;margin:0!important}
 #os-page-content[data-patient-mobile-overview] :is(.os-linked-dashboard-actions,.patient-radiology-head-actions,.os-support-card-head,.os-modern-section-head) .btn{min-height:44px!important;padding:8px 10px!important;font-size:13px!important;white-space:normal!important}
 :is(#os-page-content,.patient-mobile-dialog) .patient-radiology-main{grid-template-columns:minmax(0,1fr) auto!important;gap:8px!important;padding:12px!important}
 :is(#os-page-content,.patient-mobile-dialog) .patient-radiology-code{grid-column:1;grid-row:1;min-width:0;overflow-wrap:anywhere}
 :is(#os-page-content,.patient-mobile-dialog) .patient-radiology-main>.rad-status{grid-column:2;grid-row:1;max-width:120px;white-space:normal}
 :is(#os-page-content,.patient-mobile-dialog) .patient-radiology-copy{grid-column:1/-1;grid-row:2;min-width:0}
 :is(#os-page-content,.patient-mobile-dialog) .patient-radiology-copy :is(strong,small){white-space:normal!important;overflow-wrap:anywhere}
 :is(#os-page-content,.patient-mobile-dialog) .patient-radiology-item-actions{padding:0 12px 12px!important;gap:8px}
 :is(#os-page-content,.patient-mobile-dialog) .patient-radiology-item-actions .btn{min-height:44px!important;font-size:13px!important;white-space:normal!important}
 :is(#os-page-content,.patient-mobile-dialog) :is(.patient-radiology-mail-badge,.patient-radiology-awaiting){width:100%;margin:0;overflow-wrap:anywhere}
}


/* One mobile header layout: title above, count left and primary action right. */
@media(max-width:768px){
 #os-page-content[data-patient-mobile-overview] .patient-order-content :is(.os-linked-dashboard-head,.patient-radiology-head,.os-support-card-head,.os-modern-section-head),
 #os-page-content[data-patient-mobile-overview="full"] .os-referrals-dashboard>.card>.card-head{
  display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:8px 12px!important;align-items:center!important;justify-content:stretch!important;flex-direction:initial!important;padding:12px!important;text-align:left!important;
 }
 #os-page-content[data-patient-mobile-overview] .patient-order-content :is(.os-linked-dashboard-head,.patient-radiology-head,.os-support-card-head,.os-modern-section-head)>.clinic-feature-icon{display:none!important}
 #os-page-content[data-patient-mobile-overview] .patient-order-content :is(.os-linked-dashboard-head,.patient-radiology-head,.os-support-card-head,.os-modern-section-head)>div:not(.os-linked-dashboard-actions):not(.patient-radiology-head-actions){grid-column:1/-1;grid-row:1;width:auto!important;min-width:0;margin:0!important;text-align:left!important}
 #os-page-content[data-patient-mobile-overview] .patient-order-content :is(.os-linked-dashboard-head,.patient-radiology-head,.os-support-card-head,.os-modern-section-head) :is(h2,h3,.os-modern-section-copy strong,.os-referral-title>span:last-child){font-size:16px!important;line-height:1.3!important;margin:0!important;text-align:left!important}
 #os-page-content[data-patient-mobile-overview] .patient-order-content :is(.os-linked-dashboard-actions,.patient-radiology-head-actions){display:contents!important}
 #os-page-content[data-patient-mobile-overview] .patient-order-content :is(.os-linked-dashboard-actions>b,.patient-radiology-count,.os-payment-total-badge,.os-modern-section-count){grid-column:1;grid-row:2;justify-self:start;margin:0!important;font-size:12px!important;max-width:100%!important;min-width:0;white-space:normal!important;overflow-wrap:break-word;line-height:1.35!important}
 #os-page-content[data-patient-mobile-overview] .patient-order-content :is(.os-linked-dashboard-head,.patient-radiology-head,.os-support-card-head,.os-modern-section-head) .os-card-action{grid-column:2;grid-row:2;justify-self:end;align-self:center;margin:0!important;min-height:44px!important;padding:8px 12px!important;box-shadow:none!important;font-size:13px!important;line-height:1.3!important;white-space:normal!important}
 #os-page-content .os-treatment-table tbody tr{gap:8px 12px!important;padding:10px!important}
 #os-page-content .os-treatment-table td::before{font-size:10px!important;margin-bottom:3px!important;letter-spacing:.02em}
 #os-page-content .os-treatment-table td:first-child::before{display:none!important}
 #os-page-content .os-treatment-table .os-item-title{font-size:14px!important;line-height:1.4!important;margin:0!important}
 #os-page-content .os-treatment-table .os-item-description>label{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(110px,1fr);gap:8px!important;margin-top:8px!important;font-size:12px!important}
 #os-page-content .os-treatment-table .os-item-description>label select{width:100%!important;min-width:0!important;min-height:44px!important;padding:6px 8px!important}
 #os-page-content .os-treatment-table .os-item-progress{display:grid!important;grid-template-columns:minmax(0,1fr) auto;align-items:center!important;gap:6px 8px!important;margin-top:8px!important}
 #os-page-content .os-treatment-table .os-item-progress>span:first-child{grid-column:1;font-size:10px!important;line-height:1.25!important;letter-spacing:0!important}
 #os-page-content .os-treatment-table .os-item-progress>.pill{grid-column:2;justify-self:end;white-space:normal!important;text-align:center}
 #os-page-content .os-treatment-table .os-item-progress>.btn{margin-top:0!important;width:100%;min-width:0;grid-row:2}
 #os-page-content .os-treatment-table .os-item-progress>.btn:only-of-type{grid-column:1/-1}
 #os-page-content .os-treatment-table .os-item-progress>.btn-primary{background:#1976c9!important;border-color:#1976c9!important;color:#fff!important}
}


@media(max-width:768px){
 #os-page-content .os-treatment-table tbody tr{grid-template-columns:minmax(34px,.45fr) repeat(2,minmax(0,1fr))!important;column-gap:8px!important}
 #os-page-content .os-treatment-table td:first-child,#os-page-content .os-treatment-table td:nth-child(n+5){grid-column:1/-1}
 #os-page-content .os-treatment-table td:nth-child(2){grid-column:1;grid-row:2}
 #os-page-content .os-treatment-table td:nth-child(3){grid-column:2;grid-row:2}
 #os-page-content .os-treatment-table td:nth-child(4){grid-column:3;grid-row:2}
 #os-page-content .os-treatment-table td:nth-child(3)::before{content:"P. unitario"!important}
 #os-page-content .os-treatment-table td:nth-child(4)::before{content:"Total"!important}
 #os-page-content .os-treatment-table td:nth-child(n+2):nth-child(-n+4){font-size:13px!important;font-variant-numeric:tabular-nums;overflow-wrap:anywhere!important}
}
