dialog.client-license { width: min(720px, calc(100vw - 32px)); max-width: calc(100vw - 32px); max-height: calc(100dvh - 32px); box-sizing: border-box; padding: 28px; border: 1px solid #dce6ed; border-radius: 16px; background: #fff; color: #203038; box-shadow: 0 18px 60px #20303833; overflow-y: auto; overflow-wrap: anywhere; }
.client-license::backdrop { background: #142c4666; }
.license-required-notice { position: fixed; z-index: 1000; bottom: 16px; right: 16px; width: min(440px, calc(100vw - 32px)); box-sizing: border-box; padding: 20px; border: 1px solid #dce6ed; border-radius: 16px; background: #fff; box-shadow: 0 8px 32px #20303833; overflow-wrap: anywhere; }
.license-required-notice[hidden] { display: none; }
.license-required-notice p { margin: 0 0 12px; }
.license-required-notice div { display: flex; flex-wrap: wrap; gap: 8px; }
.client-license-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.client-license-heading h2, .client-license-heading h3 { margin: 0; }
.client-license-heading h2 { font-size: 24px; }
.client-license-heading h3 { font-size: 18px; }
.client-license-entry { display: flex; align-items: end; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.client-license-entry label { display: grid; gap: 8px; font-weight: 600; min-width: 0; flex: 1 1 240px; }
.client-license-entry input { width: 100%; min-width: 0; box-sizing: border-box; border: 1px solid #cbd5e1; border-radius: 10px; padding: 12px; background: #fff; color: inherit; font: inherit; text-transform: uppercase; letter-spacing: .1em; }
.client-license-mods { min-width: 0; border: 0; padding: 0; margin: 20px 0 0; }
.client-license-mods legend { padding: 0; margin-bottom: 12px; font-size: 16px; font-weight: 700; }
#client-license-choices { display: grid; gap: 10px; }
.client-license-mod { display: flex; align-items: start; gap: 12px; padding: 14px; border: 1px solid #dce6ed; border-radius: 10px; cursor: pointer; font-size: 14px; line-height: 1.6; }
.client-license-mod:has(input:checked) { border-color: #0896c8; background: #eff9fd; }
.client-license-mod:has(input:focus-visible) { outline: 2px solid #0896c8; outline-offset: 2px; }
.client-license-mod input { flex: 0 0 auto; width: 18px; height: 18px; margin: 3px 0 0; accent-color: #0896c8; }
.client-license-mod span { min-width: 0; }
.client-license-history-heading { border-top: 1px solid #dce6ed; padding-top: 20px; margin-top: 24px; }
.client-license-current { display: grid; gap: 12px; margin-top: 16px; }
.client-license-current article { padding: 14px; border: 1px solid #dbe5ef; border-radius: 12px; background: #f8fafc; }
.client-license-current h4 { margin: 0 0 10px; }
.client-license-current dl { display: grid; grid-template-columns: minmax(110px, auto) 1fr; gap: 8px 16px; margin: 0; font-size: 14px; }
.client-license-current dt { color: #526071; }
.client-license-current dd { margin: 0; }
.client-license-settings { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 20px; }
.client-license-settings h2 { margin: 0 0 8px; font-size: 20px; }
.client-license-settings p { margin: 0; max-width: 640px; color: #768894; }
@media (max-width: 600px) {
    dialog.client-license { padding: 20px; }
    .client-license-entry { display: grid; }
    .client-license-entry button, .client-license-settings button { width: 100%; }
    .client-license-current dl { grid-template-columns: 1fr; gap: 4px; }
    .client-license-current dd { margin-bottom: 10px; }
}
