/*   = = =   Core Global Styles : what the application restores after the reset   = = =   */

/* - - - Origin : Nox Cella's and the portfolio's companion to the reset (2026-11-17, brought over with it), the
   same four restorations, its colours this site's (Sarsonis-Config.php `theme`, printed by sr_theme_css()): the
   reset removes EVERY browser default, and these four were load-bearing here too. The fonts and colours are the
   theme's (Theme-Styling.css) and are not restated. - - - */

/* - - - Load Order : directly after Core--Styles-Reset/Styling-Revamp--Normalize.css and BEFORE
   Theme-Styling.css, so every sheet of the site still declares over both. - - - */



/*   = = = = = =   Line Height   = = = = = =   */

/* - - - The reset sets the body to `line-height: 1`, and this app declared no line-height of its own in
   most of its sheets : it was built on the browser's `normal`, and at 1 every uppercase caption, every
   field and every button loses the room its letters sit in. - - - */
body
{
    line-height: normal;
}



/*   = = = = = =   The Pointer   = = = = = =   */

/* - - - The reset puts `cursor: default` on every button and link. The app's own controls declare their
   pointer where they are styled; the ones that relied on the browser — a disclosure's summary, a label
   for a switch, an anchor — get it back here, and a control the app has REFUSED keeps the default the
   house rule gives it. - - - */
button:not(:disabled):not(.is-refused),
[type="button"]:not(:disabled):not(.is-refused),
[type="reset"]:not(:disabled):not(.is-refused),
[type="submit"]:not(:disabled):not(.is-refused),
a[href],
summary,
label[for]
{
    cursor: pointer;
}



/*   = = = = = =   The Focus Ring   = = = = = =   */

/* - - - The reset removes every focus outline (its own comment says what that costs). A pointer never
   needs one; a keyboard does, and `:focus-visible` is the browser's own answer to which is which. One
   hairline in the accent, outside the control, and never on a text field — those already answer focus
   with their border. - - - */
:focus-visible
{
    outline: 1px solid var(--sr-accent);
    outline-offset: 2px;
}
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[contenteditable="true"]:focus-visible
{
    outline: none;
}



/*   = = = = = =   The Scrollbar   = = = = = =   */

/* - - - The reset hides every WebKit scrollbar (`::-webkit-scrollbar { width: 0 }`). Chrome ignores that
   pseudo wherever `scrollbar-width` is declared — but a surface without one would lose its bar entirely, so the standard
   property is declared once here for everything : thin, in the accent, and any surface may declare
   its own over it. - - - */
*
{
    scrollbar-width: thin;
    scrollbar-color: color-mix(in srgb, var(--sr-accent) 45%, transparent) transparent;
}

/* - - - Author : Nikolaos S. Kaounas - - - */
