.cgc-names-wrap { position: relative; }
.cgc-names-toggle { width: 48px; height: 48px; border: 1px solid #cbd5e1; border-radius: 50%; background: #fff; color: #1e293b; cursor: pointer; font: 700 25px/1 serif; direction: rtl; }
.cgc-names-standalone { position: fixed; right: 18px; bottom: 90px; z-index: 9999; }
.cgc-names-toggle[aria-pressed="true"] { background: #166534; color: #fff; box-shadow: 0 0 0 3px #86efac; }
.cgc-names-settings { position: absolute; bottom: -4px; right: -8px; width: 23px; height: 23px; border: 1px solid #64748b; border-radius: 50%; background: #fff; color: #1e293b; cursor: pointer; font-size: 14px; }
.cgc-names-panel { position: fixed; left: 84px; bottom: 24px; width: min(310px, calc(100vw - 120px)); max-height: calc(100vh - 80px); overflow: auto; padding: 16px; background: #fff; color: #1e293b; box-shadow: 0 6px 30px #0004; border: 1px solid #cbd5e1; border-radius: 12px; direction: ltr; font: 14px/1.5 Arial, sans-serif; text-align: left; z-index: 10041; }
.cgc-names-standalone .cgc-names-panel { left: auto; right: 84px; }
.cgc-names-panel[hidden] { display: none; }
.cgc-names-panel header { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.cgc-names-panel label { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 10px; margin: 10px 0; }
.cgc-names-panel select { padding: 5px; font-size: 17px; direction: rtl; width: 100%; }
.cgc-names-panel button { cursor: pointer; }
.cgc-names-status { font-size: 12px; }
.cgc-names-status.is-error { color: #b91c1c; }
.cgc-names-toggle:focus-visible, .cgc-names-settings:focus-visible { outline: 3px solid #f59e0b; outline-offset: 3px; }
@media (max-width: 600px) { .cgc-names-panel, .cgc-names-standalone .cgc-names-panel { left: 10px; right: 10px; bottom: 80px; width: auto; max-height: calc(100vh - 130px); } }
@media print { .cgc-names-wrap, .cgc-names-standalone { display: none !important; } }
