/* AMPRO Secretaría App 3.3.6 · interfaz independiente del tema */
html{background:#f4f6f9}
body.ampro-secretary-app-page{margin:0!important;min-height:100vh;background:#f4f6f9!important;color:#182234;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif!important;font-size:15px!important;line-height:1.5!important;-webkit-font-smoothing:antialiased}
body.ampro-secretary-app-page *{box-sizing:border-box}
.ampro-secretary-app-root{min-height:100vh;padding:14px}
.ampro-secretary-app-shell{--ampro-secretary-primary:#2563eb;--ampro-secretary-border:#dce3ec;--ampro-secretary-muted:#68758a;--ampro-secretary-ink:#182234;--ampro-secretary-soft:#f7f9fc;max-width:1780px;margin:0 auto;color:var(--ampro-secretary-ink)}
.ampro-secretary-app-shell a{color:var(--ampro-secretary-primary)}

/* Cabecera */
.ampro-secretary-app-header{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:70px;padding:11px 15px;background:#fff;border:1px solid var(--ampro-secretary-border);border-radius:15px;box-shadow:0 3px 14px rgba(20,35,55,.035)}
.ampro-secretary-app-brand{display:flex;align-items:center;gap:11px;min-width:0}
.ampro-secretary-app-brand__symbol,.ampro-secretary-app-brand__logo{display:grid;place-items:center;width:42px;height:42px;flex:0 0 42px;border-radius:11px;background:color-mix(in srgb,var(--ampro-secretary-primary) 10%,#fff);color:var(--ampro-secretary-primary);font-size:23px;font-weight:700;overflow:hidden}
.ampro-secretary-app-brand__logo img{display:block;width:100%;height:100%;object-fit:contain;background:#fff}
.ampro-secretary-app-brand__copy{display:flex;flex-direction:column;min-width:0}
.ampro-secretary-app-brand__copy strong{font-size:14px!important;line-height:1.25!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:320px}
.ampro-secretary-app-brand__copy small{font-size:10px!important;text-transform:uppercase;letter-spacing:.075em;color:var(--ampro-secretary-muted);font-weight:750;margin-top:2px}
.ampro-secretary-app-user{display:flex;align-items:center;gap:10px;min-width:0}
.ampro-secretary-app-user__avatar img{display:block;width:36px;height:36px;border-radius:50%}
.ampro-secretary-app-user__copy{display:flex;flex-direction:column;max-width:220px;min-width:0}
.ampro-secretary-app-user__copy strong{font-size:12px!important;line-height:1.25!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ampro-secretary-app-user__copy span{font-size:10px!important;color:var(--ampro-secretary-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ampro-secretary-app-logout{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:7px 11px;border:1px solid var(--ampro-secretary-border);border-radius:8px;background:#fff;color:#4b596c!important;text-decoration:none!important;font-size:11px!important;font-weight:700}
.ampro-secretary-app-logout:hover{background:#f7f9fc}
.ampro-secretary-app-menu-button{display:none;align-items:center;gap:4px;border:1px solid var(--ampro-secretary-border);border-radius:8px;background:#fff;color:#455468;min-height:36px;padding:6px 9px;font:inherit;font-size:11px;font-weight:700;cursor:pointer}

/* Layout */
.ampro-secretary-app-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:15px;margin-top:15px;align-items:start}
.ampro-secretary-app-nav{position:sticky;top:14px;max-height:calc(100vh - 28px);overflow:auto;padding:10px;background:#fff;border:1px solid var(--ampro-secretary-border);border-radius:15px;box-shadow:0 3px 14px rgba(20,35,55,.03);scrollbar-width:thin}
.ampro-secretary-app-nav__group+ .ampro-secretary-app-nav__group{margin-top:14px;padding-top:12px;border-top:1px solid #edf0f4}
.ampro-secretary-app-nav__label{display:block;padding:0 8px 6px;color:#8a95a5;font-size:9px!important;line-height:1.2!important;font-weight:800;text-transform:uppercase;letter-spacing:.085em}
.ampro-secretary-app-nav a{display:block;margin:1px 0;padding:8px 9px;border-radius:8px;color:#435167!important;text-decoration:none!important;font-size:12px!important;font-weight:620;line-height:1.25}
.ampro-secretary-app-nav a:hover{background:#f4f7fb;color:#24334a!important}
.ampro-secretary-app-nav a.is-active{background:color-mix(in srgb,var(--ampro-secretary-primary) 9%,#fff);color:var(--ampro-secretary-primary)!important;font-weight:750}
.ampro-secretary-app-main{min-width:0;padding:2px 0 12px}
.ampro-secretary-app-context{display:flex;align-items:baseline;gap:8px;margin:2px 2px 12px;color:var(--ampro-secretary-muted)}
.ampro-secretary-app-context span{font-size:9px!important;font-weight:800;letter-spacing:.09em;text-transform:uppercase}
.ampro-secretary-app-context strong{font-size:12px!important;color:#526177}
.ampro-secretary-app-overlay{display:none}

/* Limpiar rastros del admin/tema y adaptar las vistas Core */
.ampro-secretary-app-shell .wrap,.ampro-secretary-app-shell .ampro-wrap{margin:0!important;max-width:none!important;padding:0!important}
.ampro-secretary-app-shell .ampro-inline-logout{display:none!important}
.ampro-secretary-app-shell .wp-header-end{border:0!important;height:1px!important;background:#e7ebf0!important;margin:9px 0 14px!important}
.ampro-secretary-app-shell h1,.ampro-secretary-app-shell h2,.ampro-secretary-app-shell h3,.ampro-secretary-app-shell h4{font-family:inherit!important;color:var(--ampro-secretary-ink)!important;line-height:1.25!important}
.ampro-secretary-app-shell h1{font-size:25px!important;letter-spacing:-.025em!important;font-weight:720!important;margin:0 0 5px!important}
.ampro-secretary-app-shell h1.wp-heading-inline{display:inline-block!important;margin-right:8px!important}
.ampro-secretary-app-shell h2{font-size:17px!important;font-weight:700!important;margin:0 0 10px!important;text-transform:none!important;letter-spacing:0!important}
.ampro-secretary-app-shell h3{font-size:14px!important;font-weight:700!important}
.ampro-secretary-app-shell p{font-size:14px!important;line-height:1.55!important}
.ampro-secretary-app-shell p.description,.ampro-secretary-app-shell .description{font-size:12px!important;line-height:1.45!important;color:var(--ampro-secretary-muted)!important}
.ampro-secretary-app-shell .ampro-page-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin:0 0 13px!important}
.ampro-secretary-app-shell .ampro-page-header__subtitle{margin:3px 0 0!important;color:var(--ampro-secretary-muted)!important}
.ampro-secretary-app-shell .page-title-action{display:inline-flex!important;align-items:center;min-height:34px;padding:6px 10px;border:1px solid var(--ampro-secretary-border)!important;border-radius:8px;background:#fff;color:var(--ampro-secretary-primary)!important;text-decoration:none!important;font-size:11px!important;font-weight:750!important;vertical-align:4px}
.ampro-secretary-app-shell .page-title-action:hover{background:#f6f9fc!important;border-color:#bcc9d8!important}

/* Cards */
.ampro-secretary-app-shell .ampro-card,.ampro-secretary-app-shell .card{max-width:none!important;margin:0 0 14px!important;padding:17px 18px!important;background:#fff!important;border:1px solid var(--ampro-secretary-border)!important;border-radius:12px!important;box-shadow:0 2px 10px rgba(21,35,54,.025)!important}
.ampro-secretary-app-shell .ampro-card h2,.ampro-secretary-app-shell .card h2{margin:0 0 10px!important;font-size:15px!important;text-transform:none!important;letter-spacing:0!important;color:#41516a!important}
.ampro-secretary-app-shell .ampro-card--wide{max-width:none!important}
.ampro-secretary-app-shell .ampro-card--featured{border-color:color-mix(in srgb,var(--ampro-secretary-primary) 25%,var(--ampro-secretary-border))!important;background:linear-gradient(180deg,color-mix(in srgb,var(--ampro-secretary-primary) 3%,#fff),#fff)!important}
.ampro-secretary-app-shell .ampro-module-grid{grid-template-columns:repeat(auto-fill,minmax(210px,1fr))!important;gap:10px!important}
.ampro-secretary-app-shell .ampro-module-card{min-height:84px;padding:12px 13px!important;border:1px solid var(--ampro-secretary-border)!important;border-radius:9px!important;background:#fff!important}
.ampro-secretary-app-shell .ampro-module-card__title{font-size:12px!important}.ampro-secretary-app-shell .ampro-module-card__desc{font-size:11px!important;line-height:1.4!important}
.ampro-secretary-app-shell .ampro-stats-grid{grid-template-columns:repeat(auto-fit,minmax(140px,1fr))!important;gap:10px!important}
.ampro-secretary-app-shell .ampro-stat-card{padding:12px 13px!important;border:1px solid #e3e8ef!important;border-radius:9px!important;background:#f8fafc!important}
.ampro-secretary-app-shell .ampro-stat-card .ampro-stat-number{font-size:22px!important}.ampro-secretary-app-shell .ampro-stat-card .ampro-stat-label{font-size:11px!important}

/* Botones y formularios */
.ampro-secretary-app-shell .button,.ampro-secretary-app-shell button.button,.ampro-secretary-app-shell input.button,.ampro-secretary-app-shell input[type=submit]{display:inline-flex;align-items:center;justify-content:center;min-height:35px;padding:7px 11px;border:1px solid var(--ampro-secretary-border);border-radius:8px;background:#fff;color:#344359;text-decoration:none!important;font-family:inherit!important;font-size:11px!important;font-weight:720!important;line-height:1.2;cursor:pointer;box-shadow:none!important;text-shadow:none!important}
.ampro-secretary-app-shell .button:hover{background:#f7f9fc;border-color:#bcc7d5;color:#26364d}
.ampro-secretary-app-shell .button-primary,.ampro-secretary-app-shell input.button-primary,.ampro-secretary-app-shell input[type=submit].button-primary{background:var(--ampro-secretary-primary)!important;border-color:var(--ampro-secretary-primary)!important;color:#fff!important}
.ampro-secretary-app-shell .button-link{border:0!important;background:transparent!important;min-height:0!important;padding:0!important}
.ampro-secretary-app-shell input[type=text],.ampro-secretary-app-shell input[type=email],.ampro-secretary-app-shell input[type=tel],.ampro-secretary-app-shell input[type=url],.ampro-secretary-app-shell input[type=search],.ampro-secretary-app-shell input[type=date],.ampro-secretary-app-shell input[type=time],.ampro-secretary-app-shell input[type=month],.ampro-secretary-app-shell input[type=number],.ampro-secretary-app-shell input[type=password],.ampro-secretary-app-shell select,.ampro-secretary-app-shell textarea{max-width:100%;min-height:38px;padding:7px 10px;border:1px solid #ccd5df;border-radius:8px;background:#fff;color:#1f2c3f;font:inherit;font-size:13px;box-shadow:none!important}
.ampro-secretary-app-shell textarea{min-height:96px;resize:vertical}.ampro-secretary-app-shell input:focus,.ampro-secretary-app-shell select:focus,.ampro-secretary-app-shell textarea:focus{outline:2px solid color-mix(in srgb,var(--ampro-secretary-primary) 18%,transparent);border-color:var(--ampro-secretary-primary)}
.ampro-secretary-app-shell .regular-text,.ampro-secretary-app-shell .large-text{width:min(100%,680px)!important}.ampro-secretary-app-shell .small-text{width:90px!important}
.ampro-secretary-app-shell label{font-size:12px}.ampro-secretary-app-shell .submit{margin:16px 0 0!important;padding:0!important}
.ampro-secretary-app-shell .form-table{width:100%;border-collapse:collapse}.ampro-secretary-app-shell .form-table th{width:210px;padding:10px 18px 10px 0;text-align:left;vertical-align:top;font-size:12px;font-weight:700}.ampro-secretary-app-shell .form-table td{padding:8px 0;vertical-align:top}

/* Tabs / filtros */
.ampro-secretary-app-shell .nav-tab-wrapper{display:flex;flex-wrap:wrap;gap:5px;margin:10px 0 16px!important;padding:0!important;border-bottom:1px solid var(--ampro-secretary-border)!important}
.ampro-secretary-app-shell .nav-tab{margin:0 0 -1px!important;padding:8px 11px!important;border:1px solid transparent!important;border-radius:8px 8px 0 0!important;background:transparent!important;color:#5c6a7d!important;text-decoration:none!important;font-size:11px!important;font-weight:700!important}
.ampro-secretary-app-shell .nav-tab:hover{background:#f6f8fb!important}.ampro-secretary-app-shell .nav-tab-active{background:#fff!important;border-color:var(--ampro-secretary-border) var(--ampro-secretary-border) #fff!important;color:var(--ampro-secretary-primary)!important}
.ampro-secretary-app-shell .subsubsub{display:flex;flex-wrap:wrap;gap:5px;list-style:none;margin:8px 0 10px!important;padding:0!important}.ampro-secretary-app-shell .subsubsub li{font-size:11px!important}.ampro-secretary-app-shell .subsubsub a{color:#5e6b7c!important;text-decoration:none!important}.ampro-secretary-app-shell .subsubsub a.current{color:#243247!important;font-weight:750!important}
.ampro-secretary-app-shell .tablenav{display:flex;flex-wrap:wrap;align-items:center;gap:8px;min-height:44px;margin:7px 0!important}.ampro-secretary-app-shell .tablenav .alignleft,.ampro-secretary-app-shell .tablenav .alignright{float:none!important;display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:0!important}.ampro-secretary-app-shell .tablenav .alignright{margin-left:auto!important}.ampro-secretary-app-shell .search-box{float:none!important;display:flex;align-items:center;gap:6px;margin:8px 0!important}.ampro-secretary-app-shell .search-box input[type=search]{min-width:220px}

/* Tablas / WP_List_Table recreadas fuera de wp-admin */
.ampro-secretary-app-shell .ampro-list-form,.ampro-secretary-app-shell .ampro-table-scroll{max-width:100%;overflow-x:auto}
.ampro-secretary-app-shell table.widefat,.ampro-secretary-app-shell table.wp-list-table{width:100%;border-collapse:separate;border-spacing:0;border:1px solid var(--ampro-secretary-border)!important;border-radius:10px;overflow:hidden;background:#fff!important;font-size:12px!important;box-shadow:none!important}
.ampro-secretary-app-shell table.widefat thead th,.ampro-secretary-app-shell table.wp-list-table thead th,.ampro-secretary-app-shell table.widefat thead td,.ampro-secretary-app-shell table.wp-list-table thead td{padding:9px 10px!important;background:#f7f9fc!important;border:0!important;border-bottom:1px solid var(--ampro-secretary-border)!important;text-align:left;color:#5d6b7d!important;font-size:10px!important;text-transform:uppercase;letter-spacing:.04em;font-weight:800!important;vertical-align:middle!important}
.ampro-secretary-app-shell table.widefat tbody td,.ampro-secretary-app-shell table.wp-list-table tbody td,.ampro-secretary-app-shell table.widefat tbody th,.ampro-secretary-app-shell table.wp-list-table tbody th{padding:10px!important;border:0!important;border-bottom:1px solid #edf0f4!important;vertical-align:top!important;background:#fff!important;color:#28364a!important}
.ampro-secretary-app-shell table.striped tbody tr:nth-child(odd) td,.ampro-secretary-app-shell table.striped tbody tr:nth-child(odd) th{background:#fbfcfd!important}.ampro-secretary-app-shell table.widefat tbody tr:last-child td,.ampro-secretary-app-shell table.wp-list-table tbody tr:last-child td{border-bottom:0!important}
.ampro-secretary-app-shell .check-column{width:40px!important}.ampro-secretary-app-shell .row-actions{margin-top:3px!important;color:#98a2b0;font-size:10px!important}.ampro-secretary-app-shell .row-actions a{font-size:10px!important;text-decoration:none!important}.ampro-secretary-app-shell .column-primary strong{font-size:12px!important}.ampro-secretary-app-shell .sorting-indicators{display:none!important}
.ampro-secretary-app-shell .screen-reader-text{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}

/* Avisos */
.ampro-secretary-app-shell .notice,.ampro-secretary-app-notice{padding:11px 13px;margin:0 0 13px!important;border:1px solid #d8e0ea!important;border-left:4px solid #7694b7!important;border-radius:9px!important;background:#fff!important;color:#344257!important;box-shadow:none!important}.ampro-secretary-app-shell .notice-success{border-left-color:#3a9b5f!important;background:#f4fbf6!important}.ampro-secretary-app-shell .notice-error{border-left-color:#c65353!important;background:#fff6f6!important}.ampro-secretary-app-shell .notice-warning{border-left-color:#d29a2e!important;background:#fffbf0!important}.ampro-secretary-app-shell .notice p{margin:0!important;font-size:12px!important}.ampro-secretary-app-shell .notice-dismiss{display:none!important}
.ampro-secretary-app-shell .ampro-badge{font-size:9px!important;border-radius:999px!important;padding:3px 7px!important}

/* Calendarios */
.ampro-secretary-app-shell .ampro-practice-slots-calendar,.ampro-secretary-app-shell .ampro-group-schedules-calendar{min-width:900px!important}.ampro-secretary-app-shell .ampro-calendar-wrap,.ampro-secretary-app-shell .ampro-calendar-container{overflow:auto}.ampro-secretary-app-shell .fc{font-size:12px}.ampro-secretary-app-shell .fc .fc-toolbar-title{font-size:17px!important}.ampro-secretary-app-shell .fc .fc-button{font-size:11px!important;border-radius:7px!important}

/* Módulos externos */
.ampro-secretary-app-shell .ampro-commpro-wrap,.ampro-secretary-app-shell .ampro-billing-wrap,.ampro-secretary-app-shell .ampro-family-admin-wrap{max-width:none!important;margin:0!important}.ampro-secretary-app-shell .ampro-commpro-card,.ampro-secretary-app-shell .ampro-billing-panel{border-color:var(--ampro-secretary-border)!important;box-shadow:none!important}.ampro-secretary-app-shell .ampro-commpro-lead{font-size:12px!important;color:var(--ampro-secretary-muted)!important}

/* Login */
.ampro-secretary-app-login{max-width:470px;min-height:calc(100vh - 48px);display:grid;place-items:center}.ampro-secretary-app-card{background:#fff;border:1px solid var(--ampro-secretary-border);border-radius:14px;box-shadow:0 5px 18px rgba(27,42,65,.04)}.ampro-secretary-app-login__card{width:100%;padding:27px}.ampro-secretary-app-login__card .ampro-secretary-app-brand{padding-bottom:20px;margin-bottom:20px;border-bottom:1px solid #edf0f4}.ampro-secretary-app-login__intro{margin-bottom:18px}.ampro-secretary-app-login__intro h1{font-size:25px!important;margin:2px 0 7px!important}.ampro-secretary-app-login__intro>p:not(.ampro-secretary-app-kicker){margin:0!important;color:var(--ampro-secretary-muted)!important;font-size:13px!important}.ampro-secretary-app-kicker{margin:0!important;font-size:9px!important;font-weight:800!important;letter-spacing:.1em;text-transform:uppercase;color:var(--ampro-secretary-primary)!important}.ampro-secretary-app-login__card form p{margin:0 0 14px!important}.ampro-secretary-app-login__card label{display:block;font-size:12px!important;font-weight:650!important;margin-bottom:5px}.ampro-secretary-app-login__card input[type=text],.ampro-secretary-app-login__card input[type=password]{width:100%!important;min-height:42px}.ampro-secretary-app-login__card .login-remember label{display:flex;align-items:center;gap:7px;font-weight:500!important}.ampro-secretary-app-login__card input[type=submit]{background:var(--ampro-secretary-primary)!important;border-color:var(--ampro-secretary-primary)!important;color:#fff!important}.ampro-secretary-app-help{margin:4px 0 0!important}.ampro-secretary-app-help a{font-size:12px!important;color:var(--ampro-secretary-muted)!important}
.ampro-secretary-app-powered{margin:16px 0 0;text-align:center;color:#8b95a4;font-size:9px!important}.ampro-secretary-app-powered a{color:inherit!important;text-decoration:none!important}

@media(max-width:1100px){.ampro-secretary-app-layout{grid-template-columns:195px minmax(0,1fr)}.ampro-secretary-app-brand__copy strong{max-width:220px}.ampro-secretary-app-user__copy{display:none}}
@media(max-width:860px){body.ampro-secretary-app-page{padding:0!important}.ampro-secretary-app-root{padding:9px}.ampro-secretary-app-header{min-height:58px;padding:8px 10px;border-radius:12px}.ampro-secretary-app-menu-button{display:inline-flex}.ampro-secretary-app-brand{margin-right:auto}.ampro-secretary-app-brand__symbol,.ampro-secretary-app-brand__logo{width:35px;height:35px;flex-basis:35px;border-radius:9px}.ampro-secretary-app-brand__copy strong{font-size:12px!important;max-width:150px}.ampro-secretary-app-brand__copy small{font-size:9px!important}.ampro-secretary-app-user__avatar,.ampro-secretary-app-user__copy{display:none}.ampro-secretary-app-logout{font-size:10px!important;min-height:32px;padding:6px 8px}.ampro-secretary-app-layout{display:block;margin-top:9px}.ampro-secretary-app-nav{position:fixed;z-index:100001;left:9px;top:76px;bottom:9px;width:min(300px,calc(100vw - 36px));max-height:none;transform:translateX(calc(-100% - 24px));transition:transform .2s ease;box-shadow:0 18px 55px rgba(18,31,50,.24)}.ampro-secretary-app-shell.is-nav-open .ampro-secretary-app-nav{transform:translateX(0)}.ampro-secretary-app-overlay{position:fixed;display:block;z-index:100000;inset:0;background:rgba(18,29,44,.35)}.ampro-secretary-app-overlay[hidden]{display:none}.ampro-secretary-app-context{margin:4px 1px 10px}.ampro-secretary-app-main{padding-bottom:5px}.ampro-secretary-app-shell h1{font-size:22px!important}.ampro-secretary-app-shell .ampro-card,.ampro-secretary-app-shell .card{padding:14px!important;border-radius:11px!important}.ampro-secretary-app-shell .ampro-module-grid{grid-template-columns:1fr!important}.ampro-secretary-app-shell .form-table,.ampro-secretary-app-shell .form-table tbody,.ampro-secretary-app-shell .form-table tr,.ampro-secretary-app-shell .form-table th,.ampro-secretary-app-shell .form-table td{display:block;width:100%!important}.ampro-secretary-app-shell .form-table th{padding:8px 0 2px}.ampro-secretary-app-shell .form-table td{padding:2px 0 9px}.ampro-secretary-app-shell .tablenav{align-items:stretch}.ampro-secretary-app-shell .tablenav .alignleft,.ampro-secretary-app-shell .tablenav .alignright{width:100%;margin-left:0!important}.ampro-secretary-app-shell .search-box{width:100%}.ampro-secretary-app-shell .search-box input[type=search]{min-width:0;flex:1}.ampro-secretary-app-shell table.widefat,.ampro-secretary-app-shell table.wp-list-table{min-width:760px}.ampro-secretary-app-login{min-height:calc(100vh - 18px)}.ampro-secretary-app-login__card{padding:20px}}

/* 3.3.11 — WP_List_Table marca las columnas ocultas con `.hidden`. En
 * wp-admin la regla viene de los estilos del núcleo; la Secretaría App
 * vive en frontend y debe aportarla explícitamente. */
.ampro-secretary-app-shell table.wp-list-table th.hidden,
.ampro-secretary-app-shell table.wp-list-table td.hidden,
.ampro-secretary-app-shell table.widefat th.hidden,
.ampro-secretary-app-shell table.widefat td.hidden{display:none!important}

/* 3.3.13 — Escala tipográfica común y legible para las tres apps AMPRO. */
.ampro-secretary-app-brand__copy strong{font-size:14px!important}
.ampro-secretary-app-brand__copy small{font-size:10px!important}
.ampro-secretary-app-user__copy strong{font-size:13px!important}
.ampro-secretary-app-user__copy span{font-size:11px!important}
.ampro-secretary-app-logout,.ampro-secretary-app-menu-button{font-size:12px!important}
.ampro-secretary-app-nav__label{font-size:10px!important}
.ampro-secretary-app-nav a{font-size:13px!important}
.ampro-secretary-app-context span{font-size:10px!important}
.ampro-secretary-app-context strong{font-size:12px!important}
.ampro-secretary-app-shell h1{font-size:25px!important}
.ampro-secretary-app-shell h2{font-size:17px!important}
.ampro-secretary-app-shell h3{font-size:14px!important}
.ampro-secretary-app-shell p{font-size:14px!important}
.ampro-secretary-app-shell p.description,.ampro-secretary-app-shell .description{font-size:13px!important}
.ampro-secretary-app-shell .page-title-action,.ampro-secretary-app-shell .button,.ampro-secretary-app-shell button.button,.ampro-secretary-app-shell input.button,.ampro-secretary-app-shell input[type=submit]{font-size:12px!important}
.ampro-secretary-app-shell input[type=text],.ampro-secretary-app-shell input[type=email],.ampro-secretary-app-shell input[type=tel],.ampro-secretary-app-shell input[type=url],.ampro-secretary-app-shell input[type=search],.ampro-secretary-app-shell input[type=date],.ampro-secretary-app-shell input[type=time],.ampro-secretary-app-shell input[type=month],.ampro-secretary-app-shell input[type=number],.ampro-secretary-app-shell input[type=password],.ampro-secretary-app-shell select,.ampro-secretary-app-shell textarea{font-size:14px!important}
.ampro-secretary-app-shell label,.ampro-secretary-app-shell .form-table th{font-size:13px!important}
.ampro-secretary-app-shell table.widefat,.ampro-secretary-app-shell table.wp-list-table{font-size:13px!important}
.ampro-secretary-app-shell table.widefat thead th,.ampro-secretary-app-shell table.wp-list-table thead th,.ampro-secretary-app-shell table.widefat thead td,.ampro-secretary-app-shell table.wp-list-table thead td{font-size:11px!important}
.ampro-secretary-app-shell .row-actions,.ampro-secretary-app-shell .row-actions a{font-size:11px!important}
.ampro-secretary-app-shell .column-primary strong{font-size:13px!important}
.ampro-secretary-app-shell .ampro-badge{font-size:10px!important}
/* 3.3.20 · Estadísticas del profesorado desde Secretaría */
.ampro-secretary-app-shell .ampro-teacher-statistics__filter{display:flex;align-items:end;gap:10px;flex-wrap:wrap;margin:0 0 14px}.ampro-secretary-app-shell .ampro-teacher-statistics__filter label{display:flex;flex-direction:column;gap:5px;font-size:13px}.ampro-secretary-app-shell .ampro-teacher-statistics__filter select{min-width:220px}.ampro-secretary-app-shell .ampro-teacher-statistics__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0 0 14px}.ampro-secretary-app-shell .ampro-teacher-statistics__kpi{background:#fff;border:1px solid var(--ampro-secretary-border);border-radius:12px;padding:15px 16px;display:flex;flex-direction:column;gap:4px}.ampro-secretary-app-shell .ampro-teacher-statistics__kpi strong{font-size:22px;line-height:1.1;color:var(--ampro-secretary-primary)}.ampro-secretary-app-shell .ampro-teacher-statistics__kpi span{font-size:12px;color:var(--ampro-secretary-muted)}.ampro-secretary-app-shell .ampro-teacher-statistics__columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.ampro-secretary-app-shell .ampro-teacher-statistics__status{display:flex;flex-wrap:wrap;gap:8px}.ampro-secretary-app-shell .ampro-teacher-statistics__status span{display:inline-flex;gap:5px;align-items:center;padding:7px 10px;border:1px solid var(--ampro-secretary-border);border-radius:999px;background:#f8fafc;font-size:12px}
@media(max-width:1100px){.ampro-secretary-app-shell .ampro-teacher-statistics__grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){.ampro-secretary-app-shell .ampro-teacher-statistics__grid,.ampro-secretary-app-shell .ampro-teacher-statistics__columns{grid-template-columns:1fr}}

/* 3.3.22 · Estadísticas globales de Secretaría */
.ampro-secretary-app-shell .ampro-center-statistics__head{display:flex;justify-content:space-between;align-items:flex-end;gap:18px;flex-wrap:wrap;margin-bottom:14px}.ampro-secretary-app-shell .ampro-center-statistics__head h2{margin:0 0 4px}.ampro-secretary-app-shell .ampro-center-statistics__head p{margin:0}.ampro-secretary-app-shell .ampro-center-statistics__filter{margin:0}.ampro-secretary-app-shell .ampro-center-statistics__three-columns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:12px 0}.ampro-secretary-app-shell .ampro-center-statistics__panel{background:#fff;border:1px solid var(--ampro-secretary-border);border-radius:12px;padding:14px}.ampro-secretary-app-shell .ampro-center-statistics__panel h3{margin:0 0 10px}.ampro-secretary-app-shell .ampro-center-statistics__groups{margin-top:12px}.ampro-secretary-app-shell .ampro-center-statistics__status-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:12px}.ampro-secretary-app-shell .ampro-center-statistics table{margin:0}.ampro-secretary-app-shell .ampro-center-statistics__kpi strong{white-space:nowrap}
@media(max-width:1200px){.ampro-secretary-app-shell .ampro-center-statistics__three-columns{grid-template-columns:1fr 1fr}.ampro-secretary-app-shell .ampro-center-statistics__three-columns>div:last-child{grid-column:1/-1}}@media(max-width:760px){.ampro-secretary-app-shell .ampro-center-statistics__three-columns,.ampro-secretary-app-shell .ampro-center-statistics__status-columns{grid-template-columns:1fr}.ampro-secretary-app-shell .ampro-center-statistics__three-columns>div:last-child{grid-column:auto}}

/* 3.3.25 · Informes dentro de Secretaría App: dos columnas limpias y lotes. */
.ampro-secretary-app-shell .ampro-reports-page .ampro-reports-intro{margin-bottom:18px!important}.ampro-secretary-app-shell .ampro-report-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important;align-items:start}.ampro-secretary-app-shell .ampro-report-card{min-width:0;padding:18px!important;border:1px solid var(--ampro-secretary-border)!important;border-radius:12px!important;background:#fff!important;box-shadow:0 2px 10px rgba(21,35,54,.025)!important}.ampro-secretary-app-shell .ampro-report-card header h2{margin:0 0 6px!important;font-size:17px!important}.ampro-secretary-app-shell .ampro-report-card header p{margin:0!important;min-height:0!important;color:var(--ampro-secretary-muted)!important}.ampro-secretary-app-shell .ampro-report-form{display:grid!important;grid-template-columns:minmax(0,1.3fr) minmax(150px,.9fr) auto!important;gap:10px!important;align-items:end!important;margin-top:16px!important}.ampro-secretary-app-shell .ampro-report-form--single{grid-template-columns:minmax(180px,320px) auto!important}.ampro-secretary-app-shell .ampro-report-form label,.ampro-secretary-app-shell .ampro-report-batch-head label{display:flex!important;flex-direction:column!important;gap:5px!important;font-weight:650!important}.ampro-secretary-app-shell .ampro-report-form label span,.ampro-secretary-app-shell .ampro-report-batch-head label span{font-size:12px!important;color:var(--ampro-secretary-muted)!important}.ampro-secretary-app-shell .ampro-report-form select,.ampro-secretary-app-shell .ampro-report-batch-head select,.ampro-secretary-app-shell .ampro-report-batch-head input[type=search]{width:100%!important;min-height:40px!important}.ampro-secretary-app-shell .ampro-report-batch{margin-top:16px!important;border-top:1px solid var(--ampro-secretary-border)!important;padding-top:12px!important}.ampro-secretary-app-shell .ampro-report-batch>summary{cursor:pointer;font-size:13px!important;font-weight:750!important;color:var(--ampro-secretary-primary)!important}.ampro-secretary-app-shell .ampro-report-batch-form{margin-top:12px!important}.ampro-secretary-app-shell .ampro-report-batch-head{display:grid!important;grid-template-columns:minmax(160px,220px) minmax(180px,1fr)!important;gap:10px!important}.ampro-secretary-app-shell .ampro-report-batch-toolbar{display:flex!important;align-items:center!important;gap:8px!important;flex-wrap:wrap!important;margin:10px 0!important}.ampro-secretary-app-shell .ampro-report-selected-count{color:var(--ampro-secretary-muted)!important;font-size:12px!important;margin-left:auto!important}.ampro-secretary-app-shell .ampro-report-checklist{border:1px solid var(--ampro-secretary-border)!important;border-radius:9px!important;max-height:220px!important;overflow:auto!important;background:#fbfcfd!important}.ampro-secretary-app-shell .ampro-report-check-item{display:flex!important;align-items:center!important;gap:9px!important;padding:8px 10px!important;border-bottom:1px solid #eef2f6!important;cursor:pointer!important;font-size:13px!important}.ampro-secretary-app-shell .ampro-report-check-item:last-child{border-bottom:0!important}.ampro-secretary-app-shell .ampro-report-check-item:hover{background:#f4f7fb!important}.ampro-secretary-app-shell .ampro-report-batch-actions{display:flex!important;gap:8px!important;flex-wrap:wrap!important;margin-top:10px!important}@media(max-width:1050px){.ampro-secretary-app-shell .ampro-report-grid{grid-template-columns:1fr!important}.ampro-secretary-app-shell .ampro-report-form{grid-template-columns:1fr 1fr!important}.ampro-secretary-app-shell .ampro-report-form .button{grid-column:1/-1;justify-self:start}}@media(max-width:700px){.ampro-secretary-app-shell .ampro-report-form,.ampro-secretary-app-shell .ampro-report-form--single,.ampro-secretary-app-shell .ampro-report-batch-head{grid-template-columns:1fr!important}.ampro-secretary-app-shell .ampro-report-selected-count{width:100%!important;margin-left:0!important}}

/* 3.3.35 · Curso académico de trabajo global */
.ampro-secretary-year-context{display:flex;align-items:center;gap:9px;margin:0 auto;padding:7px 10px;border:1px solid var(--ampro-secretary-border);border-radius:10px;background:#f8fafc;min-width:0}
.ampro-secretary-year-context>label{font-size:11px!important;font-weight:750!important;color:#536176!important;white-space:nowrap}
.ampro-secretary-year-context__control{display:flex;align-items:center;gap:8px;min-width:0}
.ampro-secretary-year-context select{min-width:150px!important;max-width:210px!important;min-height:34px!important;height:34px!important;padding-top:3px!important;padding-bottom:3px!important;font-size:12px!important;background:#fff!important}
.ampro-secretary-year-context__stage{display:inline-flex;align-items:center;justify-content:center;min-height:24px;padding:3px 8px;border-radius:999px;font-size:9px!important;font-weight:800!important;letter-spacing:.055em;white-space:nowrap;border:1px solid #d9e1eb;background:#eef2f7;color:#576477}
.ampro-secretary-year-context__stage.is-current{border-color:#b8e5c1;background:#effbf1;color:#23813c}
.ampro-secretary-year-context__stage.is-preparation{border-color:#f0d59c;background:#fff8e8;color:#9b6307}
.ampro-secretary-year-context__stage.is-closed{border-color:#d8dde5;background:#f2f4f7;color:#707985}
.ampro-secretary-year-context__stage.is-all{border-color:#cdd8e8;background:#f1f6fc;color:#38536f}
@media(max-width:1180px){.ampro-secretary-year-context>label{display:none}.ampro-secretary-year-context select{min-width:135px!important;max-width:165px!important}.ampro-secretary-year-context__stage{display:none}}
@media(max-width:860px){.ampro-secretary-year-context{order:4;width:100%;margin:3px 0 0;padding:6px 8px}.ampro-secretary-app-header{flex-wrap:wrap}.ampro-secretary-year-context>label{display:block}.ampro-secretary-year-context__control{flex:1}.ampro-secretary-year-context select{max-width:none!important;width:100%!important}.ampro-secretary-year-context__stage{display:inline-flex}}
/* El curso académico se elige una sola vez en cabecera; se evitan selectores duplicados en listados. */
.ampro-secretary-app-shell select[name="ampro_year_filter"]{display:none!important}
