﻿/* Lane Chip */
.cn-prop-lane {
    margin-bottom: .5rem;
}

    .cn-prop-lane .row {
        display: flex;
        gap: .5rem;
        align-items: center;
    }

    .cn-prop-lane .lbl {
        font-size: 12px;
        opacity: .75
    }

    .cn-prop-lane .chip {
        display: inline-flex;
        align-items: center;
        gap: .25rem;
        padding: .2rem .5rem;
        border: 1px solid var(--cn-border);
        border-radius: 999px;
        font-size: 12px;
        background: rgba(255,255,255,.03);
    }

/* Modal + basic WYSIWYG */
.cn-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
}

.cn-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.5);
    backdrop-filter: blur(2px);
}

.cn-modal-body {
    position: absolute;
    left: 50%;
    top: 10%;
    transform: translateX(-50%);
    width: min(900px,calc(100vw - 32px));
    background: #0b1220;
    border: 1px solid #223149;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,.5);
    color: #cfe1ff;
}

.cn-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    padding: .75rem 1rem;
    border-bottom: 1px solid #223149;
}

    .cn-modal-head .toolbar .btn {
        margin-left: .25rem;
    }

.cn-modal-content {
    padding: 1rem;
    max-height: 60vh;
    overflow: auto;
}

.cn-modal-foot {
    display: flex;
    gap: .5rem;
    justify-content: flex-end;
    padding: .75rem 1rem;
    border-top: 1px solid #223149;
}

.cn-input {
    width: 100%;
    padding: .4rem .55rem;
    background: #0a1522;
    border: 1px solid #223149;
    border-radius: 8px;
    color: #cfe1ff;
}

.form-grid {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: .5rem .75rem;
    align-items: center;
}

.cn-wysiwyg {
    min-height: 160px;
    padding: .5rem;
    border: 1px dashed #2a3d59;
    border-radius: 8px;
    background: #0a1522;
}
