.gg-table-card table{min-width:760px}.gg-history-row{cursor:pointer}.gg-history-row:hover{background:#fafaff}.gg-history-row:focus{outline:2px solid #c8c4ff;outline-offset:-2px}.gg-history-row td{vertical-align:middle}.gg-history-row td:first-child strong{display:block;color:#18202e;font-size:11px}.gg-history-row td:first-child small{display:block;color:#8a93a1;font-size:9px;margin-top:4px}.gg-history-status{display:inline-flex;border-radius:99px;padding:5px 8px;font-size:9px;font-weight:800}.gg-history-status.completed{background:#eaf8ef;color:#18733a}.gg-history-status.failed{background:#fff0f0;color:#b42318}.gg-history-open{border:1px solid #ddd9ff;background:#f7f6ff;color:#5148d9;border-radius:8px;padding:7px 9px;font-size:9px;font-weight:800;cursor:pointer}.gg-history-open:hover{background:#eeecff}.gg-history-empty{text-align:center!important;color:#8b93a0;padding:28px!important}.gg-history-modal{position:fixed;inset:0;z-index:99999;display:flex;align-items:center;justify-content:center;padding:24px;box-sizing:border-box}.gg-history-modal.hide{display:none!important}.gg-history-backdrop{position:absolute;inset:0;background:rgba(8,15,30,.55);backdrop-filter:blur(4px)}.gg-history-dialog{position:relative;z-index:1;width:min(820px,100%);max-height:min(88vh,900px);overflow:auto;background:#f6f7fb;border-radius:20px;box-shadow:0 28px 90px rgba(0,0,0,.25);padding:25px}.gg-history-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:18px}.gg-history-dialog-head h2{margin:7px 0 4px;font-size:24px;letter-spacing:-.6px;color:#111827}.gg-history-dialog-head p{margin:0;color:#7b8491;font-size:11px}.gg-history-close{width:34px;height:34px;border:1px solid #e0e3e9;background:#fff;border-radius:50%;font-size:22px;line-height:1;cursor:pointer;color:#4b5563}.gg-history-detail-body h3{font-size:14px;margin:22px 0 9px;color:#18202e}.gg-history-score{background:linear-gradient(115deg,#111827,#222b46);color:#fff;border-radius:14px;padding:20px}.gg-history-score small{display:block;color:#aab4c7;font-size:9px;letter-spacing:1.1px}.gg-history-score strong{display:block;font-size:38px;line-height:1;margin-top:8px}.gg-history-output{background:#fff;border:1px solid #e6e8ee;border-radius:12px;padding:14px;margin:9px 0;color:#313a49;font-size:12px;line-height:1.65}.gg-history-output-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:7px}.gg-history-output-head b{font-size:10px;color:#18202e}.gg-history-output-head button{border:1px solid #dfe3e9;background:#fff;border-radius:8px;padding:6px 9px;font-size:9px;font-weight:800;cursor:pointer}.gg-history-kws{display:flex;flex-wrap:wrap;gap:7px}.gg-history-kws span{background:#fff;border:1px solid #e7e9ed;padding:6px 9px;border-radius:99px;font-size:10px;color:#414b5a}.gg-history-detail-body ul{margin:8px 0 0;padding-left:19px;color:#505b6b;font-size:12px;line-height:1.65}.gg-history-faq details{background:#fff;border:1px solid #e6e8ee;border-radius:10px;margin:7px 0;padding:11px 13px}.gg-history-faq summary{cursor:pointer;font-size:11px;font-weight:800;color:#303a4a}.gg-history-faq p{font-size:11px;line-height:1.6;color:#657080;margin:9px 0 0}.gg-history-muted,.gg-history-loading{color:#7b8491;font-size:11px}.gg-history-alert{background:#fff1f1;border:1px solid #ffd4d4;color:#a32929;border-radius:12px;padding:15px;font-size:11px;line-height:1.55}.gg-history-lock{overflow:hidden}@media(max-width:600px){.gg-history-modal{padding:10px}.gg-history-dialog{border-radius:16px;padding:18px;max-height:94vh}.gg-history-dialog-head h2{font-size:20px}.gg-history-open{padding:6px 8px}.gg-table-card{padding:12px}}

/* v1.0.1 detail polish */
.gg-history-score{display:flex;align-items:center;justify-content:space-between;gap:18px}
.gg-history-score strong{font-size:40px}
.gg-history-score span{display:block;color:#c9d2e3;font-size:10px;margin-top:6px}
.gg-history-score-actions{display:flex;gap:7px;flex-wrap:wrap}
.gg-history-score-actions button{border:1px solid rgba(255,255,255,.2);background:rgba(255,255,255,.08);color:#fff;border-radius:8px;padding:8px 11px;font-size:9px;font-weight:800;cursor:pointer}
.gg-history-score-actions button:hover{background:rgba(255,255,255,.16)}
.gg-history-summary{display:flex;align-items:center;justify-content:space-between;gap:16px;background:#fff;border:1px solid #e6e8ee;border-radius:12px;padding:12px 14px;margin-top:12px}
.gg-history-summary b{font-size:10px;color:#18202e}
.gg-history-summary span{font-size:10px;color:#687386;text-align:right}
@media(max-width:600px){
  .gg-history-score{align-items:flex-start;flex-direction:column}
  .gg-history-score-actions{width:100%}
  .gg-history-score-actions button{flex:1}
  .gg-history-summary{align-items:flex-start;flex-direction:column}
  .gg-history-summary span{text-align:left}
}

/* v1.0.2 history table alignment */
#page-history .gg-table-card{overflow-x:auto}
#page-history table{min-width:760px;width:100%}
#page-history th:last-child,#page-history td:last-child{text-align:right;white-space:nowrap}
.gg-history-open{border:1px solid #dfe3ea;background:#fff;color:#18202e;border-radius:8px;padding:7px 10px;font-size:10px;font-weight:800;cursor:pointer}
.gg-history-open:hover{background:#f7f6ff;border-color:#c8c4ff}
.gg-history-row{cursor:pointer}
.gg-history-row:focus-visible{outline:2px solid #8177ff;outline-offset:-2px}
.gg-history-row td{vertical-align:middle}
