
.rs-lay.rl-abs { display: block; position: relative; }
.rs-lay.rl-abs .rl-el { position: absolute !important; margin: 0 !important; grid-column: auto; box-sizing: border-box; }
.rs-lay.rl-abs > #rsCards > .rs-err { position: absolute; left: 0; right: 0; top: 0; }
.rl-el.rl-fixed { overflow: hidden; display: flex; flex-direction: column; min-height: 0 !important; }
.rl-el.rl-fixed .rs-chartbox { flex: 1 1 0; height: auto; min-height: 60px; }
.rl-el.rl-fixed .rs-fv2 { flex: 1 1 0; min-height: 120px; } .rl-el.rl-fixed .rs-fv2 .rs-fcols { height: 100%; }
.rl-el.rl-fixed .rs-plist { flex: 1 1 0; min-height: 0; max-height: none; }
.rl-el.rl-fixed .rs-donut { flex: 1 1 0; min-height: 0; align-items: center; } .rl-el.rl-fixed .rs-donut .rs-chartbox.rs-cb-d { flex: 0 0 auto; height: min(190px, 100%); width: min(190px, 100%); }
.rl-el.rl-fixed .rs-appr { flex: 1 1 0; min-height: 0; justify-content: space-around; }
.rs-lay.rl-edit .rl-el { transition: left .18s ease, top .18s ease, width .18s ease, height .18s ease !important; }
.rs-lay.rl-edit .rl-el.rl-drag { transition: none !important; z-index: 4; opacity: .9; }
.rl-layer { position: absolute; inset: 0; z-index: 20; pointer-events: none; }
.rl-box { position: absolute; box-sizing: border-box; border: 2px dashed #3b82f6; border-radius: 8px; background: rgba(59,130,246,.07); cursor: grab; touch-action: none; pointer-events: auto; transition: left .18s ease, top .18s ease, width .18s ease, height .18s ease; }
.rl-box.drag { transition: none; cursor: grabbing; background: rgba(59,130,246,.16); box-shadow: 0 8px 28px rgba(0,0,0,.35); z-index: 3; }
.rl-ph { position: absolute; box-sizing: border-box; border-radius: 8px; background: rgba(59,130,246,.22); border: 2px solid #3b82f6; transition: left .12s ease, top .12s ease, width .12s ease, height .12s ease; }
.rl-lbl { display: none; position: absolute; left: 8px; top: 6px; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 10px; background: #3b82f6; color: #fff; pointer-events: none; max-width: calc(100% - 56px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rl-x { position: absolute; right: 6px; top: 4px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(0,0,0,.55); color: #fff; font-size: 17px; line-height: 1; cursor: pointer; }
.rl-x:hover { background: #dc2626; }
.rl-rs { position: absolute; right: -2px; bottom: -2px; width: 22px; height: 22px; cursor: nwse-resize; background: linear-gradient(135deg, transparent 50%, #3b82f6 50%); border-bottom-right-radius: 8px; }
.rl-bar { position: sticky; top: 84px; z-index: 60; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 16px; margin-bottom: 12px; border-radius: 10px; background: var(--nx-card-bg, #1a1f3a); border: 1px solid #3b82f6; box-shadow: 0 6px 24px rgba(0,0,0,.25); color: var(--nx-text, inherit); }
.rl-bt { font-size: 14px; } .rl-ba { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.rl-addw { position: relative; } .rl-addm { position: absolute; right: 0; top: calc(100% + 6px); min-width: 240px; max-height: 320px; overflow: auto; background: var(--nx-card-bg, #1a1f3a); border: 1px solid var(--nx-card-bd, #3b82f6); border-radius: 8px; padding: 6px; box-shadow: 0 10px 30px rgba(0,0,0,.4); z-index: 70; }
.rl-addm[hidden] { display: none; } .rl-addm button { display: block; width: 100%; text-align: left; background: none; border: 0; color: var(--nx-text, inherit); padding: 10px 12px; border-radius: 6px; cursor: pointer; font: inherit; } .rl-addm button:hover { background: rgba(59,130,246,.18); } .rl-none { display: block; padding: 10px 12px; opacity: .7; font-size: 13px; }
@media (max-width: 800px) { .rl-bar { display: none; } }
