/*
 * Shared identity fields used by editor panels.
 */

editor-identity-panel {
    display: block;
    width: 100%;
}

editor-identity-panel .editor-identity-panel {
    display: grid;
    gap: 12px;
    padding: 18px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    box-sizing: border-box;
}

editor-identity-panel .field-row {
    display: grid;
    grid-template-columns: minmax(200px, 280px) minmax(0, 1fr);
    gap: 12px;
}

editor-identity-panel ui-field {
    min-width: 0;
}

editor-identity-panel .form-control {
    width: 100%;
    box-sizing: border-box;
}

editor-identity-panel textarea.form-control {
    min-height: 96px;
}

editor-identity-panel .summary-editor.form-control {
    min-height: 96px;
    overflow: auto;
    white-space: pre-wrap;
}

editor-identity-panel .summary-editor.form-control[contenteditable="false"] {
    cursor: default;
}

editor-identity-panel .summary-editor code {
    font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-size: 0.9em;
    padding: 0.08rem 0.32rem;
    border-radius: 0.35rem;
    background: rgba(15, 23, 42, 0.08);
    color: #0f172a;
}
