/* Scoped member surface. Existing homepage product and globe styling stays authoritative. */
.ztc-knowledge-entry{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 14px;border:1px solid currentColor;border-radius:24px;font:600 14px/1.4 var(--ztc-sans);color:inherit;white-space:nowrap;text-decoration:none}
.ztc-knowledge-entry:hover{color:var(--ztc-action);background:var(--ztc-white)}
.ztc-member-strip[hidden],.ztc-knowledge-host [hidden]{display:none!important}
.ztc-member-strip{position:fixed;inset:0 0 auto;z-index:111;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;padding:0 max(24px,calc((100vw - 1320px)/2));background:var(--ztc-surface-inverse-deep,#15283a);color:var(--ztc-white);font:400 13px/1.5 var(--ztc-sans)}
.ztc-member-strip>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ztc-member-strip strong{font-weight:500;margin-left:12px}.ztc-member-strip nav{display:flex;gap:20px;flex:none}.ztc-member-strip a{display:inline-flex;align-items:center;min-height:44px;color:inherit;text-decoration:none}
html.ztc-has-member-strip{--ztc-shell-header-inset-top:54px}
.ztc-knowledge-launch{position:fixed;right:max(26px,env(safe-area-inset-right));bottom:var(--ztc-knowledge-dock-bottom,205px);z-index:91;display:flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:10px 16px;border:1px solid var(--ztc-border);border-radius:26px;background:var(--ztc-white);color:var(--ztc-action);font:600 14px/1.5 var(--ztc-sans);box-shadow:var(--ztc-shadow-hover);text-decoration:none}
.ztc-knowledge-launch span{display:flex}.ztc-knowledge-launch:hover{background:var(--ztc-tint-info-bg)}
.ztc-knowledge-dialog{box-sizing:border-box;position:fixed;inset:auto 24px 24px auto;width:min(460px,calc(100vw - 32px));height:min(720px,calc(100dvh - 48px));max-height:calc(100dvh - 32px);padding:0;margin:0;border:1px solid var(--ztc-border);border-radius:22px;background:var(--ztc-white);color:var(--ztc-text);box-shadow:var(--ztc-shadow-panel);overflow:hidden}
.ztc-knowledge-dialog[open]{display:flex;flex-direction:column}.ztc-knowledge-dialog::backdrop{background:color-mix(in srgb,var(--ztc-surface-inverse-deep) 24%,transparent)}
.ztc-knowledge-dialog-head{display:flex;align-items:center;justify-content:space-between;min-height:54px;padding:4px 14px 4px 22px;border-bottom:1px solid var(--ztc-border);font:600 15px/1.5 var(--ztc-sans)}
.ztc-knowledge-dialog-head button{width:44px;height:44px;border:0;border-radius:22px;background:transparent;color:var(--ztc-text);font-size:26px;cursor:pointer}
.ztc-knowledge-dialog iframe{width:100%;flex:1;min-height:0;border:0;background:var(--ztc-white)}
.ztc-knowledge-dialog [data-knowledge-fallback]{position:absolute;top:70px;left:22px;right:22px;font:400 15px/1.8 var(--ztc-sans);background:var(--ztc-white);padding:14px}.ztc-knowledge-dialog [data-knowledge-fallback] a{display:block;color:var(--ztc-action);min-height:44px}
.ztc-knowledge-host a:focus-visible,.ztc-knowledge-host button:focus-visible,.ztc-member-strip a:focus-visible,.ztc-knowledge-entry:focus-visible{outline:2px solid var(--ztc-action);outline-offset:3px}
@media(max-width:1200px) and (min-width:1101px){.ztc-knowledge-entry{padding:8px;font-size:13px}.ztc-header-right{gap:10px}}
@media(max-width:1100px){.ztc-knowledge-entry{min-height:44px;padding:8px 13px}.ztc-member-strip{padding:0 16px;font-size:12px}.ztc-member-strip nav{gap:12px}.ztc-member-strip strong{display:none}.ztc-knowledge-launch{right:16px;bottom:var(--ztc-knowledge-dock-bottom,86px);padding:9px 14px}.ztc-knowledge-dialog{inset:auto 8px 8px;width:calc(100vw - 16px);height:calc(100dvh - 24px);max-height:none;border-radius:18px}}
@media print{.ztc-knowledge-host,.ztc-member-strip,.ztc-knowledge-entry{display:none!important}}
