local RUI = LibStub("RUI-1.0")
if not RUI then return end

-- RUI.Panel(parent [, name]) → Frame
-- Base dark canvas with 1px BORDER border. Caller sets size and position.
-- Use as the root frame for Settings panels and as a base for custom layouts.
function RUI.Panel(parent, name)
    local f = CreateFrame("Frame", name, parent)
    RUI.Draw.Background(f, RUI.C.BG)
    RUI.Draw.Border(f, RUI.C.BORDER)
    return f
end
