/* Sollievo 360 – Patient app visual layer. All rules scoped to patient pages. */
body.s360-standalone{background:#f8f9fb!important;color:#1d2031!important;margin:0!important;font-family:Montserrat,system-ui,-apple-system,'Segoe UI',sans-serif!important}
body.s360-standalone *,body.s360-standalone *::before,body.s360-standalone *::after{box-sizing:border-box}
body.s360-standalone .s360-standalone-wrap{min-height:100svh;margin:0;padding:0}
body.s360-standalone .s360-standalone-wrap>p:empty{display:none}
body.s360-standalone h1,body.s360-standalone h2,body.s360-standalone h3,body.s360-standalone h4{font-family:inherit;line-height:1.18;letter-spacing:-.035em}
body.s360-standalone button,body.s360-standalone input,body.s360-standalone select{font-family:inherit}
body.s360-standalone a{color:inherit}
:root{--s360-accent:#6e2281;--s360-ink:#1c2031;--s360-muted:#6e7280;--s360-line:#e7e7ed;--s360-teal:#177b78;--s360-cream:#f7f3ee}
/* Approved minimalist welcome: edge-to-edge, no external framing or WP commercial navigation */
.s360-landing{position:relative;isolation:isolate;min-height:100svh;overflow:hidden;padding:clamp(24px,3.5vw,58px) clamp(24px,4.8vw,92px);background:radial-gradient(circle at 96% 0,rgba(110,34,129,.045),transparent 36%),linear-gradient(110deg,#fcfbf9 15%,#fff 73%,#faf8fc);display:flex;flex-direction:column}
.s360-welcome-header{position:relative;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:22px;min-height:64px}
.s360-welcome-header img{width:clamp(180px,21vw,280px);height:auto;display:block;mix-blend-mode:multiply}
.s360-welcome-header nav{display:flex;align-items:center;gap:25px;font-size:13px}
.s360-welcome-header nav a{text-decoration:none!important}
.s360-help-link{color:#434454!important}
.s360-outline{border:1px solid #ded8e5;border-radius:12px;padding:12px 17px;color:#242338!important;background:rgba(255,255,255,.8);font-weight:600}
.s360-welcome-main{flex:1;min-height:0;max-width:1440px;width:100%;margin:auto;display:grid;grid-template-columns:minmax(0,1.08fr) minmax(380px,.92fr);gap:clamp(30px,5vw,100px);align-items:center;padding:28px 0 82px;position:relative;z-index:1}
.s360-welcome-copy{padding-right:clamp(0px,2vw,20px);max-width:620px}
.s360-kicker{display:block;font-size:10px;letter-spacing:.19em;color:#74277e!important;font-weight:650;margin-bottom:16px}
.s360-welcome-copy h1{font-size:clamp(37px,4vw,64px);font-weight:600;color:#202137;margin:0 0 22px;line-height:1.12;max-width:650px}
.s360-welcome-copy>p{font-size:clamp(16px,1.45vw,20px);color:#565b67;max-width:520px;line-height:1.65;margin:0}
.s360-welcome-benefits{display:flex;gap:24px;margin-top:44px;max-width:570px}
.s360-welcome-benefits>div{flex:1;font-size:12px;line-height:1.45;color:#252a35;text-align:center}
.s360-welcome-benefits>div span{display:flex;margin:0 auto 9px;width:38px;height:38px;align-items:center;justify-content:center;font-size:29px;color:#243c4b}
.s360-welcome-panel{background:rgba(255,255,255,.91);border:1px solid #eceaf0;border-radius:22px;padding:clamp(24px,2.6vw,42px);box-shadow:0 18px 65px rgba(29,21,43,.06);max-width:570px;width:100%;justify-self:end}
.s360-welcome-panel h2{font-size:clamp(25px,2.25vw,34px);font-weight:600;margin:0 0 10px;color:#1e2233}
.s360-welcome-panel>p{color:#69707b;font-size:14px;margin:0 0 23px}
.s360-welcome-option{display:flex;align-items:center;gap:15px;padding:21px 18px;border:1px solid #eae7ed;border-radius:14px;text-decoration:none!important;background:white;min-height:95px;margin:12px 0;color:#1e2233!important;transition:border-color .15s,box-shadow .15s,transform .15s}
.s360-welcome-option:hover,.s360-welcome-option:focus-visible{border-color:#a995b1;box-shadow:0 8px 20px rgba(45,25,50,.07);transform:translateY(-1px)}
.s360-wo-icon{flex:none;display:flex;align-items:center;justify-content:center;width:52px;height:52px;border-radius:12px;background:#f5f0f6;color:var(--s360-accent);font-size:29px}
.s360-welcome-option strong{display:block;font-size:14px;font-weight:650}.s360-welcome-option small{display:block;color:#7b7f8b;margin-top:4px;font-size:12px;line-height:1.45}.s360-wo-arrow{margin-left:auto;font-size:20px;color:#727580}
.s360-welcome-note{margin:20px 0 0!important;font-size:12px!important;color:#757985!important;text-align:center}
.s360-welcome-leaves{position:absolute;width:clamp(210px,30vw,470px);bottom:-58px;left:-30px;mix-blend-mode:multiply;opacity:.84;z-index:0;border-radius:80px;mask-image:linear-gradient(0deg,#000 25%,transparent 100%)}
/* Login: two columns and real WP core authentication inside a contained clinical app screen */
.s360-standalone-wrap:has(.s360-auth-panel){background:linear-gradient(115deg,#fafafa,#f5f3f7);display:flex;align-items:center;justify-content:center;padding:28px}
.s360-auth-panel{background:white;border:1px solid #ebe8ef;border-radius:22px;padding:clamp(25px,4vw,52px);width:min(100%,480px);box-shadow:0 18px 55px rgba(27,24,39,.055);color:var(--s360-ink)}
.s360-auth-panel:before{content:'SOLLIEVO 360  /  ACCESO SEGURO';display:block;color:#777184;letter-spacing:.16em;font-size:10px;font-weight:600;margin-bottom:20px}
.s360-auth-panel h1{font-size:32px;margin:0 0 10px;font-weight:600}
.s360-auth-panel>p{color:var(--s360-muted);font-size:14px;line-height:1.6;margin:0 0 21px}
.s360-auth-panel form p{margin:0 0 15px}
.s360-auth-panel form label{display:block;font-size:12px;font-weight:650;margin:0 0 7px}
.s360-auth-panel form input[type=text],.s360-auth-panel form input[type=password]{width:100%;padding:13px 15px;border-radius:11px;border:1px solid #dcdde5;background:#fff;font-size:15px}
.s360-auth-panel form input[type=submit],.s360-auth-panel .s360-primary{width:100%;display:block;border:0;border-radius:12px;padding:14px 18px;background:var(--s360-accent);color:#fff!important;font-size:14px;text-align:center;text-decoration:none;cursor:pointer}
.s360-auth-panel .login-remember label{font-weight:400}
.s360-auth-panel .s360-reset{text-align:center;margin:12px 0 16px}
.s360-auth-panel .s360-reset a{color:var(--s360-accent)}
.s360-auth-panel .s360-auth-hint{font-size:12px;color:#777886;margin:16px 0 0;line-height:1.6}
/* Bienvenida: adaptacion de pantalla independiente, sin assets comerciales. */
body.s360-standalone{overflow-x:hidden}
@media(min-width:1050px){.s360-landing{height:100svh;min-height:650px}.s360-welcome-main{padding-bottom:24px}}
@media(max-width:1049px){.s360-welcome-main{grid-template-columns:minmax(0,1fr) minmax(330px,1fr)}.s360-welcome-benefits{gap:10px}.s360-welcome-copy h1{font-size:42px}}
@media(max-width:760px){
.s360-landing{min-height:100svh;padding:21px 20px 42px}
.s360-welcome-header img{width:192px}.s360-welcome-header nav{gap:12px}.s360-help-link{display:none}.s360-outline{font-size:11px;padding:10px}
.s360-welcome-main{display:flex;flex-direction:column;gap:30px;align-items:stretch;padding:30px 0 72px}.s360-welcome-copy h1{font-size:clamp(31px,8vw,45px)}.s360-welcome-copy>p{font-size:15px}.s360-welcome-benefits{margin-top:26px}.s360-welcome-benefits>div{font-size:10px}.s360-welcome-panel{max-width:none;padding:24px 18px}.s360-welcome-option{min-height:82px;padding:14px;gap:12px}.s360-welcome-leaves{width:270px;opacity:.19;left:-70px}
}
@media(max-width:400px){.s360-welcome-benefits>div span{width:24px;height:28px;font-size:23px}}
@media(prefers-reduced-motion:reduce){.s360-welcome-option{transition:none}}

/* Mi Sollievo V1 · refinamiento de los estilos existentes, sin sustituir el diseño aprobado. */
body.s360-standalone .s360-auth-panel.s360-login-new{max-width:560px;width:100%;padding:clamp(25px,5vw,54px);border-radius:24px;box-shadow:0 22px 70px rgba(72,33,71,.09);font-family:Montserrat,Arial,sans-serif}
body.s360-standalone .s360-auth-panel.s360-login-new:before{display:none}
.s360-login-logo{display:block;width:min(210px,60%);height:auto;object-fit:contain;margin:0 auto 32px}
.s360-auth-panel.s360-login-new .s360-kicker{font-size:11px;letter-spacing:.17em;color:#6e2281;display:block;margin-bottom:14px}
.s360-auth-panel.s360-login-new h1{font-size:clamp(25px,4vw,34px);font-weight:600;letter-spacing:-.04em;line-height:1.18;color:#292237}
.s360-auth-panel.s360-login-new input:not([type=checkbox]){min-height:48px}
.s360-auth-panel.s360-login-new input[type=submit]{font-family:inherit;font-weight:600;min-height:52px}
.s360-auth-panel .s360-login-links{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:16px;font-size:13px}
.s360-auth-panel .s360-login-links a{color:#6e2281;text-decoration:none}
.s360-auth-panel .s360-login-links a:focus-visible{text-decoration:underline}
.s360-auth-panel:not(.s360-login-new) form label{display:block;margin-top:13px;margin-bottom:6px;font-size:13px}
.s360-auth-panel:not(.s360-login-new) form input:not([type=checkbox]){display:block;width:100%;padding:13px 14px;min-height:46px;border:1px solid #ded7e2;border-radius:11px}
.s360-auth-panel form .s360-check{font-size:12px;line-height:1.5;margin:20px 0;display:block}
.s360-auth-panel form .s360-check input{display:inline-block!important;width:auto!important;min-height:0!important;margin-right:7px}
.s360-hp{position:absolute!important;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}
.s360-manual-doctors{margin:16px 0;padding:14px;background:#f7f3ee;border-radius:12px}
.s360-manual-doctors>a{display:inline-flex;padding:9px 12px;margin:5px;border:1px solid #e7dbe9;border-radius:10px;color:#6e2281;text-decoration:none;font-size:13px;background:white}
.s360-consent{display:grid;gap:12px;margin:20px 0;padding:16px;background:#fcf9fc;border:1px solid #e8dfe8;border-radius:12px}
.s360-consent label{display:block;line-height:1.55;font-size:13px;cursor:pointer}
.s360-consent input{margin-right:9px;accent-color:#6e2281;transform:scale(1.1)}
.s360-profile-forms{display:grid;gap:21px}.s360-profile-forms label{display:block;font-weight:600;font-size:13px;margin-bottom:8px}
.s360-profile-inline{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.s360-profile-inline input{min-height:45px;min-width:180px;flex:1;padding:10px 12px;border:1px solid #dbd1de;border-radius:9px;font:inherit;font-size:14px}
.s360-profile-inline button{border:0;cursor:pointer;font-family:inherit}
.s360-cancel-form{margin-top:12px}.s360-cancel-btn{border:1px solid #ebcdd2;color:#8f4451;background:white;padding:10px 12px;border-radius:10px;font:inherit;font-size:12px;cursor:pointer}
.s360-notice-item{padding:12px 15px;background:#f8f4f8;border-radius:10px;color:#4b4052;font-size:13px}
.s360-mobile-nav{display:none}
@media(max-width:760px){
 body.s360-standalone .s360-standalone-wrap:has(.s360-auth-panel){padding:18px 14px;align-items:center}
 body.s360-standalone .s360-auth-panel.s360-login-new{padding:30px 22px;border-radius:19px}
 body.s360-standalone .s360-office.s360-dashboard{padding-bottom:76px!important}
 body.s360-standalone .s360-office.s360-dashboard .s360-sidebar{display:none}
 body.s360-standalone .s360-office.s360-dashboard .s360-topbar{padding:17px 18px;gap:13px;flex-wrap:wrap}
 body.s360-standalone .s360-office.s360-dashboard .s360-topbar h2{font-size:23px}
 body.s360-standalone .s360-office.s360-dashboard .s360-content{padding:16px 13px 26px}
 body.s360-standalone .s360-office.s360-dashboard .s360-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}body.s360-standalone .s360-office.s360-dashboard .s360-nav a{text-align:center;padding:13px 8px;font-size:12px}
 .s360-mobile-nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));position:fixed;bottom:0;left:0;right:0;z-index:50;background:#fff;border-top:1px solid #e8e1e8;padding:8px 4px max(8px,env(safe-area-inset-bottom));box-shadow:0 -3px 15px rgba(24,13,28,.06)}
 .s360-mobile-nav a{display:flex;flex-direction:column;gap:3px;align-items:center;text-align:center;color:#6e2281;text-decoration:none;font-size:19px;line-height:1.1}
 .s360-mobile-nav a span{font-size:10px;font-weight:500;letter-spacing:0}
 .s360-mobile-nav a:focus-visible{outline:2px solid #6e2281}
 body.s360-standalone .s360-office .s360-booking{padding:20px 14px;max-width:none}
 body.s360-standalone .s360-office .s360-booking .s360-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}
 body.s360-standalone .s360-office .s360-booking .s360-steps li{padding:8px 3px;text-align:center;font-size:9px;line-height:1.25}
 .s360-profile-inline{flex-direction:column;align-items:stretch}.s360-profile-inline input,.s360-profile-inline .s360-btn{width:100%;min-width:0}
 .s360-booking .s360-date-btn{min-height:54px;align-items:center}
 .s360-booking .s360-slot{min-height:43px;display:inline-flex;align-items:center}
 .s360-top-actions .s360-link{display:none}
}
