#gbs-feedback-tab{position:fixed;right:max(0px,calc((100vw - 430px)/2));bottom:calc(var(--nav-h,64px) + 30px + env(safe-area-inset-bottom));z-index:105;width:36px;min-height:84px;padding:10px 6px;border:0;border-radius:14px 0 0 14px;background:var(--navy,#0d1545);color:#fff;box-shadow:0 3px 12px #0d154530;display:flex;align-items:center;flex-direction:column;gap:6px;cursor:pointer;font-family:inherit;font-size:14px;font-weight:600;line-height:1.3}
#gbs-feedback-tab[hidden]{display:none!important}
#gbs-feedback-tab svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7}
#gbs-feedback-tab span{writing-mode:vertical-rl;letter-spacing:3px}
#gbs-feedback-tab:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
#gbs-feedback-dialog{position:fixed;inset:auto 0 0;margin:0 auto;width:min(100%,430px);max-width:430px;max-height:calc(100dvh - 24px);padding:22px 20px calc(20px + env(safe-area-inset-bottom));border:0;border-radius:22px 22px 0 0;background:var(--card,#fff);color:var(--text1,#0d1545);box-shadow:0 -8px 36px #0d154526;overflow-y:auto;overscroll-behavior:contain;font-family:inherit}
#gbs-feedback-dialog::backdrop{background:#0d154580}
#gbs-feedback-dialog header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:18px}
#gbs-feedback-dialog h2{font-size:20px;line-height:1.5}
#gf-close{flex-shrink:0;border:0;background:transparent;color:var(--navy);width:44px;height:44px;font-size:30px;cursor:pointer}
#gbs-feedback-dialog label{display:block;font-size:15px;margin-bottom:10px}
#gf-body{display:block;resize:vertical;width:100%;min-height:135px;max-height:35dvh;padding:14px;border:1px solid var(--border,#d6e8ee);border-radius:12px;background:#f7f9fc;color:var(--text1);font-family:inherit;font-size:16px;line-height:1.65}
#gf-body:focus{outline:2px solid var(--accent,#018abe);outline-offset:1px}
#gf-count{text-align:right;font-size:12px;color:var(--text2);margin-top:5px}
.gf-note{font-size:13px;line-height:1.65;color:var(--text2,#6b7ba4);margin:9px 0}
#gf-submit{width:100%;min-height:48px;padding:12px;border:0;border-radius:12px;background:var(--navy);color:#fff;font-size:16px;font-weight:700;cursor:pointer}
#gf-submit:disabled{opacity:.6;cursor:wait}
#gf-result{font-size:14px;line-height:1.65;margin:10px 0;white-space:pre-wrap;overflow-wrap:anywhere}
#gbs-feedback-dialog details{margin-top:16px;padding-top:12px;border-top:1px solid var(--border);font-size:13px}
#gbs-feedback-dialog summary{cursor:pointer;padding:8px 0}
#gf-history article{padding:12px 0;border-bottom:1px solid var(--border)}
#gf-history b{font-size:12px;font-weight:500;color:var(--text2)}
#gf-history p{margin-top:7px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6}
@media(max-height:500px){#gbs-feedback-dialog{padding-top:10px}#gbs-feedback-dialog header{margin-bottom:8px}#gf-body{min-height:80px}}
@media print{#gbs-feedback-tab,#gbs-feedback-dialog{display:none!important}}
