/* The webcore skin's scrollbars (the page's and the canvas's own) and the canvas in its frame:
   the sunken viewport, the info bar and the toolbar captions. */
/* ── Scrollbars: the grey track, a raised thumb ── */
:root[data-skin="webcore"] *::-webkit-scrollbar { width: 16px; height: 16px; }
:root[data-skin="webcore"] *::-webkit-scrollbar-track,
:root[data-skin="webcore"] *::-webkit-scrollbar-corner {
    background: var(--wc-light);
    background-image: repeating-conic-gradient(var(--wc-hilight) 0 25%, var(--wc-face) 0 50%);
    background-size: 2px 2px;
}
:root[data-skin="webcore"] *::-webkit-scrollbar-thumb {
    background: var(--wc-face);
    box-shadow: var(--wc-raised);
    border: 0;
    border-radius: 0;
}
/* Under the pointer the raised thumb takes the chosen accent (--wc-focus), as every skin's does. */
:root[data-skin="webcore"] *::-webkit-scrollbar-thumb:hover,
:root[data-skin="webcore"] .sb-hover::-webkit-scrollbar-thumb { background: var(--wc-focus); }
:root[data-skin="webcore"] .canvas-sb { background: var(--wc-light); }
:root[data-skin="webcore"] .canvas-sb-thumb {
    background: var(--wc-face);
    box-shadow: var(--wc-raised);
    opacity: 1;
}
:root[data-skin="webcore"] .canvas-sb:hover .canvas-sb-thumb,
:root[data-skin="webcore"] .canvas-sb.canvas-sb-drag .canvas-sb-thumb { background: var(--wc-focus); }

/* ── The canvas and its frame ── */
/* A REAL border, not the inset bevel every other well wears: an inset shadow paints under the
   element's own children, so the picture covered the frame's bottom and right edges. */
:root[data-skin="webcore"] .canvas-viewport {
    background: var(--wc-desktop);
    box-shadow: none;
    border-style: solid;
    border-width: 2px;
    border-color: var(--wc-shadow) var(--wc-hilight) var(--wc-hilight) var(--wc-shadow);
}
:root[data-skin="webcore"] .canvas-section { background: var(--wc-face); border: 0; box-shadow: none; }
/* The image-size line is a bar of its own, as the desktop's #imageInfoBar is. */
:root[data-skin="webcore"] .info {
    border-top: 1px solid var(--wc-hilight);
    border-bottom: 1px solid var(--wc-shadow);
    box-shadow: 0 1px var(--wc-hilight);
    color: var(--wc-ink);
}
:root[data-skin="webcore"] .canvas-container { box-shadow: 2px 2px var(--wc-dark); }
/* The picture's hard shadow goes with it while it is dust (animations/dust.css hides #canvas). */
:root[data-skin="webcore"] .canvas-viewport:is(.canvas-assembling, .canvas-clearing) .canvas-container { box-shadow: none; }
/* The tag rides the info bar's own face, so it takes that face's ink: --accent is the skin's
   navy, which disappears into the dark face. */
:root[data-skin="webcore"] .info-incognito { color: var(--wc-ink); }
:root[data-skin="webcore"] .coord-status,
:root[data-skin="webcore"] .drop-hint {
    background: var(--wc-face);
    color: var(--wc-ink);
    border: 0;
    box-shadow: var(--wc-well);
}
:root[data-skin="webcore"] .empty-message { color: var(--wc-ink); }
:root[data-skin="webcore"] .idle-create-btn { padding: 10px 18px; }
:root[data-skin="webcore"] .idle-create-btn:hover .idle-create-icon { transform: none; }

/* A toolbar caption is a caption, not a disabled control: grey reads as greyed-out in this skin,
   so it takes the ink the desktop's QToolBar labels do. !important because the colour is inline. */
:root[data-skin="webcore"] .ctrl-section-row :is(label, span)[style*="--text-muted"] { color: var(--wc-ink) !important; }

/* A drag's targets glow in the chosen colour; the skin's own bevels outrank the plain class. */
:root[data-skin="webcore"] .icon-drop-target { box-shadow: var(--drop-glow) !important; }
