/* The rules of the device pf-barista (src/devices/pf-barista.js). index.html loads this file after src/tokens.css. */
/* Brushed stainless steel after the albedo of the model (#b0b2b2, rough .35, metal 1), black plastic, and lights in blue.
   Each --height is the step of the piece over the piece under it: .3 ln(1 + .7818 d / .3) units for a step of d model
   units (1 u = 1 cm of the machine). The face of the case is the back wall of the brew recess. */
pf-barista[material], pf-barista [material=brushed] { --texture-amount: .12; }   /* satin: the model shows faint lines, not streaks */
pf-barista { --radius-device: .35; --keybed: #1c1d1f; }
pf-barista[material] { --color: #8a8c8d; }   /* the face: [material=brushed] beats pf-barista; darker than the panel for the shade of the deep recess */
pf-barista .head { --color: #a1a3a4; --height: 1.16; --radius-device: 0; }
pf-barista .head[mask] { --mask-depth: .35; }                     /* the curved front: 1.7 model units from its middle to its edges */
pf-barista .ring { --gap: 0; --bevel: .2 -.45 .9 30; }            /* the polished lip of each hole */
pf-barista .ring-light { --color: #3f8cff; --glow: .6; }
pf-barista .button { --color: #888a8c; --radius: 99; --height: .21; }   /* d .38: the key over the panel */
pf-barista .grind { --color: #bfc0c1; --height: .4; }                  /* d 1.07 */
pf-barista .scale { --mark: #7a7d80; }
pf-barista .legend { --mark: #303235; }
pf-barista .lamp { --color: #6f86ff; }
pf-barista .tamper { --color: #2a2b2c; --height: 1.06; }          /* d 12.6 */
pf-barista .cradle { --color: #767879; --height: 1.07; --radius-device: .3; }       /* d 13.2 */
pf-barista .group { --color: #7a7c7d; --height: 1.08; --radius-device: .3; }        /* d 13.6 */
pf-barista .outlet { --cylinder-width: .9; }
pf-barista .ears { --color: #3a3b3d; --height: .85; --radius-device: .4; }   /* the lugs of the portafilter, behind the basket */
pf-barista .basket { --color: #898b8c; --height: 1.05; --radius-device: .5; }       /* d 12.2 */
pf-barista .spouts { --height: .97; --radius-device: .2; }
pf-barista .handle { --color: #8c8e8f; --height: 2.21; --radius-device: 99; }   /* the steel cap at the end of the handle, 30.5 model units out: 1.05 + 1.16 */
pf-barista .lower { --color: #ced0d1; --height: 1.2; --radius-device: .35; }        /* d 20.9 */
pf-barista .tray { --color: #d0d3d4; --height: .38; --radius-device: .45; }   /* d .99 over the lower body */
pf-barista .feet { --color: #1f2021; --height: 1.17; --radius-device: .2; }
pf-barista .hopper { --color: #8d8e8e; --height: .9; --transmit: 0; }            /* d 7.2; an opaque body of frost; a part of the edge slot stands on the top of the case too */
pf-barista .lid { --color: #2a2b2c; --height: .95; --radius-device: .3; }
pf-barista .wand { --cylinder-width: 1; --cylinder-bend: .9; }
pf-barista .grip { --color: #2a2b2c; --cylinder-width: 1.9; }
