/* V12: shared report shortcut and discreet feedback entry. */
#history-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:9px 17px;min-height:44px;border-radius:999px;background:linear-gradient(115deg,#a565f3,#8549e3);color:#fff;font-size:14px;font-weight:600;white-space:nowrap;box-shadow:0 5px 18px #8951e81a}
#history-btn:hover{color:#fff;background:linear-gradient(115deg,#995be8,#7940d6)}
#history-btn svg{width:19px;height:19px;flex-shrink:0}
.gf-entry{position:fixed;right:7px;top:clamp(140px,22vh,190px);z-index:110;width:29px;height:88px;min-height:88px;padding:8px 5px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:6px;border:1px solid #e9e9ef;border-radius:999px;background:#f5f5f7ed;color:#858898;box-shadow:0 3px 12px #34344b09;line-height:1.2;touch-action:manipulation}
.gf-entry:before{content:'';position:absolute;inset:-3px -5px -3px -10px}
.gf-entry svg{width:14px;height:14px;flex-shrink:0;pointer-events:none}
.gf-entry>span{writing-mode:vertical-rl;text-orientation:upright;font-size:10px;letter-spacing:1px;pointer-events:none}
.gf-entry:hover{background:#eeeef3;color:#6e7184}
.gf-entry:focus-visible{outline:2px solid #a996ce;outline-offset:2px}
.gf-entry[hidden],.gf-overlay[hidden]{display:none!important}
.gf-overlay{position:fixed;inset:0;z-index:220;display:flex;align-items:center;justify-content:center;padding:18px;background:#1f302b59;backdrop-filter:blur(4px);overscroll-behavior:contain}
.gf-dialog{position:relative;width:100%;max-width:440px;max-height:calc(100dvh - 36px);overflow-y:auto;overscroll-behavior:contain;background:#fff;border-radius:23px;padding:28px 24px 22px;box-shadow:0 20px 70px #15251b26;text-align:left;line-height:1.6}
.gf-dialog button:focus-visible{outline-color:#79c99b;outline-offset:2px}
.gf-close{position:absolute;right:8px;top:7px;width:44px;height:44px;background:transparent;color:#83918a;font-size:27px;border-radius:50%}
.gf-kicker{color:#27945b;font-size:10px;font-weight:600;letter-spacing:2px;margin-bottom:6px}
.gf-dialog h2{font-size:22px;color:#27382f;font-weight:650;margin:0 38px 8px 0}
.gf-intro{font-size:12px;color:#7b857f;line-height:1.8;margin:0 0 19px}
.gf-field{display:block;margin:14px 0;color:#405448;font-size:12px;font-weight:500}
.gf-field>span{display:block;margin-bottom:7px}
.gf-field small{display:inline;font-weight:400;color:#96a199;margin-left:5px;font-size:11px}
.gf-field select,.gf-field textarea,.gf-field input{display:block;width:100%;border:1px solid #dde8e1;border-radius:11px;background:#fbfdfb;color:#35473c;font:inherit;font-size:16px;padding:11px 12px;outline:none;line-height:1.6}
.gf-field select{min-height:46px}
.gf-field textarea{resize:vertical;min-height:116px;max-height:220px}
.gf-field input{min-height:46px}
.gf-field select:focus,.gf-field textarea:focus,.gf-field input:focus{border-color:#60bd87;box-shadow:0 0 0 3px #07c16010}
.gf-counter{text-align:right;font-size:10px;color:#9aa69e;margin-top:-10px;font-weight:400}
.gf-submit,.gf-done{display:flex;align-items:center;justify-content:center;width:100%;min-height:50px;border-radius:13px;background:#07b857;color:#fff;font-size:15px;font-weight:600;margin-top:16px}
.gf-submit:disabled{opacity:.6;cursor:wait}
.gf-note{color:#96a098;font-size:10px;line-height:1.7;text-align:center;margin-top:10px}
.gf-status{font-size:12px;color:#b45747;line-height:1.7;margin:10px 0 0;min-height:0}
.gf-success{text-align:center;padding:16px 0 6px}
.gf-success>svg{width:46px;height:46px;color:#07b857;background:#e9f8ef;padding:11px;border-radius:50%;margin-bottom:15px}
.gf-success h3{font-size:20px;color:#304437;margin-bottom:8px}
.gf-success p{font-size:12px;color:#7f8b82;line-height:1.9}
.gf-ticket{display:block;color:#5a7463;font-size:11px;margin-top:10px;overflow-wrap:anywhere}
.gf-open{overflow:hidden}
@media(max-width:700px){#history-btn{font-size:12px;min-height:40px;padding:8px 13px;gap:6px}#history-btn svg{width:17px;height:17px}.topbar{gap:10px}.gf-dialog{padding:26px 20px 20px}}
@media(max-width:350px){#history-btn{font-size:11px;padding:8px 11px}.gf-entry{width:27px;height:86px;min-height:86px}.gf-entry>span{font-size:10px}.gf-overlay{padding:12px}.gf-dialog{max-height:calc(100dvh - 24px)}}
@media(max-height:500px){.gf-entry{top:96px}.gf-dialog{padding-top:22px}.gf-field{margin:11px 0}}
@media print{.gf-entry,.gf-overlay{display:none!important}}

/* V13: the feedback entry is available on the homepage only. */
body:not([data-screen="home"]) .gf-entry{display:none!important}
