.admin-toast {
    position: fixed !important;
    right: 24px;
    top: 92px;
    width: min(420px, calc(100vw - 32px));
    z-index: 250;
    box-shadow: 0 18px 48px -22px rgba(15, 36, 49, .45) !important
}

.action-menu {
    position: relative;
    display: inline-block
}

.action-menu>summary {
    list-style: none;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #f7fafb;
    padding: 7px 11px;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer
}

.action-menu>summary::-webkit-details-marker {
    display: none
}

.action-menu>div {
    position: absolute;
    right: 0;
    top: calc(100% + 6px);
    z-index: 30;
    min-width: 165px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 6px;
    box-shadow: 0 18px 44px -24px rgba(18, 43, 58, .55)
}

.action-menu a,
.action-menu button {
    display: block;
    width: 100%;
    border: 0;
    background: none;
    border-radius: 8px;
    padding: 8px 10px;
    text-align: left;
    font-size: 12px
}

.action-menu a:hover,
.action-menu button:hover {
    background: #edf3f6
}

.phone-control {
    display: grid;
    grid-template-columns: minmax(132px, 38%) 1fr
}

.phone-control select {
    border-radius: 11px 0 0 11px;
    border-right: 0
}

.phone-control input {
    border-radius: 0 11px 11px 0
}

.terms-check {
    display: flex !important;
    align-items: flex-start;
    gap: 10px;
    margin: 15px 0;
    font-weight: 500 !important
}

.terms-check input {
    width: auto !important;
    margin-top: 4px
}

.terms-check a {
    color: var(--accent);
    text-decoration: underline
}

.subscription-admin-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(260px, .7fr);
    gap: 18px
}

.usage-row {
    display: flex;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid var(--border)
}

.gateway-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px
}

.gateway-card {
    display: grid;
    gap: 12px
}

.gateway-card label {
    display: grid;
    gap: 5px;
    font-weight: 700
}

.switch-inline {
    display: flex !important;
    align-items: center;
    gap: 7px
}

.switch-inline input {
    width: auto
}

.link-result {
    display: flex;
    gap: 10px;
    align-items: center
}

.link-result input {
    flex: 1
}

.login-split {
    padding: 0 !important;
    background: #f7f4ed !important
}

.login-layout {
    width: 100%;
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(420px, 43%) 1fr
}

.login-form-pane {
    display: grid;
    place-items: center;
    padding: 44px;
    background: #faf7f0
}

.login-form-inner {
    width: min(480px, 100%)
}

.login-form-inner>.login-brand {
    border: 0;
    margin-bottom: 42px
}

.login-eyebrow {
    display: block;
    color: #2f789d;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase
}

.login-form-inner>h2 {
    font-size: 38px;
    margin: 7px 0 8px
}

.login-copy {
    color: var(--muted);
    margin-bottom: 27px
}

.login-form-inner form {
    display: grid;
    gap: 15px
}

.login-form-inner form>label {
    display: grid;
    gap: 6px;
    font-size: 12px;
    font-weight: 700
}

.login-input {
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
    padding-left: 13px
}

.login-input input {
    border: 0;
    box-shadow: none;
    padding-left: 10px
}

.login-visual-pane {
    background: linear-gradient(145deg, #183f38, #0d3029);
    color: #fff;
    display: grid;
    align-items: center;
    padding: 9vw;
    position: relative
}

.login-visual-pane>div {
    max-width: 650px
}

.login-visual-pane h2 {
    font-size: clamp(42px, 4vw, 64px);
    margin: 20px 0
}

.login-visual-pane p,
.login-visual-pane small {
    color: rgba(255, 255, 255, .7)
}

.login-visual-pane ul {
    list-style: none;
    padding: 18px 0;
    display: grid;
    gap: 18px
}

.login-visual-pane li {
    padding-left: 18px;
    border-left: 3px solid #79b5a4
}

.login-visual-pane li small {
    display: block
}

.onboarding-body {
    min-height: 100vh;
    background: linear-gradient(145deg, #eff5f7, #f9f7f1);
    padding: 32px;
    color: #122b3a
}

.onboarding-shell {
    width: min(980px, 100%);
    margin: auto;
    background: #fff;
    border: 1px solid #d7e1e6;
    border-radius: 26px;
    box-shadow: 0 28px 70px -36px rgba(18, 43, 58, .38);
    overflow: hidden
}

.onboarding-shell>header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 28px;
    border-bottom: 1px solid #d7e1e6
}

.onboarding-shell>header img {
    width: 150px;
    max-height: 48px
}

.onboarding-shell>header div {
    text-align: right
}

.onboarding-shell>header span,
.onboarding-shell>header strong {
    display: block
}

.wizard-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 18px 28px 0
}

