.cys-cg-link-row { margin: .6rem 0 1rem; }
.cys-cg-link { font-size: .95rem; text-decoration: underline; text-underline-offset: 4px; }
html.cys-cg-open { overflow: hidden; }
.cys-cg-dialog:not([open]) { display: none; }
.cys-cg-dialog {
  box-sizing: border-box; width: min(720px, calc(100% - 24px)); max-width: none;
  max-height: 88vh; max-height: 88dvh; margin: auto; padding: 24px;
  border: 0; border-radius: 14px; color: #292929; background: #fff;
  overflow: auto; overscroll-behavior: contain; box-shadow: 0 16px 64px #0004; text-align: start;
}
.cys-cg-dialog::backdrop { background: rgb(0 0 0 / 55%); }
.cys-cg-dialog__header { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
.cys-cg-dialog__header h2 { flex: 1; margin: 0; font-size: clamp(1.3rem, 3vw, 1.65rem); }
.cys-cg-dialog .cys-cg-dialog__close {
  flex: 0 0 44px; min-height: 44px; width: 44px; padding: 0; margin: 0;
  border: 0; border-radius: 50%; line-height: 1; font-size: 28px;
  background: #f2f2f2; color: #222; cursor: pointer; font-family: inherit;
}
.cys-cg__toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.cys-cg__toolbar label { margin: 0; font-size: 15px; font-weight: 600; color: #222; }
.cys-cg .cys-cg__toolbar select {
  width: auto; max-width: 100%; min-height: 46px; margin: 0; padding: 9px 36px 9px 12px;
  border: 1px solid #c7c7c7; border-radius: 8px; background-color: #fff;
  color: #222; font: inherit; font-size: 16px; box-shadow: none;
}
.cys-cg__intro { font-weight: 600; margin: 0 0 14px; color: #292929; }
.cys-cg__scroll { overflow-x: auto; margin-bottom: 14px; }
.cys-cg .cys-cg__table { width: 100%; min-width: 240px; margin: 0; border-collapse: collapse; table-layout: fixed; }
.cys-cg .cys-cg__table th, .cys-cg .cys-cg__table td {
  padding: 15px 10px; border: 0; color: #30343d; text-align: center; font-size: 16px;
  line-height: 1.5; text-transform: none; letter-spacing: normal; word-break: normal;
}
.cys-cg__table th { font-weight: 700; }
.cys-cg__table thead, .cys-cg__table tbody tr:nth-child(even) { background: #f3f4f5; }
.cys-cg__table thead th + th { border-left: 1px solid #e8e8e8; }
.cys-cg__note, .cys-cg__aliases { font-size: 13px; line-height: 1.6; color: #555; margin: 8px 0; }
.cys-cg__help { border-top: 8px solid #f4f4f4; margin-top: 22px; padding-top: 16px; }
.cys-cg__help h3 { margin: 0 0 10px; color: #222; font-size: 1.05rem; }
.cys-cg__help p { margin: 0; color: #555; font-size: 14px; line-height: 1.7; }
.cys-cg-link:focus-visible, .cys-cg-dialog button:focus-visible, .cys-cg select:focus-visible, .cys-cg__scroll:focus-visible { outline: 3px solid #176cbd; outline-offset: 3px; }
.cys-cg .cys-cg__sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; border: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 480px) {
  .cys-cg-dialog { width: calc(100% - 16px); max-height: 92vh; max-height: 92dvh; padding: 16px; }
  .cys-cg__toolbar { align-items: stretch; gap: 8px; }
  .cys-cg__toolbar label, .cys-cg .cys-cg__toolbar select { width: 100%; }
  .cys-cg .cys-cg__table th, .cys-cg .cys-cg__table td { font-size: 15px; padding: 13px 8px; }
}
