/* Activation window, trial badge, Settings -> License */
.lic-overlay { position: fixed; inset: 0; z-index: 4000; display: grid; place-items: center; padding: 20px; overflow: auto;
  background: radial-gradient(900px 600px at 15% 10%, rgba(138,92,246,.35), transparent 60%), radial-gradient(800px 600px at 90% 90%, rgba(32,180,232,.30), transparent 60%), color-mix(in srgb, var(--bg) 92%, #000 8%);
  backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); animation: licFade .35s ease both; }
@keyframes licFade { from { opacity: 0 } to { opacity: 1 } }
.lic-card { width: min(540px, 100%); background: color-mix(in srgb, var(--surface) 88%, transparent); border: 1px solid var(--line); border-radius: 22px;
  box-shadow: var(--shadow-lg); padding: 30px 32px 24px; animation: licRise .5s cubic-bezier(.2,.8,.2,1) both; }
@keyframes licRise { from { opacity: 0; transform: translateY(18px) scale(.98) } to { opacity: 1; transform: none } }
.lic-card h2 { margin: 18px 0 6px; font-size: 24px; letter-spacing: -.02em; color: var(--ink); }
.lic-brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; font-size: 18px; }
.lic-brand .logo { width: 34px; height: 34px; border-radius: 10px; background: var(--grad); display: grid; place-items: center; }
.lic-brand .logo svg { width: 20px; height: 20px; }
.lic-sub { color: var(--ink2); margin: 0 0 18px; line-height: 1.5; }
.lic-step { display: flex; gap: 14px; margin: 14px 0; align-items: flex-start; }
.lic-step .n { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 700; font-size: 13px; display: grid; place-items: center; margin-top: 1px; }
.lic-step b { color: var(--ink); }
.lic-step small { display: block; color: var(--muted); margin-top: 6px; line-height: 1.45; }
.lic-step textarea { width: 100%; margin-top: 8px; font: 13px/1.4 Consolas, ui-monospace, monospace; resize: vertical; }
.lic-step .grow { flex: 1; min-width: 0; }
.lic-id-row { display: flex; gap: 8px; align-items: center; margin-top: 8px; flex-wrap: wrap; }
.lic-id-row.inline { margin: 0; justify-content: flex-end; }
.lic-id { font: 700 17px Consolas, ui-monospace, monospace; letter-spacing: .06em; padding: 8px 12px; border-radius: 10px; background: var(--surface2); border: 1px dashed var(--line2); color: var(--ink); user-select: all; }
.lic-id.sm { font-size: 14px; padding: 5px 9px; }
.lic-go { width: 100%; justify-content: center; padding: 12px; margin-top: 6px; font-size: 15px; }
.lic-skip { width: 100%; justify-content: center; margin-top: 8px; }
.lic-foot { display: flex; gap: 8px; align-items: center; justify-content: center; margin-top: 16px; color: var(--muted); font-size: 12.5px; }
.lic-foot svg { width: 15px; height: 15px; }
.lic-done { text-align: center; padding: 18px 0 8px; }
.lic-done .tick { width: 64px; height: 64px; border-radius: 50%; background: var(--good-bg); color: var(--good); display: grid; place-items: center; margin: 0 auto; animation: licPop .5s cubic-bezier(.2,1.4,.4,1) both; }
.lic-done .tick svg { width: 34px; height: 34px; stroke-width: 3; }
@keyframes licPop { from { transform: scale(.3); opacity: 0 } to { transform: none; opacity: 1 } }

.lic-pill { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--brand) 30%, transparent);
  background: color-mix(in srgb, var(--brand) 10%, var(--surface)); color: var(--brand); font-weight: 600; font-size: 12.5px; font-family: inherit; cursor: pointer; white-space: nowrap; transition: transform .15s, box-shadow .15s; }
.lic-pill:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(91,75,245,.22); }
.lic-pill svg { width: 15px; height: 15px; }
.lic-pill.warn { color: var(--warn); border-color: color-mix(in srgb, var(--warn) 35%, transparent); background: var(--warn-bg); }
@media (max-width: 900px) { .lic-pill span { display: none; } .lic-pill { padding: 0 10px; } }

.lic-panel { max-width: 620px; }
.lic-kv { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.lic-kv span { color: var(--muted); }
.lic-kv b { color: var(--ink); font-weight: 600; text-align: right; }
