@media screen{.clinical-shell{--workspace-radius:1rem;font-size:.9375rem}.workspace-topbar{border-bottom:1px solid var(--ui-border);background:var(--ui-bg);justify-content:space-between;align-items:center;gap:1rem;min-height:4.5rem;padding:.75rem 2.25rem;display:flex}.workspace-search{border:1px solid var(--ui-border);background:var(--ui-surface);min-width:2.75rem;min-height:2.75rem;color:var(--ui-text-muted);border-radius:.75rem;justify-content:center;align-items:center;gap:.625rem;padding:.5rem .875rem;font-size:.8125rem;transition:background-color .16s;display:inline-flex}.workspace-search:hover{background:var(--ui-surface-secondary);color:var(--ui-text)}.clinical-shell :where(h1,h2,h3){text-wrap:balance}.clinical-shell :where(h1){letter-spacing:-.035em;font-weight:700}.clinical-shell :where(h2,h3){letter-spacing:-.015em}.clinical-shell :where(.uppercase):not(input){text-transform:none;letter-spacing:normal}.clinical-shell :where(p){text-wrap:pretty}.ui-card{box-shadow:0 2px 8px #0000000a}.ui-badge{border-color:#0000}.ui-button{cursor:pointer}.ui-button:disabled{cursor:default}.clinical-content :where(table){font-size:.875rem}.clinical-content :where(th){text-transform:none;letter-spacing:normal;font-size:.75rem;font-weight:500}.clinical-content :where(tbody tr){transition:background-color .16s}.clinical-content :where(tbody tr:hover){background-color:var(--ui-surface-secondary)}.clinical-content :where(td){vertical-align:middle}.clinical-content :where(input,select,textarea):not([type=checkbox],[type=radio],[type=color],[type=range],[type=hidden]){border-radius:.75rem}.clinical-content :where(summary){cursor:pointer}.clinical-content .nts-simple-chart .nts-simple-face{stroke:var(--ui-border-strong)}.patient-workspace-header{padding:.25rem 0 1.25rem}.patient-workspace-nav{background:var(--ui-surface);border-radius:1rem;padding:.375rem}.patient-workspace-nav [role=tab]{border-color:#0000}.patient-workspace-nav [role=tab][aria-selected=true]{background:var(--ui-surface-secondary);color:var(--ui-text);border-bottom-color:var(--ui-accent-light);border-bottom-width:2px}.patient-workspace-nav [role=tab][aria-selected=true] svg{color:var(--ui-accent-light)}.patient-section-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;display:flex}.patient-section-header h2{font-size:1.125rem}.patient-section-header p{max-width:36rem}.patient-section-header nav{gap:.25rem}.patient-section-header nav button{background:0 0;border-color:#0000;font-size:.8125rem}.patient-section-header nav button:hover{background:var(--ui-surface)}.patient-overview-grid{align-items:start;gap:1.25rem;display:grid}.patient-overview-grid>section{min-width:0}.patient-overview-grid .patient-today{background:var(--ui-surface);border:1px solid var(--ui-border);border-radius:1rem;grid-column:1/-1;padding:1.25rem}.patient-status-strip{background:0 0;border:0;border-radius:0}.patient-status-strip>div{padding:1rem 1.25rem}.patient-status-strip>div:first-child{padding-left:0}.clinical-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;display:grid}.clinical-stat{border:1px solid var(--ui-border);background:var(--ui-surface);border-radius:1rem;min-width:0;padding:1.25rem}.clinical-stat-value{letter-spacing:-.04em;margin:1.25rem 0 .375rem;font-size:clamp(1.5rem,2vw,2rem);font-weight:600;line-height:1.2}.settings-workspace{align-items:start;gap:1.5rem;display:grid}.settings-index{background:var(--ui-surface);border-radius:1rem;flex-wrap:wrap;gap:.25rem;padding:.375rem;display:flex}.settings-index a{min-height:2.75rem}.home-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;display:grid}.home-shortcuts .ui-card{background:0 0;border:0;grid-template-columns:1.25rem minmax(0,1fr);align-items:center;column-gap:.75rem;padding:.75rem;display:grid}.home-shortcuts .ui-card svg{color:var(--ui-text-muted);grid-row:span 2;margin:0}.home-shortcuts .ui-card:hover{background:var(--ui-surface)}@media (min-width:1280px){.patient-overview-grid{grid-template-columns:minmax(0,1.3fr) minmax(19rem,.9fr)}.clinical-stat-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.settings-workspace{grid-template-columns:11rem minmax(0,1fr);gap:2rem}.settings-index{flex-direction:column;position:sticky;top:1.5rem}.home-shortcuts{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (max-width:1023px){.workspace-topbar{min-height:4.5rem;padding:.75rem 1rem .75rem 4.5rem}}@media (max-width:767px){.clinical-content :where(input,select,textarea):not([type=checkbox],[type=radio],[type=range]){font-size:1rem}.patient-section-header{gap:.5rem}.patient-section-header nav{margin-left:-.75rem}.patient-status-strip>div,.patient-status-strip>div:first-child{padding:.875rem 0}.patient-overview-grid{gap:1rem}.clinical-stat-grid{gap:.75rem}.clinical-stat{padding:1rem}}.home-workspace .clinical-stat-grid{border-block:1px solid var(--ui-border);gap:0}.home-workspace .clinical-stat{background:0 0;border:0;border-radius:0;padding:1rem 1.25rem}.home-workspace .clinical-stat+.clinical-stat{border-left:1px solid var(--ui-border)}.home-workspace .clinical-stat-value{margin:.6rem 0 .2rem;font-size:1.5rem}.home-workspace .clinical-stat>div{margin:0}.home-followup .ui-card>div:first-child{flex-wrap:wrap;gap:.75rem}.home-followup h2{font-size:1rem}.home-followup h4{font-size:.8125rem}.home-followup .ui-button{flex-shrink:0}@media (min-width:1280px){.home-day-grid{grid-template-rows:auto 1fr;grid-template-areas:"agenda pending""charts pending"}.home-agenda{grid-area:agenda}.home-pending{grid-area:pending}.home-analytics{grid-area:charts}}.patient-directory{border:1px solid var(--ui-border);background:var(--ui-surface);border-radius:1.25rem;overflow:hidden}.patient-directory>header{padding:1.5rem 1.25rem 1rem}.patient-directory>header h1{font-size:1.5rem}.patient-directory>section[aria-label=Buscar\ pacientes]{padding:.5rem 1.25rem 1.25rem}.patient-directory>section[aria-label="Listado de pacientes"],.patient-directory>section[aria-label=Cargando\ pacientes]{border-inline:0;border-bottom:0;border-radius:0}.patient-directory>[aria-busy]{margin-top:1rem}@media (max-width:1279px){.home-workspace .clinical-stat:nth-child(3){border-left:0}.home-workspace .clinical-stat:nth-child(n+3){border-top:1px solid var(--ui-border)}.patient-directory-row{grid-template-columns:minmax(0,1fr) auto;gap:.65rem 1rem;padding:1rem}.directory-identity{grid-area:1/1}.directory-identity>div[aria-hidden]{display:none}.directory-financial{display:contents}.directory-balance{grid-area:1/2}.directory-balance>span{display:none}.directory-balance>div>span{margin:0;display:block}.directory-contact{flex-wrap:wrap;grid-area:2/1/auto/-1;gap:.4rem 1rem;display:flex}.directory-last-visit{flex-direction:row;grid-area:3/1/auto/-1;align-items:center;gap:.6rem}.directory-last-visit>span:last-child{color:var(--ui-text-muted);font-size:.75rem}}.patient-identity-panel{border:1px solid var(--ui-border);background:var(--ui-surface);border-radius:1.25rem}.patient-identity-panel .patient-workspace-header{padding:1.25rem}.patient-identity-panel .patient-workspace-nav{border-top:1px solid var(--ui-border);background:var(--ui-bg);border-radius:0 0 1.25rem 1.25rem;padding:.4rem .75rem}.patient-identity-panel .patient-workspace-nav [role=tab]{border-radius:.65rem;font-size:.8125rem}.patient-identity-panel .patient-workspace-nav [role=tab][aria-selected=true]{background:var(--ui-surface-secondary);box-shadow:inset 3px 0 var(--ui-accent-light);border-bottom-color:#0000}.patient-identity-panel .patient-workspace-nav [role=tab]:focus-visible{outline:2px solid var(--ui-accent-light);outline-offset:2px}.patient-overview-grid{grid-template-columns:minmax(0,1fr);grid-template-areas:"medical""today""activity""details"}.patient-overview-grid .patient-today{border:0;border-left:3px solid var(--ui-accent-light);border-radius:.25rem .9rem .9rem .25rem;grid-area:today}.patient-medical-panel{grid-area:medical}.patient-activity-panel{grid-area:activity}.patient-details-panel{grid-area:details}.clinical-encounter-list{margin:0;padding:0;list-style:none}.clinical-encounter-row+.clinical-encounter-row{border-top:1px solid var(--ui-border)}.clinical-encounter-summary{cursor:pointer;min-height:44px;padding:1rem 2rem 1rem .25rem;list-style:none;position:relative}.clinical-encounter-summary::-webkit-details-marker{display:none}.clinical-encounter-summary:after{content:"+";color:var(--ui-text-muted);font-size:1.25rem;position:absolute;top:1.25rem;right:.25rem}.clinical-encounter-detail[open]>summary:after{content:"−"}.clinical-encounter-summary:hover{background:var(--ui-surface-secondary)}.clinical-encounter-summary:focus-visible{outline:2px solid var(--ui-accent-light);outline-offset:2px;border-radius:.5rem}.clinical-encounter-content{border-left:2px solid var(--ui-border-strong);margin:0 0 1rem .25rem;padding:0 1rem 1.25rem}.clinical-document-library{border:1px solid var(--ui-border);border-radius:1rem;display:grid;overflow:hidden}.clinical-document-row{grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:.75rem 1rem;min-width:0;padding:1rem;display:grid}.clinical-document-row+.clinical-document-row{border-top:1px solid var(--ui-border)}.clinical-document-row:hover{background:var(--ui-surface-secondary)}.clinical-document-icon{background:var(--ui-surface-secondary);width:44px;height:44px;color:var(--ui-text-muted);border-radius:.8rem;grid-row:span 2;place-items:center;display:grid}.clinical-document-row h3{margin-top:.4rem}.clinical-document-meta{color:var(--ui-text-muted);flex-wrap:wrap;grid-area:2/2;gap:.65rem 1rem;font-size:.75rem;display:flex}.clinical-document-open{grid-area:1/3/span 2;min-height:44px}.saved-budget-compact>div:first-child{background:var(--ui-surface);padding:1rem 1.25rem}.saved-budget-compact h3{font-size:1.1rem}.saved-budget-details summary:focus-visible{outline:2px solid var(--ui-accent-light);outline-offset:-3px}.saved-budget-details[open] summary{border-bottom:1px solid var(--ui-border)}.clinical-shell .ui-card{border-radius:1rem}@media (min-width:1280px){.patient-overview-grid{grid-template:"medical medical""today today""activity details"/minmax(0,1fr) 22rem}}@media (max-width:767px){.patient-identity-panel .patient-workspace-header{padding:1rem}.patient-identity-panel .patient-workspace-nav{padding:.75rem}.patient-workspace-header h1{font-size:1.25rem}.patient-workspace-header h1 span{font-size:.875rem}.clinical-document-row{grid-template-columns:36px minmax(0,1fr);gap:.75rem;padding:.875rem}.clinical-document-icon{width:36px;height:44px}.clinical-document-meta{grid-column:2}.clinical-document-open{grid-area:3/2;justify-self:start}.clinical-document-row .ui-badge{font-size:.6875rem}}.clinical-shell .ui-card-section{box-shadow:none;background:0 0;border:0;border-radius:0}.clinical-shell .ui-card-section>div:first-child{background:0 0;padding:.75rem 0}.clinical-shell .ui-card-section>div:nth-child(2){padding:1rem 0!important}.clinical-shell .ui-card-section h3{font-size:1rem}.patient-workspace .patient-identity-panel{background:0 0;border:0;border-radius:0}.patient-workspace .patient-identity-panel,.patient-workspace .patient-summary-content{container-type:inline-size}.patient-workspace .patient-workspace-header{padding:0 0 1rem}.patient-workspace .patient-workspace-header h1{font-size:1.75rem}.patient-workspace .patient-workspace-nav{border:0;border-bottom:1px solid var(--ui-border);background:0 0;border-radius:0;padding:0}.patient-workspace .patient-workspace-nav [role=tab]{border-radius:0;min-height:44px;padding-block:.75rem}.patient-workspace .patient-workspace-nav [role=tab][aria-selected=true]{box-shadow:none;border-bottom:2px solid var(--ui-accent-light);background:0 0}.patient-workspace .patient-workspace-nav [role=tab] svg{display:none}.patient-workspace .patient-workspace-nav nav{gap:.5rem}.patient-workspace .patient-status-strip>div{padding:.65rem 1rem}.patient-workspace .patient-status-strip>div:first-child{padding-left:0}.patient-section-links{border-bottom:1px solid var(--ui-border);flex-wrap:wrap;gap:0 1rem;margin:0 0 .75rem;display:flex}.patient-section-links button{min-height:44px;color:var(--ui-text-muted);cursor:pointer;align-items:center;gap:.5rem;padding:.5rem 0;font-size:.8125rem;display:inline-flex}.patient-section-links button:hover{color:var(--ui-text)}.patient-section-links button:focus-visible{outline:2px solid var(--ui-accent-light);outline-offset:3px}.patient-workspace .patient-medical-panel{border:0;border-block:1px solid var(--ui-border);background:0 0;border-radius:0;padding:.75rem 0 1rem}.patient-workspace .patient-medical-panel>h2{font-size:1rem}.patient-medical-items{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem 1.25rem;margin-top:1rem;display:grid}.patient-medical-tags{margin-top:.75rem}.patient-workspace .patient-today{border:0;border-bottom:1px solid var(--ui-border);background:0 0;border-radius:0;padding:0 0 1rem}.patient-workspace .patient-activity-panel{background:0 0;border:0;border-radius:0}.patient-workspace .patient-activity-panel>div:first-child{padding:.5rem 0 .75rem}.patient-workspace .patient-activity-panel article{padding:.875rem 0}.patient-workspace .patient-activity-panel article>div:first-child{background:0 0;border-radius:0;width:1.25rem;height:1.5rem}.patient-activity-empty{border-top:1px solid var(--ui-border);padding:1.25rem 0}.patient-appointments{border-top:1px solid var(--ui-border);margin-top:.5rem;padding-top:.5rem}.patient-workspace .patient-details-panel{border-left:1px solid var(--ui-border);padding-left:1.25rem}.patient-detail-list{margin-top:.25rem}.patient-detail-list>div{border-bottom:1px solid var(--ui-border);grid-template-columns:minmax(7rem,.65fr) minmax(0,1fr);align-items:center;gap:.75rem;min-height:44px;padding:.3rem 0;display:grid}.patient-detail-list>div:last-child{border-bottom:0}.patient-detail-list dt{color:var(--ui-text-muted);font-size:.75rem;line-height:1.25rem}.patient-detail-list dd{overflow-wrap:anywhere;min-width:0;color:var(--ui-text);font-size:.875rem;line-height:1.35rem}.patient-detail-link{min-height:44px;color:var(--ui-accent-light);align-items:center;display:flex}.patient-detail-link:hover{text-decoration:underline}.patient-detail-link:focus-visible{outline:2px solid var(--ui-accent-light);outline-offset:2px}.patient-workspace .patient-financial-summary{border-block:1px solid var(--ui-border)}.patient-workspace .patient-financial-summary>div:first-child{padding:.75rem 0}.patient-workspace .clinical-document-library{border:0;border-block:1px solid var(--ui-border);border-radius:0}.patient-workspace .clinical-document-row{gap:.4rem .75rem;padding:.875rem 0}.patient-workspace .clinical-document-icon{background:0 0;border-radius:0}.patient-workspace .clinical-document-row .ui-badge{background:0 0;border:0;padding:0}.clinical-summary-options{border-bottom:1px solid var(--ui-border);margin:0 0 1rem}.clinical-summary-options>summary{min-height:44px;color:var(--ui-text-muted);cursor:pointer;justify-content:space-between;align-items:center;font-size:.8125rem;list-style:none;display:flex}.clinical-summary-options>summary::-webkit-details-marker{display:none}.clinical-summary-options>summary:after{content:"+";font-size:1.125rem}.clinical-summary-options[open]>summary:after{content:"−"}.clinical-summary-options>summary:focus-visible{outline:2px solid var(--ui-accent-light);outline-offset:2px}.budget-list-heading h2{margin-top:0;font-size:1.125rem}@media (min-width:1280px){.patient-workspace .patient-overview-no-suggestion{grid-template-rows:auto auto;grid-template-areas:"medical medical""activity details"}.patient-medical-items{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (max-width:1279px){.patient-workspace .patient-details-panel{border-left:0;padding-left:0}.patient-workspace .patient-overview-no-suggestion{grid-template-areas:"medical""activity""details"}}@media (max-width:767px){.patient-workspace.patient-has-quick-actions .patient-header-layout{grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:.5rem;display:grid}.patient-workspace.patient-has-quick-actions .patient-header-actions>a{display:none}.patient-workspace .patient-header-actions{width:auto}.patient-workspace .patient-header-actions summary{justify-content:center;min-width:44px}.patient-workspace .patient-header-actions summary>span{display:none}.patient-workspace .patient-workspace-header h1{font-size:1.25rem}.patient-workspace .patient-workspace-nav{padding:0 0 .75rem}.patient-workspace .patient-workspace-nav select{min-height:44px;padding-block:.5rem;font-size:.9375rem}.patient-workspace .patient-workspace-nav label{margin-bottom:.25rem}.patient-workspace .patient-status-strip>div{padding:.5rem 0}.patient-workspace .patient-section-links{gap:0 .875rem}.patient-workspace .patient-section-links button{font-size:.75rem}.patient-workspace .clinical-document-row{grid-template-columns:28px minmax(0,1fr) 44px;gap:.4rem .5rem}.patient-workspace .clinical-document-icon{width:28px}.patient-workspace .clinical-document-open{grid-area:1/3/span 2;gap:0;min-width:44px;min-height:44px;padding:.5rem;font-size:0}.patient-workspace .document-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem}.patient-workspace .document-filters>div:first-child{grid-column:1/-1}.patient-workspace .document-filters select{min-height:44px;padding:.5rem;font-size:1rem}.patient-workspace .clinical-summary-options>div{align-items:stretch}.patient-workspace .treatment-mobile-list article .rounded{background:0 0}}@container (max-width:34rem){.patient-workspace .patient-header-layout{flex-direction:column;align-items:stretch;gap:.75rem;display:flex}.patient-workspace .patient-header-actions{width:100%}.patient-workspace .patient-header-actions>a{flex:1}.patient-workspace .patient-workspace-nav>div:first-child{display:block}.patient-workspace .patient-workspace-nav nav{display:none}.patient-overview-grid{grid-template:"medical""today""activity""details"/minmax(0,1fr)}.patient-workspace .patient-overview-no-suggestion{grid-template-areas:"medical""activity""details"}.patient-medical-items{grid-template-columns:repeat(2,minmax(0,1fr))}.patient-workspace .patient-details-panel{border-left:0;padding-left:0}}@media (max-width:359px){.patient-medical-items{grid-template-columns:minmax(0,1fr)}.patient-detail-list>div{grid-template-columns:minmax(0,1fr);gap:0}}}
@media screen{.clinical-shell{--workspace-canvas:var(--ui-bg);--workspace-line:var(--ui-border);background:var(--workspace-canvas);font-size:.9375rem;font-weight:500}.clinical-main{background:var(--workspace-canvas)}.clinical-content{max-width:1560px}.clinical-sidebar{background:var(--ui-sidebar);border-color:var(--workspace-line)}.clinical-sidebar>div>div:first-child{border-color:var(--workspace-line);padding-block:1.25rem}.clinical-brand-mark{border-radius:.7rem}.clinical-sidebar nav[aria-label=Navegación\ principal]>div{padding-top:1rem}.clinical-sidebar nav[aria-label=Navegación\ principal]>div:first-child{padding-top:1.25rem}.clinical-sidebar nav[aria-label=Navegación\ principal] h2{color:var(--ui-text-subtle);margin-bottom:.3rem;font-size:.8125rem;font-weight:600}.clinical-nav-link{border-radius:.7rem}.clinical-nav-link[aria-current=page]{background:var(--ui-accent-soft);color:var(--ui-accent-light)}.clinical-nav-link[aria-current=page]:before{content:"";inset-block:.55rem;background:var(--ui-accent-light);border-radius:3px;width:3px;position:absolute;left:0}.clinical-sidebar>div>div:last-child{border-color:var(--workspace-line);background:var(--ui-sidebar)}.workspace-topbar{background:var(--ui-sidebar);border-color:var(--workspace-line);min-height:4.5rem;padding-block:.6rem}.workspace-topbar>div:first-child span:last-child{font-size:.9375rem;font-weight:600}.workspace-search{background:var(--ui-surface);border-color:var(--workspace-line);border-radius:.7rem}.clinical-shell .ui-card:not(.ui-card-section){border-radius:1rem}.clinical-shell .home-shortcuts .ui-card{box-shadow:none;background-image:none}.clinical-shell .ui-button,.clinical-sidebar nav[aria-label=Navegación\ principal]>div:last-child>a,.clinical-content :where(input,select,textarea):not([type=checkbox],[type=radio],[type=color],[type=range],[type=hidden]){border-radius:.7rem}.patient-directory{background:0 0;border:0;border-radius:0;overflow:visible}.patient-directory>header{padding:.25rem 0 1.3rem}.patient-directory>header h1{letter-spacing:-.035em;font-size:clamp(1.75rem,2.4vw,2.15rem);line-height:1.15}.patient-directory>header p{max-width:42rem;margin-top:.4rem}.patient-directory>header a{border-radius:.7rem}.patient-directory>section[aria-label=Buscar\ pacientes]{padding:0 0 1rem}.patient-directory>section[aria-label=Buscar\ pacientes] input{background:var(--ui-surface);border-color:var(--ui-border);min-height:3rem}.patient-directory>section[aria-label="Listado de pacientes"],.patient-directory>section[aria-label=Cargando\ pacientes]{border:1px solid var(--workspace-line);background:var(--ui-surface);border-radius:1rem;overflow:hidden}.patient-directory>section[aria-label="Listado de pacientes"]>div:first-child,.patient-directory-row:hover{background:var(--ui-surface-secondary)}.patient-directory-row .directory-identity>div[aria-hidden=true]{background:var(--ui-accent-soft);border:0;border-radius:.7rem}.patient-workspace{container:patient-workspace/inline-size}.patient-workspace .patient-identity-panel{background:0 0;border:0;border-radius:0;overflow:visible}.patient-workspace .patient-workspace-header{padding:.15rem 0 1.25rem}.patient-workspace .patient-workspace-header h1{font-size:clamp(1.55rem,2.15vw,2.1rem);line-height:1.18}.patient-workspace .patient-workspace-header h1+p{margin-top:.4rem;font-size:.8125rem;font-weight:500}.patient-workspace .patient-workspace-nav{border:1px solid var(--workspace-line);background:var(--ui-surface);border-radius:.9rem;padding:.35rem}.patient-workspace .patient-workspace-nav nav{gap:.2rem}.patient-workspace .patient-workspace-nav [role=tab]{color:var(--ui-text-muted);border:0;border-radius:.6rem;padding-inline:.65rem}.patient-workspace .patient-workspace-nav [role=tab][aria-selected=true]{background:var(--ui-accent-soft);color:var(--ui-accent-light);box-shadow:none;border:0}.patient-summary-content{flex-direction:column;gap:1rem;display:flex}.patient-summary-content>*{margin-block:0}.patient-summary-content .patient-overview-grid{grid-template-columns:minmax(0,1fr);grid-template-areas:"medical""today""details""activity";gap:1rem;display:grid}.patient-summary-content .patient-overview-no-suggestion{grid-template-areas:"medical""details""activity"}.patient-workspace .patient-status-strip{background:0 0;border:0;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;display:grid}.patient-workspace .patient-status-strip>div,.patient-workspace .patient-status-strip>div:first-child{border:1px solid var(--workspace-line);background:var(--ui-surface);border-radius:1rem;min-width:0;padding:1rem 1.15rem}.patient-workspace .patient-medical-panel,.patient-workspace .patient-activity-panel,.patient-workspace .patient-details-panel,.patient-workspace .patient-today,.patient-summary-content>details{border:1px solid var(--workspace-line);background:var(--ui-surface);border-radius:1rem;min-width:0;padding:1.2rem 1.3rem}.patient-workspace .patient-today{border-left:3px solid var(--ui-accent-light)}.patient-workspace .patient-medical-panel>h2,.patient-workspace .patient-activity-panel h2,.patient-workspace .patient-details-panel h2{font-size:1.05rem;font-weight:600}.patient-workspace .patient-status-strip p:first-child,.patient-workspace .patient-medical-items dt,.patient-workspace .patient-detail-list dt{font-size:.8125rem;font-weight:600}.patient-workspace .patient-status-strip p:nth-child(2),.patient-workspace .patient-detail-list dd{font-size:.9375rem}.patient-workspace .patient-medical-panel{grid-area:medical}.patient-workspace .patient-today{grid-area:today}.patient-workspace .patient-activity-panel{grid-area:activity}.patient-workspace .patient-details-panel{border-left:1px solid var(--workspace-line);grid-area:details;padding-left:1.3rem}.patient-profile-intro{border-bottom:1px solid var(--workspace-line);align-items:center;gap:.8rem;margin-bottom:1rem;padding-bottom:1rem;display:flex}.patient-profile-monogram{background:var(--ui-accent-soft);width:3.25rem;height:3.25rem;color:var(--ui-accent-light);border-radius:.85rem;flex:none;place-items:center;font-weight:700;display:grid}.patient-workspace .patient-detail-list>div{min-height:0;padding:.65rem 0;display:block}.patient-workspace .patient-detail-list dd{margin-top:.2rem}.patient-workspace .patient-detail-link{overflow-wrap:anywhere;min-height:0}.patient-workspace .patient-activity-panel>div:first-child{padding:0 0 .85rem}.patient-workspace .patient-activity-panel article{padding:.9rem 0}.patient-workspace .patient-activity-empty{margin-top:.75rem}.patient-workspace .patient-appointments{margin-top:1rem;padding-top:1rem}.patient-summary-content>details{border-top:1px solid var(--workspace-line)}.patient-summary-content>details>summary{padding-block:.2rem}.home-workspace{max-width:1440px}.home-workspace .clinical-stat-grid{border:1px solid var(--workspace-line);background:var(--ui-surface);border-radius:1rem;overflow:hidden}.home-workspace .clinical-stat{padding:1rem 1.2rem}.home-workspace .clinical-stat>div:first-child p{color:var(--ui-text);font-weight:600}.home-workspace .clinical-stat-value{margin:.45rem 0 .15rem;font-size:clamp(1.4rem,2vw,1.8rem)}.home-day-grid{gap:1rem}.home-agenda>div:first-child,.home-pending>.ui-card>div:nth-child(2),.home-followup .ui-card>div:first-child{padding-block:1rem}.home-agenda h2,.home-pending h2{font-size:1.05rem;font-weight:700}.home-analytics{gap:1rem}.home-shortcuts{border:1px solid var(--workspace-line);background:var(--ui-surface);border-radius:.9rem;padding:.4rem}:is(.patient-section-historial #patient-general-history,.patient-section-historial #patient-encounter-history,.patient-section-historial #patient-ortho-history:has(>section)){border:1px solid var(--workspace-line);background:var(--ui-surface);border-radius:1rem;overflow:hidden}.patient-section-historial #patient-general-history>section,.patient-section-historial #patient-encounter-history>section,.patient-section-historial #patient-ortho-history>section{padding:1.25rem 1.4rem}.patient-section-historial #patient-general-history h2,.patient-section-historial #patient-encounter-history h2,.patient-section-historial #patient-ortho-history h2{font-size:1.05rem;font-weight:700}.patient-section-historial #patient-general-history :where(p):not(.text-danger),.patient-section-historial #patient-encounter-history :where(p):not(.text-danger){line-height:1.55}.patient-section-odontograma .odontogram-intro h2{font-size:1.2rem;font-weight:700}.patient-section-odontograma .odontogram-intro>span{background:var(--ui-surface);color:var(--ui-text)}.patient-section-odontograma .odontogram-controls{align-items:end;gap:.75rem 1rem}.patient-section-odontograma .odontogram-controls>label{font-weight:600}.patient-section-odontograma .odontogram-cleanup{color:var(--ui-text);align-self:end;position:relative}.patient-section-odontograma .odontogram-cleanup>summary{border:1px solid var(--workspace-line);background:var(--ui-surface);border-radius:.7rem;min-height:44px;padding:.5rem .85rem;font-size:.8125rem;font-weight:600}.patient-section-odontograma .odontogram-cleanup>summary:focus-visible{outline:2px solid var(--ui-accent-light);outline-offset:3px}.patient-section-odontograma .odontogram-cleanup[open]>div{margin-top:.5rem}.patient-section-odontograma .odontogram-chart{border-color:var(--workspace-line);background:var(--ui-surface);border-radius:1rem}.patient-section-odontograma .odontogram-palette{background:var(--ui-surface)}.patient-section-presupuestos .budget-workspace[data-empty=true]{border:1px solid var(--workspace-line);background:var(--ui-surface);border-radius:1rem;padding:1.25rem}.patient-section-presupuestos .budget-workspace[data-empty=true] .budget-list-heading{border-bottom:0;padding-bottom:0}.patient-section-presupuestos .budget-workspace[data-empty=true] .budget-empty-state{box-shadow:none;background:0 0;border:0;margin-top:.6rem}.patient-section-presupuestos .budget-workspace[data-empty=true] .budget-empty-state>div{padding-inline:0!important}.patient-section-presupuestos .budget-empty-icon{background:var(--ui-accent-soft);width:2.75rem;height:2.75rem;color:var(--ui-accent-light);border-radius:.75rem;flex:none;place-items:center;display:grid}.patient-section-presupuestos .budget-editor-metrics{background:var(--ui-surface)}.patient-section-presupuestos .budget-editor-intro{align-items:center;gap:1rem;display:grid}.patient-section-presupuestos .budget-editor-outcome{border:1px solid var(--workspace-line);background:var(--ui-surface);font-variant-numeric:tabular-nums;border-radius:.9rem;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem 1rem;padding:.85rem 1rem;display:grid}.patient-section-presupuestos .budget-editor-outcome>div>p{color:var(--ui-text-muted);font-size:.75rem;font-weight:600}.patient-section-presupuestos .budget-editor-outcome strong{color:var(--ui-accent-light);margin-top:.15rem;font-size:1.25rem;line-height:1.35;display:block}.patient-section-presupuestos .budget-editor-outcome>div:nth-child(2) strong{color:var(--ui-info)}.patient-section-presupuestos .budget-editor-outcome-detail{color:var(--ui-text-muted);grid-column:1/-1;margin-top:.1rem;font-size:.75rem;line-height:1.4}.patient-section-presupuestos .budget-editor-toolbar{border-bottom:1px solid var(--ui-border);background:var(--ui-surface-secondary);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem 1rem;padding:.85rem 1rem;display:flex}.patient-section-presupuestos .budget-editor-actions{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.patient-section-presupuestos .budget-editor-entry:focus-within{z-index:1;position:relative}@media (min-width:900px){.patient-section-presupuestos .budget-editor-intro{grid-template-columns:minmax(0,1fr) minmax(21rem,.9fr)}}@media (max-width:767px){.patient-section-presupuestos .budget-editor-intro{gap:.75rem}.patient-section-presupuestos .budget-editor-outcome{padding:.7rem .9rem}.patient-section-presupuestos .budget-editor-toolbar{display:block}.patient-section-presupuestos .budget-editor-actions{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:.75rem;display:grid}.patient-section-presupuestos .budget-editor-actions>*{min-width:0}.patient-section-presupuestos .budget-editor-actions>div{grid-column:1/-1}.patient-section-presupuestos .budget-editor-actions>div>button{width:100%}}.patient-section-presupuestos .budget-editor-surface{border-color:var(--workspace-line)}.patient-section-presupuestos .plan-metrics{background:var(--ui-surface)}.patient-section-presupuestos .plan-doctor-assignment{border-style:solid}.patient-section-presupuestos .plan-doctor-label{color:var(--ui-text)}.patient-section-presupuestos .plan-drafts{border-color:var(--workspace-line)}.patient-section-pagos .patient-financial-summary,.patient-section-pagos .payment-movements{border:1px solid var(--workspace-line);background:var(--ui-surface);border-radius:1rem;overflow:hidden}.patient-section-pagos .patient-financial-summary>div:first-child{padding:1.1rem 1.25rem}.patient-section-pagos .patient-financial-summary h2,.patient-section-pagos .payment-movements h3{font-size:1.05rem;font-weight:700}.patient-section-pagos .patient-financial-summary dl>div{padding:1rem 1.25rem}.patient-section-pagos .patient-financial-summary dt{color:var(--ui-text);font-weight:600}.patient-section-pagos .patient-financial-summary dl+div{padding:.85rem 1.25rem}.patient-section-pagos .payment-movements>div:first-child{background:0 0;padding:1rem 1.25rem}.patient-section-pagos .payment-movements>div:first-child p{padding-left:2rem}.patient-section-archivos .clinical-documents-panel,.patient-section-archivos .patient-files-section{border:1px solid var(--workspace-line);background:var(--ui-surface);border-radius:1rem}.patient-section-archivos .clinical-documents-panel>div:first-child{background:0 0;padding:1rem 1.25rem}.patient-section-archivos .clinical-documents-panel>div:nth-child(2){padding:0 1.25rem 1rem!important}.patient-section-archivos .clinical-documents-panel .clinical-summary-options{margin-bottom:.3rem}.patient-section-archivos .document-empty-icon{background:var(--ui-accent-soft);width:2.5rem;height:2.5rem;color:var(--ui-accent-light);border-radius:.7rem;flex:none;place-items:center;display:grid}.patient-section-archivos .patient-files-section{padding:1rem 1.25rem}.patient-section-archivos .patient-files-section>header{padding-top:0}.patient-section-archivos .patient-files-section h3{font-size:1.05rem;font-weight:700}.patient-section-ortodoncia .orthodontic-choice-panel{border-color:var(--workspace-line)}.patient-section-ortodoncia .orthodontic-choice-panel h2{font-size:1.2rem;font-weight:700}.patient-section-ortodoncia .orthodontic-choice{flex-direction:column;justify-content:center;gap:.4rem;min-height:5.5rem;padding:1rem 1.1rem;transition:border-color .15s,background-color .15s;display:flex}.patient-section-ortodoncia .orthodontic-choice strong{font-size:.98rem}.patient-section-ortodoncia .orthodontic-choice span{font-size:.8125rem;font-weight:500;line-height:1.4}.patient-section-ortodoncia .orthodontic-choice-fixed:hover{filter:brightness(1.06)}.patient-section-ortodoncia .orthodontic-choice:not(.orthodontic-choice-fixed):hover{border-color:var(--ui-accent-light);background:var(--ui-accent-soft)}.patient-section-ortodoncia .orthodontic-choice:focus-visible{outline:2px solid var(--ui-accent-light);outline-offset:3px}.patient-section-ortodoncia .ortho-aligner-empty{border-color:var(--workspace-line)}.patient-section-ortodoncia .ortho-aligner-empty>div{padding:1.25rem}.home-shortcuts>a{border-radius:.65rem;min-width:0}.home-shortcuts>a:focus-visible{outline:2px solid var(--ui-accent-light);outline-offset:2px}@media (min-width:1280px){.home-day-grid{grid-template-rows:auto auto;grid-template-areas:"agenda pending""charts charts"}}@media (max-width:767px){.patient-section-ortodoncia .orthodontic-choice-panel,.patient-section-archivos .clinical-documents-panel>div:first-child,.patient-section-archivos .patient-files-section{padding:1rem}.patient-section-archivos .clinical-documents-panel>div:nth-child(2){padding:0 1rem 1rem!important}.patient-section-pagos .patient-financial-summary>div:first-child,.patient-section-pagos .payment-movements>div:first-child{padding:1rem}.patient-section-pagos .patient-financial-summary dl>div{padding:.85rem .7rem}.patient-section-pagos .patient-financial-summary dl>div>div:first-child{margin-top:.1rem}.patient-section-pagos .patient-financial-summary dl+div{padding:.85rem 1rem}.patient-section-presupuestos .budget-workspace[data-empty=true]{padding:1rem}.patient-section-presupuestos .budget-workspace[data-empty=true] .budget-list-heading>div:last-child>*{justify-content:center;width:100%}.patient-section-presupuestos .budget-empty-state>div{gap:.75rem}.patient-section-presupuestos .plan-overview h3{font-size:1.1rem}.patient-section-odontograma .odontogram-intro{gap:.5rem}.patient-section-odontograma .odontogram-intro>span{margin-top:0}.patient-section-odontograma .odontogram-controls{grid-template-columns:minmax(0,1fr) auto;display:grid}.patient-section-odontograma .odontogram-controls select{width:100%}.patient-section-historial #patient-general-history>section,.patient-section-historial #patient-encounter-history>section,.patient-section-historial #patient-ortho-history>section{padding:1rem}.home-workspace .clinical-stat{padding:.8rem .9rem}.home-workspace .clinical-stat>div:first-child{margin-bottom:0}.home-workspace .clinical-stat-value{margin:.3rem 0 .1rem}.home-shortcuts .ui-card{padding:.65rem}}@container patient-workspace (min-width:55rem){.patient-summary-content{grid-template-columns:minmax(15.5rem,18rem) minmax(0,1fr);grid-template-areas:"details status""details medical""details today""details activity""history history";align-items:start;gap:1rem;display:grid}.patient-summary-content:has(.patient-overview-no-suggestion){grid-template-areas:"details status""details medical""details activity""history history"}.patient-summary-content .patient-overview-grid{display:contents}.patient-summary-content .patient-status-strip{grid-area:status}.patient-summary-content .patient-details-panel{grid-area:details}.patient-summary-content .patient-medical-panel{grid-area:medical}.patient-summary-content .patient-today{grid-area:today}.patient-summary-content .patient-activity-panel{grid-area:activity}.patient-summary-content>details{grid-area:history}}@media (min-width:1024px){.clinical-content{padding-inline:2.5rem}}@media (max-width:767px){.patient-workspace .patient-workspace-header{padding:.15rem 0 1rem}.patient-workspace .patient-workspace-nav{padding:.75rem}.patient-workspace .patient-status-strip>div,.patient-workspace .patient-status-strip>div:first-child{padding:.9rem}.patient-workspace .patient-medical-panel,.patient-workspace .patient-activity-panel,.patient-workspace .patient-details-panel,.patient-workspace .patient-today,.patient-summary-content>details{padding:1rem}}@media (max-width:359px){.patient-workspace .patient-status-strip{grid-template-columns:minmax(0,1fr)}}}
