        /* License page layout and reusable legal-content card. */
        .license-page {
            flex: 1 0 auto;
            width: 100%;
            padding: calc(var(--nav-height) + 10px) 10px 10px;
            display: flex;
        }
        .license-shell {
            flex: 1 1 auto;
            width: 100%;
            max-width: 980px;
            margin: 0 auto;
            display: grid;
            gap: 14px;
        }
        .license-card {
            display: grid;
            gap: 16px;
            padding: 28px 30px;
        }
        .license-card .glass-title {
            color: rgba(247, 250, 255, 0.98);
        }
        .license-card p {
            margin: 0;
            color: rgba(229, 237, 250, 0.92);
            font-size: 15px;
            line-height: 1.65;
        }
        .license-card strong {
            color: rgba(247, 250, 255, 0.98);
        }
        /* Metadata block highlights the license identifier rendered by Django. */
        .license-meta {
            display: grid;
            gap: 6px;
            padding: 16px 18px;
            border-radius: 16px;
            background: rgba(16, 24, 35, 0.5);
            border: 1px solid rgba(var(--glass-border-rgb), 0.24);
        }
        .license-meta-label {
            margin: 0;
            color: rgba(211, 220, 242, 0.78);
            font-size: 11px;
            font-weight: 600;
            letter-spacing: 0.12em;
            text-transform: uppercase;
        }
        .license-meta-value {
            margin: 0;
            color: rgba(247, 250, 255, 0.98);
            font-size: 18px;
            font-weight: 600;
        }
        .license-list {
            margin: 0;
            padding-left: 20px;
            display: grid;
            gap: 8px;
        }
        .license-list li {
            color: rgba(241, 245, 252, 0.96);
            font-size: 14px;
            line-height: 1.6;
        }
        .license-note,
        .license-disclaimer {
            color: rgba(229, 237, 250, 0.9);
        }
        .license-inline-link {
            color: #a9c9ff;
            text-decoration: underline;
            text-underline-offset: 2px;
        }
        .license-inline-link:hover {
            color: #c6ddff;
        }
        .license-actions {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 10px;
            flex-wrap: wrap;
            margin-top: 6px;
        }
        .license-link {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-height: 48px;
            padding: 14px 24px;
            border-radius: 10px;
            text-decoration: none;
            font-size: 15px;
            font-weight: 600;
            letter-spacing: 0.2px;
            transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
        }
        .license-link.primary {
            background: var(--accent);
            border: 1px solid transparent;
            color: #fff;
        }
        .license-link.primary:hover {
            background: var(--accent-dark);
        }
        .license-link.secondary {
            background: var(--popup-secondary-button-bg);
            border: 1px solid var(--popup-secondary-button-border);
            color: #fff;
        }
        .license-link.secondary:hover {
            background: var(--popup-secondary-button-hover-bg);
        }
        @media (max-width: 720px) {
            .license-card {
                padding: 24px 22px;
            }
            .license-actions {
                width: 100%;
                justify-content: stretch;
            }
            .license-link {
                width: 100%;
            }
        }