.wizard-tabs button {
    border: 0;
    border-bottom: 2px solid #d7e1e6;
    background: none;
    padding: 12px;
    color: #60727e;
    font-weight: 700
}

.wizard-tabs button.active {
    color: #487f9f;
    border-color: #487f9f
}

.wizard-step {
    padding: 34px 42px
}

.patient-onboarding-card {
    border: 1px solid #d7e1e6;
    border-radius: 17px;
    padding: 18px;
    margin-bottom: 14px
}

.patient-number {
    display: flex;
    justify-content: space-between;
    font-weight: 800;
    margin-bottom: 12px
}

.patient-number button {
    border: 0;
    background: none;
    color: #b63f48
}

.wizard-actions {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 25px
}

.confirm-panel {
    text-align: center;
    max-width: 620px;
    margin: auto
}

.confirm-panel>span,
.success-mark {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #e9f6ef;
    color: #2f7d5b;
    font-size: 28px;
    margin: 0 auto 18px
}

.confirm-panel ul {
    text-align: left;
    background: #f7fafb;
    border-radius: 15px;
    padding: 18px 18px 18px 38px
}

.onboarding-success {
    padding: 55px;
    text-align: center;
    margin-top: 8vh
}

.onboarding-success small {
    display: block;
    margin: 20px
}

.onboarding-success .btn {
    margin-top: 12px
}

@media(max-width:900px) {

    .subscription-admin-grid,
    .gateway-grid {
        grid-template-columns: 1fr
    }

    .login-layout {
        grid-template-columns: 1fr
    }

    .login-visual-pane {
        display: none
    }

    .login-form-pane {
        min-height: 100vh
    }

    .wizard-step {
        padding: 26px
    }

    .onboarding-body {
        padding: 12px
    }

    .link-result {
        align-items: stretch;
        flex-direction: column
    }
}

@media(max-width:560px) {
    .wizard-tabs {
        padding: 12px 15px 0
    }

    .wizard-tabs button {
        font-size: 0
    }

    .wizard-tabs button span {
        font-size: 12px
    }

    .onboarding-shell>header {
        padding: 15px
    }

    .onboarding-shell>header img {
        width: 115px
    }

    .phone-control {
        grid-template-columns: 120px 1fr
    }

    .admin-toast {
        right: 12px;
        top: 78px
    }
}
.onboarding-shell > header .onboarding-logo {
    width: auto;
    height: 72px;
    max-height: 72px;
    object-fit: contain;
}

