/* 问题反馈弹窗 + 右下角入口：《诊断报告.pen》1:1。令牌：Gray-50 #F7F8FA / 100 #ECEEF2 / 200 #D9DDE5 / 300 #BCC2CE / 400 #949CAA / 500 #6B7485 / 600 #50596B / 900 #171C27；
   Blue-500 #2758FF；Warning-100 #FFF7E8 / 200 #FFE4BA / 700 #D25F00；Success-100 #E8FFEA / 700 #009A29。 */
.gm-fb-shell.site-modal{display:none}
.gm-fb-shell.site-modal.is-open{display:block;position:fixed;inset:0;z-index:1320}
.gm-fb-shell .gm-fb-overlay{position:fixed;inset:0;z-index:1320;display:flex;align-items:center;justify-content:center;padding:24px;background:rgba(16,24,40,.4)}
.gm-fb{outline:none;position:relative;box-sizing:border-box;width:600px;max-width:100%;max-height:calc(100vh - 48px);margin:0;padding:24px;border-radius:20px;background:#fff;display:flex;flex-direction:column;gap:8px;overflow-y:auto;scrollbar-width:thin;font-family:"PingFang SC","Noto Sans SC","Hiragino Sans GB","Microsoft YaHei",-apple-system,BlinkMacSystemFont,sans-serif;font-size:14px;line-height:1.5;color:#171C27;text-align:left}
.gm-fb__head{display:flex;align-items:center;justify-content:space-between}
.gm-fb__title{margin:0;font-size:16px;font-weight:600;line-height:1.5;color:#171C27}
.gm-fb__close{display:inline-flex;width:20px;height:20px;padding:0;border:0;background:none;color:#6B7485;cursor:pointer}
.gm-fb__close svg{width:20px;height:20px}
.gm-fb__close:hover{color:#171C27}
.gm-fb__body{display:flex;flex-direction:column;gap:20px}
.gm-fb__note{margin:0;font-size:12px;line-height:1.5;color:#6B7485}
.gm-fb__reward{box-sizing:border-box;display:flex;align-items:center;gap:12px;height:76px;padding:12px 24px 12px 16px;border:1px solid #FFE4BA;border-radius:16px;background:#FFF7E8}
.gm-fb__reward-ic{display:inline-flex;align-items:center;justify-content:center;flex:0 0 40px;width:40px;height:40px;border-radius:50%;background:#FFE4BA;color:#D25F00}
.gm-fb__reward-ic svg{width:20px;height:20px}
.gm-fb__reward-text{display:flex;flex-direction:column;gap:4px;min-width:0}
.gm-fb__reward-text strong{font-size:12px;font-weight:600;line-height:20px;color:#D25F00}
.gm-fb__reward-text span{font-size:10px;line-height:1.5;color:#D25F00}
.gm-fb__row{display:flex;gap:16px}
.gm-fb__row>.gm-fb__field{flex:1;min-width:0}
.gm-fb__field{display:flex;flex-direction:column;gap:8px}
.gm-fb__label{display:inline-flex;align-items:center;gap:4px;font-size:14px;font-weight:600;line-height:1.5;color:#171C27}
.gm-fb__label i{font-style:normal;font-weight:400;color:#D92D20}
.gm-fb__select{position:relative;display:block}
.gm-fb__select select{box-sizing:border-box;width:100%;height:32px;padding:5px 34px 5px 12px;border:0;border-radius:8px;background:#ECEEF2;font:inherit;font-size:14px;line-height:22px;color:#171C27;appearance:none;-webkit-appearance:none;cursor:pointer}
.gm-fb__select select:focus-visible{outline:2px solid #2758FF;outline-offset:1px}
.gm-fb__select::after{content:"";position:absolute;right:12px;top:9px;width:14px;height:14px;pointer-events:none;background:no-repeat center/14px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2350596B' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")}
.gm-fb__types{display:flex;gap:8px}
.gm-fb__types label{flex:1;min-width:0;position:relative}
.gm-fb__types input{position:absolute;opacity:0;width:0;height:0;margin:0}
.gm-fb__types span{box-sizing:border-box;display:flex;align-items:center;justify-content:center;height:32px;min-width:80px;padding:5px 12px;border-radius:8px;background:#ECEEF2;font-size:14px;font-weight:600;line-height:1;color:#171C27;white-space:nowrap;cursor:pointer;transition:background-color .15s ease-out,color .15s ease-out}
.gm-fb__types label:nth-child(4){flex:0 0 118px}
.gm-fb__types span:hover{background:#D9DDE5}
.gm-fb__types input:checked+span{background:#2758FF;color:#fff}
.gm-fb__types input:focus-visible+span{outline:2px solid #2758FF;outline-offset:2px}
.gm-fb__desc{box-sizing:border-box;display:flex;flex-direction:column;justify-content:space-between;height:140px;padding:12px 12px 8px;border:1px solid transparent;border-radius:10px;background:#F7F8FA}
.gm-fb__desc:focus-within{border-color:#2758FF}
.gm-fb__desc textarea{flex:1;width:100%;padding:0;border:0;background:none;resize:none;font:inherit;font-size:14px;line-height:1.6;color:#171C27;outline:none}
.gm-fb__desc textarea::placeholder{color:#949CAA}
.gm-fb__count{align-self:flex-end;font-size:12px;line-height:1.5;color:#6B7485;font-variant-numeric:tabular-nums}
.gm-fb__upload{display:flex;flex-direction:column;gap:16px}
.gm-fb__upload-head{display:flex;flex-direction:column;gap:8px}
.gm-fb__hint{font-size:12px;line-height:1.5;color:#6B7485}
.gm-fb__files{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.gm-fb__add{box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;width:80px;height:80px;border-radius:10px;background:#F7F8FA;color:#6B7485;font-size:12px;line-height:1.5;cursor:pointer}
.gm-fb__add:hover{background:#ECEEF2}
.gm-fb__add input{position:absolute;opacity:0;width:0;height:0}
.gm-fb__add svg{width:20px;height:20px}
.gm-fb__add[hidden]{display:none}
.gm-fb__img{position:relative;box-sizing:border-box;width:80px;height:80px;border:1px solid #D9DDE5;border-radius:10px;overflow:visible}
.gm-fb__img img{display:block;width:100%;height:100%;border-radius:9px;object-fit:cover}
.gm-fb__img-remove{position:absolute;top:-6px;right:-6px;display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;padding:0;border:0;border-radius:50%;background:#252C3A;color:#fff;cursor:pointer}
.gm-fb__img-remove svg{width:12px;height:12px}
.gm-fb__error{min-height:0;font-size:12px;line-height:1.5;color:#D92D20}
.gm-fb__error:empty{display:none}
.gm-fb__foot{display:flex;align-items:center;justify-content:flex-end;gap:12px;padding-top:8px}
.gm-fb__btn{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;height:32px;min-width:80px;padding:5px 12px;border:0;border-radius:8px;font:inherit;font-size:14px;font-weight:600;line-height:1;cursor:pointer;transition:background-color .15s ease-out}
.gm-fb__btn--weak{background:#ECEEF2;color:#171C27}
.gm-fb__btn--weak:hover{background:#D9DDE5}
.gm-fb__btn--primary{background:#2758FF;color:#fff}
.gm-fb__btn--primary:hover{background:#2048DB}
.gm-fb__btn--primary:disabled{background:#BCC2CE;color:#fff;cursor:not-allowed}
/* 成功 Toast（设计系统 Toast / Success）：Success-100 底、圆角 12、内边距 16/20、16px 成功图标 + 14/500 文案、大阴影 */
.gm-fb-toast{padding:0;background:none;box-shadow:none}
.gm-fb-toast__body{display:inline-flex;align-items:center;gap:8px;padding:16px 20px;border-radius:12px;background:#E8FFEA;box-shadow:0 1px 4px 0 rgba(13,17,26,.08),0 6px 16px -2px rgba(13,17,26,.1),0 16px 36px -4px rgba(13,17,26,.08);font-family:"PingFang SC","Noto Sans SC",sans-serif;font-size:14px;font-weight:600;color:#171C27}
.gm-fb-toast__ic{display:inline-flex;width:16px;height:16px;border-radius:50%;background:#009A29;color:#fff;align-items:center;justify-content:center}
.gm-fb-toast__ic svg{width:10px;height:10px}
/* 右下角入口：48 圆形白底 0.5px Gray-200 描边 + 中阴影，距右 16 / 距底 49；悬停展开为 107×48 胶囊露出文字 */
.gm-fb-entry{position:fixed;right:16px;bottom:49px;z-index:1000;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:flex-start;gap:0;width:48px;height:48px;padding:0 13px;border:.5px solid #D9DDE5;border-radius:36px;background:#fff;color:#50596B;box-shadow:0 1px 3px 0 rgba(36,59,112,.04),0 4px 12px -2px rgba(36,59,112,.06),0 8px 28px -3px rgba(36,59,112,.05);cursor:pointer;overflow:hidden;transition:width .18s ease-out}
.gm-fb-entry svg{flex-shrink:0;width:20px;height:20px}
.gm-fb-entry span{display:block;opacity:0;margin-left:8px;transition:opacity .18s ease-out;font-family:"PingFang SC","Noto Sans SC",sans-serif;font-size:12px;font-weight:600;line-height:1;white-space:nowrap}
.gm-fb-entry:hover,.gm-fb-entry:focus-visible{width:107px}
.gm-fb-entry:hover span,.gm-fb-entry:focus-visible span{opacity:1}
.gm-fb-entry:focus-visible{outline:2px solid #2758FF;outline-offset:2px}
