#gtList li{margin:0}
#gtList button{display:flex;align-items:center;gap:9px;width:100%;min-height:44px;padding:5px 10px;border:1px solid transparent;border-radius:8px;background:#141120;color:#fff;font:inherit;text-align:left;cursor:pointer}
#gtList button[aria-pressed=true]{border-color:#f6cd63}
.gt-mark{flex:none;width:22px;height:22px;border-radius:50%;font-size:13px;font-weight:800;line-height:22px;text-align:center}
.is-ok .gt-mark{background:#5fd59a;color:#07210f}.is-no .gt-mark{background:#ff8d8d;color:#2d0a0a}
.gt-num{flex:1;min-width:0;font-family:ui-monospace,Consolas,monospace;overflow-wrap:anywhere}.gt-type{flex:none;color:#bdb6cc;font-size:12px}
.gt-more{padding:6px;color:#bdb6cc;font-size:13px}
#gtWhy h3{margin:0 0 9px;color:#fff;font:700 clamp(18px,2.400vw,26px) ui-monospace,Consolas,monospace;overflow-wrap:anywhere}
#gtWhy p{margin:8px 0 0;color:#e4def0}
.gt-digits{display:flex;flex-wrap:wrap;gap:3px}
.gt-d{display:grid;justify-items:center;width:38px;padding:4px 0;border-radius:7px;background:#141120}
.gt-d b{color:#fff;font-size:17px}.gt-d small{color:#bdb6cc;font-size:11px}.gt-d i{color:#c8b4ff;font-size:13px;font-style:normal;font-weight:700}
.gt-d.w3{background:#8b64d526}
.gt-check{margin-left:5px;box-shadow:inset 0 0 0 2px #5fd59a}.gt-check.no{box-shadow:inset 0 0 0 2px #ff8d8d}
#gtWhy .gt-good{padding:8px 11px;border-left:3px solid #5fd59a;border-radius:7px;background:#5fd59a1a;color:#c9f3da;font-weight:600;overflow-wrap:anywhere}
#gtWhy .gt-bad{padding:8px 11px;border-left:3px solid #ff8d8d;border-radius:7px;background:#ff8d8d17;color:#ffd0d0;font-weight:600;overflow-wrap:anywhere}
.gt-btn,.gt-file{position:relative;display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 13px;border:1px solid #4a4560;border-radius:10px;background:none;color:#ece7f6;font:inherit;font-size:14px;cursor:pointer}
.gt-btn:hover:not(:disabled),.gt-file:hover{border-color:#c8b4ff}.gt-btn:disabled{opacity:.45;cursor:default}
.gt-file input{position:absolute;width:1px;height:1px;opacity:0}.gt-file:focus-within{outline:2px solid #f6cd63}
#gtStatus{min-height:20px;margin:0;color:#c9f3da;font-size:14px}#gtStatus.is-bad{color:#ffb4b4;font-weight:600}

[data-tool=gtin_checker] .gt-hero{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:22px;align-items:center;padding:26px 28px;border:1px solid #6f5686;border-radius:20px;background:radial-gradient(circle at 92% 10%,#f6cd6324,transparent 42%),radial-gradient(circle at 0 100%,#8b64d540,transparent 55%),linear-gradient(140deg,#2d2740,#242032 60%,#1d1a2a)}
.gt-hero-text{min-width:0}.gt-hero-text p{max-width:62ch}
.gt-chips{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0 0;padding:0;list-style:none}
.gt-chips li{padding:4px 11px;border:1px solid #6f5686;border-radius:999px;background:#ffffff0d;color:#e4dcf5;font-size:12.5px;font-weight:600}
.gt-stats{display:grid;grid-template-columns:repeat(3,96px);gap:8px}
.gt-stats div{padding:12px 6px;border:1px solid #4d4266;border-radius:14px;background:#1a1727cc;text-align:center}
.gt-stats strong{display:block;color:#fff;font-size:30px;line-height:1.1}.gt-stats small{color:#bdb6cc;font-size:11px;font-weight:700;letter-spacing:.07em;text-transform:uppercase}
.gt-stats .s-ok{border-color:#5fd59a66}.gt-stats .s-no{border-color:#ff8d8d66}.gt-stats .s-ok strong{color:#7ee2a8}.gt-stats .s-no strong{color:#ff9d9d}
#gtWork{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:16px;align-items:start;margin-top:16px}
.gt-col{display:grid;gap:14px;min-width:0}
.gt-card{padding:16px 18px;border:1px solid #3d3656;border-radius:16px;background:#1b1829;min-width:0}
.gt-card h2{margin:0 0 10px;font-size:12px;font-weight:800;letter-spacing:.09em;text-transform:uppercase;color:#c8b4ff}
.gt-why{border-color:#6f5686;background:linear-gradient(180deg,#221d33,#1b1829);min-height:220px}
#gtInput{display:block;width:100%!important;box-sizing:border-box;min-height:180px;margin-bottom:12px;padding:10px 12px;border:1px solid #4a4560;border-radius:10px;background:#100e1c;color:#fff;font:16px/1.6 ui-monospace,Consolas,monospace;resize:vertical}
#gtInput:focus{outline:2px solid #c8b4ff;outline-offset:1px}
#gtList{display:grid;gap:5px;max-height:320px;margin:0;padding:0;overflow:auto;list-style:none}
.gt-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:stretch}
.gt-actions .gt-btn,.gt-actions .gt-file{height:44px;margin:0;box-sizing:border-box}
#gtCopy{border:0;background:#f6cd63;color:#231a08;font-weight:700}#gtCopy:hover:not(:disabled){background:#ffd977}
.gt-out #gtStatus{margin-top:10px}
@media(max-width:900px){#gtWork{grid-template-columns:minmax(0,1fr)}#gtList{max-height:none}#gtInput{min-height:130px}[data-tool=gtin_checker] .gt-hero{grid-template-columns:minmax(0,1fr)}.gt-stats{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){[data-tool=gtin_checker] .gt-hero{padding:18px 16px}.gt-card{padding:14px}.gt-actions .gt-btn,.gt-actions .gt-file{flex:1 1 40%;height:auto;min-height:44px}.gt-d{width:33px}.gt-stats strong{font-size:24px}}
.gt-out #gtStatus:empty{display:none}.gt-actions .gt-btn,.gt-actions .gt-file{font-size:15px;font-weight:600}
