.a11y-panel {
  position: sticky;
  top: var(--header-h);
  z-index: 95;
  height: 0;
  overflow: visible;
  padding: 0 var(--gutter);
  display: none;
  align-items: flex-start;
  justify-content: flex-end;
}
.a11y-panel[data-open="true"] { display: flex; }
.a11y-panel__card {
  width: 22.5rem;
  max-width: 100%;
  padding: 20px;
  background: var(--surface);
  border: 1px solid #D8E1F0;
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(20, 33, 61, .18);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.a11y-group { display: flex; flex-direction: column; gap: 10px; }
.a11y-group__label { font-size: 0.9375rem; color: var(--muted-2); }
.a11y-sizes {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(4.375rem, 1fr)); gap: 8px;
}
.a11y-schemes { display: grid; gap: 8px; }
.a11y-btn {
  min-height: 46px;
  padding: 6px 10px;
  border: 1px solid #C7D3E8;
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.a11y-btn[aria-pressed="true"] {
  background: var(--brand-deep); border-color: var(--brand-deep); color: #fff;
}
.a11y-schemes .a11y-schemes__btn.a11y-btn { min-height: 44px; font-weight: 400; font-size: 1rem; }
.a11y-panel__actions {
  display: flex;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--line-2);
}
.a11y-panel__actions button {
  flex: 1;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid #C7D3E8;
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  font-size: 0.9375rem;
  cursor: pointer;
}
.a11y-panel__actions button.is-primary {
  border: 0;
  background: var(--brand-deep);
  color: #fff;
  font-weight: 600;
}
@media (max-width: 600px) {
  .a11y-panel { padding: 0 var(--gutter); justify-content: stretch; }
  .a11y-panel__card { width: 100%; }
}

@media print {
  .a11y-panel { display: none !important; }
}
