/* osir.co.uk: AES-256 Encrypt & Decrypt */
.ct-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.ct-top .t-tab .icon { color: inherit; }
.ct-private { display: flex; gap: 6px; align-items: flex-start; margin: 0; flex: 1 1 280px; max-width: 560px; }
.ct-private .icon { flex: none; margin-top: 2px; color: var(--brand-1); }
#ct-form { align-items: start; }
.ct-in { min-height: 220px; }
#ct-dec-text { font-size: 13px; }
.ct-gap { margin-top: 14px; }
.ct-file { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 14px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface-2); min-width: 0; }
.ct-file-icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--surface-solid); color: var(--brand-1); border: 1px solid var(--border); }
.ct-file-text { display: grid; gap: 2px; flex: 1; min-width: 0; }
.ct-file-text strong { font-family: var(--mono); font-size: 14px; overflow-wrap: anywhere; }
.ct-fmt { border: 0; padding: 0; margin: 16px 0 0; min-width: 0; display: grid; gap: 8px; }
.ct-fmt legend { padding: 0; margin-bottom: 8px; font-size: 13px; font-weight: 650; color: var(--text-2); }
.ct-opt { display: flex; gap: 10px; align-items: flex-start; padding: 11px 13px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface-2); cursor: pointer; }
.ct-opt:has(input:checked) { border-color: var(--brand-1); background: color-mix(in srgb, var(--brand-1) 7%, var(--surface-2)); }
.ct-opt input { flex: none; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--brand-1); }
.ct-opt > span { display: grid; gap: 2px; min-width: 0; }
.ct-opt strong { font-size: 14.5px; }
.ct-opt code, .ct-adv code { font-family: var(--mono); font-size: .92em; }
.ct-adv { margin-top: 14px; }
.ct-adv > summary { cursor: pointer; font-weight: 650; font-size: 14.5px; }
.ct-adv p { margin-top: 8px; }
.ct-adv .t-input { max-width: 180px; }
.ct-prog { display: grid; gap: 6px; margin-top: 14px; }
.ct-prog progress { width: 100%; height: 10px; appearance: none; -webkit-appearance: none; border: 0; border-radius: 6px; overflow: hidden; background: var(--surface-2); }
.ct-prog progress::-webkit-progress-bar { background: var(--surface-2); border-radius: 6px; }
.ct-prog progress::-webkit-progress-value { background: var(--brand-1); border-radius: 6px; transition: width .25s; }
.ct-prog progress::-moz-progress-bar { background: var(--brand-1); border-radius: 6px; }
.ct-result { min-height: 200px; font-family: var(--mono); font-size: 13px; }
.ct-cmd-intro { margin-top: 14px; }
.ct-cmd { display: flex; gap: 6px; align-items: flex-start; margin-top: 6px; min-width: 0; }
.ct-cmd .t-code { flex: 1; min-width: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.ct-code { margin: 10px 0 4px; white-space: pre-wrap; overflow-wrap: anywhere; }
.ct-notes { list-style: disc; }
.ct-info-2 { margin-top: 20px; }
#ct-out .t-kv { max-width: 640px; }
@media (max-width: 560px) {
  .ct-file { flex-wrap: wrap; }
  .ct-adv .t-input { max-width: none; }
}
