/* Neuwell OS: what every module shares. Nothing here sets the layout of a module. */

/* Moving between modules fades rather than flashing blank. A browser without this ignores it. */
@view-transition{navigation:auto}
::view-transition-old(root),::view-transition-new(root){animation-duration:.16s}
@media (prefers-reduced-motion:reduce){
  ::view-transition-group(*),::view-transition-old(*),::view-transition-new(*){animation:none!important}
}
@media screen{html{background:#F7F4ED}}

/* the way back, for modules with no top bar of their own to hold it */
.nw-back{position:fixed;top:12px;left:14px;z-index:9999;font-family:'Jost',Futura,system-ui,sans-serif;font-size:13px;line-height:1.3;
  background:#1F3A3A;color:#F7F4ED;border:none;border-radius:999px;padding:8px 15px;cursor:pointer;
  box-shadow:0 4px 14px rgba(20,35,33,.28);max-width:200px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media (max-width:1279px){.nw-back{left:auto;right:14px}}
@media print{.nw-back{display:none!important}}
