:root{
    --medipharm-navy:#063d78;
    --medipharm-blue:#087fc2;
    --medipharm-cyan:#0b9ead;
    --medipharm-green:#39b85a;
    --medipharm-paper:#fff;
    --medipharm-ink:#10283f;
    --medipharm-muted:#62758a;
    --medipharm-line:#d9e6ee;
}
.syh-native-search-active .nah-sdp-search-button,
.syh-native-search-active .nah-sdp-search-toggle,
.syh-native-search-active [data-nah-sdp-search],
.syh-native-search-active [class*="nah-sdp"][class*="search-fab"]{display:none!important}
.syh-brand-mark,.syh-book-brand-mark,.syh-reader-brand-mark,.tvm-brand-mark{background:none!important;box-shadow:none!important;overflow:visible!important}
.syh-brand-mark:before,.syh-brand-mark:after,.syh-brand-mark i,.syh-book-brand-mark:before,.syh-book-brand-mark:after,.syh-book-brand-mark i,.tvm-brand-mark:before,.tvm-brand-mark:after,.tvm-brand-mark i{display:none!important}
.syh-brand-mark img,.syh-book-brand-mark img,.tvm-brand-mark img,.syh-reader-brand-mark img{width:100%;height:100%;display:block;object-fit:contain}
.syh-global-search{position:relative;z-index:80;min-width:0}
.syh-global-search-form{width:100%;min-height:46px;display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:3px;padding:4px;border:1px solid var(--medipharm-line);border-radius:15px;background:color-mix(in srgb,var(--medipharm-paper) 96%,transparent);box-shadow:0 9px 26px rgba(6,61,120,.08)}
.syh-global-search-form .syh-search-field-icon{display:grid;place-items:center;color:var(--medipharm-cyan)}
.syh-global-search-form .syh-search-field-icon svg,.syh-global-search-form button svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.syh-global-search-form input[type=search]{width:100%!important;height:38px!important;min-width:0!important;border:0!important;outline:0!important;padding:0 7px!important;background:transparent!important;color:var(--medipharm-ink)!important;font:500 14px/1.3 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Noto Sans","Helvetica Neue",Arial,sans-serif!important;box-shadow:none!important}
.syh-global-search-form input::placeholder{color:var(--medipharm-muted)!important;opacity:.92}
.syh-global-search-form button{height:38px;display:grid;place-items:center;border:0;border-radius:11px;padding:0 15px;background:linear-gradient(135deg,var(--medipharm-navy),var(--medipharm-blue));color:#fff;font:800 14px/1.25 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Noto Sans","Helvetica Neue",Arial,sans-serif;white-space:nowrap}
.syh-global-search-form button svg{display:none}
.syh-global-search .syh-search-panel{position:absolute;z-index:2147482000;top:calc(100% + 9px);left:0;width:min(760px,calc(100vw - 28px));max-height:min(610px,70vh);overflow:hidden;border:1px solid var(--medipharm-line);border-radius:20px;background:rgba(255,255,255,.99);box-shadow:0 28px 75px rgba(6,45,79,.24);color:var(--medipharm-ink)}
.syh-global-search .syh-search-panel[hidden]{display:none!important}
.syh-search-panel-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 17px;border-bottom:1px solid var(--medipharm-line);background:linear-gradient(110deg,#f5faff,#f0fbfa)}
.syh-search-panel-head>div{display:flex;min-width:0;flex-direction:column;gap:3px}.syh-search-panel-head small{color:var(--medipharm-cyan);font-size:14px;font-weight:850;letter-spacing:.12em}.syh-search-panel-head strong{overflow:hidden;font-size:14px;text-overflow:ellipsis;white-space:nowrap}.syh-search-panel-head button{width:32px;height:32px;border:1px solid var(--medipharm-line);border-radius:10px;background:#fff;color:var(--medipharm-muted);font-size:20px}
.syh-search-results{max-height:min(528px,calc(70vh - 72px));overflow:auto;padding:10px}.syh-search-group{padding:3px 0 10px}.syh-search-group>header{display:flex;justify-content:space-between;padding:6px 9px;color:var(--medipharm-muted)}.syh-search-group>header strong{font-size:14px;letter-spacing:.08em;text-transform:uppercase}.syh-search-group>header span{min-width:22px;padding:3px 6px;border-radius:999px;background:#edf5f8;text-align:center;font-size:14px}
.syh-search-result{--result:var(--medipharm-blue);min-height:61px;display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:11px;padding:8px 10px;border:1px solid transparent;border-radius:13px;color:var(--medipharm-ink)!important;text-decoration:none!important}.syh-search-result:hover,.syh-search-result.is-active{border-color:#cfe2ed;background:#f2f9fb}.syh-search-result-icon{width:42px;height:42px;display:grid;place-items:center;overflow:hidden;border-radius:12px;background:color-mix(in srgb,var(--result) 12%,white);color:var(--result);font-size:14px;font-weight:850}.syh-search-result-icon img{width:100%;height:100%;object-fit:cover}.syh-search-result-copy{display:flex;min-width:0;flex-direction:column;gap:4px}.syh-search-result-copy strong,.syh-search-result-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.syh-search-result-copy strong{font-size:14px}.syh-search-result-copy small{color:var(--medipharm-muted);font-size:14px}.syh-search-result>em{padding:4px 6px;border-radius:7px;background:#e8f2ff;color:var(--medipharm-navy);font-size:14px;font-style:normal}.syh-search-result>b{color:var(--result);font-size:18px}.syh-search-result-teal{--result:var(--medipharm-cyan)}.syh-search-result-violet{--result:#6d49c6}.syh-search-result-amber{--result:#c77713}.syh-search-all{display:flex;justify-content:space-between;margin:5px 2px 1px;padding:13px 14px;border-radius:12px;background:linear-gradient(135deg,var(--medipharm-navy),var(--medipharm-blue));color:#fff!important;text-decoration:none!important;font-size:14px;font-weight:760}.syh-search-state{min-height:145px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:7px;padding:25px;text-align:center}.syh-search-state>span{width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:#e7f6f7;color:var(--medipharm-cyan);font-size:23px}.syh-search-state strong{font-size:14px}.syh-search-state small{max-width:360px;color:var(--medipharm-muted);font-size:14px;line-height:1.5}.syh-sr-only{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}
.syh-modal-backdrop{position:fixed!important;z-index:2147483646!important;inset:0!important;display:grid!important;place-items:center!important;padding:18px!important;isolation:isolate!important;background:rgba(4,20,38,.76)!important;backdrop-filter:blur(8px)!important;-webkit-backdrop-filter:blur(8px)!important;visibility:visible!important;opacity:1!important;filter:none!important;transform:none!important}.syh-modal-backdrop[aria-hidden=true]{display:none!important}.syh-modal-backdrop.is-open{display:grid!important}.syh-modal-backdrop>.syh-app-modal{position:relative!important;z-index:2147483647!important;width:min(440px,100%)!important;max-height:calc(100dvh - 36px)!important;overflow:auto!important;display:block!important;padding:32px!important;border:1px solid var(--medipharm-line)!important;border-radius:24px!important;background:#fff!important;color:var(--medipharm-ink)!important;box-shadow:0 34px 100px rgba(0,0,0,.42)!important;visibility:visible!important;opacity:1!important;filter:none!important;transform:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;text-align:center!important}.syh-modal-brand-mark{width:58px;height:58px;display:block;margin:0 auto 10px;object-fit:contain}.syh-modal-eyebrow{margin:0;color:var(--medipharm-cyan)!important;font-size:14px!important;font-weight:850;letter-spacing:.12em}.syh-app-modal h2{margin:9px 0 8px!important;color:var(--medipharm-navy)!important;font-size:25px!important}.syh-app-modal>p{color:var(--medipharm-muted);font-size:14px;line-height:1.6}.syh-app-modal-close{position:absolute!important;right:14px!important;top:14px!important;width:36px!important;height:36px!important;border:1px solid var(--medipharm-line)!important;border-radius:50%!important;background:#f5f9fb!important;color:var(--medipharm-ink)!important;font-size:21px!important}.syh-login-modal form{position:relative!important;z-index:3!important;display:block!important;visibility:visible!important;opacity:1!important;text-align:left!important}.syh-login-modal form p{display:block!important;margin:0 0 13px!important}.syh-login-modal label{display:block!important;margin-bottom:6px!important;color:var(--medipharm-ink)!important;font-size:14px!important;font-weight:750!important}.syh-login-modal input[type=text],.syh-login-modal input[type=password]{width:100%!important;height:47px!important;display:block!important;border:1px solid var(--medipharm-line)!important;border-radius:12px!important;padding:0 13px!important;background:#f9fcfd!important;color:var(--medipharm-ink)!important;visibility:visible!important;opacity:1!important}.syh-login-modal .login-remember label{display:flex!important;align-items:center!important;gap:7px!important}.syh-login-modal input[type=submit]{width:100%!important;height:48px!important;border:0!important;border-radius:12px!important;background:linear-gradient(135deg,var(--medipharm-navy),var(--medipharm-blue))!important;color:#fff!important;font-weight:800!important}.syh-register-prompt a{color:var(--medipharm-blue)!important;font-weight:760}.syh-superapp-modal-open .nah-sdp-overlay,.syh-superapp-modal-open .nah-sdp-backdrop,.syh-superapp-modal-open [class*="nah-sdp"][class*="overlay"]{display:none!important}.syh-superapp-modal-open:before,.syh-superapp-modal-open:after{z-index:-1!important;pointer-events:none!important}
html.tvm-dark,html.nah-sdp-night-active,html.nah-sdp-dark-mode{--medipharm-paper:#0d1b2b;--medipharm-ink:#eef6fb;--medipharm-muted:#9bb0bf;--medipharm-line:#294052;color-scheme:dark}html.tvm-dark .syh-global-search-form,html.nah-sdp-night-active .syh-global-search-form,html.nah-sdp-dark-mode .syh-global-search-form{background:#0f2032}html.tvm-dark .syh-global-search .syh-search-panel,html.nah-sdp-night-active .syh-global-search .syh-search-panel,html.nah-sdp-dark-mode .syh-global-search .syh-search-panel{background:#0d1b2b}html.tvm-dark .syh-search-panel-head,html.nah-sdp-night-active .syh-search-panel-head,html.nah-sdp-dark-mode .syh-search-panel-head{background:#122438}html.tvm-dark .syh-search-result:hover,html.nah-sdp-night-active .syh-search-result:hover,html.nah-sdp-dark-mode .syh-search-result:hover{background:#132a3f}html.tvm-dark .syh-modal-backdrop>.syh-app-modal,html.nah-sdp-night-active .syh-modal-backdrop>.syh-app-modal,html.nah-sdp-dark-mode .syh-modal-backdrop>.syh-app-modal{background:#0d1b2b!important;color:#eef6fb!important}html.tvm-dark .syh-app-modal h2,html.nah-sdp-night-active .syh-app-modal h2,html.nah-sdp-dark-mode .syh-app-modal h2{color:#eaf8fb!important}html.tvm-dark .syh-login-modal input[type=text],html.tvm-dark .syh-login-modal input[type=password],html.nah-sdp-night-active .syh-login-modal input[type=text],html.nah-sdp-night-active .syh-login-modal input[type=password],html.nah-sdp-dark-mode .syh-login-modal input[type=text],html.nah-sdp-dark-mode .syh-login-modal input[type=password]{background:#13283c!important;color:#fff!important}
.syh-member-page .syh-member-content,.syh-member-page .syh-member-plugin-content,.syh-member-page .tvm-page-content,.syh-content-gate{position:relative!important;z-index:5!important;isolation:isolate!important;visibility:visible!important;opacity:1!important}.syh-member-page form,.syh-member-page input,.syh-member-page select,.syh-member-page button,.syh-content-gate form,.syh-content-gate input,.syh-content-gate button{position:relative!important;z-index:6!important;visibility:visible!important;opacity:1!important;filter:none!important}.syh-member-page:before,.syh-member-page:after{pointer-events:none!important}
@media(max-width:760px){.syh-global-search-form{grid-template-columns:34px minmax(0,1fr) 42px;min-height:48px;border-radius:14px}.syh-global-search-form button{width:42px;padding:0}.syh-global-search-form button span{display:none}.syh-global-search-form button svg{display:block}.syh-global-search .syh-search-panel{position:fixed;top:var(--syh-sticky-search-top,66px);left:10px;width:calc(100vw - 20px);max-height:calc(100dvh - 82px);border-radius:17px}.syh-search-results{max-height:calc(100dvh - 154px);padding:7px}.syh-search-result{grid-template-columns:auto minmax(0,1fr) auto}.syh-search-result>em{display:none}.syh-modal-backdrop{padding:12px!important}.syh-modal-backdrop>.syh-app-modal{max-height:calc(100dvh - 24px)!important;padding:27px 20px!important;border-radius:20px!important}}

/* v0.8.0 — unified sticky shell for clinical tools and standalone webapps */
.syh-tool-shell{--syh-tool-paper:#fff;--syh-tool-ink:#10283f;--syh-tool-muted:#62758a;--syh-tool-line:#d9e6ee;position:fixed!important;z-index:2147481000!important;top:0!important;right:0!important;left:0!important;display:block!important;margin:0!important;border:0!important;border-bottom:1px solid var(--syh-tool-line)!important;background:rgba(255,255,255,.97)!important;color:var(--syh-tool-ink)!important;box-shadow:0 10px 32px rgba(6,61,120,.10)!important;backdrop-filter:blur(18px)!important;-webkit-backdrop-filter:blur(18px)!important;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Noto Sans","Helvetica Neue",Arial,sans-serif!important;isolation:isolate!important;transform:none!important;visibility:visible!important;opacity:1!important}
.admin-bar .syh-tool-shell{top:32px!important}.syh-tool-shell *{box-sizing:border-box!important}.syh-tool-shell a{text-decoration:none!important}.syh-tool-shell-inner{width:min(1440px,calc(100% - 32px))!important;min-height:70px!important;display:grid!important;grid-template-columns:auto auto minmax(260px,1fr) auto!important;align-items:center!important;gap:12px!important;margin:0 auto!important;padding:8px 0!important}
.syh-tool-shell-brand{min-width:0!important;display:inline-flex!important;align-items:center!important;gap:9px!important;color:var(--syh-tool-ink)!important}.syh-tool-shell-mark{width:43px!important;height:43px!important;display:block!important;flex:0 0 43px!important;background:none!important}.syh-tool-shell-mark img{width:100%!important;height:100%!important;display:block!important;object-fit:contain!important}.syh-tool-shell-brand>span:last-child{min-width:0!important;display:flex!important;flex-direction:column!important}.syh-tool-shell-brand strong{color:var(--medipharm-navy)!important;font-size:14px!important;font-weight:850!important;letter-spacing:.045em!important;line-height:1.25!important;white-space:nowrap!important}.syh-tool-shell-brand small{margin-top:2px!important;color:var(--syh-tool-muted)!important;font-size:14px!important;font-weight:550!important;line-height:1.25!important;white-space:nowrap!important}
.syh-tool-shell-home,.syh-tool-shell-account{min-height:42px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;border:1px solid var(--syh-tool-line)!important;border-radius:12px!important;padding:0 12px!important;background:var(--syh-tool-paper)!important;color:var(--syh-tool-ink)!important;font-size:14px!important;font-weight:780!important;white-space:nowrap!important}.syh-tool-shell-home svg,.syh-tool-shell-account svg{width:18px!important;height:18px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important}.syh-tool-shell-home:hover{border-color:#9fcfe0!important;color:var(--medipharm-blue)!important}
.syh-tool-shell-search{min-width:0!important;width:100%!important}.syh-tool-shell-search .syh-global-search{width:100%!important}.syh-tool-shell-actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:7px!important}.syh-tool-shell-login,.syh-tool-shell-register,.syh-tool-shell-account{min-height:42px!important;border-radius:12px!important;padding:0 14px!important;font-family:inherit!important;font-size:14px!important;font-weight:800!important;cursor:pointer!important}.syh-tool-shell-login{border:0!important;background:linear-gradient(135deg,var(--medipharm-navy),var(--medipharm-blue))!important;color:#fff!important}.syh-tool-shell-register{display:inline-grid!important;place-items:center!important;border:1px solid var(--syh-tool-line)!important;background:var(--syh-tool-paper)!important;color:var(--medipharm-navy)!important}.syh-tool-shell-account{border:0!important;background:linear-gradient(135deg,var(--medipharm-navy),var(--medipharm-blue))!important;color:#fff!important}
html.syh-tool-shell-active body{padding-top:calc(var(--syh-tool-shell-base-padding,0px) + var(--syh-tool-shell-height,70px))!important}.syh-tool-sticky-offset{top:calc(var(--syh-tool-shell-height,70px) + var(--syh-tool-original-top,0px))!important}.syh-tool-shell .syh-search-panel{z-index:2147482000!important}
html.syh-tool-shell-active {display:none!important}
html.tvm-dark .syh-tool-shell,html.nah-sdp-night-active .syh-tool-shell,html.nah-sdp-dark-mode .syh-tool-shell,html.nah-sdp-night-mode .syh-tool-shell,html.nahmed-dark .syh-tool-shell,body.nahmed-dark .syh-tool-shell{--syh-tool-paper:#0d1b2b;--syh-tool-ink:#eef6fb;--syh-tool-muted:#9bb0bf;--syh-tool-line:#294052;background:rgba(13,27,43,.97)!important;box-shadow:0 12px 34px rgba(0,0,0,.34)!important}.tvm-dark .syh-tool-shell-brand strong,.nah-sdp-night-active .syh-tool-shell-brand strong,.nah-sdp-dark-mode .syh-tool-shell-brand strong,.nah-sdp-night-mode .syh-tool-shell-brand strong,.nahmed-dark .syh-tool-shell-brand strong{color:#78d4df!important}.tvm-dark .syh-tool-shell-register,.nah-sdp-night-active .syh-tool-shell-register,.nah-sdp-dark-mode .syh-tool-shell-register,.nah-sdp-night-mode .syh-tool-shell-register,.nahmed-dark .syh-tool-shell-register{color:#78d4df!important}
html.nahmed-dark .syh-tool-shell,body.nahmed-dark .syh-tool-shell{--medipharm-paper:#0d1b2b;--medipharm-ink:#eef6fb;--medipharm-muted:#9bb0bf;--medipharm-line:#294052}html.nahmed-dark .syh-tool-shell .syh-global-search-form,body.nahmed-dark .syh-tool-shell .syh-global-search-form{background:#0f2032!important}html.nahmed-dark .syh-tool-shell .syh-search-panel,body.nahmed-dark .syh-tool-shell .syh-search-panel{background:#0d1b2b!important}html.nahmed-dark .syh-tool-shell .syh-search-panel-head,body.nahmed-dark .syh-tool-shell .syh-search-panel-head{background:#122438!important}
@media(max-width:900px){.syh-tool-shell-inner{grid-template-columns:auto auto minmax(190px,1fr) auto!important;gap:8px!important}.syh-tool-shell-brand small{display:none!important}.syh-tool-shell-home{width:42px!important;padding:0!important}.syh-tool-shell-home span{display:none!important}.syh-tool-shell-login,.syh-tool-shell-register,.syh-tool-shell-account{padding:0 10px!important}}
@media(max-width:680px){.admin-bar .syh-tool-shell{top:46px!important}.syh-tool-shell-inner{width:calc(100% - 20px)!important;min-height:0!important;grid-template-columns:minmax(0,1fr) 40px auto!important;grid-template-areas:"brand home actions" "search search search"!important;gap:6px 7px!important;padding:6px 0 8px!important}.syh-tool-shell-brand{grid-area:brand!important}.syh-tool-shell-mark{width:37px!important;height:37px!important;flex-basis:37px!important}.syh-tool-shell-brand strong{font-size:14px!important;letter-spacing:.025em!important}.syh-tool-shell-home{grid-area:home!important;width:40px!important;min-height:38px!important;border-radius:10px!important}.syh-tool-shell-actions{grid-area:actions!important;gap:5px!important}.syh-tool-shell-search{grid-area:search!important}.syh-tool-shell-login,.syh-tool-shell-register,.syh-tool-shell-account{min-height:38px!important;border-radius:10px!important;padding:0 9px!important;font-size:14px!important}.syh-tool-shell-account svg{width:17px!important;height:17px!important}.syh-tool-shell-account span{display:none!important}.syh-tool-shell .syh-global-search-form{min-height:45px!important}.syh-tool-shell .syh-global-search-form input[type=search]{height:35px!important}.syh-tool-shell .syh-global-search-form button{height:35px!important}.syh-tool-shell .syh-search-panel{top:var(--syh-sticky-search-top,112px)!important}}
@media(max-width:390px){.syh-tool-shell-brand>span:last-child{display:none!important}.syh-tool-shell-inner{grid-template-columns:minmax(0,1fr) 40px auto!important}.syh-tool-shell-login,.syh-tool-shell-register{padding:0 8px!important;font-size:14px!important}}

/* v0.9.0 — member account security notice */
.syh-security-notice{position:fixed!important;z-index:2147483000!important;top:calc(var(--syh-tool-shell-height,72px) + 10px)!important;right:16px!important;width:min(520px,calc(100vw - 32px))!important;display:grid!important;grid-template-columns:auto minmax(0,1fr) auto!important;align-items:start!important;gap:11px!important;padding:13px 14px!important;border:1px solid #e8c66c!important;border-radius:16px!important;background:#fff9e8!important;color:#49380d!important;box-shadow:0 20px 55px rgba(37,49,62,.22)!important;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Noto Sans","Helvetica Neue",Arial,sans-serif!important}.admin-bar .syh-security-notice{top:calc(var(--syh-tool-shell-height,72px) + 42px)!important}.syh-security-notice.is-error{border-color:#ef9a9a!important;background:#fff1f1!important;color:#6f1f1f!important}.syh-security-notice-icon{width:34px!important;height:34px!important;display:grid!important;place-items:center!important;border-radius:10px!important;background:#f4c84b!important;color:#3e2d00!important;font-size:17px!important;font-weight:900!important}.syh-security-notice.is-error .syh-security-notice-icon{background:#dc3e45!important;color:#fff!important}.syh-security-notice-copy{display:flex!important;min-width:0!important;flex-direction:column!important;gap:4px!important}.syh-security-notice-copy strong{font-size:14px!important;line-height:1.35!important}.syh-security-notice-copy small{font-size:14px!important;line-height:1.5!important}.syh-security-notice button{width:30px!important;height:30px!important;border:0!important;border-radius:9px!important;background:rgba(255,255,255,.72)!important;color:inherit!important;font:700 20px/1 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Noto Sans","Helvetica Neue",Arial,sans-serif!important;cursor:pointer!important}.tvm-dark .syh-security-notice,.nah-sdp-dark-mode .syh-security-notice,.nah-sdp-night-active .syh-security-notice,.nahmed-dark .syh-security-notice{border-color:#806c31!important;background:#2b281a!important;color:#fff1b8!important}.tvm-dark .syh-security-notice.is-error,.nah-sdp-dark-mode .syh-security-notice.is-error,.nah-sdp-night-active .syh-security-notice.is-error,.nahmed-dark .syh-security-notice.is-error{border-color:#7f3c45!important;background:#321d22!important;color:#ffd7dc!important}@media(max-width:680px){.syh-security-notice{top:calc(var(--syh-tool-shell-height,112px) + 8px)!important;right:10px!important;width:calc(100vw - 20px)!important;padding:11px!important;border-radius:14px!important}.admin-bar .syh-security-notice{top:calc(var(--syh-tool-shell-height,112px) + 54px)!important}.syh-security-notice-copy strong{font-size:14px!important}.syh-security-notice-copy small{font-size:14px!important}}

/* v0.9.1 — compatibility-safe tool navigation; no body padding or app DOM rewrite */
.syh-safe-tool-nav{position:fixed!important;z-index:2147481000!important;top:10px!important;right:12px!important;width:min(860px,calc(100vw - 24px))!important;min-height:54px!important;display:grid!important;grid-template-columns:auto auto minmax(240px,1fr) auto auto!important;align-items:center!important;gap:7px!important;padding:6px!important;border:1px solid rgba(159,193,210,.72)!important;border-radius:17px!important;background:rgba(255,255,255,.96)!important;color:#10283f!important;box-shadow:0 14px 42px rgba(6,45,79,.18)!important;backdrop-filter:blur(16px)!important;-webkit-backdrop-filter:blur(16px)!important;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Noto Sans","Helvetica Neue",Arial,sans-serif!important;isolation:isolate!important;transform:none!important;visibility:visible!important;opacity:1!important}.admin-bar .syh-safe-tool-nav{top:42px!important}.syh-safe-tool-nav *{box-sizing:border-box!important}.syh-safe-tool-nav a{text-decoration:none!important}.syh-safe-tool-brand{min-width:0!important;display:flex!important;align-items:center!important;gap:7px!important;color:#063d78!important;font-size:14px!important;font-weight:850!important;letter-spacing:.035em!important;white-space:nowrap!important}.syh-safe-tool-brand img{width:38px!important;height:38px!important;display:block!important;object-fit:contain!important}.syh-safe-tool-home,.syh-safe-tool-account,.syh-safe-tool-register,.syh-safe-tool-login{min-height:40px!important;display:inline-grid!important;place-items:center!important;border:1px solid #d9e6ee!important;border-radius:11px!important;padding:0 11px!important;background:#fff!important;color:#10283f!important;font:800 14px/1.25 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Noto Sans","Helvetica Neue",Arial,sans-serif!important;white-space:nowrap!important;cursor:pointer!important}.syh-safe-tool-login,.syh-safe-tool-account{border-color:transparent!important;background:linear-gradient(135deg,#063d78,#087fc2)!important;color:#fff!important}.syh-safe-tool-search{min-width:0!important}.syh-safe-tool-search .syh-global-search-form{min-height:40px!important;border-radius:11px!important;padding:2px!important;box-shadow:none!important}.syh-safe-tool-search .syh-global-search-form input[type=search]{height:34px!important;font-size:14px!important}.syh-safe-tool-search .syh-global-search-form button{height:34px!important;border-radius:9px!important;padding:0 11px!important;font-size:14px!important}.tvm-dark .syh-safe-tool-nav,.nah-sdp-dark-mode .syh-safe-tool-nav,.nah-sdp-night-active .syh-safe-tool-nav,.nahmed-dark .syh-safe-tool-nav{border-color:#294052!important;background:rgba(13,27,43,.96)!important;color:#eef6fb!important}.tvm-dark .syh-safe-tool-brand,.nah-sdp-dark-mode .syh-safe-tool-brand,.nah-sdp-night-active .syh-safe-tool-brand,.nahmed-dark .syh-safe-tool-brand{color:#78d4df!important}.tvm-dark .syh-safe-tool-home,.tvm-dark .syh-safe-tool-register,.nah-sdp-dark-mode .syh-safe-tool-home,.nah-sdp-dark-mode .syh-safe-tool-register,.nahmed-dark .syh-safe-tool-home,.nahmed-dark .syh-safe-tool-register{border-color:#294052!important;background:#0f2032!important;color:#eef6fb!important}@media(max-width:900px){.syh-safe-tool-brand span{display:none!important}.syh-safe-tool-nav{width:min(700px,calc(100vw - 20px))!important;right:10px!important;grid-template-columns:auto auto minmax(180px,1fr) auto auto!important}}@media(max-width:680px){.syh-safe-tool-nav{top:7px!important;right:7px!important;width:calc(100vw - 14px)!important;grid-template-columns:auto auto minmax(0,1fr) auto!important;grid-template-areas:"brand home account register" "search search search search"!important;gap:5px!important;padding:5px!important;border-radius:14px!important}.admin-bar .syh-safe-tool-nav{top:53px!important}.syh-safe-tool-brand{grid-area:brand!important}.syh-safe-tool-brand img{width:34px!important;height:34px!important}.syh-safe-tool-home{grid-area:home!important}.syh-safe-tool-account,.syh-safe-tool-login{grid-area:account!important}.syh-safe-tool-register{grid-area:register!important}.syh-safe-tool-search{grid-area:search!important}.syh-safe-tool-home,.syh-safe-tool-account,.syh-safe-tool-register,.syh-safe-tool-login{min-height:36px!important;padding:0 8px!important;font-size:14px!important}.syh-safe-tool-search .syh-global-search-form{min-height:41px!important}.syh-safe-tool-search .syh-search-panel{top:96px!important}}

/* v0.10.3 — align standalone tool header with the responsive website canvas */
@media(min-width:1100px){
    .syh-tool-shell-inner{width:min(1520px,calc(100% - 48px))!important}
}

/* v0.11.0 — PWA install UI */
.syh-install-button,.syh-book-install,.syh-reader-install,.syh-mobile-install,.syh-footer-install{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:0 16px;border:1px solid rgba(35,93,184,.16);border-radius:13px;background:linear-gradient(135deg,#fff,#f3f8ff);color:#1f4f9a;font-size:14px;font-weight:760;box-shadow:0 10px 24px rgba(31,79,154,.09)}
.syh-mobile-install,.syh-footer-install{width:100%;justify-content:center}
.syh-book-install,.syh-reader-install{min-height:40px;padding:0 14px;border-radius:12px}
html.nah-sdp-night-active .syh-install-button,html.nah-sdp-night-active .syh-book-install,html.nah-sdp-night-active .syh-reader-install,html.nah-sdp-night-active .syh-mobile-install,html.nah-sdp-night-active .syh-footer-install,html.nah-sdp-dark-mode .syh-install-button,html.nah-sdp-dark-mode .syh-book-install,html.nah-sdp-dark-mode .syh-reader-install,html.nah-sdp-dark-mode .syh-mobile-install,html.nah-sdp-dark-mode .syh-footer-install{border-color:rgba(109,170,255,.18);background:linear-gradient(135deg,#112031,#0d1928);color:#dcecff;box-shadow:none}
.syh-pwa-sheet{position:fixed;inset:0;z-index:9999}.syh-pwa-sheet-backdrop{position:absolute;inset:0;background:rgba(11,23,43,.48);backdrop-filter:blur(6px)}.syh-pwa-sheet-card{position:relative;width:min(92vw,520px);margin:8vh auto 0;padding:24px;border-radius:24px;background:#fff;box-shadow:0 28px 80px rgba(12,31,62,.26)}.syh-pwa-sheet-close{position:absolute;top:14px;right:14px;width:38px;height:38px;border:0;border-radius:12px;background:#eef4fb;color:#244365;font-size:24px}.syh-pwa-sheet-icon{display:grid;place-items:center;width:52px;height:52px;border-radius:17px;background:linear-gradient(135deg,#0f5bd8,#0f96b8);color:#fff;font-size:22px;font-weight:800}.syh-pwa-sheet-card h2{margin:16px 0 8px;color:#12253e;font-size:24px;line-height:1.2}.syh-pwa-sheet-body{margin:0 0 18px;color:#5f7087;font-size:14px;line-height:1.65}.syh-pwa-sheet-hints{display:grid;gap:12px;margin-bottom:18px}.syh-pwa-sheet-hints div{padding:14px 15px;border:1px solid #dde8f2;border-radius:16px;background:#f8fbff}.syh-pwa-sheet-hints strong{display:block;margin-bottom:4px;color:#1d385d;font-size:14px}.syh-pwa-sheet-hints span{display:block;color:#60738e;font-size:14px;line-height:1.6}.syh-pwa-sheet-primary{width:100%;min-height:48px;border:0;border-radius:14px;background:linear-gradient(135deg,#0f5bd8,#1583a8);color:#fff;font-size:14px;font-weight:780}@media(max-width:760px){.syh-pwa-sheet-card{width:min(94vw,520px);margin:4vh auto 0;padding:20px;border-radius:20px}.syh-install-button,.syh-book-install,.syh-reader-install{font-size:14px;padding:0 13px}}

.syh-theme-icon{display:block;width:18px;height:18px;border-radius:50%;background:currentColor;position:relative;overflow:hidden}.syh-theme-icon:after{content:'';position:absolute;width:14px;height:14px;right:-5px;top:2px;border-radius:50%;background:var(--syh-bg,#fff)}.nah-sdp-dark-mode .syh-theme-icon:after,.tvm-dark .syh-theme-icon:after{background:#12243a}

/* v0.52 canonical theme glyph for shell buttons */
.syh-book-theme .syh-theme-icon{background:transparent!important;overflow:visible!important;border-radius:0!important;}
.syh-book-theme .syh-theme-icon:after{display:none!important;content:none!important;}

/* v0.64 — canonical website shell. Standard pages must use this file only. */
:root{
  --syh-ink:#13223a;
  --syh-muted:#607089;
  --syh-line:#dfe8ef;
  --syh-blue:#2563eb;
  --syh-teal:#078f83;
  --syh-violet:#6d49c6;
  --syh-bg:#fff;
  --syh-surface:#fff;
  --syh-shell-max:1480px;
  --syh-shell-gutter:clamp(16px,2.35vw,40px);
}
.syh-shell{width:min(var(--syh-shell-max),calc(100% - var(--syh-shell-gutter) - var(--syh-shell-gutter)));margin-inline:auto;box-sizing:border-box}
.syh-header,.syh-header *,.syh-footer,.syh-footer *{box-sizing:border-box}
.syh-header a,.syh-footer a{text-decoration:none}
.syh-header{position:sticky;z-index:2147480000;top:0;border-bottom:1px solid rgba(213,226,238,.8);background:rgba(255,255,255,.94);backdrop-filter:blur(18px);font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Noto Sans","Helvetica Neue",Arial,sans-serif}
.admin-bar .syh-header{top:32px}
.syh-header-inner{min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:28px}
.syh-brand{display:inline-flex;align-items:center;gap:11px;flex:0 0 auto;color:inherit}
.syh-brand-mark{display:grid;place-items:center;width:40px;height:40px;flex:0 0 40px}
.syh-brand-mark img{width:100%;height:100%;display:block;object-fit:contain}
.syh-brand-copy{display:flex;flex-direction:column;gap:1px;min-width:0}
.syh-brand-copy strong{color:#153f9f;font-size:16px;line-height:1.2;letter-spacing:.06em;white-space:nowrap}
.syh-brand-copy small{color:#61718a;font-size:14px;line-height:1.35;white-space:nowrap}
.syh-header .syh-global-search{flex:1 1 470px;max-width:620px;min-width:260px}
.syh-desktop-nav{display:flex;align-items:center;gap:28px;margin-left:auto;white-space:nowrap}
.syh-desktop-nav a{color:#3f4f65;font-size:14px;font-weight:650}
.syh-desktop-nav a:hover{color:var(--syh-blue)}
.syh-header-actions{display:flex;align-items:center;gap:10px;flex:0 0 auto}
.syh-button{min-height:42px;display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:12px;padding:0 17px;font-size:14px;font-weight:750;font-family:inherit;cursor:pointer}
.syh-button-dark{background:#0f5f97;color:#fff!important;box-shadow:0 8px 18px rgba(20,37,65,.16)}
.syh-header-icon-button{width:42px;height:42px;min-width:42px;display:inline-grid;place-items:center;border:1px solid var(--syh-line);border-radius:12px;background:#fff;color:#16324d;padding:0;cursor:pointer}
.syh-header-icon-button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.syh-theme-toggle>span{display:grid;place-items:center;width:100%;height:100%;font-size:17px;line-height:1}
.syh-menu-toggle{display:none;align-items:center;justify-content:center;flex-direction:column;gap:5px}
.syh-menu-toggle span{width:18px;height:2px;border-radius:3px;background:currentColor}
.syh-mobile-nav{display:none}

.syh-footer{padding:58px 0 20px;background:#fff;color:var(--syh-ink);font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Noto Sans","Helvetica Neue",Arial,sans-serif}
.syh-footer-grid{display:grid;grid-template-columns:minmax(420px,1.8fr) minmax(150px,.6fr) minmax(170px,.6fr);gap:clamp(44px,5vw,84px)}
.syh-footer-grid>div:not(:first-child){display:flex;flex-direction:column;align-items:flex-start;gap:10px}
.syh-footer-grid h3{margin:0 0 7px;color:var(--syh-ink);font-size:14px;line-height:1.35}
.syh-footer-grid a:not(.syh-brand),.syh-footer-grid button{border:0;padding:0;background:none;color:#718097;font:500 14px/1.45 inherit;text-align:left;cursor:pointer}
.syh-footer-grid a:not(.syh-brand):hover,.syh-footer-grid button:hover{color:var(--syh-blue)}
.syh-footer-install{width:auto;min-height:0;box-shadow:none!important}
.syh-footer-bottom{display:flex;justify-content:space-between;align-items:flex-start;gap:28px;margin-top:45px;padding-top:18px;border-top:1px solid #e8edf2;color:#8a96a7;font-size:14px;line-height:1.5}
.syh-footer-bottom span:first-child{flex:0 0 auto}
.syh-footer-bottom span:last-child{max-width:760px;text-align:right}

html.tvm-dark,html.nah-sdp-night-active,html.nah-sdp-dark-mode{
  --syh-bg:#0b1120;--syh-surface:#111827;--syh-ink:#e5e7eb;--syh-muted:#9aa9bc;--syh-line:#28364a;color-scheme:dark;
}
html.tvm-dark .syh-header,html.nah-sdp-night-active .syh-header,html.nah-sdp-dark-mode .syh-header{border-color:var(--syh-line);background:rgba(11,17,32,.94)}
html.tvm-dark .syh-brand-copy strong,html.nah-sdp-night-active .syh-brand-copy strong,html.nah-sdp-dark-mode .syh-brand-copy strong{color:#93c5fd}
html.tvm-dark .syh-brand-copy small,html.tvm-dark .syh-desktop-nav a,html.nah-sdp-night-active .syh-brand-copy small,html.nah-sdp-night-active .syh-desktop-nav a,html.nah-sdp-dark-mode .syh-brand-copy small,html.nah-sdp-dark-mode .syh-desktop-nav a{color:var(--syh-muted)}
html.tvm-dark .syh-header-icon-button,html.nah-sdp-night-active .syh-header-icon-button,html.nah-sdp-dark-mode .syh-header-icon-button{border-color:var(--syh-line);background:var(--syh-surface);color:var(--syh-ink)}
html.tvm-dark .syh-footer,html.nah-sdp-night-active .syh-footer,html.nah-sdp-dark-mode .syh-footer{background:var(--syh-surface);color:var(--syh-ink)}
html.tvm-dark .syh-footer-grid h3,html.nah-sdp-night-active .syh-footer-grid h3,html.nah-sdp-dark-mode .syh-footer-grid h3{color:var(--syh-ink)}
html.tvm-dark .syh-footer-grid a:not(.syh-brand),html.tvm-dark .syh-footer-grid button,html.tvm-dark .syh-footer-bottom,html.nah-sdp-night-active .syh-footer-grid a:not(.syh-brand),html.nah-sdp-night-active .syh-footer-grid button,html.nah-sdp-night-active .syh-footer-bottom,html.nah-sdp-dark-mode .syh-footer-grid a:not(.syh-brand),html.nah-sdp-dark-mode .syh-footer-grid button,html.nah-sdp-dark-mode .syh-footer-bottom{color:var(--syh-muted)}
html.tvm-dark .syh-footer-bottom,html.nah-sdp-night-active .syh-footer-bottom,html.nah-sdp-dark-mode .syh-footer-bottom{border-color:var(--syh-line)}

@media(min-width:721px) and (max-width:1080px){
  .syh-shell{width:calc(100% - 40px);max-width:none}
  .syh-header-inner{gap:14px}.syh-brand-copy{display:none}.syh-header .syh-global-search{min-width:220px;max-width:none}.syh-desktop-nav{gap:16px}.syh-desktop-nav a{font-size:14px}
  .syh-footer-grid{grid-template-columns:1fr 1fr;gap:36px 32px}.syh-footer-grid>div:first-child{grid-column:1/-1}
}
@media(min-width:1180px) and (max-width:1379px){.syh-shell{width:calc(100% - 56px)}}
@media(min-width:1680px){:root{--syh-shell-max:1520px}}
@media(max-width:720px){
  .admin-bar .syh-header{top:46px}
  .syh-shell{width:calc(100% - 24px)}
  .syh-header-inner{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"brand actions" "search search";gap:9px;padding:8px 0 10px;min-height:auto}
  .syh-header .syh-brand{grid-area:brand}.syh-header .syh-brand-copy{display:none}.syh-header .syh-brand-mark{width:38px;height:38px;flex-basis:38px}
  .syh-header .syh-global-search{grid-area:search;width:100%;max-width:none;min-width:0}
  .syh-header-actions{grid-area:actions;justify-self:end;gap:8px}.syh-header-actions>.syh-button{display:inline-flex;min-height:42px;padding:0 14px}.syh-header-actions .syh-install-button{display:none!important}
  .syh-desktop-nav{display:none}.syh-menu-toggle{display:flex}
  .syh-mobile-nav{padding:4px 12px 16px;border-top:1px solid var(--syh-line);background:var(--syh-surface)}.syh-mobile-nav:not([hidden]){display:grid}.syh-mobile-nav a,.syh-mobile-nav button{padding:13px 4px;border:0;border-bottom:1px solid var(--syh-line);background:transparent;color:var(--syh-ink);font-size:14px;font-weight:680;text-align:left}
  .syh-footer{padding:40px 0 calc(20px + env(safe-area-inset-bottom,0px))}.syh-footer-grid{grid-template-columns:1fr;gap:28px}.syh-footer-grid>div:first-child{grid-column:auto}.syh-footer-bottom{display:grid;grid-template-columns:1fr;gap:10px;margin-top:32px}.syh-footer-bottom span:last-child{max-width:none;text-align:left}
}

/* v0.65 UI ownership lock: legacy site shell selectors disabled */
body.syh-shell-canonical-active ,
body.syh-shell-canonical-active ,
body.syh-shell-canonical-active ,
body.syh-shell-canonical-active ,
body.syh-shell-canonical-active {display:none!important}
/* Only canonical components should define site chrome. */

/* v0.69 — Canonical Vietnamese-safe typography contract. */
:root{--med-ui-font-sans:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Noto Sans","Helvetica Neue",Arial,sans-serif;--med-ui-font-min:14px;}
body.syh-superapp-page,.syh-app,.syh-site-header,.syh-header,.syh-footer,.syh-tool-shell,.syh-safe-tool-nav,.syh-security-notice{font-family:var(--med-ui-font-sans)!important;}

/* Canonical reading scale: body 16px, metadata/control floor 14px, mobile fields 16px. */
.syh-app{font-size:16px;line-height:1.55;}
@media(max-width:780px){.syh-app input,.syh-app select,.syh-app textarea,.syh-global-search-form input[type=search]{font-size:16px!important;}}
/* v0.70.6 — Mobile WordPress Admin Bar compatibility.
 * WordPress makes #wpadminbar position:absolute at <=600px, so a sticky
 * site header must not keep the 46px fixed offset after the admin bar
 * scrolls away. On wider logged-in viewports the normal 32/46px offsets
 * remain. Keep the canonical shell below WordPress admin UI. */
.admin-bar .syh-header{z-index:99998}
@media screen and (max-width:600px){
  .admin-bar .syh-header{top:0}
}


/* v0.71.12 — Mobile/Tablet one-line canonical header.
 * <=1080px: Logo > Search > Account state > Menu. Desktop is untouched. */
.syh-header .syh-account-icon{display:none;position:relative;width:22px;height:22px;place-items:center}
.syh-header .syh-account-user-svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.syh-header .syh-account-icon small{position:absolute;right:-7px;bottom:-6px;min-width:17px;height:17px;display:grid;place-items:center;padding:0 2px;border:2px solid #fff;border-radius:999px;background:#0b9ead;color:#fff;font:900 14px/1 var(--med-ui-font-sans,system-ui)}
.syh-header .syh-account-action.is-guest .syh-account-icon small{background:#087fc2}
@media(max-width:1080px){
  .syh-header .syh-shell{width:calc(100% - 24px);max-width:none}
  .syh-header-inner{min-height:58px;display:grid;grid-template-columns:40px minmax(0,1fr) 88px;align-items:center;gap:8px;padding:7px 0}
  .syh-header .syh-brand{grid-column:1;grid-row:1;width:40px;min-width:40px;max-width:40px;overflow:visible}
  .syh-header .syh-brand-mark{width:38px;height:38px;flex:0 0 38px}
  .syh-header .syh-brand-copy{display:none!important}
  .syh-header .syh-header-search{grid-column:2;grid-row:1;width:100%;min-width:0;max-width:none;margin:0}
  .syh-header .syh-global-search-form{min-height:40px;height:40px;grid-template-columns:30px minmax(0,1fr);gap:0;padding:2px 4px;border-radius:12px}
  .syh-header .syh-global-search-form input[type=search]{height:34px!important;padding:0 5px!important;font-size:16px!important}
  .syh-header .syh-global-search-form button[type=submit]{display:none!important}
  .syh-header .syh-search-field-icon svg{width:18px;height:18px}
  .syh-desktop-nav{display:none!important}
  .syh-header-actions{grid-column:3;grid-row:1;display:grid;grid-template-columns:40px 40px;gap:8px;align-items:center;justify-self:end}
  .syh-header-actions .syh-theme-toggle,.syh-header-actions .syh-install-button{display:none!important}
  .syh-header-actions>.syh-account-action{width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;padding:0!important;border-radius:11px;box-shadow:none}
  .syh-header .syh-account-icon{display:grid}
  .syh-header .syh-account-label{display:none!important}
  .syh-header .syh-menu-toggle{display:flex!important;width:40px;height:40px;min-width:40px;border-radius:11px}
  .syh-mobile-nav:not([hidden]){display:grid!important;padding:5px 12px 14px;border-top:1px solid var(--syh-line);background:var(--syh-surface)}
  .syh-mobile-nav a,.syh-mobile-nav button{min-height:44px;padding:12px 6px;border:0;border-bottom:1px solid var(--syh-line);background:transparent;color:var(--syh-ink);font-size:14px;font-weight:700;text-align:left}
}
@media(max-width:430px){
  .syh-header .syh-shell{width:calc(100% - 16px)}
  .syh-header-inner{grid-template-columns:38px minmax(0,1fr) 82px;gap:6px;padding-block:6px}
  .syh-header .syh-brand{width:38px;min-width:38px;max-width:38px}.syh-header .syh-brand-mark{width:36px;height:36px;flex-basis:36px}
  .syh-header-actions{grid-template-columns:38px 38px;gap:6px}.syh-header-actions>.syh-account-action,.syh-header .syh-menu-toggle{width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important}
}
html.tvm-dark .syh-header .syh-account-icon small,html.nah-sdp-night-active .syh-header .syh-account-icon small,html.nah-sdp-dark-mode .syh-header .syh-account-icon small{border-color:#111827}

/* v0.71.15 — desktop navigation density for the six-link canonical menu.
 * Keep the existing desktop shell; only tighten spacing near the <=1080px handoff
 * so Logo > Search > navigation > Account > Dark > Install stays on one row. */
@media(min-width:1081px) and (max-width:1439px){
  .syh-header-inner{gap:clamp(10px,1.1vw,18px)}
  .syh-header .syh-global-search{flex-basis:360px;max-width:500px;min-width:240px}
  .syh-desktop-nav{gap:clamp(12px,1.15vw,18px);margin-left:0}
  .syh-header-actions{gap:8px}
  .syh-header-actions>.syh-account-action{padding-inline:14px}
}


/* v0.71.16 — Compact desktop header + shared overflow Menu.
 * >1080px: Logo > Search > Sách Y học > Công cụ > Tài khoản > Menu.
 * ABG Suite onward, plus theme/install utilities, live inside the Menu panel.
 * <=1080px keeps the accepted one-line mobile/tablet header. */
@media(min-width:1081px){
  .syh-header{overflow:visible}
  .syh-header .syh-desktop-nav{display:flex!important;gap:clamp(16px,1.4vw,24px);margin-left:0}
  .syh-header-actions>.syh-theme-toggle,.syh-header-actions>.syh-install-button{display:none!important}
  .syh-header .syh-menu-toggle{display:flex!important}
  .syh-header .syh-mobile-nav:not([hidden]){
    position:absolute;top:calc(100% + 8px);right:max(16px,calc((100vw - var(--syh-shell-max))/2 + var(--syh-shell-gutter)));
    width:min(320px,calc(100vw - 32px));display:grid!important;padding:8px 12px 12px;
    border:1px solid var(--syh-line);border-radius:16px;background:var(--syh-surface);
    box-shadow:0 18px 52px rgba(15,35,58,.18);overflow:hidden
  }
  .syh-header .syh-mobile-nav .syh-menu-mobile-only{display:none!important}
  .syh-header .syh-mobile-nav a,.syh-header .syh-mobile-nav button{
    min-height:44px;display:flex;align-items:center;width:100%;padding:11px 8px;border:0;border-bottom:1px solid var(--syh-line);
    background:transparent;color:var(--syh-ink);font:700 14px/1.35 var(--med-ui-font-sans,system-ui);text-align:left;text-decoration:none;cursor:pointer
  }
  .syh-header .syh-mobile-nav>*:last-child{border-bottom:0}
  .syh-header .syh-mobile-nav a:hover,.syh-header .syh-mobile-nav button:hover{background:rgba(37,99,235,.07);color:var(--syh-blue)}
}
html.tvm-dark .syh-header .syh-mobile-nav:not([hidden]),html.nah-sdp-night-active .syh-header .syh-mobile-nav:not([hidden]),html.nah-sdp-dark-mode .syh-header .syh-mobile-nav:not([hidden]){box-shadow:0 22px 60px rgba(0,0,0,.36)}


/* v0.71.17 — Anchored compact Menu popover.
 * All breakpoints use a right-aligned floating panel beneath the Menu button;
 * no full-width mobile sheet. The panel remains internally scrollable on
 * short viewports and preserves the accepted one-line header geometry. */
.syh-header{overflow:visible}
.syh-header .syh-mobile-nav:not([hidden]){
  position:absolute!important;
  z-index:2147480200!important;
  top:calc(100% + 8px)!important;
  right:max(12px,calc((100vw - min(var(--syh-shell-max),calc(100vw - 24px)))/2))!important;
  left:auto!important;
  width:min(340px,calc(100vw - 24px))!important;
  max-width:340px!important;
  max-height:min(70dvh,560px)!important;
  display:grid!important;
  gap:2px!important;
  padding:8px!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
  overscroll-behavior:contain!important;
  scrollbar-width:thin;
  border:1px solid color-mix(in srgb,var(--syh-line) 92%,transparent)!important;
  border-radius:18px!important;
  background:color-mix(in srgb,var(--syh-surface) 96%,transparent)!important;
  box-shadow:0 18px 54px rgba(15,35,58,.20),0 2px 8px rgba(15,35,58,.08)!important;
  backdrop-filter:blur(18px) saturate(1.08)!important;
  -webkit-backdrop-filter:blur(18px) saturate(1.08)!important;
}
.syh-header .syh-mobile-nav:not([hidden])::before{
  content:"";
  position:absolute;
  top:-6px;
  right:17px;
  width:10px;
  height:10px;
  transform:rotate(45deg);
  border-left:1px solid var(--syh-line);
  border-top:1px solid var(--syh-line);
  background:var(--syh-surface);
  pointer-events:none;
}
.syh-header .syh-mobile-nav a,.syh-header .syh-mobile-nav button{
  min-height:42px!important;
  margin:0!important;
  padding:9px 11px!important;
  border:0!important;
  border-radius:11px!important;
  background:transparent!important;
  color:var(--syh-ink)!important;
  font:700 14px/1.35 var(--med-ui-font-sans,system-ui)!important;
  text-align:left!important;
  text-decoration:none!important;
  transition:background .16s ease,color .16s ease,transform .16s ease;
}
.syh-header .syh-mobile-nav a:hover,.syh-header .syh-mobile-nav button:hover,
.syh-header .syh-mobile-nav a:focus-visible,.syh-header .syh-mobile-nav button:focus-visible{
  background:rgba(37,99,235,.08)!important;
  color:var(--syh-blue)!important;
  outline:0!important;
}
.syh-header .syh-mobile-nav a:active,.syh-header .syh-mobile-nav button:active{transform:translateY(1px)}
@media(max-width:430px){
  .syh-header .syh-mobile-nav:not([hidden]){
    right:8px!important;
    width:min(320px,calc(100vw - 16px))!important;
    max-width:320px!important;
    max-height:min(68dvh,520px)!important;
  }
}
html.tvm-dark .syh-header .syh-mobile-nav:not([hidden]),
html.nah-sdp-night-active .syh-header .syh-mobile-nav:not([hidden]),
html.nah-sdp-dark-mode .syh-header .syh-mobile-nav:not([hidden]){
  border-color:#2a3b51!important;
  background:rgba(17,24,39,.97)!important;
  box-shadow:0 20px 58px rgba(0,0,0,.42),0 2px 8px rgba(0,0,0,.28)!important;
}
html.tvm-dark .syh-header .syh-mobile-nav:not([hidden])::before,
html.nah-sdp-night-active .syh-header .syh-mobile-nav:not([hidden])::before,
html.nah-sdp-dark-mode .syh-header .syh-mobile-nav:not([hidden])::before{
  border-color:#2a3b51;
  background:#111827;
}


/* v0.71.18 — Gradient Menu popover refinement.
 * Keep the anchored popover geometry but soften the visual treatment with a
 * blue-to-white gradient surface and subtle row dividers. */
.syh-header .syh-mobile-nav:not([hidden]){gap:0!important;padding:10px!important;border-color:#cbddec!important;background:linear-gradient(180deg,rgba(20,101,214,.18) 0%,rgba(72,152,234,.10) 28%,rgba(255,255,255,.97) 100%)!important;box-shadow:0 20px 56px rgba(15,35,58,.18),0 3px 10px rgba(15,35,58,.08)!important}
.syh-header .syh-mobile-nav:not([hidden])::before{border-color:#cbddec!important;background:linear-gradient(135deg,rgba(28,109,217,.22),rgba(255,255,255,.96))!important}
.syh-header .syh-mobile-nav a,.syh-header .syh-mobile-nav button{position:relative!important;padding:11px 12px!important;border-radius:12px!important;border-bottom:1px solid rgba(23,79,145,.10)!important;color:#1d3652!important}
.syh-header .syh-mobile-nav>*:last-child{border-bottom:0!important}
.syh-header .syh-mobile-nav a:hover,.syh-header .syh-mobile-nav button:hover,.syh-header .syh-mobile-nav a:focus-visible,.syh-header .syh-mobile-nav button:focus-visible{background:rgba(255,255,255,.58)!important;color:#0d58b5!important}
html.tvm-dark .syh-header .syh-mobile-nav:not([hidden]),html.nah-sdp-night-active .syh-header .syh-mobile-nav:not([hidden]),html.nah-sdp-dark-mode .syh-header .syh-mobile-nav:not([hidden]){border-color:#2d4660!important;background:linear-gradient(180deg,rgba(17,64,123,.92) 0%,rgba(17,29,43,.96) 34%,rgba(10,16,24,.98) 100%)!important}
html.tvm-dark .syh-header .syh-mobile-nav:not([hidden])::before,html.nah-sdp-night-active .syh-header .syh-mobile-nav:not([hidden])::before,html.nah-sdp-dark-mode .syh-header .syh-mobile-nav:not([hidden])::before{border-color:#2d4660!important;background:linear-gradient(135deg,rgba(20,73,138,.95),rgba(10,16,24,.98))!important}
html.tvm-dark .syh-header .syh-mobile-nav a,html.tvm-dark .syh-header .syh-mobile-nav button,html.nah-sdp-night-active .syh-header .syh-mobile-nav a,html.nah-sdp-night-active .syh-header .syh-mobile-nav button,html.nah-sdp-dark-mode .syh-header .syh-mobile-nav a,html.nah-sdp-dark-mode .syh-header .syh-mobile-nav button{border-bottom-color:rgba(184,214,255,.10)!important;color:#e7f0f8!important}
html.tvm-dark .syh-header .syh-mobile-nav a:hover,html.tvm-dark .syh-header .syh-mobile-nav button:hover,html.tvm-dark .syh-header .syh-mobile-nav a:focus-visible,html.tvm-dark .syh-header .syh-mobile-nav button:focus-visible,html.nah-sdp-night-active .syh-header .syh-mobile-nav a:hover,html.nah-sdp-night-active .syh-header .syh-mobile-nav button:hover,html.nah-sdp-night-active .syh-header .syh-mobile-nav a:focus-visible,html.nah-sdp-night-active .syh-header .syh-mobile-nav button:focus-visible,html.nah-sdp-dark-mode .syh-header .syh-mobile-nav a:hover,html.nah-sdp-dark-mode .syh-header .syh-mobile-nav button:hover,html.nah-sdp-dark-mode .syh-header .syh-mobile-nav a:focus-visible,html.nah-sdp-dark-mode .syh-header .syh-mobile-nav button:focus-visible{background:rgba(255,255,255,.07)!important;color:#7ed2ff!important}


/* v0.71.19 — Opaque menu popover hotfix.
 * The previous gradient used transparency and backdrop blur, which made the
 * dropdown visually see-through on some Android/Chromium builds. Force an
 * opaque surface in both light and dark mode. */
.syh-header .syh-mobile-nav:not([hidden]){
  background:linear-gradient(180deg,#dcecff 0%,#eef6ff 22%,#ffffff 100%)!important;
  opacity:1!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
.syh-header .syh-mobile-nav:not([hidden])::before{
  background:linear-gradient(135deg,#d6e9ff,#f8fbff)!important;
  opacity:1!important;
}
.syh-header .syh-mobile-nav a,
.syh-header .syh-mobile-nav button{
  background:transparent!important;
}
html.tvm-dark .syh-header .syh-mobile-nav:not([hidden]),
html.nah-sdp-night-active .syh-header .syh-mobile-nav:not([hidden]),
html.nah-sdp-dark-mode .syh-header .syh-mobile-nav:not([hidden]){
  background:linear-gradient(180deg,#153d73 0%,#102a46 28%,#0b1726 100%)!important;
  opacity:1!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
html.tvm-dark .syh-header .syh-mobile-nav:not([hidden])::before,
html.nah-sdp-night-active .syh-header .syh-mobile-nav:not([hidden])::before,
html.nah-sdp-dark-mode .syh-header .syh-mobile-nav:not([hidden])::before{
  background:linear-gradient(135deg,#1a4a89,#0f1f31)!important;
  opacity:1!important;
}
