/* Shared control scale. Keep labels readable, small utility actions distinct, and mobile targets comfortable. */
body{--form-control-height:44px;--form-control-radius:10px;--form-control-font:14px}
body :is(.app-shell,.auth-portal) form :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=file]):not([type=range]):not([type=color]),select),body.pc-public form input:not([type=hidden]):not([type=checkbox]){height:var(--form-control-height)!important;min-height:var(--form-control-height)!important;padding-top:9px!important;padding-bottom:9px!important;border-radius:var(--form-control-radius)!important;font-size:var(--form-control-font)!important;line-height:1.5!important}
body :is(.app-shell,.auth-portal,.pc-main) .button{min-height:44px!important;height:auto!important;padding-top:10px!important;padding-bottom:10px!important;font-size:14px!important;line-height:1.5!important;border-radius:10px!important}
body :is(.app-shell,.auth-portal,.pc-main) .button.small{min-height:36px!important;padding-top:6px!important;padding-bottom:6px!important;font-size:13px!important;border-radius:9px!important}
body :is(.app-shell,.auth-portal) form .field{margin-bottom:14px;gap:7px}
/* Security filter grids own their spacing; keep controls on the same baseline. */
body .app-shell form:is(.sm-filter,.sr-filters)>.field{margin-bottom:0}
body .app-shell form:is(.sm-filter,.sr-filters)>.button{min-height:44px}
body :is(.app-shell,.auth-portal) form .field>label,body :is(.app-shell,.auth-portal) form label.field>span{font-size:13px;line-height:1.5}
body :is(.app-shell,.auth-portal) form textarea{font-size:14px;line-height:1.65;border-radius:10px}
body .app-shell .page-heading h1{font-size:28px;line-height:1.3}
body .auth-portal .auth-box h1{font-size:28px}
body .auth-portal .auth-box{max-width:420px}
body .auth-portal .auth-password-toggle{height:36px;width:36px}
body .auth-portal .auth-session-hint{font-size:12px;line-height:1.6}
/* Contact: a restrained heading and form, with secondary information beside it. */
body.pc-public .pc-top{max-width:1100px;padding:18px 28px}
body.pc-public .pc-top .site-logo{width:164px}
body.pc-public .pc-main{width:min(1044px,calc(100% - 48px));margin:26px auto 28px}
body.pc-public .pc-intro{margin-bottom:22px;max-width:720px}
body.pc-public .pc-intro h1{font-size:30px;letter-spacing:-.7px;margin:10px 0 9px}
body.pc-public .pc-intro p{font-size:14px;line-height:1.7;max-width:690px}
body.pc-public .pc-grid{grid-template-columns:minmax(0,2.2fr) minmax(260px,1fr);gap:20px}
body.pc-public .pc-card{border-radius:16px}
body.pc-public .pc-form-card{padding:24px}
body.pc-public .pc-card-heading{gap:12px;margin-bottom:20px}
body.pc-public .pc-card-heading .pc-mark{width:38px;height:38px;border-radius:11px;font-size:19px}
body.pc-public .pc-card h2{font-size:17px}
body.pc-public .field{margin-bottom:14px;gap:7px}
body.pc-public textarea{min-height:124px;line-height:1.65;font-size:14px}
body.pc-public .pc-submit{width:auto;min-width:174px}
body.pc-public .pc-side{gap:14px}
body.pc-public .pc-info{padding:20px}
body.pc-public .pc-info h2{font-size:15px}
body.pc-public .pc-info p{font-size:13px;line-height:1.7}
body.pc-public .pc-info .pc-mark{width:34px;height:34px;margin-bottom:12px;border-radius:10px}
body.pc-public .pc-footer{max-width:1044px;padding-top:18px}
/* Provider widgets retain their own branding and readable size. */
.captcha-block{margin:12px 0 16px;max-width:100%;min-width:0}.captcha-block [data-captcha-slot]{min-width:0;max-width:100%}.captcha-status{font-size:12px!important;line-height:1.55!important;margin:7px 0 0!important;color:#61738b}.captcha-status[data-state=success]{color:#18734d}.captcha-status[data-state=error]{color:#af3c18}.captcha-block noscript p{font-size:13px;color:#af3c18}
.captcha-settings-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.captcha-settings-heading h2{display:flex;align-items:center;gap:10px}.captcha-settings-heading .badge{white-space:nowrap}.captcha-settings form{max-width:980px}
.captcha-scopes{display:flex;gap:16px;flex-wrap:wrap;border:0;margin:16px 0 20px;padding:0}.captcha-scopes legend{font-size:13px;font-weight:600;margin-bottom:12px;color:#425873}.captcha-scopes label,.captcha-remove{display:flex;gap:8px;align-items:center;font-size:13px;color:#425873}.captcha-scopes input,.captcha-remove input{width:17px;height:17px;accent-color:#bd450d}
.captcha-key-list{display:grid;gap:10px}.captcha-key-list details{border:1px solid #e0e7f0;border-radius:12px;background:#fbfcfe}.captcha-key-list summary{display:flex;align-items:center;gap:12px;padding:14px 16px;cursor:pointer;font-size:14px;list-style:none}.captcha-key-list summary::-webkit-details-marker{display:none}.captcha-key-list summary span{margin-left:auto;font-size:12px;color:#6b7d92}.captcha-key-list summary .icon{width:16px;height:16px}.captcha-key-list details[open] summary .icon{transform:rotate(180deg)}.captcha-key-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px;padding:2px 16px 16px}.captcha-key-fields .field{margin:0!important}.captcha-key-fields .field small{font-size:12px;color:#6b7d92;line-height:1.6}.captcha-remove{grid-column:1/-1}
@media(max-width:850px){body.pc-public .pc-grid{grid-template-columns:1fr}body.pc-public .pc-side{grid-template-columns:1fr 1fr}body.pc-public .pc-info:last-child:nth-child(3){grid-column:1/-1}body.pc-public .pc-footer{margin-inline:24px}}
@media(max-width:700px){body{--form-control-height:46px;--form-control-font:16px}body :is(.app-shell,.auth-portal,.pc-main) .button,body :is(.app-shell,.auth-portal,.pc-main) .button.small{min-height:44px!important;padding-top:9px!important;padding-bottom:9px!important}body :is(.app-shell,.auth-portal) form textarea,body.pc-public textarea{font-size:16px}.captcha-key-fields{grid-template-columns:1fr}.captcha-settings-heading{flex-wrap:wrap}.captcha-key-list summary{flex-wrap:wrap}.captcha-key-list summary span{margin-left:0}.captcha-key-list summary .icon{margin-left:auto}}
@media(max-width:540px){body.pc-public .pc-top{padding:16px 20px}body.pc-public .pc-top .site-logo{width:145px}body.pc-public .pc-main{width:calc(100% - 32px);margin-top:22px}body.pc-public .pc-intro h1{font-size:26px}body.pc-public .pc-form-card{padding:20px 16px}body.pc-public .pc-submit{width:100%}body.pc-public .pc-side{grid-template-columns:1fr}body.pc-public .pc-footer{margin-inline:20px}}
