/* LEONARDO WORKSHOP — Studio 0.15
   Two coherent UI typefaces, matching the softly rounded search-bar aesthetic.
   Does not change user-authored Document / Text Block typography. */
:root {
  --workshop-font-body: "Segoe UI Variable", "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --workshop-font-heading: "Avenir Next", "Trebuchet MS", "Segoe UI", sans-serif;
}
html, body, #app {font-family:var(--workshop-font-body)!important;}

/* Standard UI typography: navigation, input controls, task-management chrome,
   layers, dialogs and context menus. No third font is introduced for UI. */
:is(.top,.home,.sidebar,.modal-backdrop,.workshop-context,.stage-bottom,.stage-tip,.multi-bar,.group-title,.workshop-card-header,.item.taskboard),
:is(.top,.home,.sidebar,.modal-backdrop,.workshop-context,.stage-bottom,.stage-tip,.multi-bar,.group-title,.workshop-card-header,.item.taskboard) :is(button,input,textarea,select,label,span,small,em,b,strong,p,div,li,h1,h2,h3,kbd) {
  font-family:var(--workshop-font-body)!important;
}

/* Headers use a single rounder, slightly more characterful companion font.
   Scoped to application UI; editable document text keeps its chosen font. */
.top .brand-copy strong,
.top .top-center,
.home .section-head,
.sidebar .aside-head #asideTitle,
.sidebar .layers-heading-main,
.sidebar .layers-heading-main span,
.sidebar #inspectorView .inspector-section h3,
.sidebar #inspectorView .property-nav button,
.sidebar #toolsView .tools button,
.workshop-card-header .ws-card-title,
.item.taskboard .tb-section-title,
.item.taskboard .tb-column-head b,
.group-title {
  font-family:var(--workshop-font-heading)!important;
}

/* Drag affordances are exclusive to the four lightweight, proportional tools.
   This also protects old workbenches holding pre-v0.15 objects. */
.item:not(.text):not(.label):not(.image):not(.file) > .size-grip {display:none!important;pointer-events:none!important;}
.item:is(.text,.label,.image,.file) > .size-grip {touch-action:none;}