@media (max-width: 560px) {
    .onboarding-shell > header .onboarding-logo {
        width: auto;
        height: 56px;
        max-height: 56px;
    }
}
/* Teléfono internacional: país separado del número para no duplicar el indicativo. */
.phone-field{min-width:0}
.phone-control{display:grid;grid-template-columns:minmax(190px,225px) minmax(0,1fr);gap:8px;align-items:stretch}
.phone-country-control{position:relative;min-width:0}
.phone-country-control>img{position:absolute;left:11px;top:50%;transform:translateY(-50%);z-index:2;width:25px;height:18px;object-fit:cover;border-radius:3px;box-shadow:0 0 0 1px rgba(31,41,55,.10);pointer-events:none;background:#fff}
.phone-country-control>select{width:100%;min-width:0;padding-left:45px!important;padding-right:30px!important;border:1px solid #d8dde6!important;border-radius:11px!important;background-color:#fff!important}
.phone-control>input[data-phone-number]{min-width:0;width:100%;border:1px solid #d8dde6!important;border-radius:11px!important}
.phone-field>span{display:block;margin-bottom:6px}
.phone-field>span small{font-weight:500;color:#7d8793}
@media(max-width:560px){
    .phone-control{grid-template-columns:minmax(150px,42%) minmax(0,1fr);gap:7px}
    .phone-country-control>img{width:22px;height:16px;left:9px}
    .phone-country-control>select{padding-left:39px!important;font-size:12px!important}
}

.onboarding-empty-shell{max-width:880px}.onboarding-empty{padding:58px 44px 54px;text-align:center}.empty-mark{display:grid;place-items:center;width:74px;height:74px;border-radius:50%;margin:0 auto 18px;background:#fff2f3;color:#b3414a;font-size:40px;font-weight:700;box-shadow:inset 0 0 0 1px #f0cfd3}.onboarding-badge{display:inline-flex;align-items:center;justify-content:center;padding:7px 12px;border-radius:999px;background:#eef4f7;color:#476273;font-size:12px;font-weight:800;letter-spacing:.03em;margin:0 0 12px}.onboarding-empty h1{font-size:clamp(32px,4vw,48px);margin-bottom:10px}.onboarding-empty>p{max-width:650px;margin:0 auto 24px;color:var(--muted);font-size:17px}.empty-info-card{max-width:620px;margin:0 auto 24px;padding:18px 20px;border:1px solid var(--border);border-radius:18px;background:#f8fbfc;text-align:left}.empty-info-card strong{display:block;margin-bottom:10px}.empty-info-card ul{margin:0;padding-left:20px;color:var(--muted)}.empty-info-card li+li{margin-top:8px}.empty-actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap}.empty-support-meta{display:flex;justify-content:center;gap:18px;flex-wrap:wrap;margin-top:20px;color:var(--muted);font-size:14px}.empty-support-meta a{color:var(--accent);font-weight:700}@media(max-width:560px){.onboarding-empty{padding:34px 18px 28px}.empty-mark{width:62px;height:62px;font-size:34px}.onboarding-empty>p{font-size:15px}.empty-info-card{text-align:left}.empty-actions{flex-direction:column}.empty-actions .btn{width:100%}}

/* 2026-09-16 · selector internacional de teléfono con banderas */
.phone-field{display:block;min-width:0;position:relative}
.phone-field>span{display:block;margin-bottom:6px;font-weight:700;color:#294052}
.phone-field>span small{font-weight:500;color:#7d8793}
.phone-control{display:grid!important;grid-template-columns:minmax(145px,215px) minmax(105px,1fr)!important;gap:8px!important;align-items:stretch}
.phone-country-control{position:relative;min-width:0}
.phone-country-control>select[data-phone-country]{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important;overflow:hidden!important}
.phone-country-trigger{width:100%;height:100%;min-height:46px;display:grid;grid-template-columns:26px minmax(0,1fr) 10px;align-items:center;gap:10px;padding:0 12px;border:1px solid #d7e0e7;border-radius:11px;background:#fff;color:#294052;text-align:left;cursor:pointer;transition:border-color .16s ease,box-shadow .16s ease,background .16s ease}
.phone-country-trigger:hover{background:#fbfdfe;border-color:#b9cad5}.phone-field.is-open .phone-country-trigger,.phone-country-trigger:focus-visible{outline:0;border-color:#3b82a6;box-shadow:0 0 0 3px rgba(47,126,163,.12)}
.phone-country-trigger img,.phone-country-option img{width:24px;height:17px;object-fit:cover;border-radius:3px;box-shadow:0 0 0 1px rgba(31,41,55,.11);background:#f5f7f9}
.phone-country-current{min-width:0;display:flex;align-items:center;gap:4px;white-space:nowrap;overflow:hidden;font-size:13px;font-weight:750}.phone-country-dial{flex:0 0 auto}.phone-country-separator{flex:0 0 auto}.phone-country-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.phone-country-chevron{width:7px;height:7px;border-right:2px solid #73818d;border-bottom:2px solid #73818d;transform:rotate(45deg) translateY(-2px);transition:transform .16s ease}.phone-field.is-open .phone-country-chevron{transform:rotate(225deg) translate(-1px,-1px)}
.phone-country-menu{position:absolute;left:0;top:calc(100% + 6px);z-index:1000;width:min(360px,calc(100vw - 32px));min-width:100%;padding:8px;background:#fff;border:1px solid #dbe3e9;border-radius:13px;box-shadow:0 22px 55px -24px rgba(22,49,65,.42)}
.phone-country-search-wrap{position:sticky;top:0;z-index:2;display:grid;grid-template-columns:18px 1fr;align-items:center;gap:6px;background:#fff;padding:2px 2px 8px}.phone-country-search-wrap>span{color:#83909b;font-size:18px}.phone-country-search-wrap input{width:100%!important;min-height:38px!important;padding:7px 9px!important;border:1px solid #dfe6eb!important;border-radius:9px!important;font-size:13px!important}
.phone-country-options{max-height:285px;overflow:auto;overscroll-behavior:contain;padding-right:2px}
.phone-country-option{width:100%;display:grid;grid-template-columns:26px minmax(0,1fr) auto;align-items:center;gap:10px;padding:8px 9px;border:0;border-radius:9px;background:transparent;color:#33495a;text-align:left;cursor:pointer}.phone-country-option:hover,.phone-country-option.is-selected{background:#edf5f8}.phone-country-option span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.phone-country-option strong{font-size:12px;color:#6f7e8a;white-space:nowrap}.phone-country-option.is-selected strong{color:#2f7ea3}.phone-country-empty{padding:16px;text-align:center;color:#7a8791;font-size:13px}
.phone-control>input[data-phone-number]{min-width:0;width:100%;border:1px solid #d7e0e7!important;border-radius:11px!important;padding-left:13px!important}.phone-control>input[data-phone-number]:focus{outline:0;border-color:#3b82a6!important;box-shadow:0 0 0 3px rgba(47,126,163,.12)}
@media(max-width:560px){.phone-control{grid-template-columns:minmax(135px,42%) minmax(0,1fr)!important;gap:7px!important}.phone-country-trigger{grid-template-columns:22px minmax(0,1fr) 8px;padding:0 9px;gap:7px}.phone-country-trigger img{width:21px;height:15px}.phone-country-current{font-size:12px}.phone-country-menu{position:fixed;left:12px;right:12px;top:auto;bottom:14px;width:auto;max-height:min(70vh,520px);z-index:3000}.phone-country-options{max-height:min(52vh,380px)}}
.phone-field-label{display:block;margin-bottom:6px;font-weight:700;color:#294052}.phone-field-label small{font-weight:500;color:#7d8793}

/* 2026-09-18 · mejoras UX del alta pública */
.onboarding-shell{overflow:visible}
.onboarding-shell>header{border-radius:25px 25px 0 0;background:#fff;position:relative;z-index:5}
.wizard-step,.admin-form-grid,.patient-onboarding-card{overflow:visible}
.registration-alert{margin:18px 28px 0}
.phone-field{z-index:1}
.phone-field.is-open{z-index:4200}
.phone-country-menu{position:fixed;z-index:5000;min-width:0;max-width:calc(100vw - 24px)}
.phone-country-options{scrollbar-gutter:stable}

.registration-photo-field{display:grid;gap:7px;min-width:0}
.registration-image-dropzone{position:relative;display:grid;grid-template-columns:84px minmax(0,1fr);align-items:center;gap:14px;min-height:112px;padding:10px 12px;border:1.5px dashed #b9ccd7;border-radius:14px;background:#f9fcfd;cursor:pointer;transition:border-color .16s ease,background .16s ease,box-shadow .16s ease}
.registration-image-dropzone:hover,.registration-image-dropzone.is-dragging{border-color:#3b82a6;background:#f1f8fb;box-shadow:0 0 0 3px rgba(47,126,163,.08)}
.registration-image-dropzone input[type=file]{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.registration-image-preview{display:grid;place-items:center;width:84px;height:84px;border:1px solid #dce6eb;border-radius:12px;background:#fff;overflow:hidden;color:#7893a2}
.registration-image-preview svg{width:34px;height:34px}
.registration-image-preview img{width:100%;height:100%;object-fit:cover}
.registration-image-copy{display:grid;gap:4px;min-width:0}
.registration-image-copy strong{font-size:13px;color:#23465a;line-height:1.35}
.registration-image-copy small{font-size:11px;color:#758793;line-height:1.45}
.registration-image-copy em{font-style:normal;font-size:11px;color:#2f7ea3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.registration-image-dropzone.has-preview{border-style:solid;border-color:#bfd4df;background:#fbfdfe}

.onboarding-body .select2-container{width:100%!important;min-width:0}
.onboarding-body .select2-container .select2-selection--single{height:48px;border:1px solid #d7e1e6;border-radius:13px;background:#fff;outline:0;transition:border-color .16s ease,box-shadow .16s ease}
.onboarding-body .select2-container--default.select2-container--focus .select2-selection--single,.onboarding-body .select2-container--default.select2-container--open .select2-selection--single{border-color:#487f9f;box-shadow:0 0 0 3px rgba(72,127,159,.14)}
.onboarding-body .select2-container--default .select2-selection--single .select2-selection__rendered{height:46px;line-height:46px;padding-left:14px;padding-right:36px;color:#122b3a;font-size:14px}
.onboarding-body .select2-container--default .select2-selection--single .select2-selection__arrow{height:46px;right:8px}
.onboarding-body .select2-container--default .select2-selection--single .select2-selection__clear{height:46px;line-height:44px;margin-right:20px;color:#7b8b95}
.select2-dropdown.registration-select2-dropdown{z-index:5200;border:1px solid #d7e1e6;border-radius:12px;overflow:hidden;box-shadow:0 18px 45px -24px rgba(18,43,58,.45)}
.registration-select2-dropdown .select2-results__option{padding:9px 12px;font-size:13px}
.registration-select2-dropdown .select2-results__option--highlighted[aria-selected]{background:#2f7ea3}

.terms-consent{max-width:570px;margin:18px auto 4px;padding:14px 16px;border:1px solid #dce6eb;border-radius:14px;background:#fbfdfe}
.terms-consent .terms-check{display:flex!important;align-items:flex-start;justify-content:center;gap:10px;margin:0;font-weight:500!important;text-align:left;line-height:1.45}
.terms-consent .terms-check input{flex:0 0 auto;width:16px!important;height:16px;margin:2px 0 0;accent-color:#487f9f}
.terms-consent .terms-check span{display:block}
.terms-consent .terms-check a{color:#2f7ea3;font-weight:700;text-decoration:underline;text-underline-offset:2px}

.onboarding-success-body{display:grid;place-items:center;padding:20px}
.onboarding-success-shell{width:min(720px,100%);margin:0;overflow:hidden}
.onboarding-success{padding:34px 44px 38px;margin:0;text-align:center}
.onboarding-success .onboarding-logo{width:104px;height:auto;max-height:84px;object-fit:contain;margin:0 auto 18px}
.onboarding-success .success-mark{width:50px;height:50px;font-size:24px;margin-bottom:14px}
.onboarding-success h1{font-size:clamp(30px,4vw,38px);margin-bottom:10px}
.onboarding-success p{max-width:590px;margin:0 auto 18px;color:var(--muted);font-size:15px;line-height:1.65}
.success-reference{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;margin:0 auto 20px;padding:9px 12px;border-radius:11px;background:#f7fafb;color:#60727e;font-size:12px;max-width:100%}
.success-reference span{font-weight:800;color:#294052}
.success-reference code{font-size:11px;word-break:break-all}
.onboarding-success .btn{margin-top:0;padding:10px 18px}

@media(max-width:700px){
    .registration-image-dropzone{grid-template-columns:70px minmax(0,1fr);min-height:96px}
    .registration-image-preview{width:70px;height:70px}
    .registration-alert{margin:12px 15px 0}
    .onboarding-success{padding:28px 20px 30px}
}
@media(max-width:560px){
    .phone-country-menu{position:fixed!important;left:12px!important;right:12px!important;top:auto!important;bottom:14px!important;width:auto!important;max-height:min(70vh,520px);z-index:5000}
    .registration-image-dropzone{grid-template-columns:62px minmax(0,1fr);gap:10px;padding:9px}
    .registration-image-preview{width:62px;height:62px}
    .registration-image-copy strong{font-size:12px}
    .terms-consent{padding:12px;margin-top:14px}
    .onboarding-success-body{padding:12px}
}

/* 2026-09-18: registro - selectores compactos y pacientes */
.phone-country-menu[hidden],
.phone-country-option[hidden],
.phone-country-empty[hidden]{display:none!important}
.phone-country-menu{overflow:hidden;max-height:340px;padding:7px}
.phone-country-options{max-height:240px;overscroll-behavior:auto;scrollbar-gutter:stable}
.phone-country-search-wrap{padding-bottom:7px}
.phone-country-search-wrap input{min-height:36px!important;padding:6px 9px!important}
.phone-country-option{padding:7px 8px}
.patient-list-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:2px 0 12px;padding:10px 12px;border:1px solid #dce5ea;border-radius:13px;background:#f8fbfc}
.patient-list-summary{display:flex;align-items:center;gap:9px;min-width:0}.patient-list-summary strong{font-size:13px;color:#294052}.patient-list-summary span{display:inline-flex;align-items:center;justify-content:center;min-height:24px;padding:3px 8px;border-radius:999px;background:#eaf3f7;color:#2f6f90;font-size:11px;font-weight:800;white-space:nowrap}
.patient-add-button{padding:8px 13px;font-size:12px;white-space:nowrap}.patient-add-button>span{font-size:16px;line-height:1}.patient-add-button:disabled{opacity:.45;cursor:not-allowed;transform:none}
.patient-onboarding-list{display:grid;gap:10px}.patient-onboarding-card{margin:0;padding:14px 15px;border-radius:14px;background:#fff;box-shadow:0 8px 24px -24px rgba(18,43,58,.45)}
.patient-number{align-items:center;margin-bottom:10px;padding-bottom:9px;border-bottom:1px solid #e5ecef}.patient-number>div{display:grid;gap:1px}.patient-number strong{font-size:13px;color:#17394c}.patient-number small{font-size:10px;font-weight:650;color:#83929c}
.patient-remove-button{border:1px solid #f0d1d4!important;border-radius:9px!important;background:#fff7f7!important;color:#a9464d!important;padding:6px 9px!important;font-size:11px!important;font-weight:800!important}.patient-remove-button:hover{background:#fff0f1!important}
.patient-onboarding-grid{gap:11px 14px}.patient-onboarding-grid label,.patient-onboarding-grid .phone-field-label{font-size:12px}.patient-onboarding-grid input,.patient-onboarding-grid select{min-height:44px;padding-top:9px;padding-bottom:9px}.patient-onboarding-grid .phone-country-trigger{min-height:44px}.patient-onboarding-grid .phone-control{grid-template-columns:minmax(140px,46%) minmax(0,1fr)!important}
.onboarding-body .select2-dropdown{z-index:5200}.onboarding-body .select2-results__option{font-size:13px}
@media(max-width:680px){.patient-list-toolbar{align-items:stretch}.patient-list-summary{flex:1}.patient-onboarding-grid{grid-template-columns:1fr}.patient-onboarding-grid .phone-control{grid-template-columns:minmax(132px,42%) minmax(0,1fr)!important}}
@media(max-width:520px){.patient-list-toolbar{flex-direction:column}.patient-add-button{width:100%}.patient-onboarding-card{padding:12px}.phone-country-options{max-height:min(44vh,300px)}}

/* 2026-09-21 · teléfono compacto en formularios públicos de contacto */
.frontend-body .contact-card .phone-field--compact{min-width:0}
.frontend-body .contact-card .phone-field--compact .phone-control{
    grid-template-columns:100px minmax(0,1fr)!important;
    gap:0!important;
    width:100%;
    min-width:0;
    border:1px solid #d7e0e7;
    border-radius:13px;
    background:#fff;
    transition:border-color .16s ease,box-shadow .16s ease;
}
.frontend-body .contact-card .phone-field--compact .phone-control:focus-within,
.frontend-body .contact-card .phone-field--compact.is-open .phone-control{
    border-color:#3b82a6;
    box-shadow:0 0 0 3px rgba(47,126,163,.12);
}
.frontend-body .contact-card .phone-field--compact .phone-country-control{min-width:0}
.frontend-body .contact-card .phone-field--compact .phone-country-trigger{
    grid-template-columns:22px minmax(0,1fr) 8px;
    gap:6px;
    min-width:0;
    min-height:46px;
    padding:0 8px;
    border:0;
    border-radius:12px 0 0 12px;
    box-shadow:none!important;
}
.frontend-body .contact-card .phone-field--compact .phone-country-trigger img{
    width:22px;
    height:16px;
}
.frontend-body .contact-card .phone-field--compact .phone-country-current{
    gap:0;
    overflow:visible;
    font-size:13px;
}
.frontend-body .contact-card .phone-field--compact .phone-country-separator,
.frontend-body .contact-card .phone-field--compact .phone-country-name{display:none}
.frontend-body .contact-card .phone-field--compact .phone-control>input[data-phone-number]{
    min-width:0!important;
    width:100%!important;
    min-height:46px;
    border:0!important;
    border-left:1px solid #d7e0e7!important;
    border-radius:0 12px 12px 0!important;
    padding:0 11px!important;
    font-size:14px;
    box-shadow:none!important;
}
.frontend-body .contact-card .phone-field--compact .phone-control>input[data-phone-number]:focus{
    outline:0;
    border-color:transparent!important;
    border-left-color:#d7e0e7!important;
    box-shadow:none!important;
}
@media(max-width:680px){
    .frontend-body .contact-card .phone-field--compact .phone-control{
        grid-template-columns:96px minmax(0,1fr)!important;
    }
    .frontend-body .contact-card .phone-field--compact .phone-country-trigger{
        grid-template-columns:21px minmax(0,1fr) 7px;
        gap:5px;
        padding:0 7px;
    }
    .frontend-body .contact-card .phone-field--compact .phone-country-trigger img{
        width:21px;
        height:15px;
    }
}
/* 2026-09-22 · contenido público, planes y centro de ayuda */
.benefit-grid,.feature-group-grid,.audience-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.benefit-card,.feature-group-card,.audience-card,.help-category-card{border:1px solid rgba(72,127,159,.16);background:#fff;border-radius:20px;box-shadow:0 16px 42px -36px rgba(18,43,58,.45)}
.benefit-card{padding:24px}.benefit-card h3,.feature-group-card h3,.audience-card h3{margin:0 0 8px}.benefit-card p,.feature-group-card p,.audience-card p{margin:0;color:var(--muted);line-height:1.65}
.benefit-check{display:grid;place-items:center;width:34px;height:34px;margin-bottom:16px;border-radius:50%;background:rgba(72,127,159,.12);color:var(--accent);font-weight:900}
.care-day-grid{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:clamp(32px,6vw,76px);align-items:center}.care-day-copy p{color:var(--muted);line-height:1.75}.text-link{display:inline-flex;margin-top:10px;color:var(--accent);font-weight:800;text-decoration:none}.care-day-timeline{display:grid;gap:12px}.care-day-timeline article{display:grid;grid-template-columns:72px minmax(0,1fr);gap:16px;padding:18px;border:1px solid rgba(72,127,159,.16);border-radius:18px;background:#fff}.care-day-timeline article>span{font-family:'Fraunces',serif;font-size:20px;color:var(--accent);font-weight:700}.care-day-timeline h3{margin:0 0 5px;font-size:17px}.care-day-timeline p{margin:0;color:var(--muted);font-size:14px;line-height:1.55}
.feature-group-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.feature-group-card{position:relative;padding:22px;min-height:225px}.feature-number{display:inline-flex;margin-bottom:28px;font-size:12px;letter-spacing:.08em;font-weight:800;color:var(--accent)}.feature-group-card small{display:block;margin-top:14px;padding-top:13px;border-top:1px solid rgba(72,127,159,.12);color:#6b7e8a;line-height:1.45}
.audience-card{padding:26px}.audience-card ul{display:grid;gap:9px;margin:20px 0 0;padding:0;list-style:none;color:#526976;font-size:14px}.section-actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:28px}
.compact-page-hero{padding-bottom:18px}.compact-page-hero .site-container{max-width:900px;text-align:center}.compact-page-hero p{max-width:720px;margin-left:auto;margin-right:auto}
.plan-comparison-wrap{overflow-x:auto;border:1px solid rgba(72,127,159,.16);border-radius:18px;background:#fff}.plan-comparison{width:100%;min-width:720px;border-collapse:collapse}.plan-comparison th,.plan-comparison td{padding:15px 17px;border-bottom:1px solid rgba(72,127,159,.12);text-align:center}.plan-comparison thead th{background:#f7fafb;color:var(--primary);font-size:13px}.plan-comparison tbody th{text-align:left;color:var(--primary);font-size:13px}.plan-comparison tbody td{color:#526976;font-weight:700}.plan-comparison tr:last-child th,.plan-comparison tr:last-child td{border-bottom:0}.comparison-note{margin:12px 3px 0;color:var(--muted);font-size:12px;line-height:1.55}
.help-hero{padding:72px 0 46px;background:linear-gradient(180deg,#f5f9fb 0%,#fff 100%)}.help-hero-inner{max-width:860px;text-align:center}.help-hero h1{margin:8px 0 12px}.help-hero p{max-width:670px;margin:0 auto;color:var(--muted)}.help-search{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px;max-width:680px;margin:26px auto 0;padding:7px;border:1px solid rgba(72,127,159,.24);border-radius:16px;background:#fff;box-shadow:0 18px 44px -34px rgba(18,43,58,.45)}.help-search input{min-width:0;border:0!important;box-shadow:none!important;padding:8px 12px!important;background:transparent!important}.help-category-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.help-category-card{overflow:hidden}.help-category-head{padding:24px 24px 16px}.help-category-head h2{margin:0 0 7px;font-size:24px}.help-category-head p{margin:0;color:var(--muted);font-size:14px;line-height:1.55}.help-article-list{border-top:1px solid rgba(72,127,159,.12)}.help-article-list a{position:relative;display:grid;gap:4px;padding:16px 48px 16px 24px;border-bottom:1px solid rgba(72,127,159,.09);text-decoration:none;color:var(--primary)}.help-article-list a:last-child{border-bottom:0}.help-article-list a:hover{background:#f8fbfc}.help-article-list a span{font-weight:800}.help-article-list a small{color:var(--muted);line-height:1.45}.help-article-list a b{position:absolute;right:22px;top:50%;transform:translateY(-50%);color:var(--accent)}.help-result-caption{display:flex;justify-content:space-between;gap:16px;margin:-16px 0 18px;color:var(--muted);font-size:13px}.help-result-caption a{color:var(--accent);font-weight:800}.help-empty{grid-column:1/-1;padding:50px 24px;text-align:center;border:1px dashed rgba(72,127,159,.3);border-radius:18px}.help-empty h2{margin-top:0}.help-empty p{color:var(--muted)}
.help-article-shell{padding:52px 0 76px}.help-article-shell>.site-container{max-width:900px}.help-breadcrumb{display:flex;gap:8px;align-items:center;margin-bottom:20px;color:var(--muted);font-size:13px}.help-breadcrumb a{color:var(--accent);font-weight:800;text-decoration:none}.help-article{padding:clamp(24px,5vw,54px);border:1px solid rgba(72,127,159,.16);border-radius:24px;background:#fff;box-shadow:0 24px 58px -48px rgba(18,43,58,.5)}.help-article h1{max-width:760px;margin:8px 0 12px;font-size:clamp(34px,5vw,54px)}.help-article-lead{max-width:720px;margin:0 0 30px;color:var(--muted);font-size:18px;line-height:1.65}.help-article-body{color:#354e5c;line-height:1.85;font-size:16px;white-space:normal}.help-article-footer{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-top:36px;padding-top:24px;border-top:1px solid rgba(72,127,159,.13)}
@media(max-width:980px){.feature-group-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.benefit-grid,.audience-grid{grid-template-columns:1fr}.care-day-grid{grid-template-columns:1fr}.help-category-grid{grid-template-columns:1fr}}
@media(max-width:680px){.feature-group-grid{grid-template-columns:1fr}.feature-group-card{min-height:0}.benefit-card,.feature-group-card,.audience-card{padding:18px}.care-day-timeline article{grid-template-columns:58px minmax(0,1fr);padding:15px}.help-hero{padding:50px 0 30px}.help-search{grid-template-columns:1fr;padding:8px}.help-search .btn{width:100%}.help-category-head{padding:20px 18px 14px}.help-article-list a{padding:15px 42px 15px 18px}.help-article{padding:22px 18px;border-radius:18px}.help-article-footer .btn{width:100%}}
