.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: #fdfdfc;
    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-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;
}

.encypher-classic-actions .encypher-provenance-cancel {
    align-self: center;
    color: #b32d2e;
}

.encypher-classic-actions .encypher-provenance-cancel:focus-visible {
    outline: 2px solid #2271b1;
    outline-offset: 2px;
}

.encypher-logo--sidebar {
    width: 20px;
    height: 20px;
}

.encypher-sidebar-shell {
    box-sizing: border-box;
    padding: 16px;
}

.encypher-publication-outcome:focus {
    outline: none;
}

.encypher-prepublish {
    color: #1d2327;
}

.encypher-prepublish__summary {
    margin: 0 0 12px;
    padding: 10px 12px;
    background: #f0f6fc;
    border-left: 4px solid #2271b1;
}

.encypher-current-declarations {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 0 0 12px;
}

.encypher-current-declarations > div {
    min-width: 0;
    padding: 8px 10px;
    background: #f6f7f7;
}

.encypher-current-declarations dt {
    color: #50575e;
    font-size: 11px;
    text-transform: uppercase;
}

.encypher-current-declarations dd {
    margin: 2px 0 0;
    color: #1d2327;
    font-size: 12px;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.encypher-fact-list {
    display: grid;
    gap: 0;
    margin: 0;
}

.encypher-fact-list__row {
    display: grid;
    grid-template-columns: minmax(96px, 0.85fr) minmax(0, 1.15fr);
    gap: 8px;
    padding: 8px 0;
    border-bottom: 1px solid #dcdcde;
}

.encypher-fact-list__row:last-child {
    border-bottom: 0;
}

.encypher-fact-list dt {
    color: #50575e;
    font-size: 12px;
}

.encypher-fact-list dd {
    min-width: 0;
    margin: 0;
    color: #1d2327;
    font-size: 12px;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.encypher-editorial-provenance,
.encypher-document-rights,
.encypher-registry-chain {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid #dcdcde;
}

.encypher-editorial-provenance > summary,
.encypher-document-rights > summary {
    min-height: 24px;
    font-weight: 600;
    cursor: pointer;
}

.encypher-editorial-provenance__body,
.encypher-document-rights__body {
    padding-top: 10px;
}

.encypher-editorial-warning {
    padding-left: 8px;
    border-left: 3px solid #dba617;
}

.encypher-editorial-field {
    margin: 0 0 12px;
}

.encypher-editorial-field textarea,
.encypher-editorial-field input,
.encypher-editorial-field select {
    box-sizing: border-box;
    display: block;
    width: 100%;
    max-width: 100%;
}

.encypher-character-count {
    display: block;
    margin-top: 3px;
    color: #646970;
    font-size: 12px;
    text-align: right;
}

.encypher-registry-chain h3 {
    margin: 0 0 10px;
    font-size: 13px;
}

.encypher-receipt-link,
.encypher-registry-dashboard-link {
    display: inline-block;
    margin: 10px 12px 0 0;
}

.encypher-publication-chain {
    display: grid;
    gap: 8px;
    margin: 12px 0 0 18px;
}

.encypher-publication-chain li {
    padding-left: 2px;
}

.encypher-publication-chain strong,
.encypher-publication-chain span {
    display: block;
}

.encypher-publication-chain strong {
    text-transform: capitalize;
}

.encypher-publication-chain span {
    color: #646970;
    font-size: 11px;
}

.encypher-dashboard-button {
    justify-content: center;
    width: 100%;
    margin-top: 18px;
}

.encypher-rights-preview {
    display: grid;
    gap: 6px;
    margin: 10px 0;
}

.encypher-rights-preview > div {
    display: grid;
    grid-template-columns: minmax(90px, 1fr) minmax(0, 1fr);
    gap: 8px;
}

.encypher-rights-preview dt {
    color: #50575e;
}

.encypher-rights-preview dd {
    margin: 0;
    overflow-wrap: anywhere;
}

@media (max-width: 600px) {
    .encypher-current-declarations,
    .encypher-fact-list__row,
    .encypher-rights-preview > div {
        grid-template-columns: 1fr;
        gap: 2px;
    }

    .encypher-editor-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .encypher-editor-actions .components-button {
        justify-content: center;
        width: 100%;
        min-height: 44px;
    }
}
