/* JtA design system 1.12. Arial everywhere, approved palette unchanged.
 * Compatibility adapters for installed markup; no theme-header geometry, routes,
 * content, visibility rules, application state or dispatch behaviour are changed.
 */
:is(body.jta-design-v112,body.jta-admin-v112,body.jta-chat-body) {
 --jta-blue:#7AB8FA; --jta-red:#FF5151; --jta-font:Arial,Helvetica,sans-serif;
 --jta-ui-border:#DFDFDF; --jta-ui-radius:12px;
 --jta-focus:#7AB8FA; --jta-focus-halo:rgb(122 184 250 / .2);
 font-family:var(--jta-font);
}
/* Text has one typeface. Icon-font glyphs keep their own non-text font. */
:is(body.jta-design-v112,body.jta-admin-v112,body.jta-chat-body) :not(svg):not(svg *):not(.dashicons):not(.ab-icon):not(.fa):not(.fas):not(.far):not(.fab):not([class*="gform-icon"]):not(.mce-ico) {font-family:Arial,Helvetica,sans-serif!important}
/* Website content and service forms. Logo artwork and header layout are untouched. */
body.jta-design-v112 :is(main,.entry-content,.wp-block-post-content,.whyJtA,.gform_wrapper) {font-family:var(--jta-font)}
body.jta-design-v112 :is(main,.entry-content,.wp-block-post-content) :is(p,li) {font-size:16px;line-height:1.6;text-align:start;word-spacing:normal}
body.jta-design-v112 :is(main,.entry-content,.wp-block-post-content) h1 {font:700 32px/1.2 var(--jta-font);letter-spacing:normal}
body.jta-design-v112 :is(main,.entry-content,.wp-block-post-content) h2 {font:700 24px/1.3 var(--jta-font);letter-spacing:normal}
body.jta-design-v112 :is(main,.entry-content,.wp-block-post-content) h3 {font:700 20px/1.4 var(--jta-font);letter-spacing:normal}
body.jta-design-v112 .gform_wrapper :is(input,select,textarea) {font:400 16px/1.5 var(--jta-font)!important;box-sizing:border-box;max-width:100%}
body.jta-design-v112 .gform_wrapper :is(label,legend,.gfield_description,.gform-field-label) {font-family:var(--jta-font)!important;line-height:1.5}
body.jta-design-v112 .gform_wrapper :is(.gfield_description,.gform-field-label--type-sub) {font-size:14px!important}
body.jta-design-v112 .gform_wrapper :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea) {min-height:48px;border-radius:12px}
body.jta-design-v112 .gform_wrapper .gform-datepicker-toggle {min-width:44px!important;min-height:44px!important;width:44px!important;height:44px!important;border-radius:12px}
body.jta-design-v112 .gform_wrapper .ginput_container_date input {padding-right:52px}
body.jta-design-v112 .gform_wrapper .gfield_choice_all_toggle {min-height:44px;padding:9px 12px;border-radius:12px;font:600 14px/1.5 var(--jta-font)}
/* Main page action family. Keep the existing block width/alignment settings. */
body.jta-design-v112 :is(.wp-block-button__link,.jta-live-button,.jta-events__button,.jta-cta-card__button,.jta-crosslink-card__button,.jta-hl-cta__button,.jta-home-pill-link,.jta-live-publications-all,.gform_footer .gform_button,.gform_page_footer .gform_button) {
 display:inline-flex;align-items:center;justify-content:center;gap:8px;box-sizing:border-box;
 min-height:52px;max-width:100%;padding:12px 16px!important;border:2px solid transparent!important;border-radius:12px!important;
 background:#7AB8FA!important;background-image:none!important;color:#FFFFFF!important;
 font:700 16px/1.5 var(--jta-font)!important;letter-spacing:normal!important;text-transform:none!important;
 text-align:center;text-decoration:none!important;white-space:normal;overflow-wrap:anywhere;
 box-shadow:0 4px 14px #00000026;cursor:pointer;transition:background-color .2s,box-shadow .2s,transform .2s;
}
body.jta-design-v112 :is(.jta-live-button--secondary,.jta-live-button--dark,.jta-events__button--secondary,.is-style-outline .wp-block-button__link) {background:#000000!important;color:#FFFFFF!important}
body.jta-design-v112 :is(.wp-block-button__link,.jta-live-button,.jta-events__button,.jta-cta-card__button,.jta-crosslink-card__button,.jta-hl-cta__button,.jta-home-pill-link,.jta-live-publications-all) :is(span,strong,svg) {color:inherit!important}
body.jta-design-v112 :is(.wp-block-button__link,.jta-live-button,.jta-events__button,.jta-cta-card__button,.jta-crosslink-card__button,.jta-hl-cta__button,.jta-home-pill-link,.jta-live-publications-all,.gform_footer .gform_button,.gform_page_footer .gform_button):is(:hover,:active):not(:disabled):not([aria-disabled=true]) {background:#FF5151!important;color:#FFFFFF!important}
/* Navigation cards keep their service identity, use the shared white-label action. */
body.jta-design-v112 :is(.jta-live-toc__number,.jta-events__toc-number,.jta-home-explore-card__number) {background:#7AB8FA!important;color:#FFFFFF!important;font:700 14px/1.5 var(--jta-font);width:44px;height:44px;border-radius:12px;flex:none}
body.jta-design-v112 :is(.jta-live-toc__action,.jta-events__toc-action,.jta-home-explore-card__action,.jta-home-feature__cta) {
 display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:9px 12px;box-sizing:border-box;
 border:2px solid transparent;border-radius:12px;background:#7AB8FA!important;color:#FFFFFF!important;
 font:600 14px/1.5 var(--jta-font);letter-spacing:normal;text-transform:none;transform:none!important;
}
body.jta-design-v112 :is(.jta-live-toc__action,.jta-events__toc-action,.jta-home-explore-card__action,.jta-home-feature__cta) span {color:inherit!important}
body.jta-design-v112 :is(.jta-live-toc__list a,.jta-events__toc-list a,.jta-home-explore-card,.jta-home-feature__link):is(:hover,:active) :is(.jta-live-toc__action,.jta-events__toc-action,.jta-home-explore-card__action,.jta-home-feature__cta) {background:#FF5151!important;color:#FFFFFF!important}
body.jta-design-v112 :is(.jta-live-toc__text,.jta-events__toc-content) {min-width:0}
body.jta-design-v112 :is(.jta-live-toc__text,.jta-events__toc-content) :is(p,span) {text-align:start;word-spacing:normal}
/* Production choices: one native checkbox, stable geometry, no unselected badge. */
body.jta-design-v112 #field_27_8 {padding:24px!important}
body.jta-design-v112 #field_27_8>legend {font:700 24px/1.3 var(--jta-font)!important;letter-spacing:normal}
body.jta-design-v112 #field_27_8>legend::after {font:400 16px/1.6 var(--jta-font)}
body.jta-design-v112 #field_27_8 .gfield_required {font:600 14px/1.5 var(--jta-font)!important;letter-spacing:normal;text-transform:none}
body.jta-design-v112 #field_27_8 .gchoice>label {
 display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:12px;min-height:88px;height:100%;padding:16px 16px 16px 56px!important;
 font:700 16px/1.5 var(--jta-font)!important;letter-spacing:normal;text-wrap:wrap;overflow-wrap:anywhere;box-sizing:border-box;transform:none!important;
}
body.jta-design-v112 #field_27_8 .gchoice>label::before {left:16px;width:24px;height:24px;border-radius:6px;color:#FFFFFF!important;font:700 16px/1 var(--jta-font)}
body.jta-design-v112 #field_27_8 .gchoice>label::after {content:none}
body.jta-design-v112 #field_27_8 .gchoice>input:checked+label {background:linear-gradient(145deg,#0B1018,#172334)!important;color:#FFFFFF!important;border-color:#7AB8FA!important;box-shadow:0 4px 14px #00000026!important}
body.jta-design-v112 #field_27_8 .gchoice>input:checked+label::before {background:#7AB8FA!important;border-color:#7AB8FA!important;color:#FFFFFF!important}
body.jta-design-v112 #field_27_8 .gchoice>input:checked+label::after {
 content:'Selected';position:static;align-self:center;justify-self:end;white-space:nowrap;border-radius:999px;padding:4px 8px;
 background:#7AB8FA;color:#FFFFFF;font:600 14px/1.5 var(--jta-font);letter-spacing:normal;text-transform:none;
}
body.jta-design-v112 #field_27_8 .gchoice>input:focus-visible+label {outline:2px solid var(--jta-focus);outline-offset:2px;box-shadow:0 0 0 5px var(--jta-focus-halo)!important}
/* Account and access forms. Links remain links; primary actions share one family. */
body.jta-design-v112 :is(.jta-accounts,.jta-access) {font:400 16px/1.6 var(--jta-font)}
body.jta-design-v112 :is(.jta-accounts,.jta-access) :is(button,input,select,textarea,summary) {font-family:var(--jta-font)!important}
body.jta-design-v112 :is(.jta-accounts,.jta-access) :is(input:not([type=checkbox]):not([type=radio]),select,textarea) {font-size:16px;line-height:1.5;min-height:48px;border-radius:12px;max-width:100%;box-sizing:border-box}
body.jta-design-v112 :is(.jta-account-main button:not(.jta-access-link),.jta-access-primary,.jta-email-link) {min-height:52px;padding:12px 16px;border:2px solid transparent;border-radius:12px!important;background:#7AB8FA;color:#FFFFFF;font:700 16px/1.5 var(--jta-font);box-sizing:border-box}
body.jta-design-v112 :is(.jta-account-main button:not(.jta-access-link),.jta-access-primary,.jta-email-link):is(:hover,:active):not(:disabled):not([aria-disabled=true]) {background:#FF5151;color:#FFFFFF}
body.jta-design-v112 .jta-accounts nav button {min-height:44px;padding:10px 12px;border-radius:12px;font:600 14px/1.5 var(--jta-font)}
body.jta-design-v112 .jta-accounts nav button {display:flex;align-items:center;justify-content:space-between;gap:8px}
body.jta-design-v112 .jta-accounts nav button[aria-current=page] {background:#7AB8FA;color:#FFFFFF;box-shadow:none;font-weight:700}
body.jta-design-v112 .jta-accounts nav button[aria-current=page]::after,
body.jta-admin-v112 .jta-accounts-admin-tabs a[aria-current=page]::after {content:'';display:inline-block;flex:none;width:16px;height:16px;background:center/16px 16px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4 4L19 6'/%3E%3C/svg%3E")}
body.jta-design-v112 :is(.jta-access-boundary,.jta-account-help,.jta-email-help,.jta-accounts small) {font-size:14px;line-height:1.5}
/* JtA administration only; WordPress chrome and third-party screens retain ownership. */
body.jta-admin-v112 #wpbody-content>.wrap {font:400 16px/1.6 var(--jta-font);min-width:0}
body.jta-admin-v112 #wpbody-content :is(.wrap h1) {font:700 32px/1.2 var(--jta-font);letter-spacing:normal}
body.jta-admin-v112 #wpbody-content :is(.wrap h2) {font:700 24px/1.3 var(--jta-font);letter-spacing:normal}
body.jta-admin-v112 #wpbody-content :is(.wrap h3) {font:700 20px/1.4 var(--jta-font);letter-spacing:normal}
body.jta-admin-v112 #wpbody-content .wrap :is(p,li) {font-size:16px;line-height:1.6}
body.jta-admin-v112 #wpbody-content .wrap :is(label,small,summary,.description,td,th,time,.jta-team-brand>span) {font:400 14px/1.5 var(--jta-font)}
body.jta-admin-v112 #wpbody-content .wrap :is(label,th) {font-weight:600}
body.jta-admin-v112 #wpbody-content .wrap :is(span:not(.dashicons),strong,code,legend,summary,small) {font-size:max(14px,1em)!important;line-height:1.5}
body.jta-admin-v112 #wpbody-content .wrap :is(p,.jta-account-state) {font-size:16px;line-height:1.6}
body.jta-admin-v112 #wpbody-content .wrap :is(.jta-account-state,.jta-status,.jta-team-unread-badge,.jta-credits-eyebrow,.jtf-coverage-note,.jtf-result-count,.jtf-rule-state,.jtf-published-state,.jtc-conversion) {font-size:14px!important;line-height:1.5}
body.jta-admin-v112 #wpbody-content .jta-person-card h2 {font:700 20px/1.4 var(--jta-font)}
body.jta-admin-v112 #wpbody-content .wrap :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea) {font:400 16px/1.5 var(--jta-font);min-height:44px;max-width:100%;box-sizing:border-box;border-radius:12px}
body.jta-admin-v112 #wpbody-content .wrap :is(button,.button,.jta-button,.jta-person-action,.jta-accounts-admin-tabs a,.jta-team-links>a) {
 box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;min-width:44px;max-width:100%;
 padding:9px 12px;border:1px solid #DFDFDF;border-radius:12px!important;font:600 14px/1.5 var(--jta-font)!important;
 text-shadow:none;letter-spacing:normal;text-decoration:none;white-space:normal;overflow-wrap:anywhere;box-shadow:none;
}
body.jta-admin-v112 #wpbody-content .wrap :is(.button-primary,.jta-button,.jta-person-action.is-primary,.jta-accounts-admin-tabs a[aria-current=page]) {background:#7AB8FA!important;border-color:#7AB8FA!important;color:#FFFFFF!important}
body.jta-admin-v112 #wpbody-content .wrap :is(.button-primary,.jta-button,.jta-person-action.is-primary,.jta-accounts-admin-tabs a[aria-current=page]):is(:hover,:active):not(:disabled):not([aria-disabled=true]) {background:#FF5151!important;border-color:#FF5151!important;color:#FFFFFF!important}
body.jta-admin-v112 #wpbody-content .jta-accounts-admin-tabs a[aria-current=page] {box-shadow:none;font-weight:700}
body.jta-admin-v112 .jta-team-nav {font:14px/1.5 var(--jta-font);gap:16px;border-radius:12px}
body.jta-admin-v112 .jta-team-links {padding:4px;gap:8px;flex-wrap:wrap;overflow:visible}
body.jta-admin-v112 .jta-team-links>a[aria-current] {box-shadow:inset 0 -3px #202A31}
body.jta-admin-v112 .wrap :is(.jta-tabs a,.nav-tab,.jtf-tabs a,.jcp-tabs a) {font:600 14px/1.5 var(--jta-font);min-height:44px;box-sizing:border-box;display:inline-flex;align-items:center}
/* Team Note replies preserve the dark/yellow service variants. */
body.jta-admin-v112 .jta-notes-wrap :is(.button-primary,.jta-send-submit,button[type=submit]) {background:#202A31!important;color:#FFFFFF!important;border-color:#202A31!important}
body.jta-admin-v112 .jta-notes-wrap :is(.button-primary,.jta-send-submit,button[type=submit]):is(:hover,:active):not(:disabled):not([aria-disabled=true]) {background:#FF5151!important;color:#FFFFFF!important;border-color:#FF5151!important}
/* Chat, Drive and embedded Ask all use Arial. Header icon paths stay canonical. */
body.jta-chat-body,body.jta-chat-body :is(button,input,select,textarea,summary),body.jta-design-v112 :is(.jta-chat-panel,.jta-chat-panel button,.jta-chat-panel input,.jta-chat-panel textarea) {font-family:Arial,Helvetica,sans-serif!important}
body.jta-chat-body :is(.jta-chat-item-body,.jta-chat-item-body p,.jta-chat-thread,.jta-chat-welcome p) {font-size:15px;line-height:1.6}
body.jta-chat-body :is(.jta-note-heading p,.jta-chat-item time,.jta-chat-item header,.jta-chat-account small,.jta-chat-note small,.jta-header-popover,.jta-header-popover small,.jta-chat-disclaimer) {font-family:Arial,Helvetica,sans-serif!important;font-size:14px;line-height:1.5}
body.jta-chat-body :is(.jta-chat-note-header,.jta-new-email,.jta-file-tools,.jta-credits-popover,.jta-connections,.jta-note-header) {font-family:Arial,Helvetica,sans-serif!important}
body.jta-chat-body :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),textarea,select) {font-size:16px;line-height:1.5}
body.jta-chat-body .jta-chat-note-header .jta-header-icon {width:44px;height:44px;min-width:44px;min-height:44px;border-radius:12px;padding:0}
body.jta-chat-body .jta-chat-note-header :is(.jta-header-icon,.jta-mode-options) svg {width:22px;height:22px;stroke-width:1.7}
body.jta-chat-body .jta-chat-note-header .jta-header-popover :is(button,a),body.jta-chat-body .jta-new-email button {font-family:Arial,Helvetica,sans-serif!important;font-size:14px!important;line-height:1.5;min-height:44px;border-radius:12px}
body.jta-chat-body .jta-chat-note-header .jta-compose-modes [aria-pressed=true] {background:#FFF8CE;color:#4C4316;border-color:#ECDF93;box-shadow:none}
body.jta-chat-body :is(.jta-chat-send,.jta-chat-icon-button) {min-width:44px;min-height:44px}
body.jta-chat-body .jta-chat-composer>button[type=submit] {min-width:44px;min-height:44px;width:44px;height:44px;background:#FFDD3E;color:#111111}
body.jta-chat-body .jta-chat-composer>button[type=submit]:hover {background:#FFDD3E;color:#111111}
body.jta-chat-body :is(.jta-chat-composer-note,.jta-chat-disclosure,.jta-chat-policy-links,.jta-chat-footer,.jta-chat-disclaimer) {font:400 14px/1.5 Arial,Helvetica,sans-serif}
body.jta-chat-body :is(.jta-chat-composer-note,.jta-chat-disclosure,.jta-chat-policy-links,.jta-chat-footer,.jta-chat-disclaimer) :is(span,a) {font:inherit}
body.jta-chat-body .jta-header-popover h2 {font:600 14px/1.5 Arial,Helvetica,sans-serif}
body.jta-chat-body .jta-file-tools :is(button,span),body.jta-chat-body .jtai-recovery :is(button,a,small,span) {font-size:14px;line-height:1.5}
body.jta-chat-body .jta-file-tools button,body.jta-chat-body .jtai-recovery :is(button,a) {min-height:44px;border-radius:12px}
body.jta-chat-body .jta-chat-send {background:#FFDD3E;color:#111111}
body.jta-chat-body .jta-chat-send:hover {background:#FFDD3E;color:#111111}
body.jta-design-v112 :is(.jta-chat-toggle,.jta-chat-new-toggle,.jta-back-to-top) {min-height:48px;font:600 14px/1.5 var(--jta-font);color:#FFFFFF!important;border-radius:999px}
body.jta-design-v112 :is(.jta-chat-expand,.jta-chat-close) {min-width:44px;min-height:44px}
body.jta-design-v112 .jta-chat-panel :is(button,input,textarea) {font-family:var(--jta-font)!important}
:is(body.jta-chat-body,body.jta-design-v112,body.jta-admin-v112) .jta-drive-shell {font:400 16px/1.6 Arial,Helvetica,sans-serif}
:is(body.jta-chat-body,body.jta-design-v112,body.jta-admin-v112) .jta-drive-shell :is(button,a,summary,small,time,.jta-drive-summary,.jta-drive-selection) {font:400 14px/1.5 Arial,Helvetica,sans-serif}
:is(body.jta-chat-body,body.jta-design-v112,body.jta-admin-v112) .jta-drive-shell :is(button,a,summary) {min-height:44px;min-width:44px;box-sizing:border-box;border-radius:12px}
:is(body.jta-chat-body,body.jta-design-v112,body.jta-admin-v112) .jta-drive-shell input {font:400 16px/1.5 Arial,Helvetica,sans-serif}
/* Shared selected/focus/disabled states; an active choice is not a hover colour. */
body.jta-design-v112 :is(.wp-block-button__link,.jta-live-button,.jta-events__button)[aria-current=page] {box-shadow:0 0 0 2px #fff,0 0 0 4px #000}
/* One refined focus language, including site navigation, footer and Chat tools. */
:is(body.jta-design-v112,body.jta-chat-body) :where(button,a[href],input,textarea,select,summary,[tabindex]:not([tabindex="-1"]),[contenteditable=true]):focus-visible:where(:not(#wpadminbar *)),
body.jta-admin-v112 #wpbody-content :where(button,a[href],input,textarea,select,summary,[tabindex]:not([tabindex="-1"]),[contenteditable=true]):focus-visible {
 outline:2px solid var(--jta-focus)!important;outline-offset:2px;box-shadow:0 0 0 5px var(--jta-focus-halo)!important;
}
/* Editing fields use their existing rounded border, with no detached inner box. */
:is(body.jta-design-v112,body.jta-chat-body) :where(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=submit]):not([type=button]):not([type=reset]):not([type=file]),textarea,select,[contenteditable=true]):focus:where(:not(#wpadminbar *)),
body.jta-admin-v112 #wpbody-content :where(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=submit]):not([type=button]):not([type=reset]):not([type=file]),textarea,select,[contenteditable=true]):focus {
 border-color:var(--jta-focus)!important;outline:none!important;box-shadow:inset 0 0 0 1px var(--jta-focus),0 0 0 3px var(--jta-focus-halo)!important;
}
/* The visible choice card carries focus for its visually hidden checkbox. */
body.jta-design-v112 #field_27_8 .gchoice>input:focus-visible,
body.jta-design-v112 .jta-ui .jta-choice input:focus-visible {outline:none!important;box-shadow:none!important}
/* One focus surface for the rounded composer, without an inner textarea rectangle. */
body.jta-chat-body .jta-chat-composer:has(textarea:focus) {border-color:#7AB8FA;box-shadow:inset 0 0 0 1px #7AB8FA,0 0 0 3px rgb(122 184 250 / .2)}
body.jta-chat-body .jta-chat-composer>textarea:is(:focus,:focus-visible) {outline:none!important;box-shadow:none!important}
body.jta-design-v112 .jta-ui .sg-chat-composer textarea:is(:focus,:focus-visible) {outline:none!important;box-shadow:none!important}
/* Directory search is one compound field, like the Chat composer. */
body.jta-admin-v112 #wpbody-content .jta-directory-search:focus-within {border-color:var(--jta-focus)!important;box-shadow:inset 0 0 0 1px var(--jta-focus),0 0 0 3px var(--jta-focus-halo)!important}
body.jta-admin-v112 #wpbody-content .jta-directory-search .jta-directory-search-input:focus {outline:none!important;box-shadow:none!important}
body.jta-design-v112 .jta-accounts .jta-email-input:focus-within {outline:none!important;border-color:var(--jta-focus)!important;box-shadow:inset 0 0 0 1px var(--jta-focus),0 0 0 3px var(--jta-focus-halo)!important}
body.jta-design-v112 .jta-accounts .jta-email-input input:focus {outline:none!important;box-shadow:none!important}
:is(body.jta-design-v112,body.jta-admin-v112,body.jta-chat-body) :is(button,input[type=submit]):disabled {opacity:1;cursor:not-allowed;transform:none}
:is(body.jta-design-v112,body.jta-admin-v112,body.jta-chat-body) [aria-busy=true] {cursor:progress}
@media(max-width:782px) {
 body.jta-design-v112 :is(main,.entry-content,.wp-block-post-content) h1,body.jta-admin-v112 #wpbody-content .wrap h1 {font-size:28px}
 body.jta-design-v112 #field_27_8 {padding:16px!important}
 body.jta-design-v112 #field_27_8 .gfield_checkbox {grid-template-columns:1fr!important}
 body.jta-design-v112 #field_27_8 .gchoice>label {grid-template-columns:minmax(0,1fr);gap:6px}
 body.jta-design-v112 #field_27_8 .gchoice>input:checked+label::after {justify-self:start}
 body.jta-admin-v112 .jta-team-nav {align-items:flex-start;flex-wrap:wrap;padding:12px;gap:8px}
 body.jta-admin-v112 .jta-team-links {flex-basis:100%;gap:8px}
 body.jta-admin-v112 #wpbody-content .wrap {margin-right:10px;max-width:calc(100% - 10px)}
 body.jta-admin-v112 .wrap :is(.jta-notes-header,.jtf-hero,.jcp-hero) {flex-wrap:wrap;gap:16px}
 body.jta-admin-v112 .wrap :is(.form-table,.form-table tbody,.form-table tr,.form-table th,.form-table td) {display:block;width:auto}
 body.jta-admin-v112 .wrap .form-table th {padding-bottom:8px}
 body.jta-admin-v112 .wrap .form-table td {padding:0 0 20px}
}
@media(prefers-reduced-motion:reduce) {
 :is(body.jta-design-v112,body.jta-admin-v112,body.jta-chat-body) :is(button,a,label,input) {transition:none!important;animation:none!important;scroll-behavior:auto!important;transform:none!important}
}
@media(forced-colors:active) {
 :is(body.jta-design-v112,body.jta-admin-v112,body.jta-chat-body) :is(button,.button,.wp-block-button__link) {border:2px solid ButtonText!important}
 body.jta-design-v112 #field_27_8 .gchoice>input:checked+label {border:3px double Highlight!important}
 :is(body.jta-design-v112,body.jta-admin-v112,body.jta-chat-body) :is(button,a[href],input,textarea,select,summary,[tabindex],[contenteditable=true]):focus-visible,
 body.jta-admin-v112 #wpbody-content :is(button,a[href],input,textarea,select,summary,[tabindex],[contenteditable=true]):focus-visible,
 body.jta-design-v112 #field_27_8 .gchoice>input:focus-visible+label,
 body.jta-chat-body .jta-chat-composer:has(textarea:focus),
 body.jta-design-v112 .jta-ui .sg-chat-composer:has(textarea:focus) {outline:2px solid Highlight!important;outline-offset:2px;box-shadow:none!important}
 body.jta-admin-v112 #wpbody-content .jta-directory-search:focus-within {outline:2px solid Highlight!important;outline-offset:2px;box-shadow:none!important}
 body.jta-design-v112 .jta-accounts .jta-email-input:focus-within {outline:2px solid Highlight!important;outline-offset:2px;box-shadow:none!important}
 body.jta-chat-body .jta-chat-composer>textarea:focus-visible,
 body.jta-design-v112 .jta-ui .sg-chat-composer textarea:focus-visible,
 body.jta-design-v112 #field_27_8 .gchoice>input:focus-visible,
 body.jta-design-v112 .jta-ui .jta-choice input:focus-visible {outline:none!important}
}

/* Floating website helpers must never become content below a page footer.
 * Visibility/open state remains owned by Ask; no display/opacity overrides. */
body.jta-design-v112 .jta-btt-wrapper > :is(#jta-chat-toggle,#jta-back-to-top) {
 position:fixed!important;inset:auto!important;
 right:max(24px,env(safe-area-inset-right))!important;
 bottom:max(24px,env(safe-area-inset-bottom))!important;
 margin:0!important;max-width:calc(100vw - 48px)!important;
}
@media(max-width:600px) {
 body.jta-design-v112 .jta-btt-wrapper > :is(#jta-chat-toggle,#jta-back-to-top) {
  right:max(16px,env(safe-area-inset-right))!important;
  bottom:max(16px,env(safe-area-inset-bottom))!important;
  max-width:calc(100vw - 32px)!important;
 }
}
/* Attachment actions use the shared SVG artwork beside their native labels.
 * Empty pseudo-elements are decorative; accessible names stay in the buttons.
 * Masks inherit text colour, including forced-colour and disabled states. */
:is(body.jta-chat-body,body.jta-admin-v112) .jta-file-tools button {
 display:inline-flex;align-items:center;justify-content:flex-start;gap:12px;
 min-height:48px;min-width:48px;padding:10px 12px;border-radius:12px;
 font:600 14px/1.5 Arial,Helvetica,sans-serif;white-space:normal;text-align:left;
}
:is(body.jta-chat-body,body.jta-admin-v112) .jta-file-tools button::before {
 content:'';display:block;flex:none;width:22px;height:22px;background:currentColor;
 mask:var(--jta-attachment-icon) center/contain no-repeat;
 -webkit-mask:var(--jta-attachment-icon) center/contain no-repeat;
}
/* Three direct actions; no disclosure or extra menu click. */
body.jta-chat-body .jta-file-tools--direct {
 display:flex;align-items:center;gap:8px;flex-wrap:wrap;overflow:visible;
}
body.jta-chat-body .jta-file-tools--direct button {
 position:relative;display:inline-flex;align-items:center;justify-content:center;
 width:48px;height:48px;min-width:48px;min-height:48px;padding:0;
 background:#fff;color:#313131;border:1px solid #DFDFDF;border-radius:12px;
}
body.jta-chat-body .jta-file-tools--direct button .jta-attachment-label {
 position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;
}
body.jta-chat-body .jta-file-tools--direct button:hover:not(:disabled) {background:#F1F1F1;border-color:#636363;}
body.jta-chat-body .jta-file-tools--direct button[aria-expanded=true] {background:#FFF8CE;color:#4C4316;border-color:#ECDF93;box-shadow:none;}
body.jta-chat-body .jta-file-tools--direct button[data-file-record][aria-pressed=true] {background:#FF5151;color:#FFFFFF;border-color:#FF5151;}
body.jta-chat-body .jta-chat-composer-wrap:has(.jta-file-tools--direct) {overflow:visible;}
:is(body.jta-chat-body,body.jta-admin-v112) .jta-file-tools > .jta-file-limits {font:400 14px/1.5 Arial,Helvetica,sans-serif;color:#636363;}
@media(max-width:600px) {body.jta-chat-body .jta-file-tools--direct > .jta-file-limits {flex-basis:100%;}}
:is(body.jta-chat-body,body.jta-admin-v112) .jta-file-tools [data-file-choose] {--jta-attachment-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m21%2011-9%209a6%206%200%200%201-8.5-8.5l10-10a4%204%200%200%201%205.7%205.7l-10%2010a2%202%200%200%201-2.8-2.8l9-9%22%2F%3E%3C%2Fsvg%3E");}
:is(body.jta-chat-body,body.jta-admin-v112) .jta-file-tools [data-jta-drive-open] {--jta-attachment-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m3%2013%203-9h12l3%209%22%2F%3E%3Crect%20x%3D%223%22%20y%3D%2212%22%20width%3D%2218%22%20height%3D%228%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M7%2016h.01M11%2016h.01%22%2F%3E%3C%2Fsvg%3E");}
:is(body.jta-chat-body,body.jta-admin-v112) .jta-file-tools [data-file-record] {--jta-attachment-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%229%22%20y%3D%222%22%20width%3D%226%22%20height%3D%2212%22%20rx%3D%223%22%2F%3E%3Cpath%20d%3D%22M5%2010v1a7%207%200%200%200%2014%200v-1M12%2018v4M8%2022h8%22%2F%3E%3C%2Fsvg%3E");}
:is(body.jta-chat-body,body.jta-admin-v112) .jta-file-tools [data-file-record][aria-pressed=true] {--jta-attachment-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%226%22%20y%3D%226%22%20width%3D%2212%22%20height%3D%2212%22%20rx%3D%222%22%2F%3E%3C%2Fsvg%3E");}
