/* The patient overview uses the portal's navy navigation and turquoise accents. */
.sd-portal-section{color:#0b365f;background:linear-gradient(145deg,#f5fafb,#edf5f8);padding:64px var(--sd-page-gutter,32px);scroll-margin-top:68px}
.sd-portal-inner{width:100%;max-width:1240px;margin:auto;display:flex;flex-direction:column;gap:26px;min-width:0}
.sd-portal-heading{text-align:center;margin:0}
.sd-portal-eyebrow{display:inline-flex;align-items:center;gap:8px;font-size:11px;font-weight:800;letter-spacing:.1em;color:#087f89}
.sd-portal-eyebrow:before{content:"";width:7px;height:7px;border-radius:50%;background:#1bb9b2;box-shadow:0 0 0 4px #1bb9b21a}
.sd-portal-heading h2{font-size:clamp(30px,3.2vw,44px);font-weight:800;line-height:1.16;letter-spacing:-.035em;margin:12px 0;color:#093763}
.sd-portal-heading p{font-size:16px;line-height:1.5;color:#617b90;margin:0}
.sd-portal-layout{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.65fr);gap:36px;align-items:center}
.sd-portal-copy{min-width:0}.sd-portal-copy h3{font-size:21px;font-weight:750;line-height:1.3;margin:0 0 10px;color:#093763}
.sd-portal-copy>p{font-size:14px;line-height:1.65;color:#617b90;margin:0 0 20px}
.sd-portal-plans{display:grid;gap:13px}
.sd-portal-plans>div{display:grid;grid-template-columns:70px minmax(0,1fr);gap:12px;align-items:start;border-bottom:1px solid #d9e6ed;padding-bottom:13px}
.sd-portal-plans>div:last-child{border-bottom:0;padding-bottom:0}
.sd-portal-plans span{font-size:12px;color:#096f80;font-weight:800;background:#def1ef;padding:5px 8px;border-radius:7px;text-align:center}
.sd-portal-plans p{font-size:12px;line-height:1.6;color:#577389;margin:0}
.sd-portal-link{display:inline-flex;align-items:center;gap:15px;color:#0c5288;font-size:13px;font-weight:750;margin-top:18px;text-decoration:none}
.sd-portal-link:hover{text-decoration:underline}
.sd-portal-demo{min-width:0;border:1px solid #cbdfe9;border-radius:20px;overflow:hidden;background:white;box-shadow:0 16px 38px #0b365f0b}
.sd-portal-demo-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 20px;border-bottom:1px solid #dfebf1;background:#fbfdfe}
.sd-portal-demo-bar strong{font-size:14px;color:#093763}.sd-portal-demo-bar strong span{color:#078c8c;font-size:11px;margin-left:10px}
.sd-portal-demo-bar>span{font-size:10px;color:#648091;background:#eef5f8;border-radius:20px;padding:5px 9px;white-space:nowrap}
.sd-portal-demo-body{display:grid;grid-template-columns:190px minmax(0,1fr);min-height:330px}
.sd-portal-tabs{display:flex;flex-direction:column;gap:6px;padding:18px 12px;background:#0d4073;min-width:0}
.sd-portal-tabs button{appearance:none;display:flex;align-items:center;gap:9px;min-height:42px;padding:8px 11px;color:#bed8e2;border:1px solid transparent;border-radius:9px;background:transparent;font:inherit;font-size:11px;font-weight:650;line-height:1.5;text-align:left;cursor:pointer}
.sd-portal-tabs button svg{width:18px;height:18px;flex:0 0 18px;color:#71d5d0}
.sd-portal-tabs button[aria-selected=true]{background:#ffffff17;border-color:#ffffff18;color:white;box-shadow:inset 3px 0 #27c3b8}
.sd-portal-tabs button:hover{background:#ffffff12;color:white}
.sd-portal-tabs button:focus-visible{outline:2px solid #66ded5;outline-offset:-2px}
.sd-portal-panels{min-width:0;padding:22px;background:#fff}
.sd-portal-panel{min-width:0;outline-offset:5px}.sd-portal-panel[hidden]{display:none}
.sd-portal-plan{display:inline-block;font-size:10px;font-weight:750;line-height:1.4;color:#078382;background:#e4f5f1;border-radius:16px;padding:4px 9px;margin-bottom:11px}
.sd-portal-panel h3{font-size:19px;line-height:1.35;font-weight:800;margin:0 0 7px;color:#093763}
.sd-portal-panel>p{font-size:12px;line-height:1.6;color:#648091;margin:0 0 15px}
.sd-portal-appointment{display:flex;align-items:center;gap:12px;border:1px solid #d7e5ed;border-radius:12px;padding:12px;margin:0 0 12px}
.sd-portal-date{display:flex;flex-direction:column;align-items:center;justify-content:center;width:43px;height:48px;background:#edf6fa;border-radius:9px;color:#09669b;font-size:9px;flex-shrink:0}
.sd-portal-date b{font-size:21px;line-height:1.1}.sd-portal-appointment strong,.sd-portal-example-row strong,.sd-portal-professional strong{display:block;color:#0b365f;font-size:12px;line-height:1.5}
.sd-portal-appointment small,.sd-portal-example-row small,.sd-portal-professional small{display:block;font-size:10px;color:#648091;line-height:1.55;margin-top:3px}
.sd-portal-status{margin-left:auto;padding:4px 7px;font-size:9px;font-weight:750;border-radius:15px;background:#e4f5f1;color:#078382}
.sd-portal-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.sd-portal-pair>div{background:#f5f9fb;border:1px solid #e5eef3;border-radius:10px;padding:11px}
.sd-portal-pair strong{font-size:11px;color:#0b365f}.sd-portal-pair p{font-size:10px;line-height:1.5;color:#648091;margin:4px 0 0}
.sd-portal-note{font-size:10px;line-height:1.65;color:#648091;border-top:1px solid #e0ebf0;padding-top:10px;margin-top:14px}
.sd-portal-example-row{display:flex;gap:12px;align-items:center;padding:14px 12px;border:1px solid #dbe8ee;border-radius:12px;margin-bottom:10px}
.sd-portal-symbol{display:grid;place-items:center;flex:0 0 30px;height:30px;background:#e0f3ef;border-radius:8px;color:#008d8b;font-size:15px}
.sd-portal-professional{display:flex;align-items:center;gap:12px;padding:12px;margin-bottom:12px}
.sd-portal-professional>span{display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:#e0f3ef;color:#008d8b;font-size:14px;font-weight:750}
.sd-portal-privacy{display:flex;align-items:center;justify-content:center;gap:9px;margin:0;color:#648091;font-size:11px;line-height:1.6;text-align:center}
.sd-portal-privacy svg{width:17px;height:17px;flex:0 0 17px;color:#009e9d}
/* Refine only the original centered import composition. */
#importacion .sd-import-options article{display:flex;gap:13px;align-items:center;background:#fff;border-color:#d4e4ed;box-shadow:0 5px 18px #0b365f06}
#importacion .sd-import-options article>div{min-width:0}
.sd-import-option-icon{display:grid;place-items:center;flex:0 0 38px;height:38px;border-radius:11px;background:#dff3f0;color:#078d8e}
.sd-import-option-icon svg{width:21px;height:21px}
#importacion .import-hero__pill{box-shadow:none;background:#ffffffa6;border-color:#d8e7ed}
#importacion .import-hero__title{letter-spacing:-.035em}
#importacion .sd-import-tier{color:#617b90}
@media(min-width:851px) and (min-height:650px){
  html.sd-section-snap #portal-paciente.sd-portal-section{height:calc(100svh - 68px);min-height:0;padding:clamp(16px,3vh,30px) var(--sd-page-gutter,32px);scroll-margin-top:68px;display:flex;align-items:center}
  .sd-portal-inner{gap:clamp(16px,2.7vh,26px)}
  .sd-portal-heading h2{font-size:clamp(30px,4.9vh,42px);margin:8px 0}
  .sd-portal-heading p{font-size:clamp(13px,2vh,16px)}
  .sd-portal-demo-body{min-height:clamp(300px,43vh,360px)}
  .sd-portal-layout{gap:clamp(22px,3vw,36px)}
}
@media(max-width:1100px){
  .sd-portal-demo-body{display:block}
  .sd-portal-tabs{flex-direction:row;padding:8px;gap:4px;overflow-x:auto}
  .sd-portal-tabs button{flex:1 0 70px;min-height:48px;padding:6px;flex-direction:column;gap:4px;text-align:center;font-size:9px;line-height:1.25}
  .sd-portal-tabs button[aria-selected=true]{box-shadow:inset 0 -3px #27c3b8}
  .sd-portal-panels{padding:16px}
  .sd-portal-heading h2{max-width:780px;margin-inline:auto}
  .sd-portal-copy h3{font-size:19px}
  .sd-portal-copy>p{font-size:13px;margin-bottom:15px}
  .sd-portal-plans{gap:10px}.sd-portal-plans>div{gap:9px;grid-template-columns:64px minmax(0,1fr);padding-bottom:10px}
  .sd-portal-plans p{font-size:11px}
}
@media(max-width:850px),(max-height:649px){
  html.sd-section-snap #portal-paciente.sd-portal-section{height:auto;min-height:0;scroll-snap-align:none;scroll-snap-stop:normal;scroll-margin-top:68px}
}
@media(min-width:851px) and (max-width:1100px) and (min-height:650px) and (max-height:740px){
  .sd-portal-inner{gap:16px}
  .sd-portal-demo-bar{padding:10px 16px}
  .sd-portal-tabs button{min-height:42px;font-size:9px}
  .sd-portal-panels{padding:12px 16px}
  .sd-portal-panel h3{font-size:17px}
  .sd-portal-panel>p{margin-bottom:10px;line-height:1.5}
  .sd-portal-plan{margin-bottom:8px}
  .sd-portal-professional{padding:8px;margin-bottom:8px}
  .sd-portal-pair>div{padding:9px}
  .sd-portal-appointment{padding:10px;margin-bottom:9px}
  .sd-portal-note{padding-top:8px;margin-top:10px}
}
@media(max-width:850px){
  .sd-portal-section{padding:48px 22px}
  .sd-portal-layout{grid-template-columns:1fr;gap:25px}
  .sd-portal-inner{max-width:650px;gap:26px}
  .sd-portal-heading{text-align:left}.sd-portal-heading h2{font-size:32px}.sd-portal-heading p{font-size:14px;line-height:1.65}
  .sd-portal-copy>p{font-size:14px}.sd-portal-plans p{font-size:12px}
  .sd-portal-demo-body{min-height:0}.sd-portal-panels{min-height:345px;padding:18px}
  .sd-portal-privacy{text-align:left;align-items:flex-start}
  .sd-portal-demo-bar{padding:14px}.sd-portal-demo-bar strong span{display:none}
}
@media(max-width:480px){
  .sd-portal-section{padding-inline:18px}
  .sd-portal-tabs button{flex-basis:72px;font-size:10px;min-height:57px}
  .sd-portal-appointment{flex-wrap:wrap;gap:9px;padding:10px}
  .sd-portal-status{margin-left:0}
  .sd-portal-panel h3{font-size:18px}.sd-portal-panel>p{font-size:12px}
  .sd-portal-plans>div{grid-template-columns:72px minmax(0,1fr)}
  #importacion .sd-import-options article{align-items:flex-start}
}
