
:root{
  --kco-accent:#111827;
  --kco-bg:#ffffff;
  --kco-text:#111827;
  --kco-accept:#16a34a;
  --kco-reject:#dc2626;
}

.kco-banner{
  position:fixed;
  left:0;
  right:0;
  z-index:99999;
  padding:14px 14px;
  background:var(--kco-bg);
  color:var(--kco-text);
  border-top:1px solid rgba(0,0,0,.12);
  box-shadow:0 -10px 30px rgba(0,0,0,.08);
  font-family: system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
}
.kco-banner.kco-top{
  top:0;
  border-top:none;
  border-bottom:1px solid rgba(0,0,0,.12);
  box-shadow:0 10px 30px rgba(0,0,0,.08);
}
.kco-wrap{
  max-width:1100px;
  margin:0 auto;
  display:flex;
  gap:12px;
  align-items:flex-start;
  justify-content:space-between;
  flex-wrap:wrap;
}
.kco-text{
  flex: 1 1 520px;
  min-width:280px;
  line-height:1.35;
  font-size:14px;
}
.kco-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
}
.kco-btn{
  appearance:none;
  border:0;
  padding:10px 12px;
  border-radius:10px;
  font-weight:600;
  cursor:pointer;
  font-size:14px;
}
.kco-btn.accept{ background:var(--kco-accept); color:white; }
.kco-btn.reject{ background:var(--kco-reject); color:white; }
.kco-btn.manage{ background:transparent; color:var(--kco-accent); border:1px solid rgba(0,0,0,.18); }

.kco-modal-backdrop{
  position:fixed;
  inset:0;
  z-index:100000;
  background:rgba(0,0,0,.45);
  display:none;
  align-items:center;
  justify-content:center;
  padding:18px;
}
.kco-modal{
  width:min(720px, 100%);
  background:var(--kco-bg);
  color:var(--kco-text);
  border-radius:16px;
  overflow:hidden;
  box-shadow:0 20px 60px rgba(0,0,0,.25);
}
.kco-modal header{
  padding:14px 16px;
  border-bottom:1px solid rgba(0,0,0,.12);
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
}
.kco-modal h3{ margin:0; font-size:16px; }
.kco-close{
  border:0;
  background:transparent;
  cursor:pointer;
  font-size:20px;
  line-height:1;
  padding:6px 10px;
  border-radius:10px;
}
.kco-body{
  padding:14px 16px;
  font-size:14px;
}
.kco-row{
  display:flex;
  gap:12px;
  align-items:center;
  justify-content:space-between;
  padding:10px 0;
  border-bottom:1px dashed rgba(0,0,0,.14);
}
.kco-row:last-child{ border-bottom:none; }
.kco-row .desc{ opacity:.9; font-size:13px; margin-top:4px; }
.kco-switch{
  display:flex; align-items:center; gap:10px;
}
.kco-switch input[type="checkbox"]{ transform:scale(1.2); }

.kco-footer{
  padding:14px 16px;
  border-top:1px solid rgba(0,0,0,.12);
  display:flex;
  justify-content:flex-end;
  gap:10px;
  flex-wrap:wrap;
}

.kco-link{
  color:var(--kco-accent);
  text-decoration:none;
  font-weight:600;
}
.kco-link:hover{ text-decoration:underline; }

.kco-reopen{
  position:fixed;
  right:12px;
  bottom:12px;
  z-index:99998;
  font-size:13px;
  padding:8px 10px;
  border-radius:999px;
  background:rgba(0,0,0,.75);
  color:white;
  text-decoration:none;
  display:none;
}
.kco-reopen:hover{ opacity:.95; }
