/* Branded arrow/text cursors and scrollbars, with native hand cursors. */
:root {
    --site-scroll-thumb: #77533d;
    --site-scroll-track: #f1e7df;
    --site-cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='32' viewBox='0 0 28 32'%3E%3Cpath d='M4 3v23l6-6 5 10 5-3-5-10h9Z' fill='%2377533d' stroke='%23fff' stroke-width='1.5' stroke-linejoin='round'/%3E%3C/svg%3E") 4 3;
    --site-text: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='32' viewBox='0 0 24 32'%3E%3Cpath d='M7 4h10M12 4v24M7 28h10' fill='none' stroke='%23fff' stroke-width='5' stroke-linecap='round'/%3E%3Cpath d='M7 4h10M12 4v24M7 28h10' fill='none' stroke='%2377533d' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E") 12 16;
}
html, body { cursor: var(--site-cursor), auto; }
/* Put the viewport scrollbar on the right while keeping Hebrew content RTL. */
html { direction: ltr !important; }
html[dir=rtl] > body { direction: rtl; }
* { scrollbar-width: thin !important; scrollbar-color: var(--site-scroll-thumb) var(--site-scroll-track) !important; }
*::-webkit-scrollbar { display: block !important; width: 10px !important; height: 10px !important; }
*::-webkit-scrollbar-track { background: var(--site-scroll-track) !important; }
*::-webkit-scrollbar-thumb { background: var(--site-scroll-thumb) !important; border: 2px solid var(--site-scroll-track) !important; border-radius: 12px !important; }
*::-webkit-scrollbar-thumb:hover { background: #b3896e !important; }
*::-webkit-scrollbar-corner { background: var(--site-scroll-track); }
#dashboard-sheet, dialog, .device-preview-stage, #block-menu, #selection-toolbar {
    --site-scroll-track: #241b17;
    --site-scroll-thumb: #c49a7b;
}
body #block-controls .drag-handle, body #block-controls .resize-handle,
body #toolbar-center-grip, body #toolbar-drag-grip,
body #link-editor, body #countdown-editor,
:root[data-block-editing] [data-editor-icon], :root[data-block-editing] .feature-mark-direct,
[style*="cursor: grab"], [style*="cursor:grab"] {
    cursor: grab !important;
}
:root[data-icon-resizing], :root[data-icon-resizing] *,
:root[data-element-resizing] #block-controls .resize-handle,
:root[data-dragging] #block-controls .drag-handle,
body #link-editor[data-window-dragging], body #countdown-editor[data-window-dragging] {
    cursor: grabbing !important;
}
a[href], .template-card, [role=button], [data-editor-link],
[style*="cursor:pointer"], [style*="cursor: pointer"], :root[data-block-editing] .timer-container,
button:not(:disabled):not(.drag-handle):not(.resize-handle):not([style*="cursor: grab"]):not([style*="cursor:grab"]),
select, summary, label[for], input[type=checkbox], input[type=radio], input[type=range], input[type=color], input[type=button], input[type=submit] {
    cursor: pointer !important;
}
input:not([type=button]):not([type=submit]):not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]), textarea,
[contenteditable]:not([contenteditable=false]) { cursor: var(--site-text), text !important; }
button:disabled, input:disabled { cursor: not-allowed !important; }
.button-duration-fields { direction: ltr; }
.button-duration-fields label { direction: rtl; text-align: center; }
.button-duration-fields input { direction: ltr; text-align: center; }
[data-button-time-label]::after { display: inline-block; direction: ltr; unicode-bidi: isolate; }
