.license-heading-back { display: inline-flex; align-items: center; min-height: 44px; margin-bottom: 24px; font-size: .88rem; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.license-aside-links { display: grid; justify-items: start; gap: 16px; }
.license-aside-links a { min-height: 44px; }
.license-rows { list-style: none; padding: 0; margin: 0 0 24px; border-top: 1px solid var(--line); }
.legal-copy .license-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0; min-height: 64px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; overflow-wrap: anywhere; }
.license-row > span:last-child { flex: 0 0 auto; color: var(--blue); transition: transform 140ms ease-out; }
.license-row:hover > span:last-child { transform: translateX(4px); }
.license-search-label { display: block; margin-bottom: 8px; font-weight: 600; }
.license-search { width: 100%; min-height: 48px; padding: 12px 14px; margin-bottom: 16px; background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: 4px; }
.license-button { min-height: 48px; padding: 10px 18px; background: var(--paper); color: var(--ink); border: 1px solid var(--blue); border-radius: 4px; cursor: pointer; font-weight: 600; }
.legal-copy .license-back { display: inline-flex; align-items: center; min-height: 48px; margin-bottom: 24px; font-weight: 600; }
.legal-copy .license-detail > h2 { font-size: clamp(1.5rem, 4vw, 2.2rem); overflow-wrap: anywhere; }
.license-detail dl { margin: 0; }
.license-detail dt { margin-top: 20px; font-weight: 600; }
.license-detail dd { margin: 6px 0 0; overflow-wrap: anywhere; }
.license-detail, [data-license-list] { animation: license-enter 150ms ease-out; }
[data-license-app] [hidden] { display: none !important; }
html[data-license-embed="true"] .license-page [data-license-embed-hidden] { display: none !important; }
@keyframes license-enter { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 900px) {
  html[data-license-view="detail"] .license-page .legal-heading,
  html[data-license-view="detail"] .license-page .legal-aside { display: none; }
  html[data-license-view="detail"] .license-page .legal-layout { padding-top: 16px; gap: 0; }
}
@media (max-width: 600px) {
  .legal-heading h1 { font-size: clamp(2.3rem, 10vw, 3.8rem); }
  .license-row { font-size: .95rem; }
  .license-button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .license-detail, [data-license-list] { animation: none; }
  .license-row > span:last-child { transition: none; }
}
