/* Shared page frame. Geometry only: native fields, tabs and authorization stay intact. */
html:has(body.cn-mobile-enabled){scrollbar-gutter:stable}
.cn-mobile-enabled{--cn-grid-max:1120px;--cn-grid-gutter:20px;--cn-grid-width:min(var(--cn-grid-max),calc(100% - 2 * var(--cn-grid-gutter)));--cn-page-top:28px;--cn-intro-gap:20px;font-family:Inter,sans-serif}
.cn-mobile-enabled .cn-skip:not(:focus){position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.cn-mobile-enabled .cn-skip:focus{position:fixed;top:8px;left:8px;z-index:100000;padding:12px 16px;background:#fff;color:#143f43}
.cn-mobile-enabled #header .cn-mobile-menu{left:max(var(--cn-grid-gutter),calc((100% - var(--cn-grid-max))/2))}
.cn-mobile-enabled #header :is(.cn-mobile-support,.cn-support-assistant-header){right:max(var(--cn-grid-gutter),calc((100% - var(--cn-grid-max))/2))}
.cn-mobile-enabled #header .header-inner{width:var(--cn-grid-width)!important;max-width:var(--cn-grid-max)!important;margin-inline:auto}
.cn-mobile-enabled :is(.cn-shell,.cn-checkout-main,.cn-account-content,.cn-information-main){box-sizing:border-box;width:var(--cn-grid-width);max-width:var(--cn-grid-max);margin-inline:auto}
.cn-mobile-enabled .cn-app-home{box-sizing:border-box;width:var(--cn-grid-width);max-width:var(--cn-grid-max);margin-inline:auto;padding:var(--cn-page-top) 0 24px}
.cn-mobile-enabled .cn-app-nav{grid-template-columns:repeat(4,minmax(0,1fr));padding-inline:max(var(--cn-grid-gutter),calc((100% - var(--cn-grid-max))/2))}
.cn-mobile-enabled.cn-consultation .amed-telemed,
.cn-mobile-enabled.cn-consultation .amed-telemed:has(>.amed-telemed__grid){box-sizing:border-box;width:var(--cn-grid-width);max-width:var(--cn-grid-max);margin-inline:auto;padding-top:var(--cn-page-top)}
.cn-mobile-enabled.cn-consultation .amed-public-booking{width:100%;max-width:none;min-width:0}
.cn-mobile-enabled .amed-public-booking__shell{max-width:100%;min-width:0}
.cn-mobile-enabled .amed-public-booking__shell>:is(aside,section){min-width:0}
.cn-mobile-enabled .amed-public-booking__details :is(p,strong,small){overflow-wrap:anywhere}
.cn-mobile-enabled .amed-public-booking__details :is(input,select,textarea){box-sizing:border-box;min-width:0;max-width:100%}
/* Title, explanation and next section each have their own breathing space. */
.cn-mobile-enabled :is(.cn-page-heading,.cn-overview-intro.cn-page-heading){margin-bottom:var(--cn-intro-gap)}
.cn-mobile-enabled :is(.cn-page-heading,.cn-overview-intro.cn-page-heading)>p,
.cn-mobile-enabled .amed-telemed__hero-content .cn-page-heading>p{margin:12px 0 0;line-height:1.65}
.cn-mobile-enabled .amed-telemed__hero{gap:var(--cn-intro-gap);margin-bottom:var(--cn-intro-gap)}
.cn-mobile-enabled .amed-telemed__hero-content>.cn-page-heading{margin-bottom:0}
.cn-mobile-enabled .amed-public-booking__head{max-width:none;margin-bottom:var(--cn-intro-gap)}
.cn-mobile-enabled .amed-public-booking__head .cn-page-heading{margin-bottom:0}
.cn-mobile-enabled .cn-app-home .cn-app-dashboard>h1{margin:0 0 16px}
.cn-mobile-enabled .cn-app-home .cn-preparation>p{margin-bottom:var(--cn-intro-gap)}
.cn-mobile-enabled :is(.cn-account-content,.cn-checkout-main,.cn-information-main){padding-top:var(--cn-page-top)}
/* Restore the standard shell on the professional entry pages. */
.cn-mobile-enabled.amed-prescriber-app-page #header,
.cn-mobile-enabled.amed-prescriber-app-page #header .header-wrapper{display:block!important}
.cn-mobile-enabled.amed-prescriber-app-page :is(#main,#conteudo){background:#f6f5ef;min-height:0}
.cn-mobile-enabled :is(.amed-prescriber-register,.amed-prescriber-login,.amed-prescriber-app){box-sizing:border-box;width:var(--cn-grid-width);max-width:var(--cn-grid-max);margin:var(--cn-page-top) auto 40px;min-width:0;min-height:0}
.cn-mobile-enabled .amed-prescriber-register{padding:0;color:#143f43}
.cn-mobile-enabled .amed-prescriber-register__hero{max-width:780px;margin-bottom:var(--cn-intro-gap)}
.cn-mobile-enabled .amed-prescriber-register__hero h1{font-family:Manrope,sans-serif;font-size:28px;font-weight:500;line-height:1.3;margin:0 0 12px}
.cn-mobile-enabled .amed-prescriber-register__hero p{font-size:15px;line-height:1.65;margin:0;color:#637273}
.cn-mobile-enabled .amed-prescriber-register__card{padding:20px;border:1px solid #dce5e4;border-radius:5px;background:#fff}
.cn-mobile-enabled .amed-prescriber-register__grid{gap:20px}
.cn-mobile-enabled .amed-prescriber-register__grid>label{min-width:0}
.cn-mobile-enabled .amed-prescriber-login{border:1px solid #dce5e4;border-radius:5px;background:#fff;overflow:clip}
.cn-mobile-enabled .amed-prescriber-login__form{min-width:0;padding:28px}
.cn-mobile-enabled .amed-prescriber-login__form form{max-width:100%;width:100%}
.cn-mobile-enabled .amed-prescriber-login__form h1{font-family:Manrope,sans-serif;font-size:26px;font-weight:500;line-height:1.35;margin:0 0 14px;color:#143f43}
.cn-mobile-enabled .amed-prescriber-login__form h1+p{margin:0 0 24px;font-size:15px;font-weight:400;line-height:1.6;color:#637273}
.cn-mobile-enabled .amed-prescriber-login__form label span{font-weight:500;color:#637273}
.cn-mobile-enabled .amed-prescriber-login__form button{border-radius:5px!important;font-size:14px!important;font-weight:500!important;text-transform:none!important;background:#143f43}
.cn-mobile-enabled .amed-prescriber-login__panel{min-width:0;padding:28px}
.cn-mobile-enabled .amed-prescriber-login__story{max-width:100%}
.cn-mobile-enabled .amed-prescriber-login__story h2{font-size:26px;line-height:1.35}
.cn-mobile-enabled .amed-prescriber-app{grid-template-columns:220px minmax(0,1fr);background:#f6f5ef}
.cn-mobile-enabled .amed-prescriber-app__main{min-width:0;padding:24px}
.cn-mobile-enabled .amed-prescriber-app__empty{max-width:100%}
.cn-mobile-enabled .amed-prescriber-app__main>header{margin-bottom:var(--cn-intro-gap)}
.cn-mobile-enabled .amed-prescriber-app__main h1{font-size:28px;line-height:1.35;margin-bottom:12px}
.cn-mobile-enabled .amed-prescriber-app__main h1+p{line-height:1.65}
.cn-mobile-enabled.cn-native-editorial #conteudo>.section>.section-content>.row{width:var(--cn-grid-width);max-width:var(--cn-grid-max);margin-inline:auto}
/* Native forms keep their labels, required flags and handlers; only presentation changes. */
.cn-mobile-enabled .cn-account-content :is(.woocommerce-EditAccountForm,.woocommerce-address-fields,[data-amed-anamnesis-form]),
.cn-mobile-enabled .amed-prescriber-profile-form{box-sizing:border-box;width:100%;min-width:0;max-width:100%;margin:0;padding:20px;border:1px solid #dce5e4;border-radius:5px;background:#fff}
.cn-mobile-enabled .cn-account-content .woocommerce-EditAccountForm label{margin-bottom:8px;color:#637273;font-size:14px;font-weight:500;line-height:1.4}
.cn-mobile-enabled .cn-account-content .woocommerce-EditAccountForm :is(legend,h3){font-family:Manrope,sans-serif;font-size:19px;font-weight:500;line-height:1.4;text-transform:none;letter-spacing:0;color:#143f43}
.cn-mobile-enabled .cn-account-content .woocommerce-EditAccountForm em{font-style:normal;font-size:12px;line-height:1.5;color:#637273}
.cn-mobile-enabled .cn-account-content .woocommerce-EditAccountForm .form-row{float:none;width:100%;margin:0 0 20px;padding:0;min-width:0}
.cn-mobile-enabled .cn-account-content .woocommerce-EditAccountForm :is(select,textarea){box-sizing:border-box;width:100%;min-width:0;max-width:100%;min-height:50px;margin:0;padding:12px 14px;border:1px solid #bccdce;border-radius:5px;background:#fff;font-family:inherit;font-size:15px;color:#263334}
.cn-mobile-enabled :is(.amed-prescriber-register__grid,.amed-prescriber-profile-form__row,.amed-prescriber-document-grid,.amed-prescriber-availability__row){gap:20px;align-items:start}
.cn-mobile-enabled :is(.amed-prescriber-register__grid,.amed-prescriber-profile-form,.amed-prescriber-document-form,.amed-prescriber-availability) label{min-width:0;gap:8px;margin:0}
.cn-mobile-enabled :is(.amed-prescriber-register__grid,.amed-prescriber-profile-form,.amed-prescriber-document-form,.amed-prescriber-availability) label>span{font-size:14px;font-weight:500;line-height:1.4;text-transform:none;letter-spacing:0;color:#637273}
.cn-mobile-enabled :is(.amed-prescriber-register__card,.amed-prescriber-profile-form,.amed-prescriber-document-form,.amed-prescriber-availability) :is(input:not([type=hidden]):not([type=checkbox]):not([type=radio]),select,textarea){box-sizing:border-box;width:100%;max-width:100%;min-width:0;min-height:48px;margin:0;border:1px solid #bccdce;border-radius:5px;font-family:inherit;font-size:15px;font-weight:400;color:#263334;background-color:#fff}
.cn-mobile-enabled :is(.amed-prescriber-register__card,.amed-prescriber-profile-form,.amed-prescriber-document-form,.amed-prescriber-availability) textarea{padding:12px;line-height:1.6;resize:vertical}
.cn-mobile-enabled :is(.amed-prescriber-register__card,.amed-prescriber-profile-form,.amed-prescriber-document-form,.amed-prescriber-availability) :is(input,select,textarea):focus-visible{outline:2px solid #3d7fa3;outline-offset:2px}
.cn-mobile-enabled .amed-prescriber-profile-form{gap:24px}
.cn-mobile-enabled .amed-prescriber-profile-form__section{display:block;margin-top:8px;padding-top:24px}
.cn-mobile-enabled .amed-prescriber-profile-form__section h3{font-family:Manrope,sans-serif;font-size:19px;font-weight:500;margin-bottom:8px}
.cn-mobile-enabled .amed-prescriber-profile-form__section p{font-size:14px;font-weight:400;line-height:1.6}
.cn-mobile-enabled :is(.amed-prescriber-register__card,.amed-prescriber-profile-form,.amed-prescriber-document-form) small{font-size:12px;font-weight:400;line-height:1.5;color:#637273}
.cn-mobile-enabled :is(.cn-account-content,.amed-public-booking__details,.amed-prescriber-profile-form,.amed-prescriber-register) input[type=file]{box-sizing:border-box;width:100%;max-width:100%;height:auto;min-height:64px;margin:0;padding:12px;border:1px dashed #9bbabb;border-radius:5px;background:#f4f8f7;color:#637273;font:400 14px/1.5 Inter,sans-serif;box-shadow:none}
.cn-mobile-enabled :is(.cn-account-content,.amed-public-booking__details,.amed-prescriber-profile-form,.amed-prescriber-register) input[type=file]::file-selector-button{margin:0 12px 0 0;padding:9px 12px;border:1px solid #bccdce;border-radius:4px;background:#fff;color:#143f43;font:500 13px/1.4 Inter,sans-serif;cursor:pointer}
.cn-mobile-enabled :is(.cn-account-content,.amed-public-booking__details,.amed-prescriber-profile-form,.amed-prescriber-register) input[type=file]:focus-visible{outline:2px solid #3d7fa3;outline-offset:2px}
.cn-mobile-enabled.cn-patient-account .woocommerce input[type=file]{height:auto;min-height:64px;padding:12px;border:1px dashed #9bbabb;background:#f4f8f7;line-height:1.5}
.cn-mobile-enabled .amed-prescriber-photo-field{align-items:start}
@media(min-width:850px){
 .cn-mobile-enabled{--cn-grid-gutter:32px;--cn-page-top:32px}
 /* Booking progress aligns with the form frame; connectors use real free space. */
 .cn-mobile-enabled.cn-consultation .amed-public-booking__steps{box-sizing:border-box;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;width:100%;padding:0;margin:0 0 24px;border:0;background:transparent}
 .cn-mobile-enabled.cn-consultation .amed-public-booking__steps>div{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:10px;min-width:0;min-height:36px;font-size:13px;line-height:1.4}
 .cn-mobile-enabled.cn-consultation .amed-public-booking__steps>div>strong{box-sizing:border-box;flex:0 0 36px;width:36px;min-width:36px;height:36px;margin:0;border-radius:8px;font-size:13px;line-height:1}
 .cn-mobile-enabled.cn-consultation .amed-public-booking__steps>div>span{flex:0 1 auto;min-width:0;padding:0;background:transparent;white-space:normal}
 .cn-mobile-enabled.cn-consultation .amed-public-booking__steps>div:not(:last-child)::after{position:static;display:block;flex:1 1 0;min-width:12px;height:1px;margin-left:4px;transform:none;background:#dce5e4}
 .cn-mobile-enabled .cn-account-content.cn-account-guest{width:var(--cn-grid-width);max-width:var(--cn-grid-max)}
 .cn-mobile-enabled .cn-account-guest .cn-account-form-panel{max-width:640px;padding:0}
 .cn-mobile-enabled .amed-public-booking__shell{grid-template-columns:minmax(0,.85fr) minmax(0,1.05fr) minmax(0,1fr)}
 .cn-mobile-enabled .amed-public-booking__shell>:is(aside,section){padding:24px}
 .cn-mobile-enabled .amed-prescriber-register__card{padding:28px}
 .cn-mobile-enabled .amed-prescriber-register__grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .cn-mobile-enabled .amed-prescriber-register__grid--profile label{grid-column:auto}
 .cn-mobile-enabled .amed-prescriber-register__grid--profile label.is-wide{grid-column:1/-1}
 .cn-mobile-enabled :is(.amed-prescriber-profile-form__row,.amed-prescriber-profile-form__head,.amed-prescriber-document-grid,.amed-prescriber-availability__row){grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
 .cn-mobile-enabled .amed-prescriber-profile-form__row--record{grid-template-columns:minmax(0,1fr) minmax(0,1.4fr) minmax(0,.6fr)}
 .cn-mobile-enabled .cn-account-content .woocommerce-EditAccountForm{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;padding:28px;border:1px solid #dce5e4;border-radius:5px;background:#fff}
 .cn-mobile-enabled .cn-account-content .woocommerce-EditAccountForm>.form-row{float:none;width:100%;min-width:0;margin:0;padding:0}
 .cn-mobile-enabled .cn-account-content .woocommerce-EditAccountForm>:not(.form-row),.cn-mobile-enabled .cn-account-content .woocommerce-EditAccountForm>.form-row-wide{grid-column:1/-1}
 .cn-mobile-enabled .cn-account-content .woocommerce-EditAccountForm fieldset{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;min-width:0;margin:12px 0 0;padding:20px 0 0;border:0;border-top:1px solid #dce5e4}
 .cn-mobile-enabled .cn-account-content .woocommerce-EditAccountForm fieldset>legend,.cn-mobile-enabled .cn-account-content .woocommerce-EditAccountForm fieldset>p:not(.form-row){grid-column:1/-1}
 .cn-mobile-enabled .cn-account-content .woocommerce-EditAccountForm fieldset>.form-row{grid-column:auto;float:none;width:100%;min-width:0;margin:0;padding:0}
 .cn-mobile-enabled .cn-account-content .woocommerce-EditAccountForm fieldset>.form-row:has(#password_current){grid-column:1/-1}
 .cn-mobile-enabled .cn-account-content .woocommerce-EditAccountForm .clear{height:0;margin:0;padding:0}
 .cn-mobile-enabled .cn-account-content :is(.woocommerce-address-fields,[data-amed-anamnesis-form]),.cn-mobile-enabled .amed-prescriber-profile-form{padding:28px}
}
/* Dashboard actions follow their label on desktop; phone/tablet keep full-width targets. */
@media(min-width:1024px){
 .cn-mobile-enabled .cn-app-home .cn-app-dashboard>.cn-app-card>.button{display:inline-flex;width:auto;max-width:100%;padding-inline:24px}
 .cn-mobile-enabled .cn-app-picker>.section>.section-content>.row{width:100%;max-width:none;margin-inline:0}
 .cn-mobile-enabled .cn-app-picker .cn-welcome-photo .img-inner{height:320px;overflow:hidden}
 .cn-mobile-enabled .cn-app-picker .cn-welcome-photo img{width:100%;height:100%;object-fit:cover;object-position:center 60%}
}
@media(min-width:850px) and (max-width:1099px){
 .cn-mobile-enabled .amed-public-booking__shell{grid-template-columns:repeat(2,minmax(0,1fr))}
 .cn-mobile-enabled .amed-public-booking__profile{grid-column:1/-1}
}
@media(max-width:849px){
 .cn-mobile-enabled .amed-prescriber-login{display:block}
 .cn-mobile-enabled .amed-prescriber-login__form,.cn-mobile-enabled .amed-prescriber-login__panel{padding:20px}
 .cn-mobile-enabled .amed-prescriber-app{grid-template-columns:minmax(0,1fr)}
 .cn-mobile-enabled .amed-prescriber-app__main{padding:20px}
 .cn-mobile-enabled .amed-prescriber-register__hero h1{font-size:24px}
 .cn-mobile-enabled :is(.amed-prescriber-register__grid,.amed-prescriber-profile-form__row,.amed-prescriber-profile-form__head,.amed-prescriber-document-grid,.amed-prescriber-availability__row){grid-template-columns:minmax(0,1fr)}
 .cn-mobile-enabled .amed-prescriber-register__grid--profile label,.cn-mobile-enabled .amed-prescriber-register__grid--profile label.is-wide{grid-column:auto}
}
