/* Shared work-order tab. The maker's mark and orange seam belong to the same face. */
@font-face {
  font-family: FoundryActionDisplay;
  src: url('/fonts/ZeroMoonDisplay-Bold.woff2') format('woff2');
  font-weight:700;
  font-display: swap;
}
html body a[data-foundry-action], html body button[data-foundry-action] {
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  gap:.72em;
  position:relative;
  box-sizing:border-box;
  min-height:44px;
  max-width:100%;
  --panel-inset:10px;
  --mark-width:1.65em;
  --mark-padding:.58em;
  --panel-end:calc(var(--panel-inset) + var(--mark-width) + var(--mark-padding));
  --panel-fill:transparent;
  padding:8px 16px 8px var(--panel-inset)!important;
  border:1px solid #101d2d!important;
  border-inline-start:3px solid #e98747!important;
  border-radius:1px 4px 4px 1px!important;
  background:
    linear-gradient(to right,var(--panel-fill) 0 var(--panel-end),transparent var(--panel-end)),
    linear-gradient(105deg,#263e53,#172b3b 80%)!important;
  color:#fff4de!important;
  font:700 16px/1.2 FoundryActionDisplay,system-ui,sans-serif!important;
  letter-spacing:normal!important;
  text-transform:uppercase!important;
  text-shadow:none!important;
  text-decoration:none!important;
  box-shadow:inset 0 1px #ffffff1f,0 1px 2px #10182032!important;
  touch-action:manipulation;
}
html body [data-foundry-action]::before {
  content:""!important;
  display:block!important;
  position:static!important;
  align-self:stretch;
  width:var(--panel-end);
  margin-block:-8px;
  margin-inline-start:calc(0px - var(--panel-inset));
  flex:none;
  border:0;
  border-inline-end:1px solid #b6b8ac66;
  padding:0;
  --lamp-core:var(--panel-lamp-core,#ffd096);
  --lamp-edge:var(--panel-lamp-edge,#c66c36);
  background:
    url('/media/zf-metallic-monogram-r02-192.webp') center/87% auto no-repeat,
    radial-gradient(ellipse at center,var(--lamp-core) 8%,var(--lamp-edge) 52%,transparent 74%) center/90% 94% no-repeat!important;
  box-sizing:content-box;
}
html body [data-foundry-action]::after {content:none!important}
html body :is(a,button)[data-foundry-action]:focus-visible {outline:3px solid #c4551e!important;outline-offset:3px;box-shadow:0 0 0 3px #fff3da!important}
html body :is(a,button)[data-foundry-action]:active {box-shadow:inset 0 2px 3px #0005!important}
html body :is(a,button)[data-foundry-action]:is(:focus-visible,:active) {--panel-fill:#f58a42;--panel-lamp-core:transparent;--panel-lamp-edge:transparent}
@media (hover:hover) {
  html body :is(a,button)[data-foundry-action]:hover {--panel-fill:#f58a42;--panel-lamp-core:transparent;--panel-lamp-edge:transparent}
}
html body [data-foundry-action][hidden] {display:none!important}

/* The masthead already carries the maker's mark beside Menu. */
html body :is(.masthead,.foundry-frame-head) a[data-foundry-header-action] {
  display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;
  min-height:44px;padding:7px 14px!important;border:1px solid #826e4f!important;
  border-radius:2px!important;background:#181610!important;color:#fbecd4!important;
  font:700 16px/1.2 FoundryActionDisplay,system-ui,sans-serif!important;
  text-transform:uppercase;letter-spacing:normal;text-decoration:none!important;
  box-shadow:none!important;text-shadow:none;
}
html body a[data-foundry-header-action]::before,
html body a[data-foundry-header-action]::after {content:none!important}
html body :is(.masthead,.foundry-frame-head) a[data-foundry-header-action]:is(:hover,:active,:focus-visible) {border-color:#f5a368!important;text-decoration:underline!important;text-underline-offset:.2em}
html body a[data-foundry-header-action]:focus-visible {outline:2px solid #ffa55e;outline-offset:2px}
@media(max-width:600px) {
  html body :is(.masthead,.foundry-frame-head) a[data-foundry-header-action] {font-size:14px!important;padding-inline:10px!important}
}

/* Action labels use the same cut of Zero Moon as the room headings. */
html body :is(button,input[type=button],input[type=submit],[role=button],a.button,a.text-button,a.desk-action,a.primary,.frame-menu>summary,.prop-caption,.lip-label),
html body :is(button,[role=button]) :is(.prop-caption,.lip-label,.control-label) {
  font-family:FoundryActionDisplay,system-ui,sans-serif!important;
  font-weight:700!important;
  text-transform:uppercase!important;
}
