/* AH responsive 1.0.1: shared cross-module corrections. Loaded after all module styles. */
:root{--ah-control-height:46px;--ah-ui-gap:12px}
.ah-mobile-menu-btn{display:none;border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--ah-brand-navy);width:42px;height:42px;font-size:22px;align-items:center;justify-content:center}
.ah-admin-menu>summary{display:none}
/* Never allow flex items that are inputs to grow vertically. */
.filter-bar{align-items:center;gap:10px}
.filter-bar>input,.filter-bar>select,.filter-bar>.btn{box-sizing:border-box;min-height:var(--ah-control-height);height:var(--ah-control-height);max-height:var(--ah-control-height);min-width:0;margin:0;flex-grow:0;flex-shrink:1}
.filter-bar>input{flex:2 1 240px}.filter-bar>select{flex:1 1 215px}.filter-bar>.btn{flex:0 0 auto}
.ah-consent{display:flex!important;flex-direction:row!important;align-items:flex-start!important;gap:10px!important;line-height:1.5}
.ah-consent input[type=checkbox]{width:18px!important;height:18px!important;min-width:18px;flex:0 0 18px;margin:3px 0 0!important;padding:0!important}
.ah-kind{gap:6px}.ah-kind label{min-height:44px;flex-direction:row!important;gap:8px}.ah-kind input[type=radio]{width:18px!important;height:18px!important;margin:0!important;flex:none}
.ah-reg-card input:not([type=checkbox]):not([type=radio]),.ah-portal-form input:not([type=checkbox]){height:var(--ah-control-height);max-height:var(--ah-control-height)}
.ah-admin-body .ah-stat{min-height:100px}.ah-admin-body .ah-stat strong{margin-top:2px}.ah-admin-body .ah-stat small{margin-top:4px}
@media(max-width:760px){
 .topbar,.ah-admin-body .topbar{height:auto;min-height:58px}
 .nav,.ah-admin-body .nav{width:calc(100% - 32px);padding:8px 0;min-height:58px;display:flex;flex-wrap:nowrap;gap:10px;position:relative}
 .brand,.ah-logo--header{min-width:0}.ah-logo--header{width:clamp(150px,45vw,215px);max-height:40px}
 .nav .actions{margin-left:auto;flex-shrink:0;gap:8px}.nav .actions .btn{padding:7px 10px;min-height:38px}
 .ah-mobile-menu-btn{display:inline-flex;order:2}.nav .actions .icon-link{font-size:25px}
 .nav .desktop{display:none;position:absolute;left:0;right:0;top:calc(100% + 1px);z-index:30;order:unset;width:auto;margin:0;padding:8px;border:1px solid var(--line);background:#fff;box-shadow:0 14px 28px #0b3b8c1a;border-radius:0 0 12px 12px;flex-direction:column;align-items:stretch;gap:0}
 .nav .desktop.ah-is-open{display:flex}.nav .desktop a{display:block;padding:12px 14px;min-height:44px;border:0;font-size:14px}
 .ah-admin-menu{margin:4px 0 14px}.ah-admin-menu>summary{display:block;cursor:pointer;padding:11px 14px;border:1px solid var(--line);background:#fff;border-radius:10px;color:var(--ah-brand-navy);font-weight:700;list-style:none}
 .ah-admin-menu>summary::-webkit-details-marker{display:none}.ah-admin-menu>summary::after{content:'⌄';float:right}.ah-admin-menu[open]>summary::after{content:'⌃'}
 .ah-admin-nav{display:none!important;margin:6px 0 0!important;padding:7px!important;overflow:visible!important;border:1px solid var(--line)!important;border-radius:10px;background:#fff;flex-direction:column;align-items:stretch;gap:0}
 .ah-admin-menu[open]>.ah-admin-nav{display:flex!important}.ah-admin-nav a{min-height:42px;padding:10px 12px;border-bottom:0!important;border-radius:7px}.ah-admin-nav a.active{background:#eaf4ff}
 .filter-bar{display:flex;flex-direction:column;align-items:stretch;gap:10px;padding:10px;margin:18px 0}
 .filter-bar>input,.filter-bar>select,.filter-bar>.btn{display:block;width:100%;flex:0 0 var(--ah-control-height)!important;height:var(--ah-control-height)!important;max-height:var(--ah-control-height)!important;min-height:var(--ah-control-height)!important;margin:0!important;padding:9px 12px}
 .filter-bar>.btn{display:flex;align-items:center;justify-content:center}
 .ah-admin-page{min-height:0}.ah-admin-toolbar{gap:8px;margin-bottom:12px}.ah-admin-toolbar p{max-width:42ch}
 .ah-admin-toolbar form{display:none}.ah-admin-stat-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.ah-stat{padding:12px 10px!important;min-height:85px!important}.ah-stat-head{font-size:11px;gap:2px}.ah-stat-head span:last-child{display:none}.ah-stat strong{font-size:26px!important;line-height:1.15!important}.ah-stat small{font-size:10px;line-height:1.3}
 .ah-reg-card,.ah-reg-benefits,.ah-portal-form{padding:16px}.ah-registration,.ah-portal{padding:17px 14px 32px}.ah-reg-card label{margin-top:11px}.ah-reg-card .btn{margin-top:14px}.ah-kind{margin:12px 0}.ah-reg-benefits{padding:16px}
 .ah-admin-panel{padding:13px}.section{padding-block:22px 24px}.interior{padding:26px 0 48px;min-height:0}.lead{margin-bottom:16px}
}
@media(max-width:380px){.ah-admin-stat-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.ah-stat small{display:none}.ah-logo--header{width:145px}.nav .actions{gap:5px}.ah-admin-body .ah-stat{min-height:76px}}
@media(prefers-reduced-motion:reduce){.nav .desktop{transition:none}}

/* AH updater UI: compact and touch-friendly on all viewports. */
.ah-updates-panel{max-width:1100px}.ah-update-head{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}
.ah-update-checks{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:14px 0 24px}
.ah-update-check{display:flex;align-items:center;justify-content:space-between;gap:9px;border:1px solid var(--line);padding:12px;border-radius:9px;min-width:0}
.ah-update-check span{font-size:13px}.ah-update-form{display:grid;gap:10px;margin:14px 0}.ah-update-form input[type=file]{display:block;box-sizing:border-box;width:100%;min-height:46px;padding:9px;border:1px solid var(--line);border-radius:9px;background:white;font:inherit;font-size:14px}
.ah-update-consent{display:flex;gap:10px;align-items:flex-start;font-size:13px;line-height:1.5}.ah-update-consent input{width:18px;height:18px;min-width:18px;flex:0 0 18px;margin:2px 0 0}
.ah-update-actions{display:flex;flex-wrap:wrap;gap:10px;margin:5px 0}.ah-update-actions .btn{min-height:44px}.ah-update-subtle{color:#64748b;font-size:13px}.ah-update-alert{padding:12px;border:1px solid var(--line);border-radius:9px}.ah-update-error{color:#a12626;background:#fff6f6}.ah-update-success{color:#075b45;background:#edf9f4}
.ah-update-table-wrap{overflow-x:auto}.ah-update-table{width:100%;border-collapse:collapse;font-size:13px}.ah-update-table th,.ah-update-table td{padding:10px 12px;border-bottom:1px solid var(--line);text-align:left}.ah-update-table code{font-size:11px;overflow-wrap:anywhere}
@media(max-width:760px){.ah-update-checks{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.ah-update-check{padding:9px;flex-wrap:wrap}.ah-update-actions{display:grid;grid-template-columns:1fr 1fr}.ah-update-actions .btn{padding:9px 6px;font-size:13px;width:100%}}
@media(max-width:380px){.ah-update-checks{grid-template-columns:1fr 1fr}.ah-update-actions{grid-template-columns:1fr}}
