/* Encypher Block-Level Rights Inspector Panel */

.encypher-block-rights-panel .components-panel__body-title {
    font-size: 13px;
}

.encypher-rights-summary {
    background: #f0f6fc;
    border-left: 3px solid #2a87c4;
    padding: 8px 12px;
    margin: 8px 0;
    font-size: 12px;
    line-height: 1.5;
}

.encypher-rights-summary-type {
    font-weight: 600;
    margin: 0 0 4px 0;
}

.encypher-rights-summary-url {
    display: inline-block;
    margin-bottom: 4px;
    font-size: 11px;
    color: #2a87c4;
    text-decoration: none;
}

.encypher-rights-summary-url:hover {
    text-decoration: underline;
}

.encypher-rights-summary-terms {
    margin: 0;
    color: #555;
    font-size: 11px;
}

.encypher-rights-block-note {
    font-size: 11px;
    color: #757575;
    font-style: italic;
    margin: 8px 0 0 0;
}

/* Document-level rights in Encypher Provenance sidebar */

.encypher-document-rights {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid #e0e0e0;
}

.encypher-document-rights-title {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #757575;
    margin: 0 0 8px 0;
}

.encypher-document-rights-active {
    background: #f0f6fc;
    border-left: 3px solid #2a87c4;
    padding: 8px 12px;
    margin: 8px 0;
    font-size: 12px;
    line-height: 1.5;
}

.encypher-document-rights-active p {
    margin: 0 0 4px 0;
}

.encypher-document-rights-active p:last-child {
    margin-bottom: 0;
}

.encypher-document-rights-active .license-label {
    font-weight: 600;
}

.encypher-document-rights-active .license-terms {
    color: #555;
    font-size: 11px;
}

/* Canvas indicator: subtle left border on blocks with custom rights */

.has-encypher-rights-override {
    border-left: 3px solid #2a87c4 !important;
}

/* Toolbar badge colors */

.encypher-toolbar-badge {
    color: #757575;
}

.encypher-toolbar-badge--active {
    color: #2a87c4;
}
