/* The licence: the activation screen (nothing else opens until a key works) and Preferences'
   Licence card (`ui/js/licence.js`). */

.lic-gate { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; overflow: auto; background: var(--rf-bg); color: var(--rf-text); }
.lic-card { width: min(560px, 100%); padding: 28px 30px 22px; display: flex; flex-direction: column; gap: 14px; }
.lic-card h2 { margin: 4px 0 0; font-size: 20px; }
.lic-brand { display: flex; align-items: center; gap: 14px; }
.lic-brand > div { display: flex; flex-direction: column; gap: 2px; }
.lic-brand small { color: var(--rf-dim); font-size: 12px; font-weight: 600; letter-spacing: 0.02em; }
.lic-note { margin: 0; display: flex; gap: 10px; align-items: flex-start; padding: 11px 13px; border-radius: 10px; background: var(--sr-soft); line-height: 1.45; }
.lic-note .hub-icon { flex: none; margin-top: 1px; color: var(--co-accent-text); }
.lic-note.warn .hub-icon { color: var(--rf-warn); }
.lic-note.err .hub-icon { color: var(--rf-err); }
.lic-entry { display: flex; flex-direction: column; gap: 10px; }
textarea.input.lic-key { height: auto; padding: 10px 12px; resize: vertical; font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 12.5px; line-height: 1.5; word-break: break-all; }
.lic-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.lic-error { margin: 0; display: flex; gap: 8px; align-items: flex-start; color: var(--rf-err); line-height: 1.4; }
.lic-error .hub-icon { flex: none; margin-top: 1px; }
.lic-code { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--sr-edge); }
.lic-code .grow { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.lic-code small { color: var(--rf-dim); font-size: 11.5px; font-weight: 600; }
.lic-code code { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 13px; user-select: all; overflow-wrap: anywhere; }
.lic-gate .small, .lic-settings .small { font-size: 12px; margin: 0; }
.lic-foot { margin: 0; }
.lic-settings { display: flex; flex-direction: column; gap: 12px; }
.lic-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.lic-facts { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; }
.lic-facts dt { color: var(--rf-dim); font-weight: 600; }
.lic-facts dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.lic-facts code { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; user-select: all; }
