#orc-ui-dialog-root {
    position: fixed;
    inset: 0;
    z-index: 100000;
    pointer-events: none;
}

.orc-ui-overlay {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.55);
    pointer-events: auto;
}

.orc-ui-modal {
    position: relative;
    z-index: 1;
    width: min(420px, 100%);
    background: var(--t-surface, #1e2028);
    color: var(--t-text, #f0f0f0);
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
    overflow: hidden;
    pointer-events: auto;
}

.orc-ui-body {
    padding: 1.25rem 1.25rem 0.75rem;
    white-space: pre-wrap;
    line-height: 1.45;
    font-size: 0.95rem;
}

.orc-ui-foot {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem 1.25rem;
}

.orc-ui-btn {
    border: 0;
    border-radius: 8px;
    padding: 0.55rem 1rem;
    font: inherit;
    cursor: pointer;
}

.orc-ui-btn-primary {
    background: var(--t-accent, #d4a843);
    color: #111;
    font-weight: 600;
}

.orc-ui-btn-ghost {
    background: transparent;
    color: var(--t-text, #f0f0f0);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.orc-ui-input-wrap {
    padding: 0 1.25rem;
}

.orc-ui-input {
    width: 100%;
    box-sizing: border-box;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(0, 0, 0, 0.25);
    color: var(--t-text, #f0f0f0);
    padding: 0.55rem 0.75rem;
    font: inherit;
}
