/* GoWeb – Podgląd kolorów (frontend) */
.gkc-root{position:fixed;bottom:20px;z-index:99998;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;line-height:1.4;display:flex;flex-direction:column;align-items:flex-end;gap:12px}
.gkc-root.gkc-right{right:20px;align-items:flex-end}
.gkc-root.gkc-left{left:20px;align-items:flex-start}
.gkc-root *,.gkc-root *::before,.gkc-root *::after{box-sizing:border-box}

/* Przycisk */
.gkc-fab{display:inline-flex;align-items:center;gap:9px;padding:12px 18px;border:none;border-radius:999px;background:var(--gkc-accent,#111);color:#fff;font-size:14px;font-weight:600;cursor:pointer;box-shadow:0 6px 22px rgba(0,0,0,.20);transition:transform .15s,box-shadow .15s;font-family:inherit}
.gkc-fab:hover{transform:translateY(-2px);box-shadow:0 10px 28px rgba(0,0,0,.26)}
.gkc-fab-ico{display:grid;place-items:center;line-height:0}
.gkc-fab.is-changed::after{content:"";width:8px;height:8px;border-radius:50%;background:#fff;box-shadow:0 0 0 2px rgba(255,255,255,.35)}

/* Panel */
.gkc-panel{width:330px;max-width:calc(100vw - 40px);background:#fff;border-radius:16px;box-shadow:0 18px 50px rgba(0,0,0,.22);padding:18px;color:#1b1b1b;max-height:min(76vh,620px);overflow-y:auto;animation:gkc-in .18s ease-out}
@keyframes gkc-in{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
.gkc-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:6px}
.gkc-title{font-size:16px;font-weight:700}
.gkc-close{background:none;border:none;font-size:24px;line-height:1;color:#9aa0a6;cursor:pointer;padding:0 2px}
.gkc-close:hover{color:#333}
.gkc-desc{margin:0 0 14px;font-size:12.5px;color:#6b7075}

/* Presety */
.gkc-sublabel{font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:#8a9097;font-weight:700;margin-bottom:8px}
.gkc-preset-row{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:16px}
.gkc-preset{display:inline-flex;align-items:center;gap:7px;padding:6px 10px 6px 7px;border:1px solid #e3e6ea;border-radius:999px;background:#fff;cursor:pointer;font-size:12.5px;font-weight:500;color:#33383d;font-family:inherit}
.gkc-preset:hover{border-color:var(--gkc-accent,#111);background:#fafafa}
.gkc-dots{display:inline-flex}
.gkc-dots i{width:13px;height:13px;border-radius:50%;display:block;box-shadow:inset 0 0 0 1px rgba(0,0,0,.12);margin-right:-4px}
.gkc-dots i:last-child{margin-right:0}

/* Lista kolorów */
.gkc-list{display:flex;flex-direction:column;gap:12px}
.gkc-row{display:flex;flex-direction:column;gap:6px;padding:10px 11px;border:1px solid #eceef1;border-radius:11px;transition:border-color .15s,background .15s}
.gkc-row.is-changed{border-color:var(--gkc-accent,#111);background:#fbfbfa}
.gkc-row-label{font-size:13px;font-weight:600;color:#2a2e33}
.gkc-ctr{display:flex;align-items:center;gap:8px}
.gkc-pick{-webkit-appearance:none;appearance:none;width:42px;height:34px;padding:0;border:1px solid #dcdfe3;border-radius:8px;background:none;cursor:pointer;flex-shrink:0}
.gkc-pick::-webkit-color-swatch-wrapper{padding:3px}
.gkc-pick::-webkit-color-swatch{border:none;border-radius:5px}
.gkc-pick::-moz-color-swatch{border:none;border-radius:5px}
.gkc-hex{flex:1;min-width:0;height:34px;padding:0 10px;border:1px solid #dcdfe3;border-radius:8px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:13px;color:#2a2e33;background:#fff}
.gkc-hex:focus{outline:none;border-color:var(--gkc-accent,#111)}
.gkc-undo{width:34px;height:34px;flex-shrink:0;border:1px solid #dcdfe3;border-radius:8px;background:#fff;color:#7b8189;font-size:15px;cursor:pointer;line-height:1}
.gkc-undo:hover{color:#222;border-color:#b9bec4}

/* Stopka */
.gkc-foot{display:flex;gap:8px;margin-top:16px}
.gkc-foot button{flex:1;padding:10px;border-radius:9px;font-size:12.5px;font-weight:600;cursor:pointer;font-family:inherit;border:1px solid #dcdfe3;background:#fff;color:#33383d}
.gkc-foot .gkc-reset:hover,.gkc-foot .gkc-copy:hover{background:#f5f6f7}
.gkc-note{margin:10px 0 0;font-size:11px;color:#9aa0a6;text-align:center}

@media(max-width:480px){
  .gkc-root{bottom:14px}
  .gkc-root.gkc-right{right:14px}
  .gkc-root.gkc-left{left:14px}
  .gkc-panel{width:calc(100vw - 28px)}
  .gkc-fab-txt{display:none}
  .gkc-fab{padding:14px;border-radius:50%}
}
