/* The front-end theme chrome only; WordPress admin bar and approved Academy remain untouched. */
body:is(.page-id-164,.page-id-11) header.wp-block-template-part,body:is(.page-id-164,.page-id-11) footer.wp-block-template-part,body:is(.page-id-164,.page-id-11) .wp-site-blocks>header,body:is(.page-id-164,.page-id-11) .wp-site-blocks>footer,body:is(.page-id-164,.page-id-11) .wp-block-post-title{display:none!important;}
body:is(.page-id-164,.page-id-11) .wp-site-blocks,body:is(.page-id-164,.page-id-11) .wp-block-post-content,body:is(.page-id-164,.page-id-11) main.wp-block-group{max-width:none!important;width:100%!important;margin:0!important;padding:0!important;}
/* GBS APPROVED STANDARD 2026-09-24 | scope: Safety 164 + free diagnosis 11 only; Academy 171 unchanged. */
body:is(.page-id-164,.page-id-11) .wp-block-group:has(#gbs-ui760),
body:is(.page-id-164,.page-id-11) .wp-block-post-content:has(#gbs-ui760){margin-block:0!important;padding-block:0!important;}
body:is(.page-id-164,.page-id-11) #gbs-ui760{display:block!important;width:100%!important;max-width:none!important;min-height:0!important;margin:0!important;padding:10px 0 88px!important;background:transparent!important;font-family:'Malgun Gothic','Apple SD Gothic Neo',sans-serif;font-size:13px!important;line-height:1.42!important;color:#0f172a;}
body #gbs-ui760,body #gbs-ui760 *,body #gbs-ui760 *::before,body #gbs-ui760 *::after{box-sizing:border-box;}
body #gbs-ui760>.gbs-ui-frame{width:calc(100% - 24px)!important;max-width:760px!important;margin-left:auto!important;margin-right:auto!important;}
body #gbs-ui760>br,body #gbs-ui760>p:empty,body #gbs-ui760 .gbs-ui-brandbar br{display:none!important;}
body #gbs-ui760 .gbs-ui-brandbar{display:flex!important;align-items:center;justify-content:space-between;gap:10px;min-height:52px;margin-top:0;margin-bottom:8px;padding:6px 14px;border:1px solid #e2e8f0;border-radius:14px;background:#fff;box-shadow:0 7px 22px rgba(15,23,42,.04);}
body #gbs-ui760 .gbs-ui-brandbar>p{display:contents;}
body #gbs-ui760 .gbs-ui-brandlink{display:inline-flex;align-items:center;gap:10px;min-height:40px;margin:0;padding:0;text-decoration:none;color:#0f172a;}
body #gbs-ui760 img.gbs-ui-logo{width:auto!important;height:36px!important;max-width:82px!important;margin:0!important;padding:0!important;object-fit:contain;border:0;border-radius:0;background:#fff;flex:0 0 auto;}
body #gbs-ui760 img.gbs-ui-logo:not([hidden]){display:block!important;}
body #gbs-ui760 .gbs-ui-brandcopy{display:flex;flex-direction:column;gap:3px;line-height:1.2;}
body #gbs-ui760 .gbs-ui-brandcopy b{font-size:12px;}
body #gbs-ui760 .gbs-ui-brandcopy small{font-size:9px;color:#64748b;}
body #gbs-ui760 .gbs-ui-service{font-size:10px;line-height:1.25;letter-spacing:.035em;white-space:nowrap;padding:5px 8px;border-radius:999px;border:1px solid #bfdbfe;color:#2563eb;background:linear-gradient(135deg,#eff6ff,#ecfdf5);}
body #gbs-ui760 .gbs-ui-body{padding:0!important;margin-top:0!important;margin-bottom:0!important;min-height:0!important;background:transparent!important;}
body #gbs-ui760 .gbs-ui-location{display:flex;align-items:center;gap:10px;min-height:52px;margin-top:8px;margin-bottom:0;padding:8px 12px;border:1px solid #e2e8f0;border-radius:14px;background:linear-gradient(135deg,#fff,#f7fbff);box-shadow:0 7px 22px rgba(15,23,42,.04);}
body #gbs-ui760 .gbs-ui-location>p{display:contents;}
body #gbs-ui760 .gbs-ui-location-icon{display:flex;align-items:center;justify-content:center;width:30px;height:30px;flex:0 0 auto;border-radius:10px;border:1px solid #dbeafe;background:#eff6ff;font-size:15px;}
body #gbs-ui760 .gbs-ui-location-copy{display:flex;flex-direction:column;gap:4px;line-height:1.2;}
body #gbs-ui760 .gbs-ui-location-copy small{font-size:10px;color:#64748b;}
body #gbs-ui760 .gbs-ui-location-copy strong{font-size:14px;}
body #gbs-ui760 a:focus-visible,body #gbs-ui760 button:focus-visible{outline:2px solid #2563eb;outline-offset:3px;}
/* Safety: only the visual shell; preserve panel display state, hidden fields, IDs and events. */
body.page-id-164 #gbs-ui760 .gbs-sdna{width:100%!important;max-width:100%!important;margin:0!important;padding:0!important;background:transparent!important;font-size:13px!important;line-height:1.42!important;}
body.page-id-164 #gbs-ui760 .gbs-sdna-hero{margin:0 0 10px!important;padding:16px 18px!important;border-radius:18px!important;}
body.page-id-164 #gbs-ui760 .gbs-sdna-hero::after{content:none!important;}
body.page-id-164 #gbs-ui760 .gbs-sdna-hero h1{font-size:30px!important;line-height:1.18!important;margin:5px 0 7px!important;letter-spacing:-.035em!important;word-break:keep-all;overflow-wrap:break-word;}
body.page-id-164 #gbs-ui760 .gbs-sdna-hero p,body.page-id-164 #gbs-ui760 .gbs-sdna-help,body.page-id-164 #gbs-ui760 .gbs-sdna-notice{font-size:12px!important;line-height:1.45!important;}
body.page-id-164 #gbs-ui760 .gbs-sdna-kicker{font-size:10px!important;}
body.page-id-164 #gbs-ui760 .gbs-sdna-academy-strip{font-size:12px!important;padding:8px 10px!important;}
body.page-id-164 #gbs-ui760 .gbs-sdna-progress{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:6px!important;}
body.page-id-164 #gbs-ui760 .gbs-sdna-progress button{min-width:0!important;min-height:44px!important;font-size:12px!important;padding:7px 5px!important;grid-column:auto!important;}
body.page-id-164 #gbs-ui760 .gbs-sdna-panel{padding:16px 18px!important;border-radius:16px!important;}
body.page-id-164 #gbs-ui760 .gbs-sdna-panel h2{font-size:16px!important;line-height:1.3!important;margin:0 0 7px!important;}
body.page-id-164 #gbs-ui760 .gbs-sdna-drop{padding:14px!important;gap:5px!important;}
body.page-id-164 #gbs-ui760 .gbs-sdna-drop strong{font-size:14px!important;line-height:1.35!important;}
body.page-id-164 #gbs-ui760 .gbs-sdna-drop span{font-size:12px!important;}
body.page-id-164 #gbs-ui760 .gbs-sdna-primary,body.page-id-164 #gbs-ui760 .gbs-sdna-linkbtn{font-size:13px!important;min-height:44px;line-height:1.4!important;}
body.page-id-164 #gbs-ui760 .gbs-sdna-grid{gap:8px!important;}
body.page-id-164 #gbs-ui760 .gbs-sdna-grid label{font-size:12px!important;}
body.page-id-164 #gbs-ui760 .gbs-sdna-grid input{min-height:44px;font-size:14px;}
body.page-id-164 #gbs-ui760 .gbs-sdna-autofacts,body.page-id-164 #gbs-ui760 .gbs-sdna-summary{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;}
/* Free-diagnosis introduction only; no BILL_DNA parser/result selectors. */
body.page-id-11 #gbs-ui760 .gbs-ui-intro>div:first-child{width:100%!important;max-width:100%!important;margin:0!important;padding:0!important;line-height:1.45!important;}
body.page-id-11 #gbs-ui760 .gbs-ui-intro>div:first-child>section:first-child{padding:16px 18px!important;border-radius:18px!important;box-shadow:0 12px 36px rgba(15,23,42,.06);background:linear-gradient(135deg,#fff,#eef6ff 55%,#effcf6)!important;}
body.page-id-11 #gbs-ui760 .gbs-ui-intro>div:first-child>section:first-child h1{margin:5px 0 7px!important;font-size:30px!important;line-height:1.18!important;letter-spacing:-.035em;word-break:keep-all;}
body.page-id-11 #gbs-ui760 .gbs-ui-intro>div:first-child>section:first-child>div{font-size:10px!important;letter-spacing:.09em!important;}
body.page-id-11 #gbs-ui760 .gbs-ui-intro>div:first-child p{font-size:12px!important;line-height:1.45!important;margin:4px 0 0!important;}
body.page-id-11 #gbs-ui760 .gbs-ui-intro>div:first-child h2{font-size:16px!important;line-height:1.3!important;margin:0 0 7px!important;}
body.page-id-11 #gbs-ui760 .gbs-ui-intro>div:first-child>section:nth-child(2){padding:10px 0!important;}
body.page-id-11 #gbs-ui760 .gbs-ui-intro>div:first-child>section:nth-child(2)>div{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;}
body.page-id-11 #gbs-ui760 .gbs-ui-intro>div:first-child>section:nth-child(2)>div>div{padding:12px 14px!important;min-height:78px;border-radius:14px!important;background:#fff;border:1px solid #e2e8f0;box-shadow:0 7px 22px rgba(15,23,42,.04);}
body.page-id-11 #gbs-ui760 .gbs-ui-intro>div:first-child strong{font-size:13px;}
body.page-id-11 #gbs-ui760 .gbs-ui-intro>div:first-child>section:nth-child(3){padding:14px 16px!important;border-radius:14px!important;}
body.page-id-11 #gbs-ui760 .gbs-ui-intro>div:first-child>div:last-child{margin-top:10px!important;}
body.page-id-11 #gbs-ui760 .gbs-ui-intro>div:first-child>div:last-child a{display:inline-flex!important;align-items:center;min-height:44px;font-size:13px!important;padding:10px 16px!important;}
@media(max-width:540px){
body #gbs-ui760>.gbs-ui-frame{width:calc(100% - 20px)!important;}
body #gbs-ui760 .gbs-ui-brandbar{padding:6px 10px;}
body #gbs-ui760 img.gbs-ui-logo{height:32px!important;}
body #gbs-ui760 .gbs-ui-brandcopy small{display:none;}
body.page-id-164 #gbs-ui760 .gbs-sdna-hero h1,body.page-id-11 #gbs-ui760 .gbs-ui-intro>div:first-child>section:first-child h1{font-size:24px!important;}
body.page-id-164 #gbs-ui760 .gbs-sdna-progress{display:flex!important;overflow-x:auto;gap:6px!important;}
body.page-id-164 #gbs-ui760 .gbs-sdna-progress button{flex:0 0 auto;min-width:82px!important;}
body.page-id-164 #gbs-ui760 .gbs-sdna-autofacts,body.page-id-164 #gbs-ui760 .gbs-sdna-summary,body.page-id-11 #gbs-ui760 .gbs-ui-intro>div:first-child>section:nth-child(2)>div{grid-template-columns:1fr!important;}
body.page-id-164 #gbs-ui760 .gbs-sdna-grid input{font-size:16px!important;}
}
@media(prefers-reduced-motion:reduce){body #gbs-ui760 *{transition:none!important;animation:none!important;}}
/* END GBS APPROVED STANDARD 2026-09-24 */
/* Respect functional hidden states even when a component defines display:grid. */
body #gbs-ui760 [hidden]{display:none!important;}
