.encypher-provenance-status {
    padding: 12px 0;
}

.encypher-status-hero {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 12px;
    padding: 14px;
    border: 1px solid transparent;
    border-radius: 8px;
}

.encypher-status-hero--signed,
.encypher-status-hero--verified {
    color: #0f5132;
    background: #e9f7ef;
    border-color: #b7e1c8;
}

.encypher-status-hero--signing {
    color: #1b2f50;
    background: #eef5ff;
    border-color: #c4d6e8;
}

.encypher-status-hero--pending {
    color: #5c3d00;
    background: #fff8e1;
    border-color: #f2d16b;
}

.encypher-status-hero--error {
    color: #842029;
    background: #fdecea;
    border-color: #f3b5ad;
}

.encypher-hero-icon {
    display: inline-flex;
    flex: 0 0 auto;
}

.encypher-hero-body {
    min-width: 0;
}

.encypher-hero-headline {
    margin-bottom: 3px;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.3;
}

.encypher-hero-sub {
    color: currentColor;
    font-size: 12px;
    line-height: 1.45;
    opacity: 0.84;
}

.encypher-logo {
    display: block;
    flex-shrink: 0;
}

.encypher-logo--hero {
    width: 28px;
    height: 28px;
}

.encypher-logo--header {
    width: 16px;
    height: 16px;
}


.encypher-logo-pop {
    display: inline-flex;
    animation: encypher-logo-pop 0.3s ease both;
}


@keyframes encypher-logo-pop {
    from { opacity: 0.4; transform: scale(0.86); }
    to { opacity: 1; transform: scale(1); }
}

.encypher-header-chip-root {
    display: inline-flex;
    align-items: center;
    margin-right: 8px;
}

.encypher-header-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 32px;
    padding: 0 10px;
    color: #1b2f50;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    background: #fff;
    border: 1px solid #c3c4c7;
    border-radius: 16px;
    cursor: pointer;
}

.encypher-header-chip:disabled {
    cursor: default;
}

.encypher-header-chip:focus-visible {
    outline: 2px solid #2a87c4;
    outline-offset: 1px;
}

.encypher-header-chip--progress {
    background: #eef5ff;
    border-color: #c4d6e8;
}

.encypher-header-chip--signed {
    color: #0f5132;
    background: #e9f7ef;
    border-color: #b7e1c8;
}

.encypher-header-chip--pending {
    color: #5c3d00;
    background: #fff8e1;
    border-color: #f2d16b;
}

.encypher-header-chip--error {
    color: #842029;
    background: #fdecea;
    border-color: #f3b5ad;
}

.encypher-signed-time {
    margin: 0 0 12px;
    color: #646970;
    font-size: 12px;
}
.encypher-block-provenance-status {
    display: grid;
    gap: 2px;
    margin: 0 0 12px;
    padding: 8px 10px;
    color: #50575e;
    background: #f6f7f7;
    border-left: 3px solid #8c8f94;
    border-radius: 2px;
}

.encypher-block-provenance-status strong {
    color: #1d2327;
    font-size: 12px;
    line-height: 1.35;
}

.encypher-block-provenance-status span {
    font-size: 11px;
    line-height: 1.4;
}

.encypher-block-provenance-status--covered {
    background: #edfaef;
    border-left-color: #00a32a;
}

.encypher-block-provenance-status--ingredient {
    background: #eef5ff;
    border-left-color: #2a87c4;
}

.encypher-block-provenance-status--edited,
.encypher-block-provenance-status--unsigned {
    background: #fff8e5;
    border-left-color: #dba617;
}

.encypher-editor-actions {
    display: flex;
    gap: 8px;
    margin: 12px 0;
}

.encypher-document-rights {
    margin-top: 14px;
    border-top: 1px solid #dcdcde;
}

.encypher-document-rights > summary {
    padding: 12px 0;
    font-weight: 600;
    cursor: pointer;
}

.encypher-document-rights__body {
    padding: 4px 0 8px;
}

.encypher-rights-overrides {
    color: #2a87c4;
    font-size: 12px;
    font-weight: 600;
}

.encypher-provenance-classic .status-row {
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.encypher-provenance-classic .status-message,
.encypher-provenance-classic .verification-link {
    margin-top: 8px;
}

.encypher-provenance-classic .status-message.error {
    color: #842029;
}

.encypher-provenance-classic .status-message.success {
    color: #0f5132;
}

.encypher-classic-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
