/*
 * BaoCar — disable casual text selection on page chrome.
 * Form fields and editable regions remain selectable for copy/paste.
 * Platform admin pages (body.admin-page) allow full select/copy.
 */

html,
body {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

input,
textarea,
select,
option,
[contenteditable="true"],
[contenteditable=""],
.allow-select,
.input-selectable {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

input:focus,
textarea:focus,
select:focus,
[contenteditable="true"]:focus,
[contenteditable=""]:focus {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

/* Admin console — allow copy/select (operators stay locked via no admin-page class) */
body.admin-page,
body.admin-page * {
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
    user-select: text !important;
}
