/* ============================================================================================================================
   GRAPHITE — the faces of the buttons (R-890, D-0560; owner 21 Nov 2026: "the buttons are not shiny and glassy enough, specially the
   main buttons and action buttons"). Only when a person chose Graphite as their colour (html[data-accent="graphite"]); the values
   (--gx-main-img, --gx-rail, --fx-main-sh …) are set in np-look-values.css, by day and by night. Loaded last, so it lays a glass image
   over every main button's flat colour without touching any other look. Remove this file and Graphite is flat again — nothing else breaks.
   ============================================================================================================================ */

/* every main button / "you are here" / chosen pill: black glass with a diagonal mirror streak by day, calm chrome by night (the image sits over its flat colour) */
html[data-new-pace][data-accent="graphite"] :is(.btn-primary, .side-new .tb-new, body.ui-kit .nav-item.active, body.ui-kit .nav-item.on, body.ui-kit .rail-mark:not(.rail-mark-script),
  .np-chip[aria-pressed="true"], .fl-pill[aria-pressed="true"], .fd-pill.on, #mb-tabs .mb-ftab.on, .oi-segb.on, .np-cal-day.is-sel,
  .ntd .ntd-btn.is-main, .ntd .ntd-kinds button[aria-pressed="true"], .ho-split #gen-ratio-btn, .np-list .wf-prim-sw.on, .mb-lm-box.st-all, .ev-count){
  background-image:var(--gx-main-img);box-shadow:var(--fx-main-sh);color:var(--fx-on-main)}
@media (hover:hover) and (pointer:fine){
  html[data-new-pace][data-accent="graphite"] :is(.btn-primary, .side-new .tb-new, .btn-outline):hover{filter:brightness(1.08)}
}
/* by night the mirror streak shows only under the pointer (owner: buttons must not look pressed); by day --gx-hover-streak is empty */
@media (hover:hover) and (pointer:fine){
  html[data-new-pace][data-accent="graphite"] :is(.btn-primary, .side-new .tb-new, body.ui-kit .nav-item.active, body.ui-kit .nav-item.on, body.ui-kit .rail-mark:not(.rail-mark-script),
  .np-chip[aria-pressed="true"], .fl-pill[aria-pressed="true"], .fd-pill.on, #mb-tabs .mb-ftab.on, .oi-segb.on, .np-cal-day.is-sel,
  .ntd .ntd-btn.is-main, .ntd .ntd-kinds button[aria-pressed="true"], .ho-split #gen-ratio-btn, .np-list .wf-prim-sw.on, .mb-lm-box.st-all, .ev-count):hover{background-image:var(--gx-hover-streak),var(--gx-main-img)}
}
html[data-new-pace][data-accent="graphite"] :is(.btn-primary, .side-new .tb-new):active{filter:brightness(.94)}

/* the menu: a graphite slab with a thin light edge at its top-left (the page's one light) */
html[data-new-pace][data-accent="graphite"] #sidebar,html[data-new-pace][data-accent="graphite"] body.ui-kit #sidebar{background:var(--gx-rail);border-color:var(--gx-rail-edge);
  box-shadow:var(--gx-rail-sh)}

/* panes: a thin light edge at the top-left, as light catching a glass sheet (no blur added, no change to what is inside) */
html[data-new-pace][data-accent="graphite"] :is(.card, .np-pane){background-image:var(--gx-pane-sheen);box-shadow:var(--gx-pane-sh)}
