/* cryptography — scoped panel styles */
.cr-label { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink-2); margin-bottom: 4px; }
.cr-text, .cr-key {
  width: 100%; box-sizing: border-box; border: 1px solid var(--line-strong); border-radius: 9px;
  padding: 8px 10px; font-family: var(--mono); font-size: 14px; color: var(--ink); background: var(--surface); resize: vertical;
}
.cr-key { height: 38px; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.cr-text:focus, .cr-key:focus { outline: 2px solid var(--subject); outline-offset: 1px; }
.ctl-group > .cr-text, .ctl-group > .cr-key { margin-top: 0; }
.cr-out {
  font-family: var(--mono); font-size: 14px; font-weight: 700; color: #be123c; background: #fff1f3;
  border-radius: 9px; padding: 8px 10px; min-height: 22px; overflow-wrap: anywhere; direction: ltr; text-align: left;
}
.cr-sub { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; }
.cr-sub > .ctl + .ctl { margin-top: 0; }
.cr-hue { background: linear-gradient(90deg, #f00, #ff0, #0f0, #0ff, #00f, #f0f, #f00); border-radius: 999px; height: 14px !important; -webkit-appearance: none; appearance: none; }
.cr-hue::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2px solid #334155; }
.cr-hue::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 2px solid #334155; }
