:root{--site-header-height:56px}
.site-header{position:fixed;inset:0 0 auto;z-index:40;height:var(--site-header-height);display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 22px;background:#fff;border-bottom:1px solid #eceef1}
.site-brand{display:flex;align-items:center;gap:9px;min-width:0;font-size:15px;white-space:nowrap}.site-brand strong{font-weight:600}.site-brand .brand-symbol{width:30px;height:30px;border-radius:8px}.site-brand .icon{width:17px;height:17px}
.site-header-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}.site-header-actions button{height:32px;min-height:32px;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:0 10px;border:1px solid #e6e9ed;border-radius:7px;font-size:12px;white-space:nowrap}.site-header-actions .icon{width:15px;height:15px}
body:has(>.site-header)>.navigation{top:var(--site-header-height);padding-top:18px}body:has(>.site-header)>.workspace{height:calc(100dvh - var(--site-header-height));margin-top:var(--site-header-height)}
body:has(>.site-header) .app-header{height:44px}
.site-help-dialog{width:min(420px,calc(100vw - 32px));padding:22px}.site-help-dialog>header{margin-bottom:16px}.site-help-dialog p{font-size:13px;line-height:1.8;color:#7d8590}.site-help-dialog .help-contact{padding:12px 14px;background:#f6f7f9;border:1px solid #eceef1;border-radius:8px;margin-top:14px}.site-help-dialog .help-contact>span{display:block;color:#8b919a;font-size:12px}.site-help-dialog .help-contact>strong{font-size:15px;display:block;overflow-wrap:anywhere;margin:5px 0 10px}.site-help-dialog .help-status{font-size:12px;min-height:18px;margin-top:7px}.site-help-dialog .dialog-actions{margin-top:18px}
.site-header-actions{position:relative}
.site-header-actions>a{height:32px;min-height:32px;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:0 10px;border:1px solid #e6e9ed;border-radius:7px;font-size:12px;white-space:nowrap;background:#fff;color:#68727f;text-decoration:none;cursor:pointer}
.site-header-actions>a:hover{background:#f5f6f8;border-color:#cbd1d9;color:#303843}
.site-support{position:relative;display:flex;align-items:center}
.site-support-popover{position:absolute;right:0;top:calc(100% + 12px);width:244px;padding:18px;background:#fff;border:1px solid #e6e9ed;border-radius:16px;box-shadow:0 12px 36px #22242612,0 2px 6px #22242605;text-align:center;z-index:50;box-sizing:border-box}
.site-support-popover::before{content:"";position:absolute;bottom:100%;left:0;right:0;height:12px}
.site-support-popover[hidden],.site-tutorial-notice[hidden]{display:none}
.site-support-popover .support-qr-heading{display:flex;align-items:center;gap:9px;margin-bottom:15px;text-align:left}
.support-qr-heading strong{font-size:14px;font-weight:600;line-height:1.5;color:#25272b}
.support-qr-symbol{width:28px;height:28px;display:grid;place-items:center;flex:none;background:#f2f7df;border-radius:8px;color:#71852b}
.site-header-actions .support-qr-symbol .icon{width:16px;height:16px}
.support-qr-frame{display:grid;place-items:center;aspect-ratio:1;width:100%;padding:10px;border:1px solid #edf0f3;border-radius:10px;box-sizing:border-box;background:#fff;overflow:hidden}
.site-support-popover .support-qr-frame img{display:block;width:100%;height:100%;min-height:0;object-fit:contain;background:#fff}
.support-qr-status{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:13px;align-self:stretch;justify-self:stretch;background:#f8f9fa;border-radius:6px;padding:12px;color:#8b919a}
.site-header-actions .support-qr-status .icon{width:30px;height:30px;color:#aab1b9}
.support-qr-status>span{font-size:12px;line-height:1.7;white-space:normal}
.site-support-popover .support-qr-caption{margin:13px 0 0;font-size:12px;line-height:1.7;color:#68727f}
.support-qr-caption[data-empty=true]{visibility:hidden}
.site-tutorial-notice{position:absolute;right:0;top:calc(100% + 10px);padding:9px 13px;border:1px solid #e6e9ed;border-radius:8px;background:#fff;color:#68727f;font-size:12px;white-space:nowrap;box-shadow:0 6px 20px #2224260d}
@media(max-width:650px){.site-header{padding:0 13px;gap:9px}.site-brand{font-size:13px;gap:7px}.site-header-actions{gap:5px}.site-header-actions :is(button,a){font-size:11px;padding:0 7px;gap:4px}.site-header-actions .icon{width:14px;height:14px}.site-header-actions button .icon{display:block}.site-support-popover{right:-34px}}
