#cookieson-root {
  --co-accent: #174A7E;
  --co-text: #252B33;
  --co-muted: #657080;
  --co-border: #E3E8EF;
  font-family: inherit;
  color: var(--co-text);
}
#cookieson-root [hidden] { display: none !important; }
#cookieson-root *, #cookieson-preferences * { box-sizing: border-box; }

#cookieson-banner .co-banner-card {
  position: fixed; z-index: 999990; left: 24px; bottom: 24px;
  width: min(470px, calc(100vw - 48px)); padding: 24px;
  background: #fff; border: 1px solid var(--co-border);
  border-top: 4px solid var(--co-accent); border-radius: 12px;
  box-shadow: 0 12px 45px rgba(20,39,62,.17);
}
#cookieson-root .co-heading {
  display: flex; align-items: center; gap: 12px; margin: 0 0 12px;
  color: var(--co-text); font-size: 21px; font-weight: 700; line-height: 1.3;
}
#cookieson-root .co-cookie-symbol {
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 42px; height: 42px; border-radius: 10px;
  background: color-mix(in srgb, var(--co-accent) 10%, white); color: var(--co-accent);
}
#cookieson-root .co-cookie-symbol svg { width: 24px; height: 24px; }
#cookieson-root .co-description, #cookieson-root .co-pref-description {
  margin: 0 0 16px; color: var(--co-muted); font-size: 13px; line-height: 1.7;
}
#cookieson-root .co-links { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-bottom: 19px; }
#cookieson-root .co-links a { color: var(--co-accent); font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
#cookieson-root .co-actions, #cookieson-root .co-pref-actions { display: grid; gap: 9px; }
#cookieson-root button {
  width: 100%; min-height: 44px; padding: 12px 15px; border-radius: 7px;
  font-family: inherit; font-size: 13px; font-weight: 600; line-height: 1.4;
  cursor: pointer; transition: background .2s ease, border-color .2s ease;
}
#cookieson-root .co-btn { background: #fff; border: 1px solid #CCD5E0; color: var(--co-text); }
#cookieson-root .co-btn:hover { background: #F5F8FB; border-color: #AEBCCC; }
#cookieson-root button:focus-visible, #cookieson-root input:focus-visible, #cookieson-reopen:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--co-accent) 55%, white); outline-offset: 3px;
}
#cookieson-preferences {
  position: fixed; inset: 0; z-index: 999999; display: flex; align-items: center;
  justify-content: center; padding: 18px; background: rgba(13,27,42,.62);
}
#cookieson-preferences .co-preferences-card {
  width: min(510px, 100%); max-height: 90vh; overflow-y: auto; padding: 25px;
  background: #fff; border-radius: 12px; box-shadow: 0 20px 60px rgba(0,0,0,.22);
}
#cookieson-preferences h2 { margin: 0 0 10px; color: var(--co-text); font-size: 23px; line-height: 1.3; }
#cookieson-root .co-category {
  display: flex; align-items: center; justify-content: space-between; gap: 15px;
  padding: 15px 0; border-top: 1px solid var(--co-border);
}
#cookieson-root .co-category strong { display: block; margin-bottom: 4px; font-size: 14px; }
#cookieson-root .co-category small { display: block; color: var(--co-muted); font-size: 12px; line-height: 1.5; }
#cookieson-root input[type="checkbox"] { width: 19px; height: 19px; flex-shrink: 0; accent-color: var(--co-accent); cursor: pointer; }
#cookieson-root .co-always-on { color: #267044; font-size: 11px; font-weight: 700; white-space: nowrap; }
#cookieson-root .co-pref-actions { margin-top: 20px; }
#cookieson-reopen {
  position: fixed; z-index: 999989; bottom: var(--co-icon-bottom); left: var(--co-icon-offset);
  display: none; align-items: center; justify-content: center;
  width: 46px; height: 46px; padding: 0; border: 1px solid var(--co-border);
  border-radius: 50%; background: #fff; color: var(--co-accent);
  box-shadow: 0 4px 16px rgba(0,0,0,.15); cursor: pointer;
}
#cookieson-reopen svg { width: 22px; height: 22px; }
#cookieson-reopen.co-visible { display: flex; }
#cookieson-root[data-icon-side="right"] #cookieson-reopen { left: auto; right: var(--co-icon-offset); }
#cookieson-root .co-brand {
  display: flex; align-items: center; justify-content: flex-end; gap: 9px;
  margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--co-border);
  color: #687385; font-size: 11px;
}
#cookieson-root .co-brand img {
  display: block; width: 92px; height: 27px; object-fit: contain;
  background: #000; border-radius: 3px; padding: 2px;
}
#cookieson-root .co-brand a { color: var(--co-accent); text-decoration: none; font-weight: 700; }
#cookieson-root .co-brand a:hover { text-decoration: underline; }
#cookieson-root .co-brand-modal { justify-content: flex-end; }
@media (max-width: 480px) {
  #cookieson-banner .co-banner-card { left: 10px; bottom: 10px; width: calc(100vw - 20px); padding: 19px; }
  #cookieson-preferences .co-preferences-card { padding: 20px; }
  #cookieson-root .co-heading { font-size: 19px; }
  #cookieson-root .co-brand { flex-wrap: wrap; }
}
